Two times when I've skied at high altitude resorts I've gone at least two nights with very little sleep. Insomnia can be related to high altitude, and it's a bugger until you aclimatize.