Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.EV.FirstEVpow.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.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07277/0.07277, allocations: 8.031 MB / 23 MB, free: 0.5703 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.0007958/0.0007961, allocations: 95.02 kB / 25.56 MB, free: 3.793 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.00116/0.00116, allocations: 190.1 kB / 28.23 MB, free: 1.129 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.413/1.413, allocations: 223.3 MB / 254 MB, free: 5.691 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.114 MB / 310 MB, free: 0.8867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 16 kB / 374.8 MB, free: 60 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 52.97 MB / 427.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.003179/0.2593, allocations: 2.821 MB / 430.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.2621, allocations: 2.029 MB / 432.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.2624, allocations: 8 kB / 432.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.2628, allocations: 79.47 kB / 432.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.2631, allocations: 123.2 kB / 432.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.264, allocations: 316 kB / 433.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.2645, allocations: 0.5684 MB / 433.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.2648, allocations: 132.4 kB / 433.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.265, allocations: 231.1 kB / 434.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.2653, allocations: 231 kB / 434.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.2654, allocations: 24 kB / 434.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.2656, allocations: 115.9 kB / 434.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.2657, allocations: 91.64 kB / 434.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.2658, allocations: 109.4 kB / 434.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.2662, allocations: 0.4973 MB / 435.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2662, allocations: 0 / 435.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2662, allocations: 0 / 435.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.2663, allocations: 0 / 435.1 MB, free: 13.14 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001189/0.2674, allocations: 0.7766 MB / 435.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2675, allocations: 11.97 kB / 435.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.2677, allocations: 55.34 kB / 435.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2681, allocations: 367.1 kB / 436.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.2682, allocations: 58.7 kB / 436.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.2682, allocations: 47.98 kB / 436.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.269, allocations: 0.4936 MB / 436.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2691, allocations: 0 / 436.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.2691, allocations: 19.95 kB / 436.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2691, allocations: 12 kB / 436.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.2698, allocations: 371.8 kB / 437.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.2718, allocations: 1.46 MB / 438.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/0.2727, allocations: 458.5 kB / 439.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.273, allocations: 165.3 kB / 439.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.2731, allocations: 8.234 kB / 439.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004783/0.2735, allocations: 258.2 kB / 439.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.2735, allocations: 0 / 439.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003713/0.2773, allocations: 1.907 MB / 441.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.2773, allocations: 166 kB / 441.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2776, allocations: 324.5 kB / 442 MB, free: 5.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.2777, allocations: 37.7 kB / 442.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2778, allocations: 216.4 kB / 442.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.2779, allocations: 149.9 kB / 442.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.2779, allocations: 8 kB / 442.4 MB, free: 5.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.278, allocations: 346.8 kB / 442.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.2784, allocations: 173 kB / 442.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.2787, allocations: 288.6 kB / 443.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2791, allocations: 164 kB / 443.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2791, allocations: 4 kB / 443.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001113/0.2802, allocations: 0.5988 MB / 444 MB, free: 3.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.888e-05/0.2803, allocations: 148 kB / 444.1 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.2803, allocations: 8.062 kB / 444.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/0.2808, allocations: 160.8 kB / 444.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2811, allocations: 91.88 kB / 444.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005433/0.2816, allocations: 0.7118 MB / 445.1 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.282, allocations: 80.02 kB / 445.2 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/0.282, allocations: 16 kB / 445.2 MB, free: 2.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.282, allocations: 4 kB / 445.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008145/0.2829, allocations: 463.9 kB / 445.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2829, allocations: 0 / 445.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.2832, allocations: 160.8 kB / 445.8 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2834, allocations: 67.91 kB / 445.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004512/0.2839, allocations: 0.7085 MB / 446.6 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.2842, allocations: 56.02 kB / 446.6 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.2842, allocations: 23.92 kB / 446.6 MB, free: 1.074 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 (43): * Single equations (assignments): 42 * 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.0002336/0.2844, allocations: 261.6 kB / 446.9 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.2845, allocations: 39.53 kB / 446.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2846, allocations: 48.41 kB / 447 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2846, allocations: 7.984 kB / 447 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.2846, allocations: 4 kB / 447 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2846, allocations: 4 kB / 447 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.2866, allocations: 1.216 MB / 448.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2866, allocations: 0 / 448.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.287, allocations: 71.91 kB / 448.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003744/0.2873, allocations: 156.8 kB / 448.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.2874, allocations: 15.95 kB / 448.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007691/0.2882, allocations: 0.6733 MB / 449.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2882, allocations: 0 / 449.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.29, allocations: 0.8528 MB / 450 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.2903, allocations: 160.5 kB / 450.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/0.2904, allocations: 12.06 kB / 450.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.2907, allocations: 80 kB / 450.2 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.2909, allocations: 71.86 kB / 450.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.2909, allocations: 15.98 kB / 450.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.2912, allocations: 235 kB / 450.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2913, allocations: 0 / 450.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007631/0.292, allocations: 180 kB / 450.7 MB, free: 12.84 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 (32): * Single equations (assignments): 29 * 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.001343/0.2934, allocations: 493.5 kB / 451.2 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.295, allocations: 0.6768 MB / 451.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.295, allocations: 0 / 451.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.2956, allocations: 251.7 kB / 452.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.2963, allocations: 90.89 kB / 452.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.2987, allocations: 1.23 MB / 453.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.2991, allocations: 0.8201 MB / 454.3 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.2994, allocations: 63.22 kB / 454.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2995, allocations: 43.42 kB / 454.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2995, allocations: 0 / 454.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of Templates: time 0.02328/0.3228, allocations: 8.685 MB / 463 MB, free: 0.6602 MB / 318.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)