First of all, welcome to BPO!
When did you get Astrid? I'm guessing a week ago since she is 9 weeks and pup's are generally kept with their mother and litter until 8 weeks. If you got her at a younger age than that, it would deffinately slow down the potty training process since the mother teaches them hygeine.
As far as the seperation anxiety goes, I would deffinately say that it is because she is young and new in your home and scared. If you can have the crate in your room it will make a huge difference - instead of waking up and thinking 'where am i? i am so scared and alone' the pup will wake up and think 'where am i? oh yeah, i see my new mom over there. she will protect me'. If you can't do that, perhaps you can put a rag or something with your scent on it so that the pup can at least smell you there.
As far as messing in the crate, there are two problems. One is that you need to have the crate small enough at first that the pup only has as much room as she absolutely needs,. so that she can't go pee in one corner and lay down in the other. The other is that, like other people have said, at such a young age you have to take the pup out every couple hours, even if it means setting an alarm to wake you up 3 times a night, because there bladder just isn't physically big enough to hold it that long. Limiting water at night is also important, as is making sure that you don't put the pup in the crate for the night without making sure they both poop and pee.
You want to try and get the messing the crate situation under control as soon as possible, because once the pup is forced to soil the crate, they will start to think it is normal to go in the crate and loose all the good 'dont potty where you sleep' lessons that their momma dog taught them.