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.001193/0.001193, allocations: 107.7 kB / 16.41 MB, free: 6.457 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.00117/0.00117, allocations: 189.7 kB / 17.35 MB, free: 5.719 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.2/1.2, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04383/0.04383, allocations: 7.035 MB / 277.6 MB, free: 4.949 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.001384/0.001384, allocations: 70.17 kB / 385.9 MB, free: 48.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06351/0.0649, allocations: 48.12 MB / 434.1 MB, free: 9.414 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.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) 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.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) 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, ns, np)) as default value. Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.008917/0.07385, allocations: 10.64 MB / 444.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.08184, allocations: 5.803 MB / 450.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.08349, allocations: 55.88 kB / 450.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.08647, allocations: 1.473 MB / 452 MB, free: 7.359 MB / 334.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.001691/0.08817, allocations: 0.5889 MB / 452.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.08987, allocations: 1.21 MB / 453.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.0999, allocations: 10.65 MB / 464.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.1102, allocations: 7.482 MB / 472 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.1148, allocations: 3.736 MB / 475.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004925/0.1197, allocations: 3.67 MB / 479.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002533/0.1223, allocations: 1.281 MB / 480.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.1249, allocations: 1.32 MB / 482 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00254/0.1275, allocations: 2.529 MB / 484.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006507/0.134, allocations: 4.681 MB / 489.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.1495, allocations: 17.52 MB / 0.4948 GB, free: 488 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1495, allocations: 4 kB / 0.4948 GB, free: 484 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1495, allocations: 0 / 0.4948 GB, free: 484 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003205/0.1499, allocations: 0 / 0.4948 GB, free: 484 kB / 382.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.02147/0.1713, allocations: 9.205 MB / 0.5038 GB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1714, allocations: 8.031 kB / 0.5038 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.1733, allocations: 0.7379 MB / 0.5045 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0143/0.1876, allocations: 8.48 MB / 0.5128 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.1879, allocations: 364.8 kB / 0.5132 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.1891, allocations: 435.9 kB / 0.5136 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.2024, allocations: 7.586 MB / 0.521 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.33e-05/0.2025, allocations: 7.938 kB / 0.521 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005446/0.203, allocations: 176 kB / 0.5212 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.2032, allocations: 152.1 kB / 0.5213 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.181/0.3841, allocations: 6.515 MB / 0.5277 GB, free: 79.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03762/0.4218, allocations: 31.14 MB / 0.5581 GB, free: 60.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/0.427, allocations: 8.361 MB / 0.5663 GB, free: 52.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002774/0.4298, allocations: 2.483 MB / 0.5687 GB, free: 50.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-05/0.43, allocations: 29.91 kB / 0.5687 GB, free: 50.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/0.4322, allocations: 2.172 MB / 0.5708 GB, free: 47.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 3.276e-06/0.4322, allocations: 0 / 0.5708 GB, free: 47.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.009866/0.442, allocations: 6.513 MB / 0.5772 GB, free: 41.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.4421, allocations: 389.8 kB / 0.5776 GB, free: 40.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/0.4543, allocations: 10.82 MB / 0.5881 GB, free: 29.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004652/0.4548, allocations: 81.64 kB / 0.5882 GB, free: 29.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002525/0.4573, allocations: 3.051 MB / 0.5912 GB, free: 26.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/0.4579, allocations: 0.6962 MB / 0.5919 GB, free: 26.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008067/0.4587, allocations: 0.5631 MB / 0.5924 GB, free: 25.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.136e-05/0.4588, allocations: 305.1 kB / 0.5927 GB, free: 25.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.461, allocations: 1.981 MB / 0.5946 GB, free: 23.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.4634, allocations: 2.765 MB / 0.5973 GB, free: 20.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01473/0.4782, allocations: 9.431 MB / 0.6066 GB, free: 10.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.4782, allocations: 4 kB / 0.6066 GB, free: 10.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.00748/0.4857, allocations: 5.525 MB / 0.6119 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.4857, allocations: 12 kB / 0.612 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4858, allocations: 27.66 kB / 0.612 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009209/0.4867, allocations: 468.4 kB / 0.6124 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.4887, allocations: 0.6551 MB / 0.6131 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.4934, allocations: 4.87 MB / 0.6178 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.4965, allocations: 472.6 kB / 0.6183 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.4967, allocations: 107.9 kB / 0.6184 GB, free: 14.29 MB / 430.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.005309/0.502, allocations: 3.938 MB / 0.6222 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/0.5034, allocations: 0.5052 MB / 0.6227 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/0.5107, allocations: 4.649 MB / 0.6273 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.5108, allocations: 20 kB / 0.6273 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.5108, allocations: 0 / 0.6273 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.5108, allocations: 11.95 kB / 0.6273 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/0.5313, allocations: 14.04 MB / 0.641 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5313, allocations: 0 / 0.641 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.5332, allocations: 487.2 kB / 0.6415 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009383/0.5341, allocations: 416.1 kB / 0.6419 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.5344, allocations: 87.95 kB / 0.642 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005235/0.5396, allocations: 4.6 MB / 0.6464 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5396, allocations: 0 / 0.6464 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009846/0.5495, allocations: 6.91 MB / 0.6532 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/0.5541, allocations: 1.789 MB / 0.6549 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.5551, allocations: 83.97 kB / 0.655 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.5569, allocations: 244.7 kB / 0.6553 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003838/0.5572, allocations: 149.7 kB / 0.6554 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.5574, allocations: 55.98 kB / 0.6555 GB, free: 8.074 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.011/0.5684, allocations: 7.656 MB / 0.6629 GB, free: 424 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5684, allocations: 0 / 0.6629 GB, free: 424 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003696/0.5721, allocations: 1.285 MB / 0.6642 GB, free: 15.12 MB / 478.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.001058/0.5732, allocations: 488 kB / 0.6646 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006172/0.5794, allocations: 4.479 MB / 0.669 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5794, allocations: 0 / 0.669 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.5822, allocations: 2.157 MB / 0.6711 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005014/0.5872, allocations: 1.365 MB / 0.6725 GB, free: 6.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/0.6104, allocations: 16.18 MB / 0.6883 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00526/0.6157, allocations: 5.666 MB / 0.6938 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/0.6174, allocations: 302.8 kB / 0.6941 GB, free: 456 kB / 494.1 MB Notification: Performance of SimCode: time 7.22e-07/0.6174, allocations: 0 / 0.6941 GB, free: 456 kB / 494.1 MB Notification: Performance of Templates: time 0.3176/0.935, allocations: 163.1 MB / 0.8534 GB, free: 67.29 MB / 0.5137 GB 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 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1)