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.05218/0.05218, allocations: 8.038 MB / 23.52 MB, free: 356 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.001027/0.001027, allocations: 102.4 kB / 26.08 MB, free: 3.344 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.00125/0.00125, allocations: 191.3 kB / 28.77 MB, free: 0.6602 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.32/1.32, allocations: 222.9 MB / 254.2 MB, free: 4.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01257/0.01257, allocations: 3.129 MB / 309.3 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 87.84 kB / 373.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2167, allocations: 51.97 MB / 425.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.004264/0.221, allocations: 3.274 MB / 428.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.2241, allocations: 2.25 MB / 431.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.2244, allocations: 11.94 kB / 431.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.2248, allocations: 137.5 kB / 431.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.2253, allocations: 154.8 kB / 431.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.226, allocations: 412.6 kB / 431.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.2265, allocations: 0.6465 MB / 432.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.2268, allocations: 161.5 kB / 432.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.227, allocations: 267 kB / 432.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.2273, allocations: 262.8 kB / 433.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.2274, allocations: 48 kB / 433.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.2276, allocations: 167.8 kB / 433.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2277, allocations: 115.7 kB / 433.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.2279, allocations: 262.6 kB / 433.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.2285, allocations: 0.6581 MB / 434.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2285, allocations: 0 / 434.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2285, allocations: 0 / 434.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.2286, allocations: 0 / 434.4 MB, free: 12.64 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.001215/0.2298, allocations: 0.8311 MB / 435.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2298, allocations: 12.02 kB / 435.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.23, allocations: 56.28 kB / 435.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.2304, allocations: 384.7 kB / 435.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.2304, allocations: 59.25 kB / 435.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.2305, allocations: 43.88 kB / 435.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.2312, allocations: 465.5 kB / 436.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.2312, allocations: 0 / 436.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.2312, allocations: 12 kB / 436.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2313, allocations: 12 kB / 436.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.2319, allocations: 339.7 kB / 436.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.2336, allocations: 1.358 MB / 437.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.2345, allocations: 375.9 kB / 438.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.2348, allocations: 152.8 kB / 438.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.2349, allocations: 8.469 kB / 438.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.2354, allocations: 251 kB / 438.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.2354, allocations: 4 kB / 438.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003568/0.2389, allocations: 1.768 MB / 440.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.239, allocations: 170.1 kB / 440.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.2393, allocations: 361.7 kB / 441 MB, free: 5.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.2394, allocations: 37.7 kB / 441 MB, free: 5.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2395, allocations: 228.5 kB / 441.2 MB, free: 5.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.2395, allocations: 142 kB / 441.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2397, allocations: 86.03 kB / 441.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.2397, allocations: 354.8 kB / 441.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.2401, allocations: 162.5 kB / 442 MB, free: 4.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.2404, allocations: 267.4 kB / 442.2 MB, free: 4.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.241, allocations: 363.7 kB / 442.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.241, allocations: 4 kB / 442.6 MB, free: 3.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001044/0.2421, allocations: 0.5484 MB / 443.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2421, allocations: 4 kB / 443.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2421, allocations: 4 kB / 443.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.2425, allocations: 160.9 kB / 443.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.2428, allocations: 75.88 kB / 443.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/0.2433, allocations: 0.7162 MB / 444.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2437, allocations: 55.97 kB / 444.1 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.2437, allocations: 12 kB / 444.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000322/0.2441, allocations: 249 kB / 444.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002614/0.2443, allocations: 227.5 kB / 444.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00038/0.2447, allocations: 299.8 kB / 444.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.2447, allocations: 0 / 444.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008479/0.2456, allocations: 497.5 kB / 445.4 MB, free: 1.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.2456, allocations: 4 kB / 445.4 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2456, allocations: 4 kB / 445.4 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/0.246, allocations: 168.1 kB / 445.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2462, allocations: 63.91 kB / 445.6 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004527/0.2466, allocations: 0.7123 MB / 446.3 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.247, allocations: 43.98 kB / 446.4 MB, free: 0 / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.247, allocations: 16.14 kB / 446.4 MB, free: 15.98 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.0001879/0.2472, allocations: 220.3 kB / 446.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.2473, allocations: 47.38 kB / 446.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.2475, allocations: 52.19 kB / 446.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2475, allocations: 4 kB / 446.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.2475, allocations: 4 kB / 446.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2475, allocations: 3.984 kB / 446.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.2496, allocations: 1.177 MB / 447.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2496, allocations: 3.938 kB / 447.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.2499, allocations: 67.89 kB / 448 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.2503, allocations: 144.8 kB / 448.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.2503, allocations: 15.98 kB / 448.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006803/0.251, allocations: 0.681 MB / 448.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.251, allocations: 3.938 kB / 448.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.2526, allocations: 0.7988 MB / 449.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.2528, allocations: 152.5 kB / 449.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.2529, allocations: 16 kB / 449.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.2533, allocations: 55.98 kB / 449.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.2534, allocations: 55.86 kB / 449.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.2535, allocations: 15.98 kB / 449.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.2538, allocations: 263.2 kB / 450.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2538, allocations: 0 / 450.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006551/0.2545, allocations: 180 kB / 450.3 MB, free: 11.89 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.001065/0.2556, allocations: 484 kB / 450.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.2572, allocations: 0.6363 MB / 451.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2572, allocations: 0 / 451.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.2578, allocations: 236.2 kB / 451.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.2584, allocations: 100.1 kB / 451.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.2604, allocations: 1.031 MB / 452.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2608, allocations: 0.8161 MB / 453.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.2611, allocations: 63.27 kB / 453.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2612, allocations: 43.36 kB / 453.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2612, allocations: 0 / 453.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of Templates: time 0.01467/0.2759, allocations: 9.591 MB / 463.3 MB, free: 15.07 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 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.EV.EVdata.pipe 2>&1)