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.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.001515/0.001515, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001601/0.001601, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.548/1.548, allocations: 207.6 MB / 232.5 MB, free: 3.914 MB / 174.1 MB " [Timeout remaining time 178] 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.IMC_DOL,fileNamePrefix="Modelica_3_2_3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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.001796/0.001796, allocations: 63.89 kB / 343 MB, free: 10.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1303, allocations: 49.13 MB / 392.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04685/0.1772, allocations: 38.51 MB / 430.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02831/0.2055, allocations: 10.03 MB / 440.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.2183, allocations: 302.2 kB / 441 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02818/0.2465, allocations: 10.32 MB / 451.3 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01876/0.2652, allocations: 4.161 MB / 455.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009265/0.2745, allocations: 2.43 MB / 457.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2588/0.5333, allocations: 16.53 MB / 474.4 MB, free: 7.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03695/0.5702, allocations: 23.66 MB / 498.1 MB, free: 1.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01982/0.59, allocations: 9.428 MB / 0.4956 GB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02194/0.612, allocations: 9.615 MB / 0.505 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008246/0.6202, allocations: 2.426 MB / 0.5074 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.632, allocations: 2.823 MB / 0.5101 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01287/0.6448, allocations: 5.085 MB / 0.5151 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02664/0.6715, allocations: 9.282 MB / 0.5242 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04966/0.7211, allocations: 32.22 MB / 0.5556 GB, free: 7.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.7212, allocations: 0 / 0.5556 GB, free: 7.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7212, allocations: 0 / 0.5556 GB, free: 7.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001018/0.7222, allocations: 0 / 0.5556 GB, free: 7.43 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06748/0.7897, allocations: 19.19 MB / 0.5744 GB, free: 4.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.7897, allocations: 15.89 kB / 0.5744 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005756/0.7903, allocations: 433.2 kB / 0.5748 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009541/0.7998, allocations: 2.324 MB / 0.5771 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0533/0.8531, allocations: 9.362 MB / 0.5862 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0211/0.8742, allocations: 9.227 MB / 0.5952 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001308/0.8755, allocations: 1.078 MB / 0.5963 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00625/0.8818, allocations: 1.423 MB / 0.5977 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06598/0.9478, allocations: 23.22 MB / 0.6203 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000782/0.9485, allocations: 23.27 kB / 0.6204 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006227/0.9548, allocations: 0.583 MB / 0.6209 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001074/0.9558, allocations: 0.808 MB / 0.6217 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05555/1.011, allocations: 21.7 MB / 0.6429 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5467/1.558, allocations: 73.44 MB / 0.7146 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03392/1.592, allocations: 52.94 MB / 0.7663 GB, free: 84.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008494/1.601, allocations: 4.888 MB / 0.7711 GB, free: 82.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03183/1.632, allocations: 15.62 MB / 0.7864 GB, free: 66.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/1.632, allocations: 86.72 kB / 0.7864 GB, free: 66.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=502): time 1.028e-05/1.632, allocations: 0 / 0.7864 GB, free: 66.76 MB / 0.5294 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.02254668000387] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.712537273997441 1.7210072029999999 0.997411653 Calling exit ...