Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 124.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 214.2 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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.001907/0.001907, allocations: 63.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1258, allocations: 53.37 MB / 427.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2565/0.3823, allocations: 39.08 MB / 466.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.4129, allocations: 10.35 MB / 476.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.011/0.4239, allocations: 356.8 kB / 476.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02627/0.4502, allocations: 10.3 MB / 487.2 MB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01859/0.4688, allocations: 4.13 MB / 491.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.479, allocations: 2.443 MB / 493.8 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02639/0.5054, allocations: 16.52 MB / 0.4983 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04875/0.5542, allocations: 23.68 MB / 0.5214 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.569, allocations: 8.653 MB / 0.5299 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0172/0.5862, allocations: 9.589 MB / 0.5393 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007006/0.5932, allocations: 2.422 MB / 0.5416 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009414/0.6026, allocations: 2.832 MB / 0.5444 GB, free: 14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007849/0.6105, allocations: 4.828 MB / 0.5491 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01658/0.6271, allocations: 9.206 MB / 0.5581 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04459/0.6717, allocations: 32.25 MB / 0.5896 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.6717, allocations: 0 / 0.5896 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6717, allocations: 0 / 0.5896 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001069/0.6727, allocations: 0 / 0.5896 GB, free: 15.57 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.05982/0.7325, allocations: 19.07 MB / 0.6082 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7326, allocations: 8.031 kB / 0.6082 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004675/0.7331, allocations: 436.3 kB / 0.6086 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007796/0.7409, allocations: 2.294 MB / 0.6109 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05062/0.7915, allocations: 8.278 MB / 0.6189 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5512/1.343, allocations: 10.29 MB / 0.629 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001927/1.345, allocations: 1.059 MB / 0.63 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009621/1.354, allocations: 1.402 MB / 0.6314 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07791/1.432, allocations: 22.81 MB / 0.6537 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006924/1.433, allocations: 20.16 kB / 0.6537 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007037/1.44, allocations: 0.5756 MB / 0.6543 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001244/1.441, allocations: 0.7816 MB / 0.655 GB, free: 127.2 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05318/1.494, allocations: 21.07 MB / 0.6756 GB, free: 112.7 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1384/1.633, allocations: 72.9 MB / 0.7468 GB, free: 39.2 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03329/1.666, allocations: 42.14 MB / 0.7879 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009698/1.676, allocations: 4.749 MB / 0.7926 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02595/1.702, allocations: 13.21 MB / 0.8055 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.61e-05/1.702, allocations: 90.77 kB / 0.8056 GB, free: 6.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=502): time 7.023e-06/1.702, allocations: 0 / 0.8056 GB, free: 6.199 MB / 0.545 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.340632423001807] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.7936614219797775 2.00784286 1.333441603 Calling exit ...