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.005654/0.005654, allocations: 114.2 kB / 21.97 MB, free: 5.223 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.001684/0.001684, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.298/1.298, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.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.00169/0.00169, allocations: 53.33 kB / 348 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2424, allocations: 49.16 MB / 397.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04475/0.2871, allocations: 45.59 MB / 442.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.3134, allocations: 11.77 MB / 454.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/0.3237, allocations: 369.8 kB / 454.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03036/0.3541, allocations: 12.6 MB / 467.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01853/0.3726, allocations: 5.02 MB / 472.5 MB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009734/0.3823, allocations: 3.111 MB / 475.6 MB, free: 4.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02967/0.412, allocations: 21.23 MB / 496.9 MB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05251/0.4645, allocations: 26.81 MB / 0.5114 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01858/0.4831, allocations: 11.29 MB / 0.5224 GB, free: 8.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02036/0.5034, allocations: 12.28 MB / 0.5344 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009357/0.5128, allocations: 3.148 MB / 0.5375 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.5251, allocations: 3.578 MB / 0.541 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01053/0.5357, allocations: 6.332 MB / 0.5472 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02335/0.559, allocations: 11.98 MB / 0.5589 GB, free: 3.516 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4196/0.9786, allocations: 41.51 MB / 0.5994 GB, free: 61.53 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9786, allocations: 2.188 kB / 0.5994 GB, free: 61.53 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9786, allocations: 0 / 0.5994 GB, free: 61.53 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001237/0.9799, allocations: 0 / 0.5994 GB, free: 61.53 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: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.07936/1.059, allocations: 24.45 MB / 0.6233 GB, free: 46.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.059, allocations: 19.62 kB / 0.6233 GB, free: 46.9 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004294/1.06, allocations: 0.5455 MB / 0.6238 GB, free: 46.81 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01236/1.072, allocations: 2.976 MB / 0.6267 GB, free: 44.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06279/1.135, allocations: 12.42 MB / 0.6389 GB, free: 35.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/1.162, allocations: 12.24 MB / 0.6508 GB, free: 24.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/1.163, allocations: 1.373 MB / 0.6522 GB, free: 22.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00882/1.171, allocations: 1.811 MB / 0.6539 GB, free: 20.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07878/1.25, allocations: 30.04 MB / 0.6833 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006519/1.251, allocations: 27.08 kB / 0.6833 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007508/1.258, allocations: 0.7505 MB / 0.684 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/1.26, allocations: 1.018 MB / 0.685 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06442/1.324, allocations: 27.97 MB / 0.7123 GB, free: 9.117 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.392/1.716, allocations: 92.97 MB / 0.8031 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02843/1.745, allocations: 21.16 MB / 0.8238 GB, free: 159.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009939/1.754, allocations: 6.811 MB / 0.8304 GB, free: 159.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03075/1.785, allocations: 20.46 MB / 0.8504 GB, free: 148.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/1.785, allocations: 108.5 kB / 0.8505 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=681): time 7.645e-06/1.785, allocations: 0 / 0.8505 GB, free: 148.2 MB / 0.5607 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.8923554730135947] 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.8786006880109198 1.887721408 0.906595009 Calling exit ...