Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.EVdata.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0488/0.0488, allocations: 8.039 MB / 23.67 MB, free: 260 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008848, allocations: 111.8 kB / 26.25 MB, free: 3.238 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009898/0.0009899, allocations: 191.4 kB / 28.94 MB, free: 0.5547 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 222.9 MB / 254.4 MB, free: 4.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01231/0.01231, allocations: 3.122 MB / 309.4 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 103.8 kB / 426.9 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07353/0.07514, allocations: 51.96 MB / 478.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003967/0.07914, allocations: 3.28 MB / 482.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.08193, allocations: 2.262 MB / 484.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.0821, allocations: 11.94 kB / 484.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.08252, allocations: 131 kB / 484.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.08289, allocations: 174.8 kB / 484.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.08359, allocations: 414.2 kB / 485.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.08414, allocations: 0.6464 MB / 485.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.08438, allocations: 169.4 kB / 485.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.08465, allocations: 271.1 kB / 486.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.08497, allocations: 266.8 kB / 486.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.08504, allocations: 51.98 kB / 486.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.08528, allocations: 163.9 kB / 486.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.08541, allocations: 123.6 kB / 486.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.08562, allocations: 258.6 kB / 487 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.08623, allocations: 0.662 MB / 487.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.08624, allocations: 0 / 487.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08625, allocations: 0 / 487.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.08626, allocations: 4 kB / 487.7 MB, free: 4.672 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001277/0.08754, allocations: 0.8388 MB / 488.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.08758, allocations: 12.03 kB / 488.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.08775, allocations: 56.28 kB / 488.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.08823, allocations: 400.7 kB / 489 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.0883, allocations: 51.27 kB / 489.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.08837, allocations: 39.94 kB / 489.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.08916, allocations: 469.5 kB / 489.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.08919, allocations: 0 / 489.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.08924, allocations: 15.98 kB / 489.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.08925, allocations: 8 kB / 489.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.08999, allocations: 331.8 kB / 489.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.09197, allocations: 1.346 MB / 491.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/0.09296, allocations: 383 kB / 491.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.0933, allocations: 160.7 kB / 491.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.09335, allocations: 8.297 kB / 491.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.09381, allocations: 239.7 kB / 492 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.09383, allocations: 0 / 492 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004012/0.09784, allocations: 1.772 MB / 493.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.09792, allocations: 170.2 kB / 494 MB, free: 14.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.09829, allocations: 361.7 kB / 494.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.09834, allocations: 37.7 kB / 494.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.09848, allocations: 220.5 kB / 494.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/0.09859, allocations: 138 kB / 494.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.09872, allocations: 90.02 kB / 494.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.09884, allocations: 346.8 kB / 495.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.09922, allocations: 170.5 kB / 495.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.09967, allocations: 275.4 kB / 495.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.1004, allocations: 359.6 kB / 495.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1004, allocations: 0 / 495.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001203/0.1016, allocations: 0.5445 MB / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1016, allocations: 4 kB / 496.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1016, allocations: 8.219 kB / 496.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/0.102, allocations: 172.7 kB / 496.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1023, allocations: 71.89 kB / 496.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005964/0.1029, allocations: 0.7124 MB / 497.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.1033, allocations: 56 kB / 497.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.1034, allocations: 23.98 kB / 497.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003506/0.1037, allocations: 240.9 kB / 497.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003075/0.104, allocations: 235.4 kB / 498 MB, free: 9.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004348/0.1045, allocations: 291.8 kB / 498.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1045, allocations: 0 / 498.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009534/0.1055, allocations: 0.4899 MB / 498.7 MB, free: 9.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1055, allocations: 8 kB / 498.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.1055, allocations: 3.938 kB / 498.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.1059, allocations: 156.8 kB / 498.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1061, allocations: 67.91 kB / 499 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005645/0.1067, allocations: 0.7123 MB / 499.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.107, allocations: 44.02 kB / 499.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.107, allocations: 19.98 kB / 499.7 MB, free: 8.008 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.1072, allocations: 212.1 kB / 500 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.1073, allocations: 39.53 kB / 500 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1074, allocations: 56.19 kB / 0.4883 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1074, allocations: 4 kB / 0.4883 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1074, allocations: 4 kB / 0.4883 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1074, allocations: 3.984 kB / 0.4883 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.1094, allocations: 1.173 MB / 0.4895 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1094, allocations: 0 / 0.4895 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.1097, allocations: 67.89 kB / 0.4895 GB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/0.11, allocations: 152.8 kB / 0.4897 GB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.11, allocations: 16.05 kB / 0.4897 GB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005415/0.1106, allocations: 0.6772 MB / 0.4904 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1106, allocations: 0 / 0.4904 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.1122, allocations: 0.8001 MB / 0.4912 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1123, allocations: 156.5 kB / 0.4913 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.1124, allocations: 19.94 kB / 0.4913 GB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.1128, allocations: 47.94 kB / 0.4914 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1129, allocations: 68.05 kB / 0.4914 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.113, allocations: 8 kB / 0.4914 GB, free: 4.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.1132, allocations: 267.1 kB / 0.4917 GB, free: 4.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1132, allocations: 0 / 0.4917 GB, free: 4.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005952/0.1138, allocations: 184 kB / 0.4919 GB, free: 3.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009737/0.1148, allocations: 472.3 kB / 0.4923 GB, free: 3.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.1163, allocations: 0.6437 MB / 0.4929 GB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1163, allocations: 0 / 0.4929 GB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.1168, allocations: 224.6 kB / 0.4932 GB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.1174, allocations: 118.1 kB / 0.4933 GB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1193, allocations: 1.007 MB / 0.4943 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1197, allocations: 0.8161 MB / 0.4951 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1199, allocations: 67.27 kB / 0.4951 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.12, allocations: 39.42 kB / 0.4952 GB, free: 0.668 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.12, allocations: 0 / 0.4952 GB, free: 0.668 MB / 366.1 MB Notification: Performance of Templates: time 0.01323/0.1332, allocations: 9.679 MB / 0.5046 GB, free: 7.047 MB / 382.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_latest_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_latest_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)