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.06221/0.06221, allocations: 8.031 MB / 24.18 MB, free: 384 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.00131/0.00131, allocations: 109.5 kB / 26.75 MB, free: 3.27 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.001812/0.001812, allocations: 195.2 kB / 29.44 MB, free: 0.5859 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.063/2.063, allocations: 222.9 MB / 254.9 MB, free: 4.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02424/0.02424, allocations: 3.125 MB / 309.9 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003541/0.003541, allocations: 99.83 kB / 374.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4648, allocations: 51.96 MB / 426.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEVpow): time 0.006606/0.4715, allocations: 3.303 MB / 429.5 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.4763, allocations: 2.145 MB / 431.7 MB, free: 16.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005178/0.4768, allocations: 11.94 kB / 431.7 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.4775, allocations: 99.14 kB / 431.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000709/0.4782, allocations: 154.8 kB / 431.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.4797, allocations: 419.7 kB / 432.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008321/0.4806, allocations: 0.6543 MB / 433 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.481, allocations: 176.4 kB / 433.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.4815, allocations: 279 kB / 433.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.482, allocations: 266.9 kB / 433.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.4821, allocations: 56 kB / 433.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.4826, allocations: 159.9 kB / 433.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.4828, allocations: 135.6 kB / 434 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.4831, allocations: 254.8 kB / 434.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009618/0.4841, allocations: 0.6775 MB / 435 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4841, allocations: 8 kB / 435 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4841, allocations: 0 / 435 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4841, allocations: 0 / 435 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.002117/0.4863, allocations: 0.8311 MB / 435.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4863, allocations: 12.03 kB / 435.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.4866, allocations: 56.36 kB / 435.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.4873, allocations: 376.1 kB / 436.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.4875, allocations: 63.27 kB / 436.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4876, allocations: 47.92 kB / 436.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4888, allocations: 489.4 kB / 436.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.4889, allocations: 7.891 kB / 436.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.489, allocations: 24 kB / 436.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.489, allocations: 8 kB / 436.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4902, allocations: 351.7 kB / 437.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.4935, allocations: 1.432 MB / 438.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.495, allocations: 408.1 kB / 439 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.4955, allocations: 149.3 kB / 439.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.68e-05/0.4955, allocations: 8.266 kB / 439.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008969/0.4964, allocations: 242.5 kB / 439.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 4.338e-06/0.4965, allocations: 0 / 439.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.005697/0.5022, allocations: 1.81 MB / 441.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.5023, allocations: 166.2 kB / 441.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.5028, allocations: 324.5 kB / 441.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.5029, allocations: 45.69 kB / 441.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5031, allocations: 216.7 kB / 442 MB, free: 5.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5032, allocations: 138.1 kB / 442.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.5034, allocations: 90.14 kB / 442.2 MB, free: 5.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5036, allocations: 346.8 kB / 442.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.5041, allocations: 175 kB / 442.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.5046, allocations: 276.4 kB / 443 MB, free: 4.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.5056, allocations: 367.6 kB / 443.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5056, allocations: 3.984 kB / 443.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001814/0.5074, allocations: 0.583 MB / 443.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.5075, allocations: 8 kB / 443.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5075, allocations: 0 / 443.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.5081, allocations: 168.9 kB / 444.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.5086, allocations: 79.89 kB / 444.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008269/0.5094, allocations: 0.708 MB / 444.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.51, allocations: 59.94 kB / 445 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/0.5101, allocations: 19.98 kB / 445 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005465/0.5107, allocations: 253.2 kB / 445.2 MB, free: 1.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004204/0.5111, allocations: 240.7 kB / 445.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006332/0.5117, allocations: 307.7 kB / 445.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.5118, allocations: 0 / 445.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.00147/0.5132, allocations: 0.5011 MB / 446.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5133, allocations: 15.92 kB / 446.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.5133, allocations: 0 / 446.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.5139, allocations: 164.9 kB / 446.4 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.5142, allocations: 67.91 kB / 446.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008397/0.5151, allocations: 0.7124 MB / 447.2 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006788/0.5158, allocations: 43.95 kB / 447.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.5158, allocations: 19.98 kB / 447.3 MB, free: 15.77 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.0003628/0.5162, allocations: 220.6 kB / 447.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5163, allocations: 43.53 kB / 447.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.5166, allocations: 48.41 kB / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5166, allocations: 4 kB / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.5166, allocations: 0 / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.5166, allocations: 7.984 kB / 447.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.5206, allocations: 1.199 MB / 448.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5207, allocations: 0 / 448.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.5213, allocations: 71.89 kB / 448.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/0.5221, allocations: 148.8 kB / 449 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/0.5222, allocations: 19.98 kB / 449 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.5235, allocations: 0.6694 MB / 449.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/0.5236, allocations: 3.938 kB / 449.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.5271, allocations: 0.8105 MB / 450.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.5277, allocations: 160.7 kB / 450.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.5279, allocations: 15.94 kB / 450.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.5285, allocations: 55.98 kB / 450.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/0.5289, allocations: 67.8 kB / 450.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.529, allocations: 19.98 kB / 450.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005759/0.5296, allocations: 235 kB / 451 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5296, allocations: 0 / 451 MB, free: 11.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001333/0.5309, allocations: 180 kB / 451.2 MB, free: 11.67 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.002023/0.533, allocations: 485.4 kB / 451.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003081/0.5361, allocations: 0.6763 MB / 452.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.5361, allocations: 0 / 452.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.5371, allocations: 235.7 kB / 452.6 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.001107/0.5382, allocations: 104.4 kB / 452.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.5431, allocations: 1.029 MB / 453.7 MB, free: 9.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/0.544, allocations: 0.824 MB / 454.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.5442, allocations: 39.42 kB / 454.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of SimCode: time 1.833e-06/0.5443, allocations: 0 / 454.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of Templates: time 0.02137/0.5656, allocations: 7.93 MB / 462.5 MB, free: 496 kB / 318.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)