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.001209/0.001209, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001386/0.001386, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.357/1.357, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001559/0.001559, allocations: 51.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2298, allocations: 53.37 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03891/0.2687, allocations: 33.37 MB / 465.3 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.2913, allocations: 9.997 MB / 475.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008363/0.2997, allocations: 354.1 kB / 475.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02481/0.3245, allocations: 9.592 MB / 485.2 MB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01568/0.3402, allocations: 4.168 MB / 489.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008819/0.349, allocations: 2.413 MB / 491.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02511/0.3741, allocations: 16.65 MB / 0.4965 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04623/0.4204, allocations: 20.59 MB / 0.5166 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01633/0.4367, allocations: 8.724 MB / 0.5252 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01844/0.4551, allocations: 9.609 MB / 0.5346 GB, free: 2.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007892/0.463, allocations: 2.418 MB / 0.5369 GB, free: 224 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.229/0.692, allocations: 2.827 MB / 0.5397 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007893/0.6999, allocations: 4.825 MB / 0.5444 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01386/0.7138, allocations: 7.181 MB / 0.5514 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03742/0.7512, allocations: 32.39 MB / 0.583 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.7512, allocations: 0 / 0.583 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7512, allocations: 0.8125 kB / 0.583 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001061/0.7522, allocations: 0 / 0.583 GB, free: 22.88 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.056/0.8083, allocations: 18.98 MB / 0.6016 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8083, allocations: 9.219 kB / 0.6016 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003994/0.8087, allocations: 432.8 kB / 0.602 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0095/0.8182, allocations: 2.29 MB / 0.6042 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0444/0.8626, allocations: 8.289 MB / 0.6123 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/0.8866, allocations: 10.38 MB / 0.6225 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/0.8878, allocations: 1.058 MB / 0.6235 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006909/0.8948, allocations: 1.403 MB / 0.6249 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06165/0.9564, allocations: 23.1 MB / 0.6474 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000541/0.9569, allocations: 23.27 kB / 0.6474 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004461/0.9614, allocations: 0.5811 MB / 0.648 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008431/0.9623, allocations: 0.7754 MB / 0.6488 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04398/1.006, allocations: 21.07 MB / 0.6693 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1244/1.131, allocations: 65.16 MB / 0.733 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02592/1.157, allocations: 13.88 MB / 0.7465 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01043/1.167, allocations: 4.739 MB / 0.7512 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2798/1.447, allocations: 11.64 MB / 0.7625 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.447e-05/1.447, allocations: 92 kB / 0.7626 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=502): time 1.071e-05/1.447, allocations: 4.484 kB / 0.7626 GB, free: 197.4 MB / 0.5762 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.536421824945137] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.5228053639875725 1.532763659 0.778936966 Calling exit ...