Reliability Analysis by Using Simulation for Complex Automated Plants