Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.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.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 108 kB / 16.37 MB, free: 6.453 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.001114/0.001114, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04909/0.04909, allocations: 7.03 MB / 277.6 MB, free: 4.992 MB / 222.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.001599/0.001599, allocations: 63.91 kB / 337.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2254, allocations: 48.09 MB / 385.4 MB, free: 52.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01047/0.2359, allocations: 10.64 MB / 396.1 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008217/0.2442, allocations: 5.8 MB / 401.9 MB, free: 40.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.2456, allocations: 61.12 kB / 401.9 MB, free: 40.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.2487, allocations: 1.472 MB / 403.4 MB, free: 40.02 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.001673/0.2504, allocations: 0.5908 MB / 404 MB, free: 39.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.2521, allocations: 1.213 MB / 405.2 MB, free: 38.39 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[2].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[3].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.iOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(0.5, 3, 1)) as default value. Notification: Performance of NFFlatten.flatten: time 0.008324/0.2604, allocations: 10.66 MB / 415.9 MB, free: 30.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006078/0.2665, allocations: 7.488 MB / 423.4 MB, free: 23.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.2697, allocations: 3.736 MB / 427.1 MB, free: 19.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.2732, allocations: 3.666 MB / 430.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001557/0.2747, allocations: 1.281 MB / 432 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.2764, allocations: 1.324 MB / 433.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.2779, allocations: 2.522 MB / 435.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00438/0.2823, allocations: 4.689 MB / 440.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.2967, allocations: 17.49 MB / 458.1 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.2968, allocations: 4 kB / 458.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2968, allocations: 0 / 458.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003978/0.2972, allocations: 0 / 458.1 MB, free: 4.531 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: 1082 * Number of variables: 1082 Notification: Performance of Generate backend data structure: time 0.02311/0.3203, allocations: 9.205 MB / 467.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3204, allocations: 8.031 kB / 467.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.3231, allocations: 0.7341 MB / 468 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.3385, allocations: 8.483 MB / 476.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.3389, allocations: 356.8 kB / 476.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.3407, allocations: 444 kB / 477.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02099/0.3617, allocations: 7.578 MB / 484.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.3619, allocations: 7.938 kB / 484.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001548/0.3635, allocations: 180 kB / 485 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.3637, allocations: 156.1 kB / 485.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.3782, allocations: 6.504 MB / 491.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05759/0.4358, allocations: 31.13 MB / 0.5106 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/0.4448, allocations: 8.359 MB / 0.5187 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004231/0.4491, allocations: 2.421 MB / 0.5211 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.4493, allocations: 29.98 kB / 0.5211 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003727/0.4531, allocations: 2.168 MB / 0.5233 GB, free: 5.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 5.05e-06/0.4531, allocations: 0 / 0.5233 GB, free: 5.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.1633/0.6164, allocations: 6.506 MB / 0.5296 GB, free: 120.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6165, allocations: 394.7 kB / 0.53 GB, free: 119.9 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini[3,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini[2,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo:595:11-595:138:writable] Warning: Parameter batteryStack.SOCini[1,1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.iOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[3].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[2].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter cycler.vOut[1].gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02122/0.6377, allocations: 10.85 MB / 0.5406 GB, free: 116.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006213/0.6384, allocations: 76.83 kB / 0.5407 GB, free: 116.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003636/0.642, allocations: 3.051 MB / 0.5436 GB, free: 115.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000917/0.643, allocations: 0.7041 MB / 0.5443 GB, free: 114.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009794/0.6439, allocations: 0.5517 MB / 0.5449 GB, free: 114.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.644, allocations: 304.9 kB / 0.5452 GB, free: 114.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.6465, allocations: 1.985 MB / 0.5471 GB, free: 113.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/0.6493, allocations: 2.769 MB / 0.5498 GB, free: 111.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/0.6662, allocations: 9.418 MB / 0.559 GB, free: 106.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.6662, allocations: 8 kB / 0.559 GB, free: 106.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.008544/0.6748, allocations: 5.539 MB / 0.5644 GB, free: 100.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.6749, allocations: 12 kB / 0.5644 GB, free: 100.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.6749, allocations: 19.94 kB / 0.5644 GB, free: 100.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/0.6759, allocations: 466 kB / 0.5649 GB, free: 100.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.6781, allocations: 0.659 MB / 0.5655 GB, free: 99.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.683, allocations: 4.874 MB / 0.5703 GB, free: 94.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/0.6867, allocations: 464.7 kB / 0.5707 GB, free: 94.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000542/0.6872, allocations: 104 kB / 0.5708 GB, free: 94.06 MB / 414.1 MB Warning: Assuming fixed start value for the following 3 variables: batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.cycler.chargingFinished.fallingEdge.not_u,$PRE.cycler.cycling.edge1.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.cycling.or1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.edge1.y,cycler.cycling.edge1.u,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.u,cycler.cycling.lessVinMin.y,cycler.cycling.rSFlipFlop.pre.u,cycler.Charging,cycler.Discharging,$whenCondition1,$whenCondition2,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,charger.controlledCurrent.limitedController.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 301 * 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 {(3,27)} Notification: Performance of prepare postOptimizeDAE: time 0.005448/0.6927, allocations: 3.949 MB / 0.5747 GB, free: 90.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/0.6946, allocations: 0.5052 MB / 0.5752 GB, free: 89.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006907/0.7015, allocations: 4.637 MB / 0.5797 GB, free: 84.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.7015, allocations: 22.81 kB / 0.5797 GB, free: 84.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7015, allocations: 0 / 0.5797 GB, free: 84.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.7016, allocations: 15.89 kB / 0.5797 GB, free: 84.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/0.723, allocations: 14.04 MB / 0.5935 GB, free: 70.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7231, allocations: 0 / 0.5935 GB, free: 70.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.725, allocations: 487.2 kB / 0.5939 GB, free: 70.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/0.7259, allocations: 419.1 kB / 0.5943 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/0.7262, allocations: 83.95 kB / 0.5944 GB, free: 69.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.7308, allocations: 4.589 MB / 0.5989 GB, free: 65.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7308, allocations: 0 / 0.5989 GB, free: 65.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00929/0.7401, allocations: 6.911 MB / 0.6056 GB, free: 58.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005225/0.7454, allocations: 1.779 MB / 0.6074 GB, free: 56.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/0.7474, allocations: 87.97 kB / 0.6074 GB, free: 56.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/0.7507, allocations: 247.6 kB / 0.6077 GB, free: 56.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006625/0.7514, allocations: 149.3 kB / 0.6078 GB, free: 55.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/0.7518, allocations: 60.55 kB / 0.6079 GB, free: 55.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.01372/0.7655, allocations: 7.648 MB / 0.6154 GB, free: 48.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7655, allocations: 0 / 0.6154 GB, free: 48.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00502/0.7705, allocations: 1.285 MB / 0.6166 GB, free: 46.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y) * Number of discrete variables: 23 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.fallingEdge.not_u) * Number of discrete states: 5 (cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.cycling.edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 176 * 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 {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/0.7719, allocations: 498.3 kB / 0.6171 GB, free: 46.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006443/0.7784, allocations: 4.483 MB / 0.6215 GB, free: 42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7784, allocations: 4.062 kB / 0.6215 GB, free: 42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.7813, allocations: 2.152 MB / 0.6236 GB, free: 39.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006133/0.7875, allocations: 1.368 MB / 0.6249 GB, free: 38.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/0.8095, allocations: 16.49 MB / 0.641 GB, free: 21.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005111/0.8147, allocations: 5.822 MB / 0.6467 GB, free: 16.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005403/0.8201, allocations: 2.463 MB / 0.6491 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/0.8221, allocations: 282.6 kB / 0.6494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.034e-06/0.8221, allocations: 0 / 0.6494 GB, free: 13.38 MB / 414.1 MB Notification: Performance of Templates: time 0.2865/1.109, allocations: 79.53 MB / 0.727 GB, free: 124.4 MB / 446.1 MB make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.sim & ./ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1)