Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05195/0.05195, allocations: 8.317 MB / 23.44 MB, free: 336 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.001092/0.001092, allocations: 105.8 kB / 26.07 MB, free: 3.246 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.001392/0.001392, allocations: 203.7 kB / 28.82 MB, free: 0.5039 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.447/1.447, allocations: 222.9 MB / 254.3 MB, free: 2.938 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01276/0.01276, allocations: 3.13 MB / 309.4 MB, free: 2.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 103.8 kB / 373.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 52.04 MB / 425.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.005086/0.3251, allocations: 3.311 MB / 428.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3287, allocations: 2.219 MB / 431.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.329, allocations: 11.94 kB / 431.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.3297, allocations: 117.8 kB / 431.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.3301, allocations: 135.2 kB / 431.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.331, allocations: 353.7 kB / 431.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.3315, allocations: 0.6073 MB / 432.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3318, allocations: 145.5 kB / 432.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.3321, allocations: 247 kB / 432.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.3325, allocations: 242.8 kB / 433 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.3326, allocations: 28 kB / 433 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.3328, allocations: 139.9 kB / 433.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.333, allocations: 103.6 kB / 433.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3332, allocations: 226.7 kB / 433.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.3338, allocations: 0.6425 MB / 434.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3338, allocations: 0 / 434.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3338, allocations: 0 / 434.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.3338, allocations: 0 / 434.1 MB, free: 12.73 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.001531/0.3354, allocations: 0.8272 MB / 434.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3354, allocations: 16.03 kB / 434.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.3357, allocations: 56.28 kB / 435 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3362, allocations: 396.6 kB / 435.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/0.3362, allocations: 59.27 kB / 435.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3363, allocations: 43.88 kB / 435.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.3371, allocations: 461.5 kB / 435.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3372, allocations: 0 / 435.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.3372, allocations: 19.98 kB / 436 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3372, allocations: 8 kB / 436 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.3379, allocations: 331.7 kB / 436.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.34, allocations: 1.37 MB / 437.7 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.3409, allocations: 379.7 kB / 438 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.3412, allocations: 152.8 kB / 438.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.3413, allocations: 8.531 kB / 438.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.3419, allocations: 239.6 kB / 438.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.3419, allocations: 0 / 438.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003946/0.3458, allocations: 1.773 MB / 440.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.3459, allocations: 162.2 kB / 440.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.3463, allocations: 365.6 kB / 440.7 MB, free: 5.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.3463, allocations: 37.7 kB / 440.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3464, allocations: 232.4 kB / 441 MB, free: 5.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3466, allocations: 134.1 kB / 441.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3467, allocations: 94.02 kB / 441.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.3468, allocations: 346.8 kB / 441.5 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.3471, allocations: 162.5 kB / 441.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3475, allocations: 271.4 kB / 442 MB, free: 4.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.3481, allocations: 351.7 kB / 442.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3481, allocations: 4 kB / 442.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001071/0.3492, allocations: 0.5523 MB / 442.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3492, allocations: 4 kB / 442.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3492, allocations: 4 kB / 442.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.3496, allocations: 157.5 kB / 443 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.3499, allocations: 83.89 kB / 443.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/0.3505, allocations: 0.7132 MB / 443.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.3508, allocations: 56 kB / 443.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.3509, allocations: 19.98 kB / 443.9 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003228/0.3512, allocations: 249 kB / 444.1 MB, free: 2.184 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002576/0.3515, allocations: 227.5 kB / 444.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003755/0.3519, allocations: 287.8 kB / 444.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.3519, allocations: 4 kB / 444.6 MB, free: 1.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008464/0.3527, allocations: 497.5 kB / 445.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.3528, allocations: 4 kB / 445.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3528, allocations: 4 kB / 445.1 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.3531, allocations: 172.6 kB / 445.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.3533, allocations: 67.84 kB / 445.4 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004795/0.3538, allocations: 0.7045 MB / 446.1 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.3541, allocations: 47.95 kB / 446.1 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.3541, allocations: 20.05 kB / 446.1 MB, free: 72 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.0002039/0.3544, allocations: 212.9 kB / 446.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.3544, allocations: 39.53 kB / 446.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.3546, allocations: 56.19 kB / 446.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3546, allocations: 4 kB / 446.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3546, allocations: 0 / 446.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3546, allocations: 7.984 kB / 446.4 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.3567, allocations: 1.181 MB / 447.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3567, allocations: 0 / 447.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.357, allocations: 71.89 kB / 447.7 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/0.3574, allocations: 140.8 kB / 447.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.3574, allocations: 19.98 kB / 447.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005804/0.358, allocations: 0.6772 MB / 448.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.358, allocations: 7.938 kB / 448.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3596, allocations: 0.7911 MB / 449.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.3598, allocations: 164.5 kB / 449.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.039e-05/0.3599, allocations: 12 kB / 449.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.3603, allocations: 52.03 kB / 449.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.3604, allocations: 63.89 kB / 449.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.3605, allocations: 15.98 kB / 449.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.3607, allocations: 259.2 kB / 449.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3608, allocations: 0 / 449.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.3614, allocations: 188 kB / 450.1 MB, free: 11.98 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.001194/0.3626, allocations: 478.2 kB / 450.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.3642, allocations: 0.6285 MB / 451.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3642, allocations: 0 / 451.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.3647, allocations: 231.5 kB / 451.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.3654, allocations: 101.5 kB / 451.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3676, allocations: 1.183 MB / 452.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.368, allocations: 0.8277 MB / 453.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.3682, allocations: 63.27 kB / 453.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3684, allocations: 35.42 kB / 453.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3684, allocations: 0 / 453.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of Templates: time 0.01425/0.3826, allocations: 9.148 MB / 462.7 MB, free: 15.45 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.EVdata.pipe 2>&1)