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.04747/0.04747, allocations: 8.016 MB / 24.16 MB, free: 416 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.0009681/0.0009679, allocations: 105.3 kB / 26.73 MB, free: 3.297 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.001127/0.001127, allocations: 186.5 kB / 29.41 MB, free: 0.6289 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.267/1.267, allocations: 222.9 MB / 254.8 MB, free: 4.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01241/0.01241, allocations: 3.119 MB / 309.9 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 87.86 kB / 374.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1938, allocations: 51.97 MB / 426.2 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003372/0.1972, allocations: 3.262 MB / 429.5 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1996, allocations: 2.258 MB / 431.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.1998, allocations: 7.938 kB / 431.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.2002, allocations: 137.5 kB / 431.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.2005, allocations: 170.7 kB / 432 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005995/0.2011, allocations: 408.3 kB / 432.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.2015, allocations: 0.6387 MB / 433.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.2017, allocations: 161.5 kB / 433.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2019, allocations: 271 kB / 433.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.2021, allocations: 262.8 kB / 433.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.2022, allocations: 52 kB / 433.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2024, allocations: 155.9 kB / 433.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.2025, allocations: 127.6 kB / 434.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2026, allocations: 254.6 kB / 434.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.2031, allocations: 0.6581 MB / 435 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2031, allocations: 4 kB / 435 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2031, allocations: 0 / 435 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2031, allocations: 4 kB / 435 MB, free: 12.63 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.001094/0.2042, allocations: 0.8271 MB / 435.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2043, allocations: 8.031 kB / 435.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.2044, allocations: 56.28 kB / 435.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.2048, allocations: 396.7 kB / 436.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.2048, allocations: 51.27 kB / 436.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.2049, allocations: 39.94 kB / 436.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.2056, allocations: 473.4 kB / 436.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2056, allocations: 3.938 kB / 436.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.2056, allocations: 16 kB / 436.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2056, allocations: 8 kB / 436.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.2063, allocations: 335.7 kB / 437.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.2079, allocations: 1.35 MB / 438.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.2087, allocations: 387.8 kB / 438.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.209, allocations: 148.8 kB / 439 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.2091, allocations: 4.844 kB / 439 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.2095, allocations: 243 kB / 439.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.2096, allocations: 0 / 439.3 MB, free: 8.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003416/0.213, allocations: 1.784 MB / 441.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.213, allocations: 162.2 kB / 441.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.2133, allocations: 365.7 kB / 441.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2133, allocations: 37.7 kB / 441.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.2134, allocations: 216.5 kB / 441.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.2135, allocations: 138 kB / 442 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2136, allocations: 90.02 kB / 442.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.2137, allocations: 354.7 kB / 442.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.214, allocations: 170.5 kB / 442.6 MB, free: 4.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.2144, allocations: 263.4 kB / 442.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.2149, allocations: 359.7 kB / 443.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.215, allocations: 3.938 kB / 443.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001025/0.216, allocations: 0.5563 MB / 443.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.216, allocations: 12.03 kB / 443.7 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.216, allocations: 0 / 443.7 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.2164, allocations: 157.2 kB / 443.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.2167, allocations: 79.89 kB / 444 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00047/0.2172, allocations: 0.7148 MB / 444.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.2175, allocations: 55.92 kB / 444.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.2175, allocations: 20.06 kB / 444.8 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003007/0.2179, allocations: 249 kB / 445 MB, free: 2.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002427/0.2181, allocations: 231.5 kB / 445.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003633/0.2185, allocations: 291.8 kB / 445.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2185, allocations: 0 / 445.5 MB, free: 1.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008114/0.2193, allocations: 493.5 kB / 446 MB, free: 1.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.2193, allocations: 8 kB / 446 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.2193, allocations: 0 / 446 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.2197, allocations: 164.9 kB / 446.2 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2199, allocations: 63.92 kB / 446.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004274/0.2203, allocations: 0.7123 MB / 446.9 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2206, allocations: 47.94 kB / 447 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2207, allocations: 16 kB / 447 MB, free: 15.97 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.0001398/0.2208, allocations: 212.3 kB / 447.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.2209, allocations: 47.42 kB / 447.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.221, allocations: 60.19 kB / 447.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.221, allocations: 3.938 kB / 447.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2211, allocations: 0 / 447.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.2212, allocations: 152.6 kB / 447.5 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.2213, allocations: 16 kB / 447.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.2216, allocations: 51.94 kB / 447.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.2218, allocations: 51.91 kB / 447.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001389/0.2232, allocations: 0.5943 MB / 448.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001223/0.2244, allocations: 0.7537 MB / 448.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000336/0.2247, allocations: 163.9 kB / 449.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.225, allocations: 259.2 kB / 449.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Backend: time 4.9e-07/0.225, allocations: 3.938 kB / 449.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.2276, allocations: 0.9988 MB / 450.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of SimCode: time 0.00161/0.2292, allocations: 1.424 MB / 451.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of Templates: time 0.01471/0.2439, allocations: 10.01 MB / 461.8 MB, free: 1.348 MB / 318.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 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)