Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13860,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") translateModel(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13860,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007232/0.007232, allocations: 100.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 188.4 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05796/0.05796, allocations: 7.034 MB / 276.9 MB, free: 14.12 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001698, allocations: 59.91 kB / 385.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3446, allocations: 48.09 MB / 433.4 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle): time 0.006283/0.351, allocations: 4.635 MB / 438 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.3561, allocations: 2.704 MB / 440.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007882/0.357, allocations: 16.78 kB / 440.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.3588, allocations: 0.6272 MB / 441.4 MB, free: 2.715 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007617/0.3595, allocations: 234.9 kB / 441.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3606, allocations: 442.1 kB / 442 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.3625, allocations: 1.275 MB / 443.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.3632, allocations: 493.1 kB / 443.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/0.3638, allocations: 453.5 kB / 444.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.3643, allocations: 447.7 kB / 444.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.3645, allocations: 131.7 kB / 444.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.3648, allocations: 158.8 kB / 444.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3651, allocations: 269.8 kB / 445.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.3655, allocations: 0.522 MB / 445.7 MB, free: 300 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.3675, allocations: 1.558 MB / 447.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3675, allocations: 3.938 kB / 447.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3675, allocations: 0 / 447.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.3675, allocations: 1.281 kB / 447.3 MB, free: 15.56 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003167/0.3707, allocations: 1.46 MB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3708, allocations: 9.188 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.371, allocations: 109.6 kB / 448.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3724, allocations: 0.6952 MB / 449.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/0.3725, allocations: 53.25 kB / 449.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.3726, allocations: 76.56 kB / 449.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.3744, allocations: 0.8187 MB / 450.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3745, allocations: 0 / 450.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.3745, allocations: 38.8 kB / 450.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.3746, allocations: 17.34 kB / 450.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.3764, allocations: 0.6396 MB / 451.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.3808, allocations: 2.882 MB / 454.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.3825, allocations: 0.5586 MB / 454.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.3833, allocations: 260.9 kB / 454.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.3833, allocations: 3.562 kB / 454.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.3843, allocations: 417.5 kB / 455.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.3843, allocations: 0 / 455.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.002923/0.3873, allocations: 0.9549 MB / 456.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.3874, allocations: 149.1 kB / 456.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.3887, allocations: 0.8798 MB / 457.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.3888, allocations: 48.2 kB / 457.3 MB, free: 8.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.3892, allocations: 447.2 kB / 457.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3894, allocations: 144.7 kB / 457.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.3896, allocations: 132 kB / 458 MB, free: 7.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3898, allocations: 331.9 kB / 458.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/0.3906, allocations: 296.2 kB / 458.7 MB, free: 7.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009712/0.3916, allocations: 446.8 kB / 459.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.3932, allocations: 0.7446 MB / 459.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3932, allocations: 1.281 kB / 459.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002426/0.3957, allocations: 1.038 MB / 460.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.3958, allocations: 151.6 kB / 461 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3958, allocations: 3.844 kB / 461 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.3961, allocations: 43.75 kB / 461.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.3967, allocations: 130.7 kB / 461.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.3985, allocations: 1.729 MB / 462.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009344/0.3995, allocations: 111.6 kB / 463 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.3996, allocations: 23.44 kB / 463.1 MB, free: 3.895 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 29 (greaterThreshold.y,fTP72_1.liberal1.pulse1C1.count,$PRE.fTP72_1.liberal1.pulse1C1.count,fTP72_1.liberal1.pulse1C1.T_start,$PRE.fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse0_45C.count,$PRE.fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse0_45C.T_start,$PRE.fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_9C.count,$PRE.fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_9C.T_start,$PRE.fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_5C.count,$PRE.fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_5C.T_start,$PRE.fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.polse1C.count,$PRE.fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.polse1C.T_start,$PRE.fTP72_1.liberal1.polse1C.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,batteryCell.calculator.EquivalentCycles.integrator.local_reset,batteryCell.calculator.q.absInt.local_reset,batteryCell.calculator.sOC.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 5 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005958/0.4002, allocations: 312.3 kB / 463.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4003, allocations: 82.38 kB / 463.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4005, allocations: 89.52 kB / 463.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4005, allocations: 3.938 kB / 463.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4005, allocations: 1.375 kB / 463.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4005, allocations: 3.984 kB / 463.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.4031, allocations: 1.463 MB / 465 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4032, allocations: 3.984 kB / 465 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.4036, allocations: 79.88 kB / 465.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.4038, allocations: 48.83 kB / 465.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.4039, allocations: 12 kB / 465.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.4053, allocations: 1.712 MB / 466.9 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4054, allocations: 0 / 466.9 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/0.408, allocations: 1.039 MB / 467.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.4082, allocations: 172.3 kB / 468.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.4084, allocations: 15.94 kB / 468.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.409, allocations: 63.91 kB / 468.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.4092, allocations: 83.91 kB / 468.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.4093, allocations: 12 kB / 468.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009008/0.4102, allocations: 0.62 MB / 468.9 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4102, allocations: 0 / 468.9 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009459/0.4112, allocations: 191.4 kB / 469 MB, free: 13.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (batteryCell.calculator.sOC.integrator.y,batteryCell.calculator.q.absInt.y,batteryCell.calculator.EquivalentCycles.integrator.y) * Number of discrete variables: 16 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fTP72_1.liberal1.polse1C.T_start,fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse1C1.count,greaterThreshold.y) * Number of discrete states: 5 (fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009707/0.4121, allocations: 379.2 kB / 469.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.4145, allocations: 1.054 MB / 470.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4145, allocations: 0.8125 kB / 470.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4155, allocations: 430.3 kB / 470.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.4165, allocations: 166.5 kB / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.4196, allocations: 1.434 MB / 472.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.4204, allocations: 0.9803 MB / 473.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.4208, allocations: 73.14 kB / 473.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.421, allocations: 55.42 kB / 473.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.421, allocations: 3.938 kB / 473.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of Templates: time 0.02254/0.4435, allocations: 10.9 MB / 484.5 MB, free: 14.18 MB / 366.1 MB make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.makefile (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.sim & ./ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle -abortSlowSimulation -alarm=480 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe 2>&1)