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 2.716/2.716, allocations: 8.034 MB / 24.29 MB, free: 244 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.001106/0.001106, allocations: 111.8 kB / 26.87 MB, free: 3.102 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.00132/0.00132, allocations: 191 kB / 29.56 MB, free: 432 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 255 MB, free: 4.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0123/0.0123, allocations: 3.123 MB / 310.1 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 99.86 kB / 375.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2751, allocations: 51.97 MB / 427.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004269/0.2795, allocations: 3.271 MB / 430.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.2824, allocations: 2.262 MB / 432.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.2826, allocations: 8 kB / 432.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.2831, allocations: 134.9 kB / 432.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.2835, allocations: 170.8 kB / 432.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.2843, allocations: 401.8 kB / 433.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.2848, allocations: 0.6464 MB / 434 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.285, allocations: 163.8 kB / 434.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.2853, allocations: 263.1 kB / 434.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.2856, allocations: 270.8 kB / 434.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.2856, allocations: 52 kB / 434.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.2859, allocations: 163.9 kB / 434.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.286, allocations: 119.6 kB / 435 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.2862, allocations: 254.7 kB / 435.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.2868, allocations: 0.6618 MB / 435.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2868, allocations: 0 / 435.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2868, allocations: 0 / 435.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.2868, allocations: 4 kB / 435.9 MB, free: 12.46 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.0012/0.288, allocations: 0.8388 MB / 436.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2881, allocations: 12.03 kB / 436.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.2882, allocations: 56.28 kB / 436.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.2888, allocations: 396.7 kB / 437.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.2888, allocations: 63.19 kB / 437.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.2889, allocations: 35.94 kB / 437.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.2895, allocations: 465.5 kB / 437.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2896, allocations: 0 / 437.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.2896, allocations: 12 kB / 437.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2896, allocations: 8 kB / 437.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.2902, allocations: 343.7 kB / 438.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.292, allocations: 1.346 MB / 439.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.2928, allocations: 382.5 kB / 439.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.2931, allocations: 144.8 kB / 439.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.2931, allocations: 16.77 kB / 440 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.2935, allocations: 243.1 kB / 440.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.2935, allocations: 0 / 440.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003418/0.297, allocations: 1.772 MB / 442 MB, free: 6.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.297, allocations: 166.1 kB / 442.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.2974, allocations: 361.7 kB / 442.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.2974, allocations: 41.64 kB / 442.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2975, allocations: 220.5 kB / 442.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.2976, allocations: 142.1 kB / 442.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2977, allocations: 86.03 kB / 443 MB, free: 4.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.2978, allocations: 350.8 kB / 443.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2981, allocations: 166.5 kB / 443.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.2985, allocations: 271.2 kB / 443.7 MB, free: 4.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.299, allocations: 371.7 kB / 444.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.299, allocations: 0 / 444.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00103/0.3001, allocations: 0.5484 MB / 444.7 MB, free: 3.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3001, allocations: 8 kB / 444.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.3001, allocations: 0 / 444.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.3005, allocations: 164.9 kB / 444.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.3008, allocations: 83.83 kB / 444.9 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000497/0.3013, allocations: 0.7162 MB / 445.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3016, allocations: 51.94 kB / 445.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3017, allocations: 16 kB / 445.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002957/0.302, allocations: 253 kB / 445.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002446/0.3022, allocations: 223.5 kB / 446.1 MB, free: 1.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003554/0.3026, allocations: 291.8 kB / 446.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.3026, allocations: 0 / 446.4 MB, free: 1.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008104/0.3034, allocations: 497.5 kB / 446.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3034, allocations: 9.25 kB / 446.9 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3034, allocations: 3.984 kB / 446.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.3038, allocations: 161 kB / 447.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.304, allocations: 71.84 kB / 447.2 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005151/0.3045, allocations: 0.7085 MB / 447.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.3048, allocations: 39.95 kB / 447.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.3049, allocations: 20.06 kB / 447.9 MB, free: 15.79 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.0001809/0.3051, allocations: 216.3 kB / 448.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.3051, allocations: 43.44 kB / 448.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.3053, allocations: 56.31 kB / 448.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3053, allocations: 4 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3053, allocations: 4 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3053, allocations: 7.922 kB / 448.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.3073, allocations: 1.169 MB / 449.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3074, allocations: 7.938 kB / 449.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.3076, allocations: 63.89 kB / 449.5 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/0.308, allocations: 148.8 kB / 449.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.308, allocations: 11.98 kB / 449.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005731/0.3086, allocations: 0.681 MB / 450.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3086, allocations: 3.938 kB / 450.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3102, allocations: 0.8001 MB / 451.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.3103, allocations: 156.5 kB / 451.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.3104, allocations: 15.98 kB / 451.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.3108, allocations: 47.94 kB / 451.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3109, allocations: 59.61 kB / 451.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.311, allocations: 19.98 kB / 451.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.3112, allocations: 263.2 kB / 451.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3112, allocations: 0 / 451.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006425/0.3119, allocations: 180 kB / 451.9 MB, free: 11.71 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.001113/0.313, allocations: 492.2 kB / 452.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3145, allocations: 0.6328 MB / 453 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3145, allocations: 0 / 453 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.315, allocations: 227.8 kB / 453.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.3156, allocations: 100.4 kB / 453.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3176, allocations: 1.02 MB / 454.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.318, allocations: 0.8161 MB / 455.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.3182, allocations: 63.28 kB / 455.2 MB, free: 8.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.3183, allocations: 39.42 kB / 455.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3183, allocations: 3.938 kB / 455.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of Templates: time 0.01455/0.3329, allocations: 9.6 MB / 464.8 MB, free: 14.89 MB / 334.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 -s cvode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)