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.04652/0.04652, allocations: 8.034 MB / 23.27 MB, free: 492 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.001044/0.001044, allocations: 103.4 kB / 25.83 MB, free: 3.496 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.001164/0.001164, allocations: 191.1 kB / 28.5 MB, free: 0.8281 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.322/1.322, allocations: 222.9 MB / 253.9 MB, free: 4.953 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01238/0.01238, allocations: 3.121 MB / 309 MB, free: 2.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 95.84 kB / 373.1 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2204, allocations: 51.98 MB / 425.1 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003531/0.224, allocations: 3.293 MB / 428.4 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2266, allocations: 2.223 MB / 430.6 MB, free: 16.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.2268, allocations: 7.938 kB / 430.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.2274, allocations: 113.8 kB / 430.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.2277, allocations: 135.2 kB / 430.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.2283, allocations: 370.5 kB / 431.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004666/0.2288, allocations: 0.6503 MB / 431.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.229, allocations: 161.5 kB / 432 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.2292, allocations: 275 kB / 432.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.2295, allocations: 258.8 kB / 432.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.2296, allocations: 52 kB / 432.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.2298, allocations: 163.8 kB / 432.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.2299, allocations: 127.6 kB / 432.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.23, allocations: 254.7 kB / 433.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.2305, allocations: 0.662 MB / 433.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2305, allocations: 0 / 433.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2306, allocations: 0 / 433.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.2306, allocations: 0 / 433.8 MB, free: 12.9 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.001192/0.2318, allocations: 0.8349 MB / 434.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.2318, allocations: 8.031 kB / 434.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2319, allocations: 56.28 kB / 434.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2323, allocations: 392.6 kB / 435.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.2324, allocations: 55.27 kB / 435.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.2324, allocations: 39.88 kB / 435.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.2331, allocations: 465.5 kB / 435.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2331, allocations: 3.984 kB / 435.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.2332, allocations: 16 kB / 435.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2332, allocations: 8 kB / 435.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.2338, allocations: 339.7 kB / 436 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2355, allocations: 1.358 MB / 437.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.2364, allocations: 383.3 kB / 437.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.2367, allocations: 152.8 kB / 437.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.2367, allocations: 4.531 kB / 437.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004381/0.2372, allocations: 239.6 kB / 438.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.773e-06/0.2372, allocations: 0 / 438.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003565/0.2407, allocations: 1.773 MB / 439.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2408, allocations: 170.1 kB / 440.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.2411, allocations: 365.6 kB / 440.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.2411, allocations: 37.7 kB / 440.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.2412, allocations: 224.5 kB / 440.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.2413, allocations: 134.1 kB / 440.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2414, allocations: 90.02 kB / 440.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.2415, allocations: 354.8 kB / 441.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.2418, allocations: 158.5 kB / 441.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.2422, allocations: 275.4 kB / 441.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/0.2428, allocations: 351.7 kB / 442 MB, free: 4.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2428, allocations: 8 kB / 442 MB, free: 4.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001068/0.2439, allocations: 0.5523 MB / 442.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2439, allocations: 4 kB / 442.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2439, allocations: 7.984 kB / 442.6 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.2443, allocations: 164.2 kB / 442.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2446, allocations: 75.89 kB / 442.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005114/0.2451, allocations: 0.7123 MB / 443.5 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.2455, allocations: 55.94 kB / 443.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.2455, allocations: 23.92 kB / 443.6 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002941/0.2458, allocations: 241 kB / 443.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000245/0.2461, allocations: 231.5 kB / 444.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00036/0.2464, allocations: 287.8 kB / 444.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.2464, allocations: 4 kB / 444.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000848/0.2473, allocations: 0.4897 MB / 444.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.2473, allocations: 4 kB / 444.8 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.2473, allocations: 4 kB / 444.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.2476, allocations: 169 kB / 445 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.2479, allocations: 59.91 kB / 445.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004555/0.2483, allocations: 0.7123 MB / 445.8 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.2487, allocations: 55.88 kB / 445.8 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.2487, allocations: 16 kB / 445.9 MB, free: 240 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.0001154/0.2488, allocations: 209.1 kB / 446.1 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.2489, allocations: 39.7 kB / 446.1 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.249, allocations: 52.19 kB / 446.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2491, allocations: 7.984 kB / 446.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2491, allocations: 0 / 446.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2491, allocations: 4 kB / 446.2 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.2511, allocations: 1.185 MB / 447.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2511, allocations: 0 / 447.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.2514, allocations: 67.89 kB / 447.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.2517, allocations: 144.8 kB / 447.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.2518, allocations: 19.98 kB / 447.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005804/0.2524, allocations: 0.6772 MB / 448.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2524, allocations: 3.938 kB / 448.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.254, allocations: 0.7949 MB / 449 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.2542, allocations: 156.5 kB / 449.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.2542, allocations: 16 kB / 449.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.2546, allocations: 56 kB / 449.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2548, allocations: 55.84 kB / 449.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.2548, allocations: 19.98 kB / 449.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002754/0.2551, allocations: 259.2 kB / 449.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2551, allocations: 0 / 449.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.2557, allocations: 180 kB / 449.8 MB, free: 12.15 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.001024/0.2568, allocations: 491.4 kB / 450.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.2583, allocations: 0.6441 MB / 450.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2583, allocations: 4 kB / 450.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.2589, allocations: 228.2 kB / 451.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.2595, allocations: 107.3 kB / 451.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2615, allocations: 1.188 MB / 452.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.2619, allocations: 0.8238 MB / 453.2 MB, free: 8.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.2621, allocations: 67.25 kB / 453.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.2622, allocations: 43.42 kB / 453.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2623, allocations: 4 kB / 453.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of Templates: time 0.01393/0.2762, allocations: 9.58 MB / 462.9 MB, free: 15.15 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)