Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001196/0.001196, allocations: 112.2 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.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.001336/0.001336, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.002031/0.002031, allocations: 47.92 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.241, allocations: 53.36 MB / 432 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.0498/0.2908, allocations: 46.21 MB / 478.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02608/0.3169, allocations: 12.14 MB / 490.3 MB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01015/0.3271, allocations: 433.6 kB / 490.7 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02939/0.3564, allocations: 12.6 MB / 0.4915 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.372, allocations: 5.015 MB / 0.4964 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009743/0.3817, allocations: 3.11 MB / 0.4995 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03001/0.4117, allocations: 21.25 MB / 0.5202 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4657/0.8775, allocations: 26.85 MB / 0.5465 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.8913, allocations: 11.24 MB / 0.5574 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01571/0.907, allocations: 12.34 MB / 0.5695 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006724/0.9137, allocations: 3.131 MB / 0.5725 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008242/0.922, allocations: 3.592 MB / 0.576 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006839/0.9288, allocations: 6.274 MB / 0.5822 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01812/0.9469, allocations: 12.01 MB / 0.5939 GB, free: 0 / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05067/0.9976, allocations: 41.63 MB / 0.6346 GB, free: 10.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.9976, allocations: 0 / 0.6346 GB, free: 10.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.9976, allocations: 0 / 0.6346 GB, free: 10.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009284/0.9985, allocations: 2.812 kB / 0.6346 GB, free: 10.16 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: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.07198/1.071, allocations: 24.32 MB / 0.6583 GB, free: 1.895 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.071, allocations: 8.031 kB / 0.6583 GB, free: 1.887 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005549/1.071, allocations: 0.5397 MB / 0.6588 GB, free: 1.344 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0104/1.082, allocations: 2.944 MB / 0.6617 GB, free: 14.4 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0617/1.143, allocations: 11.32 MB / 0.6728 GB, free: 3.203 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03323/1.176, allocations: 13.62 MB / 0.6861 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001591/1.178, allocations: 1.358 MB / 0.6874 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006868/1.185, allocations: 1.795 MB / 0.6891 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07101/1.256, allocations: 29.65 MB / 0.7181 GB, free: 5.195 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006841/1.257, allocations: 27.27 kB / 0.7181 GB, free: 5.172 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005113/1.262, allocations: 0.7428 MB / 0.7189 GB, free: 4.445 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001116/1.263, allocations: 0.9907 MB / 0.7198 GB, free: 3.449 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05767/1.32, allocations: 27.36 MB / 0.7465 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5266/1.847, allocations: 92.02 MB / 0.8364 GB, free: 146.3 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/1.873, allocations: 18.95 MB / 0.8549 GB, free: 133.5 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009384/1.882, allocations: 6.717 MB / 0.8615 GB, free: 126.7 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02901/1.911, allocations: 19.53 MB / 0.8805 GB, free: 107.6 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/1.911, allocations: 108.5 kB / 0.8806 GB, free: 107.5 MB / 0.592 GB Notification: Performance of pre-optimization done (n=681): time 8.526e-06/1.911, allocations: 0 / 0.8806 GB, free: 107.5 MB / 0.592 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.143789531022776] 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.006750805012416 2.014118697 1.014109984 Calling exit ...