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.0009402/0.0009402, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.06/1.06, allocations: 177.1 MB / 200 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] 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.001427/0.001427, allocations: 163.5 kB / 256.6 MB, free: 12.98 MB / 250.7 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.02335/0.02335, allocations: 6.655 MB / 319.8 MB, free: 26.52 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.312e-05, allocations: 6.25 kB / 391.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01167/0.01169, allocations: 13.97 MB / 405.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1524/0.1641, allocations: 4.644 MB / 410.3 MB, free: 69.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.168, allocations: 98.31 kB / 410.4 MB, free: 69.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.1704, allocations: 1.001 MB / 411.4 MB, free: 69.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.1743, allocations: 1.36 MB / 412.7 MB, free: 69.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.1763, allocations: 0.9528 MB / 413.7 MB, free: 69.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0043/0.1806, allocations: 4.448 MB / 418.1 MB, free: 68.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.1828, allocations: 1.727 MB / 419.8 MB, free: 67.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.1864, allocations: 2.91 MB / 422.8 MB, free: 66.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.189, allocations: 1.927 MB / 424.7 MB, free: 65.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007762/0.1898, allocations: 0.5072 MB / 425.2 MB, free: 65.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.191, allocations: 0.7152 MB / 425.9 MB, free: 65.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.1916, allocations: 1.143 MB / 427.1 MB, free: 64.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.1927, allocations: 1.477 MB / 428.5 MB, free: 64.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.1953, allocations: 3.522 MB / 432 MB, free: 62.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1953, allocations: 0.9062 kB / 432.1 MB, free: 62.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1953, allocations: 0 / 432.1 MB, free: 62.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.667e-05/0.1953, allocations: 0 / 432.1 MB, free: 62.15 MB / 330.7 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.005694/0.201, allocations: 6.068 MB / 438.1 MB, free: 56.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.201, allocations: 12.03 kB / 438.1 MB, free: 56.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002412/0.2034, allocations: 1.247 MB / 439.4 MB, free: 55.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.2057, allocations: 2.334 MB / 441.7 MB, free: 53.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.837e-05/0.2058, allocations: 246.9 kB / 442 MB, free: 53.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.2061, allocations: 334.7 kB / 442.3 MB, free: 52.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.209, allocations: 2.637 MB / 444.9 MB, free: 50.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.502e-05/0.2091, allocations: 15.12 kB / 444.9 MB, free: 50.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.2093, allocations: 140.1 kB / 445.1 MB, free: 49.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.221e-05/0.2094, allocations: 146.5 kB / 445.2 MB, free: 49.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.2115, allocations: 1.235 MB / 446.4 MB, free: 48.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009222/0.2207, allocations: 11.12 MB / 457.6 MB, free: 37.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.2231, allocations: 2.06 MB / 459.6 MB, free: 35.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009415/0.224, allocations: 0.7772 MB / 460.4 MB, free: 34.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002487/0.2265, allocations: 2.412 MB / 462.8 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/0.2271, allocations: 0.766 MB / 463.6 MB, free: 31.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=143): time 2.014e-06/0.2271, allocations: 3.281 kB / 463.6 MB, free: 31.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.00501/0.2321, allocations: 3.686 MB / 467.3 MB, free: 27.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.2322, allocations: 222.9 kB / 467.5 MB, free: 27.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2333, allocations: 1.462 MB / 468.9 MB, free: 25.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.2333, allocations: 53.7 kB / 469 MB, free: 25.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000583/0.2339, allocations: 1.614 MB / 470.6 MB, free: 24.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.2341, allocations: 0.5277 MB / 471.1 MB, free: 23.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.2344, allocations: 377.1 kB / 471.5 MB, free: 23.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.2345, allocations: 480.8 kB / 472 MB, free: 22.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.2349, allocations: 263.1 kB / 472.2 MB, free: 22.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.2355, allocations: 1.335 MB / 473.6 MB, free: 20.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.2366, allocations: 1.52 MB / 475.1 MB, free: 19.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.2366, allocations: 7.875 kB / 475.1 MB, free: 19.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.001819/0.2384, allocations: 1.711 MB / 476.8 MB, free: 17.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2385, allocations: 12 kB / 476.8 MB, free: 17.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.2385, allocations: 16 kB / 476.8 MB, free: 17.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.2391, allocations: 314.7 kB / 477.1 MB, free: 17.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.2398, allocations: 394.6 kB / 477.5 MB, free: 16.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.2431, allocations: 8.934 MB / 486.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.2437, allocations: 103.9 kB / 486.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/0.2438, allocations: 83.98 kB / 486.6 MB, free: 7.266 MB / 330.7 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.0004686/0.2442, allocations: 285.1 kB / 486.9 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.2444, allocations: 238.8 kB / 487.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.246, allocations: 1.379 MB / 488.5 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.246, allocations: 12 kB / 488.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.246, allocations: 8 kB / 488.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2461, allocations: 7.969 kB / 488.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.2497, allocations: 3.608 MB / 492.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2497, allocations: 4 kB / 492.2 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.2501, allocations: 176 kB / 492.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008557/0.251, allocations: 463.4 kB / 492.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.2511, allocations: 47.03 kB / 492.8 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/0.258, allocations: 13.82 MB / 0.4948 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2581, allocations: 7.938 kB / 0.4948 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.2606, allocations: 1.869 MB / 0.4966 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.2611, allocations: 332 kB / 0.4969 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.2612, allocations: 43.98 kB / 0.497 GB, free: 96 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.2616, allocations: 59.95 kB / 0.497 GB, free: 36 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.2618, allocations: 129 kB / 0.4972 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.2619, allocations: 43.98 kB / 0.4972 GB, free: 15.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00087/0.2628, allocations: 0.8213 MB / 0.498 GB, free: 15.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2628, allocations: 0 / 0.498 GB, free: 15.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001664/0.2644, allocations: 0.6015 MB / 0.4986 GB, free: 14.45 MB / 362.7 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.0002781/0.2647, allocations: 177.3 kB / 0.4988 GB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.2668, allocations: 1.839 MB / 0.5006 GB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2668, allocations: 0 / 0.5006 GB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.2682, allocations: 1.775 MB / 0.5023 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2693, allocations: 488.9 kB / 0.5028 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007893/0.2772, allocations: 5.181 MB / 0.5078 GB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.2781, allocations: 0.8033 MB / 0.5086 GB, free: 3.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008964/0.279, allocations: 348 kB / 0.5089 GB, free: 3.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.2793, allocations: 124.5 kB / 0.5091 GB, free: 3.461 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.2793, allocations: 0 / 0.5091 GB, free: 3.461 MB / 362.7 MB Notification: Performance of Templates: time 0.03656/0.3158, allocations: 29.43 MB / 0.5378 GB, free: 6.504 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.015398981980979]