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.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.001784/0.001784, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.458/1.458, allocations: 222.9 MB / 242.1 MB, free: 15.27 MB / 206.1 MB [Timeout remaining time 178] 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.001616/0.001615, allocations: 187.8 kB / 294.4 MB, free: 12.7 MB / 238.1 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04031/0.04031, allocations: 8.795 MB / 355.3 MB, free: 15.95 MB / 302.1 MB [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: 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: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 87.86 kB / 472.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3374, allocations: 51.55 MB / 0.5119 GB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01805/0.3555, allocations: 13.6 MB / 0.5252 GB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3657, allocations: 4.427 MB / 0.5295 GB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/0.3689, allocations: 79.69 kB / 0.5296 GB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.3726, allocations: 0.9965 MB / 0.5306 GB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00608/0.3788, allocations: 1.293 MB / 0.5318 GB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.3819, allocations: 0.9025 MB / 0.5327 GB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006923/0.3889, allocations: 4.159 MB / 0.5368 GB, free: 3.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004462/0.3934, allocations: 3.189 MB / 0.5399 GB, free: 312 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.3967, allocations: 1.908 MB / 0.5417 GB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003686/0.4004, allocations: 2.078 MB / 0.5438 GB, free: 12.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.4015, allocations: 0.5078 MB / 0.5443 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4034, allocations: 0.7068 MB / 0.5449 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.4047, allocations: 1.091 MB / 0.546 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.4081, allocations: 2.155 MB / 0.5481 GB, free: 7.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008915/0.4171, allocations: 6.7 MB / 0.5547 GB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4171, allocations: 0 / 0.5547 GB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4171, allocations: 0 / 0.5547 GB, free: 1.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.4173, allocations: 0 / 0.5547 GB, free: 1.109 MB / 366.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.01233/0.4296, allocations: 4.503 MB / 0.5591 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4297, allocations: 8.031 kB / 0.5591 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/0.4341, allocations: 0.8456 MB / 0.5599 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004663/0.4388, allocations: 2.448 MB / 0.5623 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.439, allocations: 242.9 kB / 0.5625 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/0.4396, allocations: 340.1 kB / 0.5628 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008102/0.4477, allocations: 4.318 MB / 0.5671 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/0.4479, allocations: 3.953 kB / 0.5671 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.4482, allocations: 136 kB / 0.5672 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.4484, allocations: 150.5 kB / 0.5673 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006784/0.4552, allocations: 3.59 MB / 0.5708 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0275/0.4827, allocations: 13.71 MB / 0.5842 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008636/0.4914, allocations: 6.643 MB / 0.5907 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.4943, allocations: 1.394 MB / 0.5921 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007955/0.5023, allocations: 3.656 MB / 0.5957 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.504, allocations: 0.9507 MB / 0.5966 GB, free: 4.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=143): time 4.188e-06/0.504, allocations: 0 / 0.5966 GB, free: 4.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=146): time 0.0141/0.5181, allocations: 6.033 MB / 0.6025 GB, free: 14.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.5183, allocations: 222.9 kB / 0.6027 GB, free: 14.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003825/0.5222, allocations: 1.785 MB / 0.6044 GB, free: 12.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.5224, allocations: 53.7 kB / 0.6045 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.5241, allocations: 1.509 MB / 0.606 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/0.5247, allocations: 0.5229 MB / 0.6065 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006984/0.5254, allocations: 351.4 kB / 0.6068 GB, free: 9.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5255, allocations: 301.1 kB / 0.6071 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.5268, allocations: 0.6949 MB / 0.6078 GB, free: 8.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/0.5287, allocations: 1.35 MB / 0.6091 GB, free: 7.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.5319, allocations: 2.118 MB / 0.6112 GB, free: 4.895 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.5319, allocations: 4 kB / 0.6112 GB, free: 4.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.005067/0.537, allocations: 2.649 MB / 0.6137 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.5371, allocations: 16.06 kB / 0.6138 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.5371, allocations: 20 kB / 0.6138 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.5383, allocations: 371.9 kB / 0.6141 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.5397, allocations: 391.4 kB / 0.6145 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009166/0.5489, allocations: 8.443 MB / 0.6227 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.5507, allocations: 111.9 kB / 0.6229 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/0.551, allocations: 76 kB / 0.6229 GB, free: 8.219 MB / 446.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,idealOpener.control,idealCloser.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.00228/0.5533, allocations: 1.048 MB / 0.624 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.5539, allocations: 206.7 kB / 0.6241 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.5586, allocations: 2.333 MB / 0.6264 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5587, allocations: 15.98 kB / 0.6264 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.5587, allocations: 8 kB / 0.6264 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.5587, allocations: 7.984 kB / 0.6265 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009814/0.5686, allocations: 5.134 MB / 0.6315 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.5686, allocations: 0 / 0.6315 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.5695, allocations: 183.7 kB / 0.6316 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.5711, allocations: 0.5241 MB / 0.6322 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.5712, allocations: 43.92 kB / 0.6322 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.5853, allocations: 13.26 MB / 0.6451 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.5853, allocations: 3.938 kB / 0.6451 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005688/0.591, allocations: 3.289 MB / 0.6484 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/0.592, allocations: 439.7 kB / 0.6488 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.5923, allocations: 47.92 kB / 0.6488 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.5932, allocations: 59.95 kB / 0.6489 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.5935, allocations: 113.1 kB / 0.649 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.5936, allocations: 47.97 kB / 0.649 GB, free: 12.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001912/0.5955, allocations: 1.215 MB / 0.6502 GB, free: 11.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5955, allocations: 0 / 0.6502 GB, free: 11.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002342/0.5979, allocations: 0.5938 MB / 0.6508 GB, free: 10.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control,idealOpener.control,rmsI[1].mean.y_last,rmsI[2].mean.y_last,rmsI[3].mean.y_last) * 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,13,100.0%), (1,8,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.0003794/0.5982, allocations: 167 kB / 0.651 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004057/0.6023, allocations: 2.425 MB / 0.6533 GB, free: 7.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6023, allocations: 4 kB / 0.6533 GB, free: 7.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.6053, allocations: 1.761 MB / 0.6551 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.6083, allocations: 0.5563 MB / 0.6556 GB, free: 5.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2474/0.8557, allocations: 5.989 MB / 0.6614 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004406/0.8602, allocations: 2.338 MB / 0.6637 GB, free: 130.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001813/0.862, allocations: 419.5 kB / 0.6641 GB, free: 130.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/0.8626, allocations: 126 kB / 0.6642 GB, free: 130.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.293e-06/0.8626, allocations: 0 / 0.6642 GB, free: 130.6 MB / 478.1 MB Notification: Performance of Templates: time 0.05434/0.917, allocations: 31.43 MB / 0.6949 GB, free: 108.6 MB / 478.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: 6.293277097865939]