Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006151/0.006151, allocations: 97.91 kB / 15.73 MB, free: 6.004 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.001265/0.001265, allocations: 192.9 kB / 16.67 MB, free: 5.934 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04038/0.04038, allocations: 8.327 MB / 298.9 MB, free: 6.539 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.89 kB / 413.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.0902, allocations: 51.25 MB / 464.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceP): time 0.005661/0.0959, allocations: 3.432 MB / 468.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.09861, allocations: 1.651 MB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.09898, allocations: 11.94 kB / 469.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.09961, allocations: 322.9 kB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.1003, allocations: 270.8 kB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009143/0.1012, allocations: 385.9 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.1019, allocations: 0.5575 MB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.1022, allocations: 186.5 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.1026, allocations: 247.2 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.1031, allocations: 322.9 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.1032, allocations: 40 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.1034, allocations: 99.97 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1036, allocations: 215.3 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.1039, allocations: 326 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.1048, allocations: 0.8168 MB / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1048, allocations: 0 / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1048, allocations: 0 / 473.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.1049, allocations: 0 / 473.6 MB, free: 9.762 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001767/0.1066, allocations: 1.129 MB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1067, allocations: 12.03 kB / 474.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1068, allocations: 92.31 kB / 474.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008165/0.1077, allocations: 0.5826 MB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.1077, allocations: 32.77 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.1078, allocations: 28 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/0.1085, allocations: 383.6 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.1085, allocations: 4 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1086, allocations: 12 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1086, allocations: 8 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.1093, allocations: 278.4 kB / 476.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1115, allocations: 1.577 MB / 477.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.1124, allocations: 379.7 kB / 478.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.1127, allocations: 124.8 kB / 478.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.1128, allocations: 4 kB / 478.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.1132, allocations: 179.2 kB / 478.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.1133, allocations: 3.938 kB / 478.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001669/0.1149, allocations: 0.611 MB / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.115, allocations: 85.03 kB / 479.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.1163, allocations: 1.122 MB / 480.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1163, allocations: 29.7 kB / 480.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.1166, allocations: 376.4 kB / 480.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.1167, allocations: 75.38 kB / 480.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.1168, allocations: 53.7 kB / 480.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1169, allocations: 314 kB / 481 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.1173, allocations: 120.8 kB / 481.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1177, allocations: 176.1 kB / 481.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.1183, allocations: 309.2 kB / 481.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1184, allocations: 0 / 481.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001072/0.1194, allocations: 467.3 kB / 482.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.1195, allocations: 33.7 kB / 482.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1195, allocations: 4 kB / 482.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.1198, allocations: 72.95 kB / 482.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.1201, allocations: 55.89 kB / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.1219, allocations: 1.826 MB / 484.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.1222, allocations: 43.8 kB / 484.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.1222, allocations: 12 kB / 484.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005127/0.1227, allocations: 344 kB / 484.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003558/0.1231, allocations: 155.7 kB / 484.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005746/0.1237, allocations: 292.2 kB / 484.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/0.1237, allocations: 0 / 484.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0009473/0.1247, allocations: 451.2 kB / 485.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1247, allocations: 33.69 kB / 485.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1247, allocations: 4 kB / 485.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.1249, allocations: 61 kB / 485.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.1251, allocations: 56.06 kB / 485.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.1268, allocations: 1.826 MB / 487.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1271, allocations: 35.86 kB / 487.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1271, allocations: 12 kB / 487.3 MB, free: 11.21 MB / 366.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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.1272, allocations: 196.2 kB / 487.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.1273, allocations: 75.53 kB / 487.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.1283, allocations: 400.5 kB / 488 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1283, allocations: 4 kB / 488 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1284, allocations: 4 kB / 488 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1284, allocations: 3.984 kB / 488 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.13, allocations: 0.9666 MB / 489 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.13, allocations: 3.938 kB / 489 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1303, allocations: 48.08 kB / 489 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.1305, allocations: 60.81 kB / 489.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1305, allocations: 4 kB / 489.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.1326, allocations: 1.81 MB / 490.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1326, allocations: 4 kB / 490.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.134, allocations: 0.5932 MB / 491.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.1343, allocations: 160.7 kB / 491.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.1344, allocations: 8 kB / 491.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1347, allocations: 23.91 kB / 491.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.1348, allocations: 35.95 kB / 491.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1348, allocations: 4.188 kB / 491.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.1359, allocations: 0.8153 MB / 492.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1359, allocations: 0 / 492.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008521/0.1368, allocations: 203.6 kB / 492.7 MB, free: 5.559 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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 (17): * Single equations (assignments): 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001417/0.1382, allocations: 0.6056 MB / 493.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.14, allocations: 0.7699 MB / 494.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.14, allocations: 0 / 494.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.1405, allocations: 255.3 kB / 494.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.1412, allocations: 88.72 kB / 494.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.1435, allocations: 1.485 MB / 495.9 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.1441, allocations: 0.9607 MB / 496.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.1444, allocations: 83.3 kB / 497 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1445, allocations: 35.44 kB / 497 MB, free: 1.426 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1445, allocations: 3.938 kB / 497 MB, free: 1.422 MB / 366.1 MB Notification: Performance of Templates: time 0.01433/0.1588, allocations: 7.478 MB / 0.4927 GB, free: 9.969 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceP.pipe 2>&1)