Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108.8 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 191.8 kB / 24.5 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_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_0_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.001637/0.001637, allocations: 47.91 kB / 371.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2468, allocations: 52.19 MB / 423.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.05384/0.3006, allocations: 45.52 MB / 469 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03049/0.3311, allocations: 11.83 MB / 480.8 MB, free: 5.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009599/0.3407, allocations: 429.6 kB / 481.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03105/0.3717, allocations: 12.58 MB / 493.8 MB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01913/0.3909, allocations: 5.007 MB / 498.8 MB, free: 2.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.4021, allocations: 2.993 MB / 0.4901 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03269/0.4348, allocations: 21.08 MB / 0.5107 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4709/0.9056, allocations: 26.85 MB / 0.5369 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/0.9228, allocations: 11.22 MB / 0.5478 GB, free: 17.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01927/0.9421, allocations: 12.17 MB / 0.5597 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008576/0.9507, allocations: 3.131 MB / 0.5628 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01156/0.9623, allocations: 3.558 MB / 0.5663 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01005/0.9723, allocations: 6.267 MB / 0.5724 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01968/0.992, allocations: 11.9 MB / 0.584 GB, free: 8.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05196/1.044, allocations: 41.55 MB / 0.6246 GB, free: 7.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.044, allocations: 0 / 0.6246 GB, free: 7.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.033e-06/1.044, allocations: 0 / 0.6246 GB, free: 7.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001218/1.045, allocations: 2.25 kB / 0.6246 GB, free: 7.273 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.07529/1.12, allocations: 24.26 MB / 0.6483 GB, free: 15.07 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/1.121, allocations: 12.03 kB / 0.6483 GB, free: 15.06 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0007291/1.121, allocations: 0.5397 MB / 0.6488 GB, free: 14.52 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01233/1.134, allocations: 2.948 MB / 0.6517 GB, free: 11.57 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06278/1.196, allocations: 11.44 MB / 0.6628 GB, free: 260 kB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03242/1.229, allocations: 13.56 MB / 0.6761 GB, free: 3.148 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/1.231, allocations: 1.365 MB / 0.6774 GB, free: 1.801 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00756/1.238, allocations: 1.791 MB / 0.6792 GB, free: 28 kB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07981/1.318, allocations: 29.59 MB / 0.7081 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007581/1.319, allocations: 26.33 kB / 0.7081 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006374/1.325, allocations: 0.7453 MB / 0.7088 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/1.326, allocations: 0.9907 MB / 0.7098 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06176/1.388, allocations: 27.3 MB / 0.7364 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5624/1.95, allocations: 91.82 MB / 0.8261 GB, free: 163.3 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02637/1.977, allocations: 18.75 MB / 0.8444 GB, free: 153.2 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009975/1.987, allocations: 6.651 MB / 0.8509 GB, free: 146.6 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03273/2.02, allocations: 20.19 MB / 0.8706 GB, free: 126.8 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/2.02, allocations: 112.5 kB / 0.8707 GB, free: 126.7 MB / 0.592 GB Notification: Performance of pre-optimization done (n=681): time 8.106e-06/2.02, allocations: 0 / 0.8707 GB, free: 126.7 MB / 0.592 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.189281971019227] 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.1177421779721044 2.126232495 1.079716559 Calling exit ...