Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 101.5 kB / 21.21 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 186.1 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 43.92 kB / 371.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2277, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03967/0.2674, allocations: 32.83 MB / 456.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.2888, allocations: 9.717 MB / 466 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007764/0.2965, allocations: 350.1 kB / 466.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02565/0.3222, allocations: 9.58 MB / 475.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01521/0.3374, allocations: 4.153 MB / 480 MB, free: 5.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007903/0.3453, allocations: 2.376 MB / 482.4 MB, free: 3.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02363/0.3689, allocations: 16.5 MB / 498.9 MB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04385/0.4128, allocations: 20.58 MB / 0.5073 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01525/0.428, allocations: 8.716 MB / 0.5158 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01703/0.4451, allocations: 9.441 MB / 0.525 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008456/0.4535, allocations: 2.418 MB / 0.5274 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009267/0.4628, allocations: 2.808 MB / 0.5301 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007885/0.4707, allocations: 4.828 MB / 0.5349 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4674/0.9381, allocations: 7.161 MB / 0.5418 GB, free: 37.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04467/0.9827, allocations: 32.34 MB / 0.5734 GB, free: 29.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.9827, allocations: 3.094 kB / 0.5734 GB, free: 29.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.9827, allocations: 0 / 0.5734 GB, free: 29.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001571/0.9843, allocations: 0 / 0.5734 GB, free: 29.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06748/1.052, allocations: 18.94 MB / 0.5919 GB, free: 18.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.052, allocations: 11.53 kB / 0.5919 GB, free: 18.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000421/1.052, allocations: 430.2 kB / 0.5924 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008676/1.061, allocations: 2.29 MB / 0.5946 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04314/1.104, allocations: 8.371 MB / 0.6028 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/1.123, allocations: 10.32 MB / 0.6128 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008527/1.124, allocations: 1.066 MB / 0.6139 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006466/1.131, allocations: 1.403 MB / 0.6152 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09131/1.222, allocations: 23.06 MB / 0.6378 GB, free: 9.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001294/1.223, allocations: 23.84 kB / 0.6378 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007924/1.231, allocations: 0.5745 MB / 0.6384 GB, free: 8.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/1.232, allocations: 0.7829 MB / 0.6391 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05725/1.29, allocations: 21.02 MB / 0.6596 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1534/1.443, allocations: 65.06 MB / 0.7232 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02601/1.469, allocations: 13.77 MB / 0.7366 GB, free: 6.117 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/1.48, allocations: 4.718 MB / 0.7412 GB, free: 1.395 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3226/1.803, allocations: 11.54 MB / 0.7525 GB, free: 190 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/1.803, allocations: 95.69 kB / 0.7526 GB, free: 189.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=502): time 8.326e-06/1.803, allocations: 0 / 0.7526 GB, free: 189.9 MB / 0.5607 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.936307179974392] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.871929353917949 1.881043216 0.895793506 Calling exit ...