Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.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.001635/0.001635, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.651/1.651, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001704/0.001704, allocations: 214.5 kB / 309.2 MB, free: 3.16 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04175/0.04175, allocations: 8.922 MB / 374.6 MB, free: 6.594 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.002549/0.002549, allocations: 87.88 kB / 0.4896 GB, free: 44.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1127, allocations: 55.61 MB / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01703/0.1298, allocations: 12.45 MB / 0.5561 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1401, allocations: 4.486 MB / 0.5605 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.143, allocations: 107.4 kB / 0.5606 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.1464, allocations: 0.99 MB / 0.5616 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.1514, allocations: 1.316 MB / 0.5628 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.1545, allocations: 0.939 MB / 0.5638 GB, free: 180 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2571/0.4116, allocations: 4.22 MB / 0.5679 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.4142, allocations: 1.714 MB / 0.5695 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.4183, allocations: 1.982 MB / 0.5715 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005997/0.4243, allocations: 2.109 MB / 0.5735 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.4258, allocations: 0.5099 MB / 0.574 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.4283, allocations: 0.7131 MB / 0.5747 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.4294, allocations: 1.097 MB / 0.5758 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.4334, allocations: 1.708 MB / 0.5775 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009409/0.4428, allocations: 6.784 MB / 0.5841 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4428, allocations: 0.875 kB / 0.5841 GB, free: 6.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4428, allocations: 0 / 0.5841 GB, free: 6.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002178/0.443, allocations: 0 / 0.5841 GB, free: 6.988 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.0144/0.4574, allocations: 5.43 MB / 0.5894 GB, free: 4.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4575, allocations: 13.17 kB / 0.5894 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.4624, allocations: 0.8349 MB / 0.5902 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006183/0.4686, allocations: 2.4 MB / 0.5926 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002675/0.4688, allocations: 248.5 kB / 0.5928 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.4703, allocations: 330.2 kB / 0.5931 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.4806, allocations: 4.475 MB / 0.5975 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.766e-05/0.4807, allocations: 10.72 kB / 0.5975 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.4811, allocations: 132.4 kB / 0.5976 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.4812, allocations: 153.5 kB / 0.5978 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/0.4891, allocations: 3.591 MB / 0.6013 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.5165, allocations: 11.83 MB / 0.6128 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006292/0.5228, allocations: 2.667 MB / 0.6154 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/0.5255, allocations: 1.286 MB / 0.6167 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008519/0.5341, allocations: 3.094 MB / 0.6197 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.536, allocations: 1.091 MB / 0.6208 GB, free: 11.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=143): time 4.488e-06/0.536, allocations: 0 / 0.6208 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=146): time 0.01482/0.5508, allocations: 5.338 MB / 0.626 GB, free: 6.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.551, allocations: 222.9 kB / 0.6262 GB, free: 6.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/0.5553, allocations: 1.641 MB / 0.6278 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003022/0.5556, allocations: 57.64 kB / 0.6279 GB, free: 4.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002139/0.5577, allocations: 1.542 MB / 0.6294 GB, free: 3.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007766/0.5585, allocations: 0.5257 MB / 0.6299 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008859/0.5594, allocations: 347.4 kB / 0.6302 GB, free: 2.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5595, allocations: 301.1 kB / 0.6305 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.561, allocations: 0.6988 MB / 0.6312 GB, free: 1.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.5634, allocations: 1.537 MB / 0.6327 GB, free: 15.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003805/0.5672, allocations: 2.116 MB / 0.6348 GB, free: 13.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-05/0.5672, allocations: 8 kB / 0.6348 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006465/0.5737, allocations: 2.567 MB / 0.6373 GB, free: 10.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.5737, allocations: 17.88 kB / 0.6373 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.585e-05/0.5738, allocations: 16 kB / 0.6373 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.5751, allocations: 381 kB / 0.6377 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.5766, allocations: 388.8 kB / 0.638 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009424/0.5861, allocations: 7.832 MB / 0.6457 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.5881, allocations: 99.97 kB / 0.6458 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/0.5885, allocations: 80.23 kB / 0.6459 GB, free: 1.457 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,$PRE.rmsI[3].mean.y_last,rmsI[2].mean.y_last,$PRE.rmsI[2].mean.y_last,rmsI[1].mean.y_last,$PRE.rmsI[1].mean.y_last,idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002693/0.5912, allocations: 1.045 MB / 0.6469 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007397/0.5919, allocations: 190.8 kB / 0.6471 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/0.5973, allocations: 2.157 MB / 0.6492 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.5973, allocations: 16.19 kB / 0.6492 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.973e-05/0.5973, allocations: 11.94 kB / 0.6492 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.5974, allocations: 15.89 kB / 0.6492 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.609, allocations: 4.256 MB / 0.6534 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.6091, allocations: 8.031 kB / 0.6534 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/0.6099, allocations: 175.8 kB / 0.6535 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.6116, allocations: 0.5222 MB / 0.6541 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.6118, allocations: 39.98 kB / 0.6541 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/0.6273, allocations: 12.39 MB / 0.6662 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6273, allocations: 4.031 kB / 0.6662 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006937/0.6342, allocations: 3.117 MB / 0.6692 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.6357, allocations: 350.6 kB / 0.6696 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008148/0.6365, allocations: 39.98 kB / 0.6696 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.638, allocations: 63.95 kB / 0.6697 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/0.6384, allocations: 128 kB / 0.6698 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.6385, allocations: 43.98 kB / 0.6698 GB, free: 8.258 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002751/0.6413, allocations: 1.091 MB / 0.6709 GB, free: 7.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6413, allocations: 0 / 0.6709 GB, free: 7.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00416/0.6454, allocations: 0.5977 MB / 0.6715 GB, free: 6.574 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (rmsI[3].mean.x,rmsI[2].mean.x,rmsI[1].mean.x,cStart.v,cRun.v,quadraticLoadTorque.phi,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.stator.core.Phi.im,imc.stator.core.Phi.re,imc.stator.zeroInductor.i0,imc.inertiaRotor.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rmsI[3].mean.y_last,rmsI[2].mean.y_last,rmsI[1].mean.y_last,idealOpener.control,idealCloser.control) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006198/0.6461, allocations: 170 kB / 0.6717 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.6513, allocations: 2.275 MB / 0.6739 GB, free: 4.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.6514, allocations: 0 / 0.6739 GB, free: 4.074 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00351/0.6549, allocations: 1.713 MB / 0.6755 GB, free: 2.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/0.6589, allocations: 482.3 kB / 0.676 GB, free: 1.824 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.674, allocations: 6.035 MB / 0.6819 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/0.6778, allocations: 1.805 MB / 0.6837 GB, free: 9.902 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001789/0.6796, allocations: 392 kB / 0.684 GB, free: 9.516 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.6801, allocations: 123.4 kB / 0.6842 GB, free: 9.395 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6801, allocations: 4 kB / 0.6842 GB, free: 9.391 MB / 478.1 MB Notification: Performance of Templates: time 0.06736/0.7475, allocations: 33.17 MB / 0.7166 GB, free: 8.668 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.707842176780105] Failed to read output from testmodel.py, exit status != 0: 0.758216479793191 0.775842093 0.32946034999999996 Calling exit ...