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.08082/0.08082, allocations: 8.027 MB / 23.01 MB, free: 0.5391 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.0006979/0.000698, allocations: 98.19 kB / 25.57 MB, free: 3.68 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.0009868/0.0009869, allocations: 199.3 kB / 28.24 MB, free: 1.02 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.418/1.418, allocations: 223.3 MB / 254 MB, free: 5.742 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01212/0.01212, allocations: 3.117 MB / 310 MB, free: 2.512 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 12 kB / 374.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2501, allocations: 52.99 MB / 427.8 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.002762/0.2529, allocations: 2.795 MB / 430.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.2554, allocations: 2.122 MB / 432.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.2556, allocations: 11.94 kB / 432.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.256, allocations: 107.3 kB / 432.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.2563, allocations: 127.1 kB / 432.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.257, allocations: 302.8 kB / 433.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.2574, allocations: 0.5723 MB / 433.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.2576, allocations: 124.1 kB / 433.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2578, allocations: 227.1 kB / 434.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.2581, allocations: 219 kB / 434.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.2581, allocations: 20 kB / 434.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2584, allocations: 115.9 kB / 434.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.2584, allocations: 95.58 kB / 434.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.2585, allocations: 105.4 kB / 434.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.2589, allocations: 493.3 kB / 435.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2589, allocations: 0 / 435.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2589, allocations: 0 / 435.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2589, allocations: 4 kB / 435.2 MB, free: 13.41 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.001089/0.26, allocations: 0.7687 MB / 435.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2601, allocations: 12.03 kB / 435.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2602, allocations: 59.33 kB / 436 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.2606, allocations: 375.8 kB / 436.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.2607, allocations: 54.64 kB / 436.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.2608, allocations: 39.89 kB / 436.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/0.2615, allocations: 477.5 kB / 436.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.2615, allocations: 3.953 kB / 436.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.2615, allocations: 16 kB / 437 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2616, allocations: 8 kB / 437 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.2622, allocations: 359.7 kB / 437.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.264, allocations: 1.389 MB / 438.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.2649, allocations: 429.3 kB / 439.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.2652, allocations: 160.8 kB / 439.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.2653, allocations: 12.23 kB / 439.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.2658, allocations: 248.2 kB / 439.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.2658, allocations: 0 / 439.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003763/0.2696, allocations: 1.879 MB / 441.4 MB, free: 6.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.2697, allocations: 170.1 kB / 441.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.27, allocations: 361.7 kB / 441.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2701, allocations: 37.7 kB / 442 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2702, allocations: 212.5 kB / 442.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.2703, allocations: 138.1 kB / 442.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.2703, allocations: 12 kB / 442.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.2704, allocations: 346.8 kB / 442.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.2707, allocations: 168.8 kB / 442.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2711, allocations: 271.4 kB / 443.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.2714, allocations: 180.1 kB / 443.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2714, allocations: 0 / 443.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001036/0.2724, allocations: 0.5835 MB / 443.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.2725, allocations: 148.1 kB / 444 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2725, allocations: 0 / 444 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.2729, allocations: 164.7 kB / 444.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2732, allocations: 87.89 kB / 444.2 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004958/0.2737, allocations: 0.7119 MB / 445 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.274, allocations: 72 kB / 445 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.2741, allocations: 23.98 kB / 445 MB, free: 3.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.2741, allocations: 7.938 kB / 445.1 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007882/0.2749, allocations: 448.5 kB / 445.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2749, allocations: 0 / 445.5 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.2752, allocations: 160.9 kB / 445.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.2754, allocations: 67.91 kB / 445.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000454/0.2759, allocations: 0.7123 MB / 446.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2762, allocations: 60.02 kB / 446.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.2762, allocations: 23.98 kB / 446.5 MB, free: 1.527 MB / 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,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.2765, allocations: 245 kB / 446.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.2765, allocations: 47.48 kB / 446.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.2767, allocations: 52.23 kB / 446.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.2767, allocations: 4 kB / 446.9 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.2767, allocations: 0 / 446.9 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2767, allocations: 8.031 kB / 446.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.2787, allocations: 1.196 MB / 448.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2787, allocations: 0 / 448.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.279, allocations: 71.89 kB / 448.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.2794, allocations: 148.8 kB / 448.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.2794, allocations: 15.98 kB / 448.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006878/0.2801, allocations: 0.6771 MB / 449 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2801, allocations: 0 / 449 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.2819, allocations: 0.8376 MB / 449.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.2822, allocations: 156.5 kB / 450 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.2823, allocations: 28 kB / 450 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.2826, allocations: 72 kB / 450.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.2828, allocations: 59.88 kB / 450.1 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.2828, allocations: 27.92 kB / 450.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002934/0.2831, allocations: 255.2 kB / 450.4 MB, free: 13.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2831, allocations: 0 / 450.4 MB, free: 13.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006889/0.2838, allocations: 187.9 kB / 450.6 MB, free: 13.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.285, allocations: 476.3 kB / 451 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.287, allocations: 0.6573 MB / 451.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.287, allocations: 4.125 kB / 451.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006436/0.2877, allocations: 247.6 kB / 451.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/0.2883, allocations: 94.08 kB / 452 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.2908, allocations: 1.234 MB / 453.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.2913, allocations: 0.8238 MB / 454.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.2916, allocations: 67.25 kB / 454.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2917, allocations: 35.42 kB / 454.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2917, allocations: 0 / 454.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of Templates: time 0.02075/0.3125, allocations: 8.818 MB / 463 MB, free: 1.023 MB / 318.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)