My boyfriend has that problem. Laying aside medication, since I figure you've already tried that - try and adjust your eating cycle? Don't eat anything, not even a snack, during the time you're "supposed" to be asleep, and start the day with a big breakfast at the time you're "supposed" to get up. Your body knows fundamentally that it must be awake when the food comes - so teach it that there is never any food in the dead of night but always food in the morning, and it may try to adjust for you.
Nothing works for everybody, but that works for some people