Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 107.8 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_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_0_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.001494/0.001494, allocations: 51.91 kB / 366.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1014, allocations: 52.14 MB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2356/0.3369, allocations: 38.43 MB / 457 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02162/0.3586, allocations: 10.05 MB / 467 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009257/0.3678, allocations: 356 kB / 467.4 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02377/0.3916, allocations: 10.31 MB / 477.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.4071, allocations: 4.126 MB / 481.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008611/0.4157, allocations: 2.382 MB / 484.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02625/0.4419, allocations: 16.39 MB / 0.4888 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04353/0.4855, allocations: 23.68 MB / 0.512 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01831/0.5038, allocations: 8.653 MB / 0.5204 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0169/0.5207, allocations: 9.418 MB / 0.5296 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006784/0.5274, allocations: 2.418 MB / 0.532 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.5376, allocations: 2.812 MB / 0.5347 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00843/0.546, allocations: 4.832 MB / 0.5394 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02129/0.5673, allocations: 9.199 MB / 0.5484 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0457/0.613, allocations: 32.19 MB / 0.5798 GB, free: 8.352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.613, allocations: 0 / 0.5798 GB, free: 8.352 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.613, allocations: 0 / 0.5798 GB, free: 8.352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001068/0.6141, allocations: 0 / 0.5798 GB, free: 8.352 MB / 478.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.06184/0.6759, allocations: 19.01 MB / 0.5984 GB, free: 5.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.676, allocations: 15.83 kB / 0.5984 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00046/0.6764, allocations: 428.3 kB / 0.5988 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00967/0.6861, allocations: 2.297 MB / 0.6011 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04782/0.7339, allocations: 8.368 MB / 0.6092 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/0.7587, allocations: 10.24 MB / 0.6192 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.76, allocations: 1.06 MB / 0.6203 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006654/0.7666, allocations: 1.398 MB / 0.6216 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2688/1.035, allocations: 22.75 MB / 0.6439 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008841/1.036, allocations: 20.81 kB / 0.6439 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004917/1.041, allocations: 0.5812 MB / 0.6444 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009747/1.042, allocations: 0.7757 MB / 0.6452 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04825/1.09, allocations: 21.03 MB / 0.6657 GB, free: 130.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/1.21, allocations: 72.21 MB / 0.7363 GB, free: 73.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0247/1.235, allocations: 41.78 MB / 0.7771 GB, free: 26.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007292/1.242, allocations: 4.725 MB / 0.7817 GB, free: 21.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02446/1.267, allocations: 12.85 MB / 0.7942 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/1.267, allocations: 90.72 kB / 0.7943 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=502): time 7.314e-06/1.267, allocations: 4 kB / 0.7943 GB, free: 8.961 MB / 0.5137 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4291263699997216] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.3525066949659958 1.365763107 0.749652777 Calling exit ...