How to Survive an EMP Attack to The Grid