Lopez, seeing as you wrote "XR version" in your original post, i'm going to go ahead and assume you took Adderall. something that has not been mentioned in this thread is that a lot of the time insomnia caused by excessive AMP use simply cannot be resolved. whatever you throw at it: benzos, alcohol, diphenhydramine, opiates, cannabis, non-benzos (ambien), AAPs, etc; a good deal of the time the AMP will just "rise above" whatever you've taken and your insomnia will continue. i find KSA's recommendation that you take AMP as early as possible is awesome advice and spot-on. i'm not a huge fan of turning your XR into IR as a way to avoid insomnia as, dose depending, the comedown will probably be quite a bit more harsh and perhaps just as bad as the insomnia. nonetheless, your mileage may vary so it might be worth a try.
now, getting back to a pharmacological solution to AMP related insomnia is really going to come down to what you can readily get your hands on. here's my take:
benzos are good to have around but will often just make one more comfortable rather than put them to sleep. if you have no tolerance, they very well be enough to knock ya out. IMO, opiates are a much-much better choice than benzos (*i'm very bias as i hate benzos for the most part*). stay away from Thebaine based opiates (Oxycodone, Oxymorphone, Buprenorphine) as these can just as likely make your insomnia worse. actually, the only opiate i would recommend to you is Codeine. sure, Morph and Heroin will work grand but i'm sure you can see why that's not such a great idea. the others i listed don't work at all for me. lastly, i would be totally remiss if i didn't mention clonidine. it's an RX for high blood pressure but is remarkable at curbing the shittiness of AMP comedown along with the insomnia. come to think of it... after writing all that, clonidine gets my top recommendation. if you have any specific questions, feel free to ask as i've tried all this stuff and plenty other stuff to shut the freakin AMPs off. best wishes and good luck!