Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 218.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 43.92 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2512, allocations: 53.36 MB / 431.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04935/0.3005, allocations: 39.28 MB / 471.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02837/0.3289, allocations: 11.75 MB / 482.9 MB, free: 3.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009588/0.3385, allocations: 437.6 kB / 483.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0305/0.369, allocations: 11.67 MB / 495 MB, free: 7.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01753/0.3865, allocations: 4.949 MB / 500 MB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.3971, allocations: 3.037 MB / 0.4912 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03/0.4271, allocations: 21.24 MB / 0.512 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4577/0.8847, allocations: 26.86 MB / 0.5382 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.901, allocations: 11.24 MB / 0.5492 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01844/0.9194, allocations: 12.34 MB / 0.5612 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008007/0.9274, allocations: 3.132 MB / 0.5643 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009574/0.937, allocations: 3.572 MB / 0.5678 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007962/0.945, allocations: 6.268 MB / 0.5739 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01679/0.9618, allocations: 9.293 MB / 0.583 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04896/1.011, allocations: 41.8 MB / 0.6238 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.011, allocations: 5.656 kB / 0.6238 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.294e-06/1.011, allocations: 0 / 0.6238 GB, free: 9.91 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001306/1.012, allocations: 0 / 0.6238 GB, free: 9.91 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07733/1.089, allocations: 24.31 MB / 0.6475 GB, free: 1.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.089, allocations: 9.344 kB / 0.6476 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006368/1.09, allocations: 0.5397 MB / 0.6481 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01028/1.1, allocations: 2.947 MB / 0.651 GB, free: 14.17 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0612/1.162, allocations: 11.31 MB / 0.662 GB, free: 2.973 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03103/1.193, allocations: 13.62 MB / 0.6753 GB, free: 5.801 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001464/1.194, allocations: 1.359 MB / 0.6766 GB, free: 4.457 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006434/1.2, allocations: 1.795 MB / 0.6784 GB, free: 2.68 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07541/1.276, allocations: 30.1 MB / 0.7078 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007703/1.277, allocations: 27.91 kB / 0.7078 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005758/1.282, allocations: 0.7394 MB / 0.7085 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/1.284, allocations: 0.9946 MB / 0.7095 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06225/1.346, allocations: 27.36 MB / 0.7362 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5687/1.915, allocations: 84.4 MB / 0.8186 GB, free: 163.6 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02614/1.941, allocations: 18.83 MB / 0.837 GB, free: 154.8 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009521/1.95, allocations: 6.702 MB / 0.8436 GB, free: 148 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0335/1.984, allocations: 18.03 MB / 0.8612 GB, free: 130.4 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/1.984, allocations: 108.5 kB / 0.8613 GB, free: 130.3 MB / 0.592 GB Notification: Performance of pre-optimization done (n=681): time 1.059e-05/1.984, allocations: 0 / 0.8613 GB, free: 130.3 MB / 0.592 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.1695369080407545] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs', 'ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imsQS.rotor.electroMagneticConverter.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w'] 2.0828445240622386 2.091860085 1.078668583 Calling exit ...