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 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.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.08296/0.08296, allocations: 8.323 MB / 23.82 MB, free: 4.523 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 96.17 kB / 26.46 MB, free: 2.777 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.001136/0.001136, allocations: 206.2 kB / 29.23 MB, free: 20 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.529/1.529, allocations: 222.9 MB / 254.7 MB, free: 4.402 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01206/0.01206, allocations: 3.124 MB / 309.8 MB, free: 2.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 103.8 kB / 374.3 MB, free: 1.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3344, allocations: 52.04 MB / 426.3 MB, free: 21.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.004543/0.339, allocations: 3.283 MB / 429.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.3428, allocations: 2.157 MB / 431.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.3432, allocations: 11.94 kB / 431.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.3438, allocations: 99.14 kB / 431.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.3445, allocations: 150.8 kB / 432 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3457, allocations: 427.1 kB / 432.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.3463, allocations: 0.6543 MB / 433.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.3466, allocations: 176.4 kB / 433.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.3469, allocations: 275.1 kB / 433.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.3473, allocations: 266.9 kB / 433.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/0.3474, allocations: 55.94 kB / 433.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.3478, allocations: 159.9 kB / 434 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3479, allocations: 135.6 kB / 434.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.3481, allocations: 254.7 kB / 434.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.3489, allocations: 0.6737 MB / 435.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3489, allocations: 3.938 kB / 435.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3489, allocations: 4 kB / 435.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3489, allocations: 0 / 435.1 MB, free: 12.25 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.001345/0.3503, allocations: 0.8389 MB / 435.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3503, allocations: 12.03 kB / 435.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3505, allocations: 60.36 kB / 436 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.3509, allocations: 372.1 kB / 436.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.351, allocations: 59.27 kB / 436.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.3511, allocations: 43.92 kB / 436.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.3518, allocations: 497.4 kB / 436.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3519, allocations: 7.891 kB / 436.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.3519, allocations: 16 kB / 437 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3519, allocations: 8 kB / 437 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.3526, allocations: 351.7 kB / 437.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3546, allocations: 1.432 MB / 438.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.3555, allocations: 404.1 kB / 439.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.3558, allocations: 157.3 kB / 439.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.3558, allocations: 8.578 kB / 439.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/0.3563, allocations: 242.5 kB / 439.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.3563, allocations: 0 / 439.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003754/0.3601, allocations: 1.81 MB / 441.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.3601, allocations: 166.2 kB / 441.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.3604, allocations: 324.5 kB / 441.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.3605, allocations: 41.69 kB / 441.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3606, allocations: 216.4 kB / 442.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.3607, allocations: 138.1 kB / 442.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3608, allocations: 90.14 kB / 442.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.3609, allocations: 346.8 kB / 442.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.3612, allocations: 171 kB / 442.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.3616, allocations: 284.4 kB / 443.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.3622, allocations: 367.6 kB / 443.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3623, allocations: 0 / 443.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001094/0.3634, allocations: 0.587 MB / 444 MB, free: 2.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3634, allocations: 10.81 kB / 444 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3634, allocations: 0 / 444 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.3638, allocations: 164.9 kB / 444.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3641, allocations: 79.89 kB / 444.3 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005202/0.3646, allocations: 0.7046 MB / 445 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.365, allocations: 63.81 kB / 445 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.365, allocations: 19.98 kB / 445.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003115/0.3653, allocations: 257.1 kB / 445.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.3656, allocations: 244.2 kB / 445.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004023/0.366, allocations: 291.8 kB / 445.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.366, allocations: 7.938 kB / 445.9 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.000853/0.3669, allocations: 0.501 MB / 446.4 MB, free: 388 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3669, allocations: 15.92 kB / 446.4 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.3669, allocations: 0 / 446.4 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.3672, allocations: 173 kB / 446.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.3674, allocations: 67.91 kB / 446.6 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006252/0.3681, allocations: 0.7085 MB / 447.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.3684, allocations: 48.02 kB / 447.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3684, allocations: 19.98 kB / 447.4 MB, free: 15.32 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 (43): * Single equations (assignments): 42 * 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.0002043/0.3686, allocations: 216.5 kB / 447.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.3687, allocations: 39.53 kB / 447.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.3689, allocations: 52.41 kB / 447.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3689, allocations: 4 kB / 447.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3689, allocations: 0 / 447.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.3689, allocations: 3.984 kB / 447.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.371, allocations: 1.203 MB / 448.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3711, allocations: 4 kB / 448.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.3714, allocations: 71.89 kB / 449 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.3717, allocations: 152.8 kB / 449.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.3718, allocations: 11.98 kB / 449.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006497/0.3724, allocations: 0.6772 MB / 449.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3724, allocations: 0 / 449.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.3741, allocations: 0.8181 MB / 450.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.3743, allocations: 156.6 kB / 450.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.3744, allocations: 12 kB / 450.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.3747, allocations: 55.98 kB / 450.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3749, allocations: 59.8 kB / 450.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.3749, allocations: 19.98 kB / 450.9 MB, free: 11.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.3752, allocations: 239 kB / 451.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3752, allocations: 0 / 451.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008436/0.3761, allocations: 180 kB / 451.3 MB, free: 11.22 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 (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.001346/0.3774, allocations: 485.1 kB / 451.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.3793, allocations: 0.6837 MB / 452.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3793, allocations: 0 / 452.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.3799, allocations: 240.8 kB / 452.7 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.3806, allocations: 92.02 kB / 452.8 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3829, allocations: 1.008 MB / 453.8 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3833, allocations: 0.8201 MB / 454.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.3836, allocations: 67.22 kB / 454.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.3837, allocations: 39.42 kB / 454.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3837, allocations: 4 kB / 454.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of Templates: time 0.01531/0.399, allocations: 9.448 MB / 464.2 MB, free: 14.5 MB / 334.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)