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-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_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-main/package.mo): time 0.09025/0.09025, allocations: 8.335 MB / 23.45 MB, free: 316 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.001637/0.001637, allocations: 113.2 kB / 26.09 MB, free: 3.23 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.002217/0.002217, allocations: 189.2 kB / 28.83 MB, free: 0.4961 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.437/1.437, allocations: 222.9 MB / 254.3 MB, free: 2.941 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01365/0.01365, allocations: 3.119 MB / 309.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 92.22 kB / 373.6 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2105, allocations: 52.04 MB / 425.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003823/0.2143, allocations: 3.296 MB / 428.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.2171, allocations: 2.223 MB / 431.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.2174, allocations: 8 kB / 431.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.2179, allocations: 125.8 kB / 431.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.2183, allocations: 135.2 kB / 431.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.219, allocations: 360.5 kB / 431.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.2195, allocations: 0.6035 MB / 432.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.2197, allocations: 145.5 kB / 432.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.2199, allocations: 246.9 kB / 432.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2202, allocations: 246.9 kB / 433 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.2202, allocations: 28 kB / 433 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.2205, allocations: 135.9 kB / 433.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.2206, allocations: 99.58 kB / 433.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2208, allocations: 234.7 kB / 433.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2212, allocations: 0.6347 MB / 434.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2213, allocations: 3.984 kB / 434.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2213, allocations: 0 / 434.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.2213, allocations: 0 / 434.1 MB, free: 12.74 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.001208/0.2225, allocations: 0.8272 MB / 434.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.2225, allocations: 12.03 kB / 434.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.2227, allocations: 60.28 kB / 435 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2231, allocations: 396.6 kB / 435.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.2232, allocations: 55.27 kB / 435.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.2232, allocations: 39.94 kB / 435.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.224, allocations: 469.4 kB / 435.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.224, allocations: 7.984 kB / 436 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.224, allocations: 16 kB / 436 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.2241, allocations: 8 kB / 436 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.2248, allocations: 327.8 kB / 436.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.2266, allocations: 1.366 MB / 437.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.2275, allocations: 383.3 kB / 438 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2279, allocations: 152.8 kB / 438.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.2279, allocations: 12.83 kB / 438.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.2284, allocations: 235.7 kB / 438.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.2285, allocations: 0 / 438.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003866/0.2323, allocations: 1.773 MB / 440.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.2324, allocations: 166.2 kB / 440.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.2327, allocations: 361.7 kB / 440.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2328, allocations: 41.69 kB / 440.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2329, allocations: 220.5 kB / 441 MB, free: 5.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.233, allocations: 134.1 kB / 441.1 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.2331, allocations: 90.02 kB / 441.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.2332, allocations: 350.8 kB / 441.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.2335, allocations: 170.5 kB / 441.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.2339, allocations: 263.4 kB / 442 MB, free: 4.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.2346, allocations: 359.7 kB / 442.3 MB, free: 4.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2346, allocations: 3.938 kB / 442.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001169/0.2358, allocations: 0.5562 MB / 442.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2358, allocations: 4 kB / 442.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.2358, allocations: 4 kB / 442.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004202/0.2362, allocations: 156.9 kB / 443 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.2365, allocations: 83.89 kB / 443.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005288/0.2371, allocations: 0.7124 MB / 443.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.2375, allocations: 55.92 kB / 443.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.2375, allocations: 20 kB / 443.9 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003482/0.2379, allocations: 245 kB / 444.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002781/0.2382, allocations: 231.4 kB / 444.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004065/0.2386, allocations: 287.8 kB / 444.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.2386, allocations: 0 / 444.6 MB, free: 1.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000927/0.2395, allocations: 497.5 kB / 445.1 MB, free: 1.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2396, allocations: 8 kB / 445.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2396, allocations: 0 / 445.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.2399, allocations: 172.9 kB / 445.3 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2402, allocations: 63.91 kB / 445.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005139/0.2407, allocations: 0.7063 MB / 446.1 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.2411, allocations: 47.94 kB / 446.1 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.2411, allocations: 16.06 kB / 446.1 MB, free: 80 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.0001767/0.2413, allocations: 212.9 kB / 446.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.2414, allocations: 39.53 kB / 446.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2415, allocations: 60.17 kB / 446.4 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2415, allocations: 4 kB / 446.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.2415, allocations: 0 / 446.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2415, allocations: 0 / 446.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.2437, allocations: 1.181 MB / 447.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2437, allocations: 0 / 447.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.244, allocations: 67.89 kB / 447.7 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.2445, allocations: 148.9 kB / 447.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.2445, allocations: 19.98 kB / 447.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006619/0.2452, allocations: 0.6849 MB / 448.5 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2452, allocations: 4.062 kB / 448.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.247, allocations: 0.7988 MB / 449.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.2472, allocations: 156.5 kB / 449.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.2473, allocations: 12 kB / 449.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.2477, allocations: 51.94 kB / 449.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2478, allocations: 55.97 kB / 449.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.2479, allocations: 23.92 kB / 449.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.2482, allocations: 259.2 kB / 449.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2482, allocations: 0 / 449.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007129/0.2489, allocations: 184 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.001084/0.25, allocations: 490.4 kB / 450.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.2516, allocations: 0.6285 MB / 451.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2517, allocations: 0 / 451.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.2523, allocations: 227.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.0006852/0.253, allocations: 104.3 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.002279/0.2553, allocations: 1.175 MB / 452.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.2557, allocations: 0.8316 MB / 453.5 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.256, allocations: 59.27 kB / 453.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2561, allocations: 35.42 kB / 453.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2561, allocations: 0 / 453.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of Templates: time 0.01558/0.2717, allocations: 9.157 MB / 462.8 MB, free: 15.46 MB / 334.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)