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/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/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/package.mo): time 0.04804/0.04804, allocations: 8.033 MB / 23.91 MB, free: 476 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.001366/0.001366, allocations: 112.9 kB / 26.48 MB, free: 3.461 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.001516/0.001515, allocations: 194.7 kB / 29.17 MB, free: 0.793 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.5/1.5, allocations: 222.9 MB / 254.6 MB, free: 3.266 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01301/0.01301, allocations: 3.127 MB / 309.6 MB, free: 2.348 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 99.84 kB / 373.8 MB, free: 2.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2939, allocations: 51.98 MB / 425.8 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004214/0.2982, allocations: 3.301 MB / 429.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.3016, allocations: 2.215 MB / 431.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.302, allocations: 11.94 kB / 431.3 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.3025, allocations: 117.8 kB / 431.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.303, allocations: 135.2 kB / 431.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.3039, allocations: 370.1 kB / 431.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.3045, allocations: 0.6465 MB / 432.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3047, allocations: 161.4 kB / 432.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.305, allocations: 278.9 kB / 433 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.3054, allocations: 262.8 kB / 433.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.3054, allocations: 52 kB / 433.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.3058, allocations: 159.9 kB / 433.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.3059, allocations: 123.6 kB / 433.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.3061, allocations: 258.7 kB / 433.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.3068, allocations: 0.5028 MB / 434.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3068, allocations: 4 kB / 434.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3068, allocations: 0 / 434.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3068, allocations: 0 / 434.3 MB, free: 13.01 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.001449/0.3083, allocations: 0.8389 MB / 435.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3083, allocations: 12.03 kB / 435.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.3086, allocations: 56.28 kB / 435.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.3091, allocations: 384.7 kB / 435.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/0.3092, allocations: 59.2 kB / 435.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.3092, allocations: 39.94 kB / 435.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.31, allocations: 461.5 kB / 436.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.31, allocations: 7.984 kB / 436.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.3101, allocations: 12 kB / 436.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3101, allocations: 8 kB / 436.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.3107, allocations: 339.8 kB / 436.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3125, allocations: 1.362 MB / 437.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/0.3134, allocations: 375.3 kB / 438.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.3137, allocations: 156.8 kB / 438.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.3137, allocations: 4.531 kB / 438.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.3142, allocations: 235.7 kB / 438.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/0.3142, allocations: 0 / 438.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00357/0.3178, allocations: 1.777 MB / 440.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3179, allocations: 162.2 kB / 440.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.3182, allocations: 365.7 kB / 440.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.3183, allocations: 41.64 kB / 441 MB, free: 5.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3184, allocations: 224.5 kB / 441.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.3185, allocations: 134.1 kB / 441.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3186, allocations: 94.02 kB / 441.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.3187, allocations: 346.8 kB / 441.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.319, allocations: 166.5 kB / 441.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.3194, allocations: 275.4 kB / 442.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.3199, allocations: 351.7 kB / 442.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3199, allocations: 4 kB / 442.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001052/0.321, allocations: 0.5447 MB / 443.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.321, allocations: 10.5 kB / 443.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.321, allocations: 11.92 kB / 443.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.3215, allocations: 164.8 kB / 443.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.3217, allocations: 79.89 kB / 443.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005304/0.3223, allocations: 0.7085 MB / 444.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.3226, allocations: 55.94 kB / 444.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.3227, allocations: 15.98 kB / 444.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003283/0.323, allocations: 248.9 kB / 444.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002585/0.3233, allocations: 238.8 kB / 444.6 MB, free: 2.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003624/0.3237, allocations: 287.8 kB / 444.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.3237, allocations: 4 kB / 444.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008388/0.3245, allocations: 0.4898 MB / 445.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3245, allocations: 4 kB / 445.4 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3246, allocations: 4 kB / 445.4 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.3249, allocations: 161 kB / 445.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.3251, allocations: 67.91 kB / 445.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004662/0.3256, allocations: 0.7084 MB / 446.3 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.3259, allocations: 47.95 kB / 446.4 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.3259, allocations: 23.92 kB / 446.4 MB, free: 348 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.0001525/0.3261, allocations: 213.1 kB / 446.6 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.3262, allocations: 43.44 kB / 446.6 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3263, allocations: 52.19 kB / 446.7 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3263, allocations: 7.984 kB / 446.7 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3263, allocations: 0 / 446.7 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3263, allocations: 4 kB / 446.7 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.3286, allocations: 1.169 MB / 447.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.3286, allocations: 0 / 447.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.3289, allocations: 71.89 kB / 447.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003721/0.3293, allocations: 144.8 kB / 448.1 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.3293, allocations: 15.98 kB / 448.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000696/0.33, allocations: 0.6889 MB / 448.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.33, allocations: 0 / 448.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.3317, allocations: 0.7988 MB / 449.6 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.332, allocations: 156.5 kB / 449.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.3321, allocations: 16 kB / 449.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3325, allocations: 47.94 kB / 449.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3326, allocations: 55.97 kB / 449.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.3327, allocations: 19.98 kB / 449.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.333, allocations: 259.2 kB / 450.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.333, allocations: 0 / 450.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007369/0.3338, allocations: 184 kB / 450.3 MB, free: 12.26 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.001741/0.3355, allocations: 485.4 kB / 450.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.3373, allocations: 0.648 MB / 451.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3373, allocations: 4 kB / 451.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.3379, allocations: 224.2 kB / 451.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.3386, allocations: 100.8 kB / 451.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.3415, allocations: 1.209 MB / 453 MB, free: 9.734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.3421, allocations: 0.8277 MB / 453.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.3423, allocations: 43.42 kB / 453.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3423, allocations: 0 / 453.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of Templates: time 0.01244/0.3547, allocations: 8.016 MB / 461.8 MB, free: 0.8359 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)