On modelling the performance and reliability of multimode computer systems