Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05403/0.05403, allocations: 8.027 MB / 24.17 MB, free: 0.6719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 103.3 kB / 26.75 MB, free: 3.387 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.001773/0.001772, allocations: 199.2 kB / 29.44 MB, free: 0.6992 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.727/1.727, allocations: 222.9 MB / 254.9 MB, free: 4.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01888/0.01888, allocations: 3.122 MB / 309.9 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003922/0.003923, allocations: 92.28 kB / 374.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3973, allocations: 51.97 MB / 426.2 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.007673/0.405, allocations: 3.274 MB / 429.5 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005249/0.4104, allocations: 2.254 MB / 431.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.4112, allocations: 8 kB / 431.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.4121, allocations: 141.4 kB / 431.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.4135, allocations: 158.8 kB / 432.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.4153, allocations: 402.2 kB / 432.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.4173, allocations: 0.6503 MB / 433.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.418, allocations: 165.4 kB / 433.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.4188, allocations: 271 kB / 433.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007816/0.4196, allocations: 258.8 kB / 433.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.4198, allocations: 52 kB / 433.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007101/0.4205, allocations: 163.9 kB / 434 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.4208, allocations: 123.6 kB / 434.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.4212, allocations: 246.7 kB / 434.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.4227, allocations: 0.6658 MB / 435 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.4227, allocations: 0 / 435 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.4227, allocations: 0 / 435 MB, free: 12.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4228, allocations: 0 / 435 MB, free: 12.66 MB / 302.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.002387/0.4252, allocations: 0.8389 MB / 435.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.345e-05/0.4253, allocations: 8.031 kB / 435.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.4256, allocations: 56.28 kB / 435.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.4264, allocations: 384.7 kB / 436.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.4265, allocations: 55.25 kB / 436.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4266, allocations: 39.94 kB / 436.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.4278, allocations: 465.5 kB / 436.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.4279, allocations: 7.938 kB / 436.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.4279, allocations: 12 kB / 436.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.428, allocations: 8 kB / 436.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.429, allocations: 335.8 kB / 437.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.4329, allocations: 1.358 MB / 438.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.4361, allocations: 383.8 kB / 438.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.4375, allocations: 148.8 kB / 439.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.4377, allocations: 7.984 kB / 439.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.4392, allocations: 235.7 kB / 439.3 MB, free: 8.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 9.788e-06/0.4392, allocations: 0 / 439.3 MB, free: 8.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.007406/0.4466, allocations: 1.792 MB / 441.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.4468, allocations: 162.2 kB / 441.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.4476, allocations: 361.7 kB / 441.6 MB, free: 5.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.4477, allocations: 37.7 kB / 441.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4479, allocations: 216.5 kB / 441.9 MB, free: 5.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.4481, allocations: 142 kB / 442 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.4483, allocations: 94.02 kB / 442.1 MB, free: 5.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4485, allocations: 350.8 kB / 442.4 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.449, allocations: 166.5 kB / 442.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.4497, allocations: 274.8 kB / 442.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.4507, allocations: 363.7 kB / 443.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.4507, allocations: 0 / 443.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002098/0.4528, allocations: 0.5485 MB / 443.8 MB, free: 3.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.4529, allocations: 8 kB / 443.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.453, allocations: 3.938 kB / 443.8 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009028/0.4539, allocations: 168.8 kB / 444 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.4545, allocations: 75.89 kB / 444 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.4556, allocations: 0.7124 MB / 444.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/0.4565, allocations: 51.94 kB / 444.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.4566, allocations: 16 kB / 444.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007067/0.4573, allocations: 252.9 kB / 445.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005611/0.4579, allocations: 227.5 kB / 445.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007646/0.4587, allocations: 291.8 kB / 445.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/0.4587, allocations: 0 / 445.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001901/0.4606, allocations: 497.5 kB / 446 MB, free: 1.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4607, allocations: 13.08 kB / 446.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4607, allocations: 0 / 446.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007459/0.4615, allocations: 156.9 kB / 446.2 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.4619, allocations: 72.03 kB / 446.3 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009854/0.4629, allocations: 0.7123 MB / 447 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.4637, allocations: 43.95 kB / 447 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4639, allocations: 20.03 kB / 447.1 MB, free: 15.99 MB / 318.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.0004347/0.4643, allocations: 216.3 kB / 447.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4645, allocations: 43.44 kB / 447.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.4648, allocations: 60.08 kB / 447.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.4649, allocations: 4 kB / 447.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.4649, allocations: 0 / 447.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4649, allocations: 3.984 kB / 447.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.4695, allocations: 1.169 MB / 448.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.4695, allocations: 4 kB / 448.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.4702, allocations: 67.89 kB / 448.6 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007381/0.4709, allocations: 148.8 kB / 448.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.471, allocations: 11.98 kB / 448.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.4723, allocations: 0.681 MB / 449.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4723, allocations: 0 / 449.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.4758, allocations: 0.7988 MB / 450.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.4763, allocations: 160.5 kB / 450.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.4765, allocations: 15.98 kB / 450.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006954/0.4772, allocations: 47.94 kB / 450.5 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.4775, allocations: 55.98 kB / 450.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.4776, allocations: 19.98 kB / 450.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006161/0.4782, allocations: 259.2 kB / 450.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4782, allocations: 0 / 450.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001448/0.4797, allocations: 180 kB / 451 MB, free: 11.92 MB / 318.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.002451/0.4822, allocations: 0.4894 MB / 451.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003356/0.4855, allocations: 0.6441 MB / 452.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.4856, allocations: 0 / 452.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.4868, allocations: 232.2 kB / 452.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4882, allocations: 108.6 kB / 452.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.4926, allocations: 1.053 MB / 453.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/0.4935, allocations: 0.8161 MB / 454.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.4938, allocations: 43.42 kB / 454.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of SimCode: time 5.29e-06/0.4939, allocations: 0 / 454.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of Templates: time 0.02323/0.5171, allocations: 8.011 MB / 462.4 MB, free: 0.6523 MB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_main_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)