Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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 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.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.07287/0.07287, allocations: 8.039 MB / 23.51 MB, free: 0.6289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 103.8 kB / 26.07 MB, free: 3.52 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.00143/0.00143, allocations: 194.3 kB / 28.76 MB, free: 0.8359 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.34/1.34, allocations: 222.9 MB / 254.2 MB, free: 4.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01227/0.01227, allocations: 3.117 MB / 309.2 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.84 kB / 373.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2227, allocations: 51.97 MB / 425.6 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.00455/0.2273, allocations: 3.294 MB / 428.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.2301, allocations: 2.138 MB / 431 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.2303, allocations: 11.94 kB / 431 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.2307, allocations: 107.1 kB / 431.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.2311, allocations: 158.8 kB / 431.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.2319, allocations: 409.2 kB / 431.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.2323, allocations: 0.6504 MB / 432.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.2326, allocations: 184.4 kB / 432.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.2329, allocations: 279 kB / 432.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.2332, allocations: 262.9 kB / 433 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.2332, allocations: 56 kB / 433.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.2335, allocations: 159.9 kB / 433.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2336, allocations: 123.6 kB / 433.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.2338, allocations: 266.7 kB / 433.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.2343, allocations: 0.6815 MB / 434.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2343, allocations: 0 / 434.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2343, allocations: 0 / 434.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2343, allocations: 0 / 434.3 MB, free: 12.69 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.001156/0.2355, allocations: 0.8351 MB / 435.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.2355, allocations: 8.031 kB / 435.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.2357, allocations: 56.38 kB / 435.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.2361, allocations: 384.1 kB / 435.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.2361, allocations: 55.27 kB / 435.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.2362, allocations: 43.94 kB / 435.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.2369, allocations: 0.4897 MB / 436.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2369, allocations: 3.906 kB / 436.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.237, allocations: 16 kB / 436.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.237, allocations: 15.98 kB / 436.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.2377, allocations: 359.6 kB / 436.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2396, allocations: 1.429 MB / 438 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.2405, allocations: 404.1 kB / 438.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.2408, allocations: 153.3 kB / 438.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.2408, allocations: 8.266 kB / 438.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/0.2413, allocations: 242.5 kB / 438.8 MB, free: 8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.2413, allocations: 0 / 438.8 MB, free: 8 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003659/0.245, allocations: 1.806 MB / 440.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.2451, allocations: 158.2 kB / 440.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.2454, allocations: 328.5 kB / 441.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.2454, allocations: 37.7 kB / 441.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2456, allocations: 228.7 kB / 441.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.2456, allocations: 134.1 kB / 441.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2458, allocations: 94.14 kB / 441.5 MB, free: 5.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.2459, allocations: 346.8 kB / 441.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.2462, allocations: 167 kB / 442 MB, free: 4.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.2466, allocations: 281.1 kB / 442.3 MB, free: 4.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.2472, allocations: 375.6 kB / 442.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2472, allocations: 0 / 442.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001129/0.2483, allocations: 0.5753 MB / 443.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2483, allocations: 8 kB / 443.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.2484, allocations: 0 / 443.3 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.2487, allocations: 172.9 kB / 443.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.249, allocations: 87.89 kB / 443.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005041/0.2495, allocations: 0.7077 MB / 444.2 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.2499, allocations: 59.91 kB / 444.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.2499, allocations: 23.98 kB / 444.3 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003262/0.2503, allocations: 245.2 kB / 444.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000269/0.2506, allocations: 244.6 kB / 444.8 MB, free: 1.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003874/0.251, allocations: 295.7 kB / 445.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.251, allocations: 0 / 445.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009126/0.2519, allocations: 0.5089 MB / 445.6 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2519, allocations: 7.938 kB / 445.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2519, allocations: 4 kB / 445.6 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.2523, allocations: 164.9 kB / 445.8 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.2525, allocations: 67.91 kB / 445.8 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005531/0.253, allocations: 0.7124 MB / 446.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.2534, allocations: 43.95 kB / 446.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2535, allocations: 16 kB / 446.6 MB, free: 15.78 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.0002661/0.2538, allocations: 224.6 kB / 446.8 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.2538, allocations: 43.53 kB / 446.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.254, allocations: 56.41 kB / 446.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.254, allocations: 4 kB / 446.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.254, allocations: 0 / 446.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.254, allocations: 3.984 kB / 446.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.2562, allocations: 1.203 MB / 448.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2562, allocations: 0 / 448.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2566, allocations: 79.83 kB / 448.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.257, allocations: 144.8 kB / 448.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.257, allocations: 11.98 kB / 448.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007713/0.2578, allocations: 0.6851 MB / 449 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2578, allocations: 7.969 kB / 449 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2595, allocations: 0.8065 MB / 449.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.2597, allocations: 152.6 kB / 450 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.2598, allocations: 12 kB / 450 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.2602, allocations: 55.94 kB / 450.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.2603, allocations: 63.72 kB / 450.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.2604, allocations: 19.98 kB / 450.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.2607, allocations: 235.1 kB / 450.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2607, allocations: 0 / 450.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007382/0.2614, allocations: 184 kB / 450.6 MB, free: 11.66 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.001055/0.2625, allocations: 491 kB / 451 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.2641, allocations: 0.6533 MB / 451.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2641, allocations: 0 / 451.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.2646, allocations: 239.7 kB / 451.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.2652, allocations: 93.23 kB / 452 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2673, allocations: 1.015 MB / 453 MB, free: 9.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.2677, allocations: 0.8201 MB / 453.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.2679, allocations: 55.25 kB / 453.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.268, allocations: 39.42 kB / 453.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.268, allocations: 0 / 453.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of Templates: time 0.01434/0.2824, allocations: 9.474 MB / 463.4 MB, free: 14.95 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_main_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_main_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.FirstEVpow.pipe 2>&1)