Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 117 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002202/0.002202, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_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_trunk_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.001865/0.001865, allocations: 59.91 kB / 373.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1074, allocations: 53.37 MB / 427.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2641/0.3715, allocations: 46.13 MB / 473.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03095/0.4025, allocations: 12.13 MB / 485.4 MB, free: 2.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01369/0.4162, allocations: 433.6 kB / 485.8 MB, free: 2.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0329/0.4491, allocations: 12.55 MB / 498.3 MB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0214/0.4705, allocations: 4.916 MB / 0.4915 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.4817, allocations: 3.048 MB / 0.4944 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03251/0.5142, allocations: 21.12 MB / 0.5151 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06464/0.5789, allocations: 31.62 MB / 0.5459 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02025/0.5991, allocations: 11.17 MB / 0.5568 GB, free: 1.074 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02461/0.6237, allocations: 12.32 MB / 0.5689 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009448/0.6332, allocations: 3.133 MB / 0.5719 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.646, allocations: 3.578 MB / 0.5754 GB, free: 14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01169/0.6576, allocations: 6.274 MB / 0.5815 GB, free: 7.715 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02611/0.6838, allocations: 11.91 MB / 0.5932 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.5362/1.22, allocations: 41.6 MB / 0.6338 GB, free: 78.39 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.22, allocations: 0 / 0.6338 GB, free: 78.39 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.994e-06/1.22, allocations: 1.312 kB / 0.6338 GB, free: 78.39 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001271/1.221, allocations: 0 / 0.6338 GB, free: 78.39 MB / 0.5138 GB 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.08586/1.307, allocations: 24.39 MB / 0.6576 GB, free: 69.45 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/1.307, allocations: 13.44 kB / 0.6576 GB, free: 69.44 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008565/1.308, allocations: 0.5385 MB / 0.6582 GB, free: 69.35 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01232/1.32, allocations: 2.951 MB / 0.661 GB, free: 68.68 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06198/1.382, allocations: 11.3 MB / 0.6721 GB, free: 64.26 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03215/1.414, allocations: 13.54 MB / 0.6853 GB, free: 55.61 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001571/1.416, allocations: 1.366 MB / 0.6866 GB, free: 54.26 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01318/1.429, allocations: 1.789 MB / 0.6884 GB, free: 52.49 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08379/1.513, allocations: 29.65 MB / 0.7173 GB, free: 22.77 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001019/1.514, allocations: 26.7 kB / 0.7174 GB, free: 22.74 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008289/1.522, allocations: 0.7462 MB / 0.7181 GB, free: 22.02 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000852/1.523, allocations: 0.9907 MB / 0.7191 GB, free: 21.02 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05889/1.582, allocations: 27.36 MB / 0.7458 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1894/1.771, allocations: 94.1 MB / 0.8377 GB, free: 10.99 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3069/2.078, allocations: 51.77 MB / 0.8882 GB, free: 199.6 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01324/2.092, allocations: 6.727 MB / 0.8948 GB, free: 197.6 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03445/2.126, allocations: 19.82 MB / 0.9142 GB, free: 188.9 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.203e-05/2.126, allocations: 108.8 kB / 0.9143 GB, free: 188.8 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=681): time 8.937e-06/2.126, allocations: 1.594 kB / 0.9143 GB, free: 188.8 MB / 0.6232 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.523146464023739] 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.2264500349992886 2.234756131 1.012361486 Calling exit ...