oneirodynia

Noun

 * 1) A violent or disturbed imagination during sleep, as in the case of nightmares and sleepwalking.