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.001555/0.001555, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002115/0.002115, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001586/0.001586, allocations: 47.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2441, allocations: 53.36 MB / 432 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04553/0.2896, allocations: 39.17 MB / 471.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.3122, allocations: 10.36 MB / 481.5 MB, free: 5.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007703/0.3199, allocations: 358.1 kB / 481.8 MB, free: 4.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02379/0.3437, allocations: 10.35 MB / 492.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.3575, allocations: 4.211 MB / 496.4 MB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007438/0.3649, allocations: 2.508 MB / 498.9 MB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02371/0.3887, allocations: 16.65 MB / 0.5035 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03718/0.4258, allocations: 20.6 MB / 0.5236 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.4395, allocations: 8.716 MB / 0.5321 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4929/0.9324, allocations: 9.61 MB / 0.5415 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00945/0.9419, allocations: 2.417 MB / 0.5438 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.9522, allocations: 2.844 MB / 0.5466 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007949/0.9602, allocations: 4.833 MB / 0.5513 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0195/0.9797, allocations: 9.205 MB / 0.5603 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04009/1.02, allocations: 32.24 MB / 0.5918 GB, free: 9.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.02, allocations: 2.844 kB / 0.5918 GB, free: 9.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/1.02, allocations: 0 / 0.5918 GB, free: 9.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001137/1.021, allocations: 0 / 0.5918 GB, free: 9.145 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.06199/1.083, allocations: 19 MB / 0.6104 GB, free: 11.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/1.083, allocations: 12.03 kB / 0.6104 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006117/1.084, allocations: 432.3 kB / 0.6108 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01014/1.094, allocations: 2.283 MB / 0.613 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04806/1.142, allocations: 8.283 MB / 0.6211 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02446/1.166, allocations: 10.38 MB / 0.6313 GB, free: 6.863 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/1.167, allocations: 1.057 MB / 0.6323 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006849/1.174, allocations: 1.408 MB / 0.6337 GB, free: 4.426 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06587/1.24, allocations: 22.81 MB / 0.6559 GB, free: 13.56 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005765/1.241, allocations: 30.17 kB / 0.656 GB, free: 13.54 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004674/1.245, allocations: 0.5758 MB / 0.6565 GB, free: 12.98 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009742/1.246, allocations: 0.7754 MB / 0.6573 GB, free: 12.2 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05236/1.299, allocations: 21.07 MB / 0.6779 GB, free: 7.125 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3972/1.696, allocations: 71.1 MB / 0.7473 GB, free: 177.7 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02541/1.721, allocations: 14 MB / 0.761 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007181/1.729, allocations: 4.742 MB / 0.7656 GB, free: 177.1 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02453/1.753, allocations: 12.82 MB / 0.7781 GB, free: 175.1 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.131e-05/1.753, allocations: 97.09 kB / 0.7782 GB, free: 175 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=502): time 7.404e-06/1.753, allocations: 0 / 0.7782 GB, free: 175 MB / 0.5763 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.968665483989753] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.829063257027883 1.839091275 0.816654698 Calling exit ...