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.06862/0.06862, allocations: 8.03 MB / 24.18 MB, free: 0.7188 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.001496/0.001497, allocations: 109.1 kB / 26.75 MB, free: 3.383 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.002299/0.002299, allocations: 194.5 kB / 29.44 MB, free: 0.707 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.533/1.533, allocations: 222.9 MB / 254.9 MB, free: 4.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01284/0.01284, allocations: 3.128 MB / 309.9 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 87.86 kB / 374.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 51.97 MB / 426.2 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004702/0.2614, allocations: 3.272 MB / 429.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.2647, allocations: 2.243 MB / 431.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.2652, allocations: 11.88 kB / 431.8 MB, free: 16.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.2657, allocations: 137.6 kB / 431.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.2663, allocations: 166.8 kB / 432.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.2672, allocations: 406.5 kB / 432.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.2676, allocations: 0.6387 MB / 433.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2679, allocations: 157.5 kB / 433.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2681, allocations: 283 kB / 433.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.2684, allocations: 262.8 kB / 433.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.2685, allocations: 52 kB / 433.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.2687, allocations: 155.9 kB / 434 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.694e-05/0.2688, allocations: 123.6 kB / 434.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.269, allocations: 254.6 kB / 434.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.2695, allocations: 0.6581 MB / 435 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2696, allocations: 0 / 435 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2696, allocations: 0 / 435 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2696, allocations: 0 / 435 MB, free: 12.77 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.001199/0.2708, allocations: 0.8311 MB / 435.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2708, allocations: 12.03 kB / 435.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.271, allocations: 60.28 kB / 435.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.2714, allocations: 392.7 kB / 436.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.2715, allocations: 51.27 kB / 436.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.2716, allocations: 39.94 kB / 436.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.2722, allocations: 473.4 kB / 436.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2723, allocations: 0 / 436.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.2723, allocations: 19.94 kB / 436.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2723, allocations: 8 kB / 436.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.2729, allocations: 331.7 kB / 437.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.2747, allocations: 1.354 MB / 438.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.2755, allocations: 392.1 kB / 438.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.2758, allocations: 144.8 kB / 439.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.2759, allocations: 4.531 kB / 439.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.2763, allocations: 243.1 kB / 439.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.2763, allocations: 0 / 439.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003597/0.2799, allocations: 1.776 MB / 441.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.28, allocations: 162.2 kB / 441.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2803, allocations: 365.7 kB / 441.6 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.2804, allocations: 45.64 kB / 441.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2805, allocations: 216.5 kB / 441.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.2805, allocations: 142 kB / 442 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2807, allocations: 90.02 kB / 442.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.2807, allocations: 350.8 kB / 442.4 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2811, allocations: 166.5 kB / 442.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.2814, allocations: 267.4 kB / 442.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.282, allocations: 359.7 kB / 443.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.282, allocations: 4 kB / 443.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001018/0.283, allocations: 0.5562 MB / 443.8 MB, free: 3.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.283, allocations: 8 kB / 443.8 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2831, allocations: 0 / 443.8 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.2835, allocations: 164.8 kB / 443.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2837, allocations: 79.89 kB / 444 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000508/0.2843, allocations: 0.7151 MB / 444.7 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.2846, allocations: 59.98 kB / 444.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.2847, allocations: 16 kB / 444.8 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003036/0.285, allocations: 249 kB / 445.1 MB, free: 2.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002489/0.2852, allocations: 227.5 kB / 445.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003578/0.2856, allocations: 291.8 kB / 445.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.2856, allocations: 0 / 445.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008015/0.2864, allocations: 489.7 kB / 446 MB, free: 1.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.2864, allocations: 12 kB / 446.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2864, allocations: 0 / 446.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.2868, allocations: 164.7 kB / 446.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.287, allocations: 63.92 kB / 446.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00047/0.2874, allocations: 0.7123 MB / 447 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2878, allocations: 47.94 kB / 447 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.2878, allocations: 20 kB / 447.1 MB, free: 108 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.0002128/0.288, allocations: 200.2 kB / 447.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.2881, allocations: 47.42 kB / 447.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2882, allocations: 64.25 kB / 447.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2883, allocations: 7.938 kB / 447.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.2883, allocations: 0 / 447.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2883, allocations: 0 / 447.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.2904, allocations: 1.181 MB / 448.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2904, allocations: 8.172 kB / 448.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.2907, allocations: 67.91 kB / 448.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.291, allocations: 144.7 kB / 448.8 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.2911, allocations: 11.98 kB / 448.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006458/0.2917, allocations: 0.6888 MB / 449.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2918, allocations: 4.031 kB / 449.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2934, allocations: 0.7909 MB / 450.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2936, allocations: 160.6 kB / 450.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.2937, allocations: 16 kB / 450.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.294, allocations: 51.94 kB / 450.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.2942, allocations: 51.91 kB / 450.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.2942, allocations: 19.98 kB / 450.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.2945, allocations: 259.1 kB / 450.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2945, allocations: 4 kB / 450.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000695/0.2952, allocations: 180 kB / 451 MB, free: 12.02 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.001134/0.2963, allocations: 497.6 kB / 451.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.2979, allocations: 0.6328 MB / 452.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2979, allocations: 4.125 kB / 452.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.2985, allocations: 227.5 kB / 452.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.2991, allocations: 96.64 kB / 452.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3012, allocations: 1.045 MB / 453.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.3017, allocations: 0.8239 MB / 454.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3018, allocations: 39.42 kB / 454.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3018, allocations: 0 / 454.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of Templates: time 0.01086/0.3127, allocations: 8.014 MB / 462.3 MB, free: 0.7773 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)