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.001741/0.001741, allocations: 88.72 kB / 19.44 MB, free: 352 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.641/1.641, allocations: 177.1 MB / 199.7 MB, free: 5.824 MB / 186.7 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.00187/0.00187, allocations: 160.6 kB / 256.3 MB, free: 13.18 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.03791/0.03791, allocations: 6.659 MB / 319.4 MB, free: 26.59 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 2.004e-06/2.004e-06, allocations: 0 / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.482e-05, allocations: 2.312 kB / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Steinmetz): time 0.02065/0.02069, allocations: 12.5 MB / 403.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.03293, allocations: 4.509 MB / 407.9 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/0.03577, allocations: 99.38 kB / 408 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.03984, allocations: 1.001 MB / 409 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.147/0.1869, allocations: 1.343 MB / 410.4 MB, free: 69.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.1903, allocations: 0.9407 MB / 411.3 MB, free: 69.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007032/0.1973, allocations: 4.435 MB / 415.7 MB, free: 68.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003994/0.2013, allocations: 1.722 MB / 417.4 MB, free: 68.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008037/0.2094, allocations: 2.89 MB / 420.3 MB, free: 66.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.2144, allocations: 1.763 MB / 422.1 MB, free: 66.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.2161, allocations: 0.5066 MB / 422.6 MB, free: 66.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.2194, allocations: 0.7175 MB / 423.3 MB, free: 66.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.2214, allocations: 1.128 MB / 424.5 MB, free: 65.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004614/0.226, allocations: 1.464 MB / 425.9 MB, free: 64.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009142/0.2352, allocations: 6.821 MB / 432.7 MB, free: 60.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2352, allocations: 0 / 432.7 MB, free: 60.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2352, allocations: 0.6875 kB / 432.7 MB, free: 60.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002441/0.2354, allocations: 0 / 432.7 MB, free: 60.83 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.01467/0.2501, allocations: 5.386 MB / 438.1 MB, free: 56.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.2501, allocations: 11.03 kB / 438.1 MB, free: 56.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005899/0.256, allocations: 1.256 MB / 439.4 MB, free: 54.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/0.2613, allocations: 2.507 MB / 441.9 MB, free: 52.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.2615, allocations: 248.6 kB / 442.1 MB, free: 52.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.2627, allocations: 335 kB / 442.5 MB, free: 51.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.2731, allocations: 4.47 MB / 446.9 MB, free: 47.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.2732, allocations: 15.69 kB / 447 MB, free: 47.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.2743, allocations: 138.4 kB / 447.1 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.2746, allocations: 150.5 kB / 447.2 MB, free: 47.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008807/0.2834, allocations: 3.585 MB / 450.8 MB, free: 43.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02634/0.3097, allocations: 12.06 MB / 462.9 MB, free: 31.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00524/0.3149, allocations: 2.685 MB / 465.6 MB, free: 28.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002449/0.3174, allocations: 1.287 MB / 466.9 MB, free: 27.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006846/0.3242, allocations: 3.122 MB / 470 MB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.3257, allocations: 1.101 MB / 471.1 MB, free: 23.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=143): time 4.519e-06/0.3257, allocations: 0 / 471.1 MB, free: 23.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.01227/0.3379, allocations: 5.397 MB / 476.5 MB, free: 17.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.338, allocations: 226.8 kB / 476.7 MB, free: 17.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.3404, allocations: 1.641 MB / 478.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003249/0.3407, allocations: 53.7 kB / 478.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.3419, allocations: 1.54 MB / 479.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/0.3425, allocations: 0.5114 MB / 480.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.343, allocations: 347.4 kB / 480.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.3431, allocations: 301.1 kB / 481.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3442, allocations: 0.6997 MB / 481.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.3456, allocations: 1.534 MB / 483.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.3482, allocations: 2.122 MB / 485.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.3482, allocations: 4 kB / 485.4 MB, free: 8.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004863/0.3531, allocations: 2.66 MB / 488.1 MB, free: 5.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.3531, allocations: 12 kB / 488.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.3531, allocations: 16 kB / 488.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3544, allocations: 423.3 kB / 488.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.356, allocations: 389 kB / 488.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/0.3643, allocations: 7.87 MB / 496.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.3663, allocations: 107.9 kB / 496.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.3666, allocations: 76 kB / 497 MB, free: 12.6 MB / 346.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.002971/0.3696, allocations: 1.041 MB / 498 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.3703, allocations: 238.8 kB / 498.2 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/0.3756, allocations: 2.148 MB / 0.4887 GB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.3756, allocations: 16 kB / 0.4887 GB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/0.3756, allocations: 8 kB / 0.4887 GB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/0.3756, allocations: 7.969 kB / 0.4887 GB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.3866, allocations: 4.276 MB / 0.4929 GB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.3866, allocations: 4.031 kB / 0.4929 GB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.3878, allocations: 171 kB / 0.493 GB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/0.3901, allocations: 0.6068 MB / 0.4936 GB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003022/0.3904, allocations: 47.97 kB / 0.4937 GB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.4079, allocations: 12.43 MB / 0.5058 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4079, allocations: 7.594 kB / 0.5058 GB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007458/0.4153, allocations: 3.163 MB / 0.5089 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/0.4167, allocations: 346.7 kB / 0.5092 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/0.4173, allocations: 47.98 kB / 0.5093 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.4186, allocations: 55.95 kB / 0.5093 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/0.4191, allocations: 125.5 kB / 0.5095 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.4192, allocations: 51.97 kB / 0.5095 GB, free: 3.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002418/0.4216, allocations: 1.087 MB / 0.5106 GB, free: 2.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4216, allocations: 0 / 0.5106 GB, free: 2.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00362/0.4252, allocations: 0.5976 MB / 0.5112 GB, free: 1.617 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.0006942/0.4259, allocations: 188.8 kB / 0.5113 GB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005247/0.4312, allocations: 2.286 MB / 0.5136 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.4312, allocations: 4.062 kB / 0.5136 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004053/0.4352, allocations: 1.699 MB / 0.5152 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/0.4387, allocations: 490.3 kB / 0.5157 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.4531, allocations: 5.878 MB / 0.5214 GB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003781/0.4569, allocations: 1.793 MB / 0.5232 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001677/0.4586, allocations: 396 kB / 0.5236 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.4591, allocations: 124.5 kB / 0.5237 GB, free: 4.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4591, allocations: 0 / 0.5237 GB, free: 4.66 MB / 378.7 MB Notification: Performance of Templates: time 0.1997/0.6588, allocations: 29.35 MB / 0.5523 GB, free: 115.6 MB / 394.7 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.92876557901036]