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.06348/0.06348, allocations: 8.319 MB / 23.82 MB, free: 48 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.7 kB / 26.47 MB, free: 2.926 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.001424/0.001424, allocations: 209.4 kB / 29.23 MB, free: 180 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.634/1.634, allocations: 222.9 MB / 254.7 MB, free: 4.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01341/0.01341, allocations: 3.136 MB / 309.8 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 95.84 kB / 374.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3497, allocations: 52.05 MB / 426.3 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004633/0.3543, allocations: 3.262 MB / 429.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3574, allocations: 2.25 MB / 431.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.3576, allocations: 11.94 kB / 431.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.358, allocations: 137.5 kB / 432 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.3584, allocations: 162.8 kB / 432.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.3591, allocations: 412.2 kB / 432.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3596, allocations: 0.6464 MB / 433.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.3598, allocations: 161.5 kB / 433.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3601, allocations: 275 kB / 433.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.3604, allocations: 266.8 kB / 433.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.3605, allocations: 48 kB / 433.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.3607, allocations: 163.9 kB / 434.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3608, allocations: 119.6 kB / 434.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.361, allocations: 254.6 kB / 434.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.3616, allocations: 0.6542 MB / 435.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3616, allocations: 7.938 kB / 435.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3616, allocations: 0 / 435.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3616, allocations: 0 / 435.1 MB, free: 12.23 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.001343/0.363, allocations: 0.8311 MB / 436 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.363, allocations: 12.03 kB / 436 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3632, allocations: 56.28 kB / 436 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.3637, allocations: 392.6 kB / 436.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.3638, allocations: 55.27 kB / 436.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.3638, allocations: 35.94 kB / 436.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.3645, allocations: 469.4 kB / 437 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.3646, allocations: 7.938 kB / 437 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.3646, allocations: 12 kB / 437 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3646, allocations: 8 kB / 437 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.3653, allocations: 335.8 kB / 437.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.3671, allocations: 1.362 MB / 438.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.368, allocations: 379.8 kB / 439 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3683, allocations: 148.8 kB / 439.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.3684, allocations: 4.531 kB / 439.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.3689, allocations: 239.1 kB / 439.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.3689, allocations: 0 / 439.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003665/0.3726, allocations: 1.784 MB / 441.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.3727, allocations: 162.2 kB / 441.4 MB, free: 5.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.373, allocations: 361.7 kB / 441.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.373, allocations: 45.69 kB / 441.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3732, allocations: 220.5 kB / 442 MB, free: 4.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.3733, allocations: 142 kB / 442.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3734, allocations: 86.02 kB / 442.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.3735, allocations: 350.8 kB / 442.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.3738, allocations: 162.5 kB / 442.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.3742, allocations: 271.4 kB / 443 MB, free: 3.938 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.3748, allocations: 359.7 kB / 443.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3748, allocations: 4 kB / 443.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001126/0.376, allocations: 0.5562 MB / 443.9 MB, free: 2.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.376, allocations: 7.938 kB / 443.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.376, allocations: 4 kB / 443.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.3764, allocations: 160.9 kB / 444.1 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3767, allocations: 79.83 kB / 444.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005577/0.3773, allocations: 0.7085 MB / 444.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.3776, allocations: 60 kB / 444.9 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.3777, allocations: 15.98 kB / 444.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003192/0.378, allocations: 249 kB / 445.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002582/0.3783, allocations: 231.5 kB / 445.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003692/0.3786, allocations: 287.8 kB / 445.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.3786, allocations: 4 kB / 445.7 MB, free: 1.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008452/0.3795, allocations: 497.6 kB / 446.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3795, allocations: 8.219 kB / 446.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3795, allocations: 4 kB / 446.2 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.3799, allocations: 164.1 kB / 446.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.38, allocations: 63.91 kB / 446.4 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006071/0.3807, allocations: 0.7085 MB / 447.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.381, allocations: 52 kB / 447.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.381, allocations: 16 kB / 447.2 MB, free: 15.57 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.0002391/0.3813, allocations: 208.1 kB / 447.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3814, allocations: 47.44 kB / 447.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.3815, allocations: 60.11 kB / 447.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3816, allocations: 8 kB / 447.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.3816, allocations: 0 / 447.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3816, allocations: 0 / 447.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.3839, allocations: 1.169 MB / 448.7 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3839, allocations: 96 / 448.7 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.3842, allocations: 75.89 kB / 448.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.3846, allocations: 140.8 kB / 448.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.3846, allocations: 15.98 kB / 448.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007181/0.3853, allocations: 0.6888 MB / 449.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3854, allocations: 4.031 kB / 449.6 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.387, allocations: 0.7988 MB / 450.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.3873, allocations: 152.5 kB / 450.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.3873, allocations: 20.06 kB / 450.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.3878, allocations: 47.94 kB / 450.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.3879, allocations: 51.91 kB / 450.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3879, allocations: 19.98 kB / 450.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.3882, allocations: 259.2 kB / 450.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3883, allocations: 0 / 450.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006616/0.3889, allocations: 188 kB / 451.1 MB, free: 11.49 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.00117/0.3901, allocations: 481.5 kB / 451.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3918, allocations: 0.6445 MB / 452.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3918, allocations: 4.125 kB / 452.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.3924, allocations: 231.5 kB / 452.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.393, allocations: 97.36 kB / 452.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.3956, allocations: 1.024 MB / 453.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.3963, allocations: 0.8239 MB / 454.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.3965, allocations: 63.25 kB / 454.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.3967, allocations: 39.42 kB / 454.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3967, allocations: 3.938 kB / 454.5 MB, free: 8.195 MB / 318.1 MB Notification: Performance of Templates: time 0.01895/0.4156, allocations: 9.598 MB / 464.1 MB, free: 14.66 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 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.EV.EVdata.pipe 2>&1)