Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001504/0.001504, allocations: 119.7 kB / 19.17 MB, free: 3.898 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.001564/0.001564, allocations: 207.3 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 207.6 MB / 232.5 MB, free: 3.961 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 64.48 kB / 343 MB, free: 9.953 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09592, allocations: 49.13 MB / 392.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.05083/0.1468, allocations: 45.51 MB / 437.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02674/0.1735, allocations: 11.76 MB / 449.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01204/0.1855, allocations: 365.8 kB / 449.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02957/0.2151, allocations: 12.55 MB / 462.3 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2075/0.4226, allocations: 4.923 MB / 467.3 MB, free: 6.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009233/0.4319, allocations: 3.065 MB / 470.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02435/0.4562, allocations: 21.09 MB / 491.4 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04905/0.5053, allocations: 31.61 MB / 0.5108 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02192/0.5272, allocations: 11.3 MB / 0.5218 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02109/0.5483, allocations: 12.24 MB / 0.5338 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008147/0.5564, allocations: 3.141 MB / 0.5368 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.5681, allocations: 3.572 MB / 0.5403 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0105/0.5786, allocations: 6.329 MB / 0.5465 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0239/0.6025, allocations: 11.98 MB / 0.5582 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05387/0.6564, allocations: 41.5 MB / 0.5987 GB, free: 9.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.6564, allocations: 4 kB / 0.5987 GB, free: 9.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6564, allocations: 0 / 0.5987 GB, free: 9.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001067/0.6575, allocations: 4 kB / 0.5987 GB, free: 9.145 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.07186/0.7293, allocations: 24.51 MB / 0.6227 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.7294, allocations: 15.89 kB / 0.6227 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000524/0.7299, allocations: 0.5462 MB / 0.6232 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01012/0.74, allocations: 2.978 MB / 0.6261 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06715/0.8072, allocations: 12.42 MB / 0.6383 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02697/0.8341, allocations: 12.17 MB / 0.6501 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001658/0.8358, allocations: 1.375 MB / 0.6515 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007139/0.8429, allocations: 1.808 MB / 0.6533 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3968/1.24, allocations: 30.04 MB / 0.6826 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006876/1.24, allocations: 21.95 kB / 0.6826 GB, free: 154.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005305/1.246, allocations: 0.7532 MB / 0.6833 GB, free: 154 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007669/1.247, allocations: 1.02 MB / 0.6843 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04933/1.296, allocations: 27.97 MB / 0.7117 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1254/1.421, allocations: 94.54 MB / 0.804 GB, free: 43.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04046/1.462, allocations: 62.57 MB / 0.8651 GB, free: 6.508 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3647/1.826, allocations: 6.82 MB / 0.8717 GB, free: 182.1 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03491/1.861, allocations: 20.74 MB / 0.892 GB, free: 176.2 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/1.861, allocations: 113.1 kB / 0.8921 GB, free: 176.1 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=681): time 8.926e-06/1.861, allocations: 0 / 0.8921 GB, free: 176.1 MB / 0.5608 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.099151129950769] 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'] 1.9593142250087112 1.967925594 1.30912616 Calling exit ...