Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.EV.FirstEVpow") translateModel(EHPTexamples.EV.FirstEVpow,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.EV.FirstEVpow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05925/0.05925, allocations: 8.032 MB / 24.29 MB, free: 392 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.001028/0.001028, allocations: 116.2 kB / 26.89 MB, free: 3.133 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.001176/0.001176, allocations: 191.2 kB / 29.57 MB, free: 468 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 255 MB, free: 4.719 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01349/0.01349, allocations: 3.116 MB / 310.1 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 95.84 kB / 375.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2229, allocations: 51.98 MB / 427.1 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.00412/0.2271, allocations: 3.281 MB / 430.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.2304, allocations: 2.157 MB / 432.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.2309, allocations: 11.94 kB / 432.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.2314, allocations: 95.16 kB / 432.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.2321, allocations: 162.8 kB / 432.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.2331, allocations: 414.8 kB / 433.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.2339, allocations: 0.6621 MB / 433.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.2342, allocations: 181.9 kB / 434.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.2346, allocations: 271.1 kB / 434.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.2351, allocations: 262.9 kB / 434.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2352, allocations: 52 kB / 434.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.2355, allocations: 167.9 kB / 434.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.2357, allocations: 139.5 kB / 434.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.2359, allocations: 254.7 kB / 435.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.2367, allocations: 0.6914 MB / 435.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2367, allocations: 0 / 435.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2367, allocations: 0 / 435.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.2367, allocations: 4 kB / 435.9 MB, free: 12.52 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.001596/0.2383, allocations: 0.8351 MB / 436.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2384, allocations: 12.03 kB / 436.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.2386, allocations: 56.36 kB / 436.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.2393, allocations: 384.1 kB / 437.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.2394, allocations: 59.27 kB / 437.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.2395, allocations: 47.94 kB / 437.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.2403, allocations: 497.4 kB / 437.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.2403, allocations: 3.906 kB / 437.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.2404, allocations: 19.94 kB / 437.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2404, allocations: 12 kB / 437.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.2411, allocations: 355.8 kB / 438.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.2431, allocations: 1.413 MB / 439.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.244, allocations: 404.1 kB / 439.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.2443, allocations: 157.3 kB / 440.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.2443, allocations: 4.594 kB / 440.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.2448, allocations: 250.4 kB / 440.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 3.777e-06/0.2448, allocations: 4 kB / 440.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.003724/0.2485, allocations: 1.802 MB / 442.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.2486, allocations: 169.9 kB / 442.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.2489, allocations: 324.5 kB / 442.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.249, allocations: 41.64 kB / 442.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2491, allocations: 224.4 kB / 442.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.2492, allocations: 134.1 kB / 443 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.2493, allocations: 94.14 kB / 443.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.2494, allocations: 346.8 kB / 443.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.2498, allocations: 171 kB / 443.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.2502, allocations: 276.7 kB / 443.9 MB, free: 4.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.2508, allocations: 363.6 kB / 444.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2509, allocations: 0 / 444.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001186/0.252, allocations: 0.5869 MB / 444.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2521, allocations: 8 kB / 444.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2521, allocations: 0 / 444.8 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.2525, allocations: 164.9 kB / 445 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.2528, allocations: 79.89 kB / 445.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005592/0.2534, allocations: 0.7123 MB / 445.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.2538, allocations: 67.88 kB / 445.8 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.2539, allocations: 19.98 kB / 445.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003442/0.2542, allocations: 249.2 kB / 446.1 MB, free: 1.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002758/0.2545, allocations: 240.8 kB / 446.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000399/0.2549, allocations: 295.7 kB / 446.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.2549, allocations: 0 / 446.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009311/0.2559, allocations: 0.5089 MB / 447.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2559, allocations: 13.19 kB / 447.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2559, allocations: 0 / 447.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003379/0.2562, allocations: 172.8 kB / 447.3 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2565, allocations: 63.91 kB / 447.4 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006062/0.2571, allocations: 0.7086 MB / 448.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.2575, allocations: 43.95 kB / 448.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.2575, allocations: 23.88 kB / 448.2 MB, free: 15.6 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.0002139/0.2577, allocations: 224.6 kB / 448.4 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.2578, allocations: 39.53 kB / 448.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.258, allocations: 52.41 kB / 448.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.258, allocations: 4 kB / 448.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.258, allocations: 0 / 448.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.258, allocations: 7.984 kB / 448.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.2603, allocations: 1.192 MB / 449.7 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.2604, allocations: 4 kB / 449.7 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.2607, allocations: 71.89 kB / 449.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.261, allocations: 140.9 kB / 449.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.2611, allocations: 19.97 kB / 449.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006792/0.2618, allocations: 0.6811 MB / 450.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2618, allocations: 4.062 kB / 450.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.2635, allocations: 0.8114 MB / 451.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.2637, allocations: 148.7 kB / 451.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.2638, allocations: 20 kB / 451.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.2641, allocations: 56 kB / 451.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2643, allocations: 59.84 kB / 451.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.2644, allocations: 19.98 kB / 451.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.2646, allocations: 227.1 kB / 451.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2646, allocations: 0 / 451.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006788/0.2653, allocations: 188 kB / 452.1 MB, free: 11.5 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.001054/0.2664, allocations: 489.2 kB / 452.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2679, allocations: 0.6602 MB / 453.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.268, allocations: 4.875 kB / 453.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.2685, allocations: 243.7 kB / 453.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.2691, allocations: 92.48 kB / 453.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.2712, allocations: 0.9889 MB / 454.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2715, allocations: 0.824 MB / 455.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.2718, allocations: 63.23 kB / 455.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2719, allocations: 39.42 kB / 455.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2719, allocations: 0 / 455.5 MB, free: 8.227 MB / 318.1 MB Notification: Performance of Templates: time 0.01527/0.2871, allocations: 9.473 MB / 465 MB, free: 14.8 MB / 334.1 MB make -j1 -f EHPTexamples_EHPTexamples.EV.FirstEVpow.makefile (rm -f EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; mkfifo EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe >> ../files/EHPTexamples_EHPTexamples.EV.FirstEVpow.sim & ./EHPTexamples_EHPTexamples.EV.FirstEVpow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTexamples_EHPTexamples.EV.FirstEVpow.pipe 2>&1)