Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06545/0.06545, allocations: 8.594 MB / 24.72 MB, free: 4.762 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.000962/0.000962, allocations: 107.7 kB / 27.43 MB, free: 2.559 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.001187/0.001187, allocations: 183.3 kB / 30.25 MB, free: 6.297 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 255.8 MB, free: 4.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01265/0.01265, allocations: 3.134 MB / 311 MB, free: 1.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 87.86 kB / 375.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1957, allocations: 52.11 MB / 427.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003558/0.1993, allocations: 3.266 MB / 430.9 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2018, allocations: 2.252 MB / 433.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.202, allocations: 7.938 kB / 433.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.2024, allocations: 137.5 kB / 433.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.2027, allocations: 162.8 kB / 433.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.2033, allocations: 410.6 kB / 433.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.2037, allocations: 0.6387 MB / 434.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2039, allocations: 165.4 kB / 434.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2042, allocations: 271 kB / 434.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.2044, allocations: 258.9 kB / 435.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.2045, allocations: 52 kB / 435.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2047, allocations: 167.8 kB / 435.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.2048, allocations: 123.6 kB / 435.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.205, allocations: 250.7 kB / 435.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.2055, allocations: 0.6619 MB / 436.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2055, allocations: 0 / 436.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2055, allocations: 0 / 436.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2055, allocations: 0 / 436.4 MB, free: 11.81 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.001153/0.2067, allocations: 0.8311 MB / 437.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.2067, allocations: 12.03 kB / 437.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.2068, allocations: 52.28 kB / 437.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.2072, allocations: 392.6 kB / 437.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.2073, allocations: 59.25 kB / 437.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.2074, allocations: 43.88 kB / 437.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.208, allocations: 461.5 kB / 438.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2081, allocations: 7.984 kB / 438.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.2081, allocations: 16 kB / 438.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2081, allocations: 8 kB / 438.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.2088, allocations: 327.8 kB / 438.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.2105, allocations: 1.358 MB / 439.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/0.2113, allocations: 387.8 kB / 440.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.2116, allocations: 148.8 kB / 440.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.2117, allocations: 8.516 kB / 440.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.2122, allocations: 239.1 kB / 440.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.2122, allocations: 0 / 440.7 MB, free: 7.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003655/0.2158, allocations: 1.788 MB / 442.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.2159, allocations: 162.2 kB / 442.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.2162, allocations: 361.7 kB / 443 MB, free: 4.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.2163, allocations: 37.7 kB / 443 MB, free: 4.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.2164, allocations: 224.4 kB / 443.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.2164, allocations: 142.1 kB / 443.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2166, allocations: 90.02 kB / 443.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.2167, allocations: 346.8 kB / 443.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.217, allocations: 166.5 kB / 444 MB, free: 3.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.2174, allocations: 267.4 kB / 444.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.2179, allocations: 359.8 kB / 444.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.218, allocations: 0 / 444.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001073/0.219, allocations: 0.5562 MB / 445.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2191, allocations: 8 kB / 445.1 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2191, allocations: 0 / 445.1 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.2195, allocations: 165.6 kB / 445.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.2198, allocations: 83.83 kB / 445.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004959/0.2203, allocations: 0.7115 MB / 446.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.2206, allocations: 52 kB / 446.2 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.2207, allocations: 20 kB / 446.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003153/0.221, allocations: 252.9 kB / 446.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002561/0.2213, allocations: 227.4 kB / 446.6 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003742/0.2217, allocations: 295.8 kB / 446.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-06/0.2217, allocations: 0 / 446.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008475/0.2225, allocations: 485.5 kB / 447.4 MB, free: 192 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.2226, allocations: 11.98 kB / 447.4 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.2226, allocations: 4.219 kB / 447.4 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.2229, allocations: 164.7 kB / 447.6 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2231, allocations: 67.91 kB / 447.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006024/0.2238, allocations: 0.7046 MB / 448.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.2241, allocations: 48.02 kB / 448.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.2242, allocations: 23.98 kB / 448.4 MB, free: 15.14 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.0001661/0.2243, allocations: 208.1 kB / 448.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.2244, allocations: 43.44 kB / 448.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.2246, allocations: 60.19 kB / 448.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.2246, allocations: 4 kB / 448.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2246, allocations: 4 kB / 448.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2246, allocations: 3.984 kB / 448.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.2272, allocations: 1.169 MB / 449.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2272, allocations: 128 / 449.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.2277, allocations: 79.98 kB / 450 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/0.2282, allocations: 144.8 kB / 450.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.2283, allocations: 11.98 kB / 450.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009231/0.2292, allocations: 0.6848 MB / 450.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2292, allocations: 4.094 kB / 450.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.2318, allocations: 0.7948 MB / 451.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.2321, allocations: 160.5 kB / 451.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2322, allocations: 11.98 kB / 451.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.2328, allocations: 60 kB / 451.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.233, allocations: 47.92 kB / 451.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.2331, allocations: 19.98 kB / 451.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.2335, allocations: 259.2 kB / 452.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2335, allocations: 0 / 452.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001129/0.2347, allocations: 176 kB / 452.3 MB, free: 11.07 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.001544/0.2362, allocations: 497.5 kB / 452.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.2386, allocations: 0.6282 MB / 453.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2386, allocations: 0.875 kB / 453.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.2395, allocations: 231.5 kB / 453.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.2404, allocations: 100.5 kB / 453.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.2435, allocations: 1.016 MB / 454.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.244, allocations: 0.8239 MB / 455.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003762/0.2444, allocations: 67.2 kB / 455.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.2446, allocations: 43.36 kB / 455.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2446, allocations: 4 kB / 455.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of Templates: time 0.02764/0.2723, allocations: 9.599 MB / 465.3 MB, free: 14.23 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.EVdata.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.EVdata.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.EVdata.sim & ./EHPTexamples_main_EHPTexamples.EV.EVdata -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)