Compact reliability and maintenance modeling of complex repairable systems