Nivmagus Elemental interactions with nivix cyclops, guttersnipe, and young pyromancer
Yes. All of your examples trigger when you cast a spell. They happen whether that spell resolves or not.

I have seen multiple EDH decks built specifically around cards such as those and Cipher, where the intent is to exile spells with Nivmagus whenever you don't really need them.