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.001555/0.001555, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.502/1.502, allocations: 230.6 MB / 253.4 MB, free: 8.293 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.001691/0.001691, allocations: 210.2 kB / 310 MB, free: 3.156 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.04057/0.04057, allocations: 8.924 MB / 375.3 MB, free: 1.906 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.002509/0.002509, allocations: 83.88 kB / 0.4904 GB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3756, allocations: 55.6 MB / 0.5447 GB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01299/0.3886, allocations: 14.37 MB / 0.5588 GB, free: 16.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009503/0.3981, allocations: 4.755 MB / 0.5634 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.4014, allocations: 101.5 kB / 0.5635 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.405, allocations: 1.051 MB / 0.5645 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.4103, allocations: 1.338 MB / 0.5658 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.4133, allocations: 0.9686 MB / 0.5668 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006777/0.4201, allocations: 4.239 MB / 0.5709 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.4234, allocations: 1.784 MB / 0.5727 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.4277, allocations: 1.985 MB / 0.5746 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005329/0.4331, allocations: 2.23 MB / 0.5768 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.4351, allocations: 0.5103 MB / 0.5773 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.4387, allocations: 0.7404 MB / 0.578 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.4405, allocations: 1.1 MB / 0.5791 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005383/0.4458, allocations: 2.158 MB / 0.5812 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.4568, allocations: 6.766 MB / 0.5878 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4569, allocations: 0 / 0.5878 GB, free: 15.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4569, allocations: 3.938 kB / 0.5878 GB, free: 15.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.4571, allocations: 3.938 kB / 0.5878 GB, free: 15.04 MB / 398.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.01824/0.4754, allocations: 5.43 MB / 0.5931 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4754, allocations: 8.031 kB / 0.5931 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.4806, allocations: 0.8261 MB / 0.5939 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006922/0.4876, allocations: 2.428 MB / 0.5963 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.4879, allocations: 242.9 kB / 0.5965 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.4892, allocations: 335.9 kB / 0.5968 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4994, allocations: 4.322 MB / 0.6011 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.093e-05/0.4995, allocations: 11.89 kB / 0.6011 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.4999, allocations: 132 kB / 0.6012 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.5001, allocations: 150.5 kB / 0.6013 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007886/0.508, allocations: 3.598 MB / 0.6049 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/0.5358, allocations: 13.52 MB / 0.6181 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/0.5413, allocations: 2.678 MB / 0.6207 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.5437, allocations: 1.269 MB / 0.6219 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007806/0.5515, allocations: 3.478 MB / 0.6253 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.5532, allocations: 0.9429 MB / 0.6262 GB, free: 9.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 2.986e-06/0.5532, allocations: 4 kB / 0.6262 GB, free: 9.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=146): time 0.01351/0.5667, allocations: 5.355 MB / 0.6315 GB, free: 3.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.5669, allocations: 230.9 kB / 0.6317 GB, free: 3.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.5702, allocations: 1.826 MB / 0.6335 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.5704, allocations: 61.64 kB / 0.6335 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001759/0.5722, allocations: 1.517 MB / 0.635 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/0.5728, allocations: 0.5229 MB / 0.6355 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/0.5734, allocations: 347.4 kB / 0.6359 GB, free: 15.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5736, allocations: 301.1 kB / 0.6361 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.5748, allocations: 0.7027 MB / 0.6368 GB, free: 14.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.5767, allocations: 1.358 MB / 0.6382 GB, free: 12.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.5799, allocations: 2.122 MB / 0.6402 GB, free: 10.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.5799, allocations: 8 kB / 0.6402 GB, free: 10.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004983/0.5849, allocations: 2.586 MB / 0.6428 GB, free: 7.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.5849, allocations: 16 kB / 0.6428 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/0.5849, allocations: 16.34 kB / 0.6428 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.586, allocations: 368.6 kB / 0.6431 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.5875, allocations: 399.3 kB / 0.6435 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/0.5966, allocations: 8.001 MB / 0.6513 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.5988, allocations: 95.97 kB / 0.6514 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.5991, allocations: 88.06 kB / 0.6515 GB, free: 13.96 MB / 462.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.002504/0.6016, allocations: 1.037 MB / 0.6525 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/0.6021, allocations: 214.6 kB / 0.6527 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/0.6067, allocations: 2.167 MB / 0.6548 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.6067, allocations: 15.98 kB / 0.6549 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6067, allocations: 12 kB / 0.6549 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.6067, allocations: 7.984 kB / 0.6549 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009902/0.6166, allocations: 4.96 MB / 0.6597 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.6166, allocations: 4 kB / 0.6597 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.6174, allocations: 171.8 kB / 0.6599 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.619, allocations: 0.5359 MB / 0.6604 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.6191, allocations: 39.98 kB / 0.6604 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/0.6337, allocations: 12.66 MB / 0.6728 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.6337, allocations: 4.406 kB / 0.6728 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/0.6398, allocations: 3.135 MB / 0.6759 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.6413, allocations: 370.5 kB / 0.6762 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/0.6417, allocations: 51.92 kB / 0.6763 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.6426, allocations: 63.89 kB / 0.6763 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/0.643, allocations: 117.1 kB / 0.6765 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/0.643, allocations: 43.97 kB / 0.6765 GB, free: 3.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002133/0.6452, allocations: 1.256 MB / 0.6777 GB, free: 2.246 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6452, allocations: 0 / 0.6777 GB, free: 2.246 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002927/0.6481, allocations: 0.5977 MB / 0.6783 GB, free: 1.648 MB / 478.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.0004729/0.6486, allocations: 171 kB / 0.6785 GB, free: 1.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.653, allocations: 2.271 MB / 0.6807 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.653, allocations: 0 / 0.6807 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/0.656, allocations: 1.755 MB / 0.6824 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.659, allocations: 0.5848 MB / 0.683 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.6719, allocations: 6.035 MB / 0.6889 GB, free: 6.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/0.6744, allocations: 2.301 MB / 0.6911 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/0.6751, allocations: 147.4 kB / 0.6913 GB, free: 4.172 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6751, allocations: 0 / 0.6913 GB, free: 4.172 MB / 494.1 MB Notification: Performance of Templates: time 0.4063/1.081, allocations: 132.6 MB / 0.8208 GB, free: 14.77 MB / 494.1 MB " [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: 16.28033507289365] Failed to read output from testmodel.py, exit status != 0: 1.0925758800003678 1.102189744 0.642592694 Calling exit ...