Safety Analysis of Critical Infrastructure