Two-phase measurement using arduino

Wait a second! Your current transformer is now shorting the mains transformer. Some earlier version looked okey....
Maybe You should slow down a little bit.

Late here. I'm about to get horizontal...