A Two-step Simulation Approach for Joint Analysis of Power Systems and Communication Infrastructures