Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(EHPTlib.MapBased.TestingModels.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008357/0.008357, allocations: 98.94 kB / 15.73 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 192 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1502/0.1502, allocations: 8.317 MB / 298.8 MB, free: 2.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.89 kB / 413.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2496, allocations: 51.27 MB / 464.8 MB, free: 18.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT01): time 0.005971/0.2557, allocations: 3.341 MB / 468.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.258, allocations: 1.61 MB / 469.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2583, allocations: 10.09 kB / 469.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006547/0.2589, allocations: 320 kB / 470 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.2596, allocations: 261.8 kB / 470.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.2605, allocations: 380.3 kB / 470.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.2611, allocations: 0.5166 MB / 471.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.2613, allocations: 164 kB / 471.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.2616, allocations: 226.6 kB / 471.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.262, allocations: 320 kB / 471.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.2621, allocations: 39.72 kB / 471.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.2624, allocations: 114.7 kB / 472 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.2627, allocations: 206 kB / 472.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.2629, allocations: 321 kB / 472.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.2639, allocations: 0.7998 MB / 473.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2639, allocations: 4.797 kB / 473.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2639, allocations: 0 / 473.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.264, allocations: 0 / 473.3 MB, free: 13.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001584/0.2656, allocations: 1.112 MB / 474.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2656, allocations: 8.906 kB / 474.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.2658, allocations: 90.88 kB / 474.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.2665, allocations: 0.5772 MB / 475.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.2666, allocations: 25.67 kB / 475.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.2666, allocations: 31.23 kB / 475.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007716/0.2674, allocations: 366.5 kB / 475.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2675, allocations: 0 / 475.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.2675, allocations: 15.47 kB / 475.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2675, allocations: 6.781 kB / 475.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.2682, allocations: 258.6 kB / 475.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.2704, allocations: 1.497 MB / 477.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.2712, allocations: 271.7 kB / 477.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.2714, allocations: 105.8 kB / 477.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.2715, allocations: 6.281 kB / 477.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.2719, allocations: 171.3 kB / 477.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.2719, allocations: 0 / 477.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001278/0.2732, allocations: 499.9 kB / 478.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.2732, allocations: 136 kB / 478.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.2745, allocations: 1.125 MB / 479.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.2745, allocations: 40.09 kB / 479.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2748, allocations: 372.8 kB / 480 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.2748, allocations: 66.34 kB / 480.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.2749, allocations: 49.75 kB / 480.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.275, allocations: 316.5 kB / 480.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.2753, allocations: 112 kB / 480.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.2756, allocations: 183.3 kB / 480.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.2762, allocations: 296.6 kB / 481 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2762, allocations: 0 / 481 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008652/0.2771, allocations: 417.4 kB / 481.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.2771, allocations: 32.77 kB / 481.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2771, allocations: 1.25 kB / 481.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.2773, allocations: 24.53 kB / 481.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2775, allocations: 59.42 kB / 481.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007224/0.2783, allocations: 1.385 MB / 482.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.2786, allocations: 45.84 kB / 483 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.2786, allocations: 19.77 kB / 483 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005389/0.2792, allocations: 322.6 kB / 483.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003092/0.2795, allocations: 167.6 kB / 483.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005324/0.28, allocations: 271.9 kB / 483.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.28, allocations: 5.047 kB / 483.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008526/0.2809, allocations: 395.8 kB / 484.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2809, allocations: 32.33 kB / 484.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2809, allocations: 2.219 kB / 484.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.151e-05/0.281, allocations: 29.03 kB / 484.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.2812, allocations: 48.19 kB / 484.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006382/0.2819, allocations: 1.387 MB / 485.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.2822, allocations: 36.3 kB / 485.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.2822, allocations: 12 kB / 485.7 MB, free: 3.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.2823, allocations: 203.4 kB / 485.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.2824, allocations: 75.16 kB / 485.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/0.2833, allocations: 337.5 kB / 486.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2833, allocations: 2.156 kB / 486.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.2833, allocations: 5.156 kB / 486.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2833, allocations: 3.984 kB / 486.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.2838, allocations: 0.5049 MB / 486.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2838, allocations: 0 / 486.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.284, allocations: 47.08 kB / 486.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.135e-05/0.2841, allocations: 22.02 kB / 486.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2842, allocations: 10.27 kB / 486.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/0.2847, allocations: 1.374 MB / 488.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2848, allocations: 5.531 kB / 488.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.2858, allocations: 479.4 kB / 488.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2859, allocations: 153.4 kB / 488.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.286, allocations: 6 kB / 488.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.2862, allocations: 26.34 kB / 488.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.2863, allocations: 20.69 kB / 488.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2864, allocations: 8.125 kB / 488.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009119/0.2873, allocations: 0.8239 MB / 489.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2873, allocations: 4 kB / 489.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000675/0.288, allocations: 201.5 kB / 489.9 MB, free: 0.7188 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.2895, allocations: 0.6344 MB / 490.6 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2909, allocations: 0.719 MB / 491.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2909, allocations: 0 / 491.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.2913, allocations: 230.9 kB / 491.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.2919, allocations: 103.9 kB / 491.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.294, allocations: 1.448 MB / 493.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.2945, allocations: 0.951 MB / 494 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.2948, allocations: 69.47 kB / 494.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.2949, allocations: 32.78 kB / 494.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2949, allocations: 0 / 494.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01242/0.3073, allocations: 6.905 MB / 0.4893 GB, free: 8.055 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe 2>&1)