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.06396/0.06396, allocations: 8.03 MB / 23.26 MB, free: 496 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.0009199/0.0009199, allocations: 104.1 kB / 25.83 MB, free: 3.496 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.001191/0.001191, allocations: 194.3 kB / 28.5 MB, free: 0.8281 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.551/1.551, allocations: 222.9 MB / 253.9 MB, free: 4.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01188/0.01188, allocations: 3.114 MB / 309 MB, free: 2.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001626, allocations: 83.86 kB / 373.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3393, allocations: 51.97 MB / 425.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.00452/0.3439, allocations: 3.299 MB / 428.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.3473, allocations: 2.223 MB / 430.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.3476, allocations: 7.938 kB / 430.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.3483, allocations: 118 kB / 430.8 MB, free: 16.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.3487, allocations: 139.1 kB / 430.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.3496, allocations: 366.7 kB / 431.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.3501, allocations: 0.6503 MB / 431.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.3504, allocations: 153.5 kB / 432 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.3506, allocations: 275 kB / 432.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.351, allocations: 262.8 kB / 432.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.3511, allocations: 48 kB / 432.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.3514, allocations: 163.9 kB / 432.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.3515, allocations: 123.6 kB / 432.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.3517, allocations: 258.7 kB / 433.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.3523, allocations: 0.6581 MB / 433.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3524, allocations: 0 / 433.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3524, allocations: 0 / 433.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3524, allocations: 0 / 433.8 MB, free: 13.05 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.001394/0.3538, allocations: 0.8389 MB / 434.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3538, allocations: 8.031 kB / 434.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.3541, allocations: 56.28 kB / 434.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.3545, allocations: 388.7 kB / 435.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.3546, allocations: 63.2 kB / 435.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.3547, allocations: 39.94 kB / 435.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.3555, allocations: 465.5 kB / 435.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3556, allocations: 4 kB / 435.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.3556, allocations: 19.98 kB / 435.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3556, allocations: 12 kB / 435.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.3563, allocations: 327.7 kB / 436 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3582, allocations: 1.35 MB / 437.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.3591, allocations: 383.3 kB / 437.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3594, allocations: 152.8 kB / 437.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.3595, allocations: 4.844 kB / 437.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.3601, allocations: 251.6 kB / 438.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.3601, allocations: 0 / 438.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003705/0.3638, allocations: 1.769 MB / 439.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.3638, allocations: 162.2 kB / 440.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.3642, allocations: 361.7 kB / 440.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.3642, allocations: 45.58 kB / 440.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3644, allocations: 228.5 kB / 440.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.3644, allocations: 138.1 kB / 440.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3646, allocations: 90.02 kB / 440.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.3647, allocations: 346.8 kB / 441.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.365, allocations: 162.5 kB / 441.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.3653, allocations: 278.5 kB / 441.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.3659, allocations: 359.7 kB / 442 MB, free: 4.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3659, allocations: 0 / 442 MB, free: 4.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001046/0.367, allocations: 0.5484 MB / 442.6 MB, free: 3.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.367, allocations: 4 kB / 442.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.367, allocations: 4.047 kB / 442.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/0.3674, allocations: 168.9 kB / 442.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.3677, allocations: 79.89 kB / 442.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000533/0.3683, allocations: 0.7123 MB / 443.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.3686, allocations: 55.97 kB / 443.6 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.3687, allocations: 19.98 kB / 443.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000321/0.369, allocations: 249 kB / 443.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002588/0.3693, allocations: 227.5 kB / 444.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00036/0.3696, allocations: 291.8 kB / 444.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.3696, allocations: 0 / 444.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008164/0.3705, allocations: 0.4897 MB / 444.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.3705, allocations: 4 kB / 444.8 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3705, allocations: 4 kB / 444.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.3708, allocations: 161 kB / 445 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.371, allocations: 63.91 kB / 445.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005023/0.3715, allocations: 0.7151 MB / 445.8 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.3718, allocations: 48.05 kB / 445.8 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3719, allocations: 23.92 kB / 445.9 MB, free: 384 kB / 302.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.0001526/0.372, allocations: 209 kB / 446.1 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.3721, allocations: 43.44 kB / 446.1 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3722, allocations: 52.19 kB / 446.2 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3722, allocations: 4 kB / 446.2 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3723, allocations: 4 kB / 446.2 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3723, allocations: 7.984 kB / 446.2 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.3744, allocations: 1.173 MB / 447.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3744, allocations: 0 / 447.3 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.3747, allocations: 67.98 kB / 447.4 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/0.3751, allocations: 148.8 kB / 447.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.3751, allocations: 15.92 kB / 447.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.3757, allocations: 0.6811 MB / 448.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3758, allocations: 0 / 448.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3773, allocations: 0.8027 MB / 449.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.3775, allocations: 156.5 kB / 449.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/0.3776, allocations: 16 kB / 449.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.378, allocations: 52 kB / 449.3 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3781, allocations: 59.91 kB / 449.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.3782, allocations: 11.98 kB / 449.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002887/0.3785, allocations: 267.1 kB / 449.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3785, allocations: 0 / 449.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007253/0.3792, allocations: 180 kB / 449.8 MB, free: 12.29 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.001285/0.3805, allocations: 483.6 kB / 450.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3821, allocations: 0.6515 MB / 450.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3821, allocations: 0 / 450.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.3827, allocations: 240.5 kB / 451.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.3833, allocations: 96.45 kB / 451.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3857, allocations: 1.187 MB / 452.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3861, allocations: 0.8277 MB / 453.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.3863, allocations: 63.27 kB / 453.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3864, allocations: 39.42 kB / 453.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3864, allocations: 0 / 453.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of Templates: time 0.01563/0.4021, allocations: 9.589 MB / 462.9 MB, free: 15.29 MB / 334.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)