Skype, ATM card, access to reliable internet, and always carry a card with her residence address for a cab driver if there is a language barrier. Always travel in pairs and never, ever leave your wing man.
This advice is consistent with our experience. Disposable phone for local calls and Skype to phone home.
http://www.bu.edu/madrid/life-in-madrid/technology/cell-phones/
Exciting trip! One of my daughters lived 2 years in France studying French and playing professional water polo. An experience of a lifetime.