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.001749/0.001749, allocations: 100.5 kB / 21.95 MB, free: 5.219 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.002036/0.002036, allocations: 213.5 kB / 25.26 MB, free: 3.129 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.27/1.27, allocations: 207.7 MB / 236.1 MB, free: 9.793 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.001664/0.001664, allocations: 55.92 kB / 348 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, allocations: 49.16 MB / 397.2 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0415/0.2988, allocations: 38.73 MB / 435.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02769/0.3264, allocations: 11.42 MB / 447.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/0.3368, allocations: 369.8 kB / 447.7 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02814/0.365, allocations: 11.66 MB / 459.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.3832, allocations: 4.965 MB / 464.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009574/0.3927, allocations: 3.041 MB / 467.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02832/0.4211, allocations: 21.21 MB / 488.6 MB, free: 7.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05075/0.4718, allocations: 26.82 MB / 0.5033 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01989/0.4917, allocations: 11.3 MB / 0.5143 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02253/0.5142, allocations: 12.27 MB / 0.5263 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009686/0.5239, allocations: 3.145 MB / 0.5294 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.5364, allocations: 3.562 MB / 0.5329 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01155/0.5479, allocations: 6.336 MB / 0.5391 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02434/0.5723, allocations: 9.339 MB / 0.5482 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.415/0.9872, allocations: 41.7 MB / 0.5889 GB, free: 66.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9872, allocations: 0 / 0.5889 GB, free: 66.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9872, allocations: 0 / 0.5889 GB, free: 66.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.00111/0.9883, allocations: 1.938 kB / 0.5889 GB, free: 66.11 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.07333/1.062, allocations: 24.45 MB / 0.6128 GB, free: 55.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.062, allocations: 11.8 kB / 0.6128 GB, free: 55.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004704/1.062, allocations: 0.5498 MB / 0.6133 GB, free: 55.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01201/1.074, allocations: 2.973 MB / 0.6162 GB, free: 53.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06111/1.135, allocations: 12.42 MB / 0.6284 GB, free: 47.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02481/1.16, allocations: 12.24 MB / 0.6403 GB, free: 37.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009708/1.161, allocations: 1.378 MB / 0.6417 GB, free: 35.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007738/1.169, allocations: 1.802 MB / 0.6434 GB, free: 33.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06816/1.237, allocations: 30.5 MB / 0.6732 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007691/1.238, allocations: 27.75 kB / 0.6732 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006664/1.244, allocations: 0.7505 MB / 0.674 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007935/1.245, allocations: 1.017 MB / 0.675 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06443/1.31, allocations: 27.97 MB / 0.7023 GB, free: 5.473 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4108/1.72, allocations: 85.28 MB / 0.7856 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02704/1.747, allocations: 21 MB / 0.8061 GB, free: 128.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009585/1.757, allocations: 6.805 MB / 0.8127 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03225/1.789, allocations: 18.95 MB / 0.8312 GB, free: 123.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.533e-05/1.789, allocations: 113.9 kB / 0.8313 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=681): time 1.067e-05/1.789, allocations: 0 / 0.8313 GB, free: 123.8 MB / 0.5607 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.8780070720240474] 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.8820351409958676 1.890984016 0.901162974 Calling exit ...