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.001434/0.001434, allocations: 93.06 kB / 19.65 MB, free: 280 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 0.9384/0.9384, allocations: 177.2 MB / 200 MB, free: 5.547 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.001894/0.001894, allocations: 152.7 kB / 256.6 MB, free: 13.01 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.03053/0.03053, allocations: 6.66 MB / 319.8 MB, free: 11.64 MB / 298.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 2.094e-06/2.094e-06, allocations: 0 / 391.7 MB, free: 3.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.795e-05, allocations: 2.312 kB / 391.7 MB, free: 3.672 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.01615/0.01618, allocations: 13.96 MB / 405.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.02903, allocations: 4.665 MB / 410.3 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.03314, allocations: 95.44 kB / 410.4 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.03753, allocations: 1.009 MB / 411.4 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005291/0.04282, allocations: 1.354 MB / 412.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.0457, allocations: 0.9609 MB / 413.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006071/0.05178, allocations: 4.435 MB / 418.1 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.05498, allocations: 1.726 MB / 419.9 MB, free: 7.281 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.06027, allocations: 2.916 MB / 422.8 MB, free: 4.359 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.06359, allocations: 1.921 MB / 424.7 MB, free: 2.434 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.0649, allocations: 0.5078 MB / 425.2 MB, free: 1.926 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.06702, allocations: 0.7105 MB / 425.9 MB, free: 1.215 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.06812, allocations: 1.145 MB / 427.1 MB, free: 68 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003074/0.07119, allocations: 1.473 MB / 428.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.07651, allocations: 3.524 MB / 432.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.07652, allocations: 0 / 432.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07652, allocations: 0 / 432.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001743/0.07669, allocations: 0 / 432.1 MB, free: 11.05 MB / 410.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.009342/0.08603, allocations: 6.069 MB / 438.1 MB, free: 4.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.08608, allocations: 8.031 kB / 438.1 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.08908, allocations: 1.247 MB / 439.4 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.09248, allocations: 2.333 MB / 441.7 MB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.09263, allocations: 242.9 kB / 441.9 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004055/0.09304, allocations: 340.3 kB / 442.3 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1711/0.2642, allocations: 2.633 MB / 444.9 MB, free: 138.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.226e-05/0.2643, allocations: 4.297 kB / 444.9 MB, free: 138.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.2645, allocations: 130.1 kB / 445 MB, free: 138.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.2647, allocations: 150.9 kB / 445.2 MB, free: 138.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.2678, allocations: 1.23 MB / 446.4 MB, free: 138.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01385/0.2816, allocations: 11.13 MB / 457.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.2846, allocations: 2.053 MB / 459.6 MB, free: 134 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.2857, allocations: 0.7927 MB / 460.4 MB, free: 133.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003519/0.2893, allocations: 2.402 MB / 462.8 MB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007574/0.29, allocations: 0.7674 MB / 463.6 MB, free: 132.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=143): time 3.988e-06/0.29, allocations: 0 / 463.6 MB, free: 132.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.006018/0.296, allocations: 3.689 MB / 467.3 MB, free: 130.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2961, allocations: 224.9 kB / 467.5 MB, free: 130.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.2976, allocations: 1.46 MB / 468.9 MB, free: 129.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.2976, allocations: 53.33 kB / 469 MB, free: 129.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008523/0.2985, allocations: 1.608 MB / 470.6 MB, free: 128.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.2988, allocations: 0.5363 MB / 471.1 MB, free: 128.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.2991, allocations: 377 kB / 471.5 MB, free: 128.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.2992, allocations: 480.8 kB / 472 MB, free: 127.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.2996, allocations: 261.2 kB / 472.2 MB, free: 127.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/0.3003, allocations: 1.34 MB / 473.6 MB, free: 126 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.3016, allocations: 1.518 MB / 475.1 MB, free: 124.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3016, allocations: 3.688 kB / 475.1 MB, free: 124.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.002205/0.3038, allocations: 1.706 MB / 476.8 MB, free: 123.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3038, allocations: 16 kB / 476.8 MB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.3038, allocations: 16 kB / 476.8 MB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.3045, allocations: 332 kB / 477.1 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.3052, allocations: 391.2 kB / 477.5 MB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.3089, allocations: 8.934 MB / 486.5 MB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.3098, allocations: 95.98 kB / 486.6 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.3099, allocations: 83.98 kB / 486.6 MB, free: 113.4 MB / 410.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.0008314/0.3107, allocations: 284 kB / 486.9 MB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.3109, allocations: 238.8 kB / 487.1 MB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.3126, allocations: 1.382 MB / 488.5 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.3126, allocations: 16 kB / 488.5 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3126, allocations: 10.08 kB / 488.6 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3126, allocations: 7.969 kB / 488.6 MB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.3167, allocations: 3.604 MB / 492.2 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3168, allocations: 0 / 492.2 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.3172, allocations: 174.6 kB / 492.3 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009021/0.3181, allocations: 470.9 kB / 492.8 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/0.3181, allocations: 47.97 kB / 492.8 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00526/0.3234, allocations: 13.82 MB / 0.4948 GB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3234, allocations: 3.938 kB / 0.4948 GB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.3256, allocations: 1.872 MB / 0.4966 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/0.3262, allocations: 330.6 kB / 0.4969 GB, free: 90.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.3264, allocations: 47.92 kB / 0.497 GB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.3268, allocations: 55.95 kB / 0.497 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.327, allocations: 126.9 kB / 0.4972 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.327, allocations: 43.98 kB / 0.4972 GB, free: 90.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007713/0.3278, allocations: 0.8213 MB / 0.498 GB, free: 89.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3278, allocations: 0 / 0.498 GB, free: 89.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00173/0.3295, allocations: 0.6015 MB / 0.4986 GB, free: 88.79 MB / 410.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.0002911/0.3298, allocations: 180.6 kB / 0.4988 GB, free: 88.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.3316, allocations: 1.823 MB / 0.5005 GB, free: 86.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3316, allocations: 4.5 kB / 0.5005 GB, free: 86.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3328, allocations: 1.774 MB / 0.5023 GB, free: 84.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.334, allocations: 492.5 kB / 0.5027 GB, free: 84.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/0.3404, allocations: 5.19 MB / 0.5078 GB, free: 79.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.341, allocations: 0.8033 MB / 0.5086 GB, free: 78.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008515/0.3418, allocations: 348 kB / 0.5089 GB, free: 78.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.3421, allocations: 124.5 kB / 0.509 GB, free: 77.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.455e-06/0.3421, allocations: 0 / 0.509 GB, free: 77.92 MB / 410.7 MB Notification: Performance of Templates: time 0.03704/0.3791, allocations: 30.98 MB / 0.5393 GB, free: 47.49 MB / 410.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.054912246763706]