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.IMC_DOL.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.001681/0.001681, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.0018/0.0018, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.445/1.445, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.IMC_DOL,fileNamePrefix="Modelica_4_1_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_1_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.00148/0.00148, allocations: 47.92 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 53.33 MB / 427.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2236/0.3269, allocations: 39.09 MB / 466.1 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.3513, allocations: 10.34 MB / 476.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009443/0.3608, allocations: 357.9 kB / 476.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0245/0.3853, allocations: 10.31 MB / 487.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.4018, allocations: 4.146 MB / 491.3 MB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008061/0.4099, allocations: 2.42 MB / 493.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02384/0.4337, allocations: 16.54 MB / 0.4983 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04312/0.4768, allocations: 23.68 MB / 0.5214 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/0.4911, allocations: 8.654 MB / 0.5299 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01604/0.5071, allocations: 9.593 MB / 0.5392 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00631/0.5134, allocations: 2.418 MB / 0.5416 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008491/0.5219, allocations: 2.831 MB / 0.5444 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007037/0.5289, allocations: 4.828 MB / 0.5491 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01575/0.5447, allocations: 9.206 MB / 0.5581 GB, free: 108 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04059/0.5853, allocations: 32.24 MB / 0.5896 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5853, allocations: 4 kB / 0.5896 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5853, allocations: 0 / 0.5896 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007418/0.586, allocations: 0 / 0.5896 GB, free: 15.76 MB / 0.4981 GB 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.05245/0.6385, allocations: 19.07 MB / 0.6082 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6385, allocations: 12.03 kB / 0.6082 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004046/0.6389, allocations: 432.3 kB / 0.6086 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007111/0.646, allocations: 2.294 MB / 0.6108 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04574/0.6918, allocations: 8.274 MB / 0.6189 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3827/1.074, allocations: 10.29 MB / 0.629 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009937/1.075, allocations: 1.064 MB / 0.63 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005057/1.081, allocations: 1.4 MB / 0.6314 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05167/1.132, allocations: 22.8 MB / 0.6536 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005257/1.133, allocations: 23.38 kB / 0.6537 GB, free: 127.8 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/1.136, allocations: 0.5754 MB / 0.6542 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007844/1.137, allocations: 0.7845 MB / 0.655 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0379/1.175, allocations: 21.07 MB / 0.6756 GB, free: 113 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/1.275, allocations: 72.9 MB / 0.7468 GB, free: 39.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02555/1.301, allocations: 42.15 MB / 0.7879 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008683/1.31, allocations: 4.753 MB / 0.7926 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02327/1.333, allocations: 13.2 MB / 0.8054 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.192e-05/1.333, allocations: 94.78 kB / 0.8055 GB, free: 6.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=502): time 5.901e-06/1.333, allocations: 0 / 0.8055 GB, free: 6.496 MB / 0.545 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.038280646025669] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.4129528180346824 1.599807669 1.011946497 Calling exit ...