Simulation and analysis of human machine system