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.001082/0.001082, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.0009897/0.0009897, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04142/0.04142, allocations: 7.033 MB / 277.6 MB, free: 4.973 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.001463/0.001463, allocations: 67.94 kB / 385.9 MB, free: 48.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.0833, allocations: 48.12 MB / 434.1 MB, free: 9.438 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.009791/0.09313, allocations: 10.65 MB / 444.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009071/0.1022, allocations: 5.803 MB / 450.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.1044, allocations: 59.88 kB / 450.6 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.1079, allocations: 1.469 MB / 452 MB, free: 7.379 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.002029/0.11, allocations: 0.5928 MB / 452.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.1119, allocations: 1.198 MB / 453.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.1225, allocations: 10.67 MB / 464.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008864/0.1314, allocations: 7.479 MB / 472 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/0.1359, allocations: 3.732 MB / 475.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.1413, allocations: 3.67 MB / 479.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002438/0.1437, allocations: 1.285 MB / 480.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.1461, allocations: 1.32 MB / 482 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.1484, allocations: 2.529 MB / 484.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007604/0.156, allocations: 4.685 MB / 489.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.1733, allocations: 17.51 MB / 0.4948 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.1733, allocations: 0 / 0.4948 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1734, allocations: 0 / 0.4948 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004152/0.1738, allocations: 0 / 0.4948 GB, free: 0.4922 MB / 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.02556/0.1993, allocations: 9.209 MB / 0.5038 GB, free: 7.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1994, allocations: 8.031 kB / 0.5038 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.2017, allocations: 0.734 MB / 0.5046 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.2179, allocations: 8.483 MB / 0.5128 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.2183, allocations: 364.8 kB / 0.5132 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.2201, allocations: 436 kB / 0.5136 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.239, allocations: 7.582 MB / 0.521 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.2392, allocations: 11.88 kB / 0.521 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.2406, allocations: 176 kB / 0.5212 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.2408, allocations: 152.1 kB / 0.5213 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2345/0.4752, allocations: 6.506 MB / 0.5277 GB, free: 79.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04723/0.5225, allocations: 31.13 MB / 0.5581 GB, free: 60.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/0.5285, allocations: 8.37 MB / 0.5663 GB, free: 52.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.5316, allocations: 2.478 MB / 0.5687 GB, free: 50.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.381e-05/0.5317, allocations: 29.59 kB / 0.5687 GB, free: 50.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002456/0.5342, allocations: 2.175 MB / 0.5708 GB, free: 48.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 3.697e-06/0.5342, allocations: 0 / 0.5708 GB, free: 48.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.01081/0.545, allocations: 6.512 MB / 0.5772 GB, free: 41.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.5451, allocations: 385.8 kB / 0.5776 GB, free: 41.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/0.5589, allocations: 10.83 MB / 0.5881 GB, free: 30.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006227/0.5595, allocations: 77.7 kB / 0.5882 GB, free: 30.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002865/0.5624, allocations: 3.047 MB / 0.5912 GB, free: 27.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008725/0.5633, allocations: 0.7034 MB / 0.5919 GB, free: 26.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008348/0.5641, allocations: 0.563 MB / 0.5924 GB, free: 25.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.5642, allocations: 309.1 kB / 0.5927 GB, free: 25.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.5665, allocations: 1.981 MB / 0.5946 GB, free: 23.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.569, allocations: 2.761 MB / 0.5973 GB, free: 20.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/0.5855, allocations: 9.426 MB / 0.6066 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.5855, allocations: 8 kB / 0.6066 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.008627/0.5942, allocations: 5.521 MB / 0.6119 GB, free: 5.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.5942, allocations: 16 kB / 0.612 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.5943, allocations: 23.66 kB / 0.612 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5953, allocations: 464.5 kB / 0.6124 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/0.5976, allocations: 0.6599 MB / 0.6131 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/0.6028, allocations: 4.871 MB / 0.6178 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.6066, allocations: 476.7 kB / 0.6183 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004216/0.607, allocations: 107.9 kB / 0.6184 GB, free: 14.51 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.006433/0.6135, allocations: 3.936 MB / 0.6222 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001973/0.6155, allocations: 0.5014 MB / 0.6227 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008328/0.6238, allocations: 4.645 MB / 0.6273 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.6239, allocations: 20 kB / 0.6273 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6239, allocations: 0 / 0.6273 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.6239, allocations: 11.95 kB / 0.6273 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02796/0.6519, allocations: 14.05 MB / 0.641 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.6519, allocations: 0 / 0.641 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/0.6541, allocations: 491.2 kB / 0.6415 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.6552, allocations: 415 kB / 0.6419 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/0.6555, allocations: 87.95 kB / 0.642 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005835/0.6614, allocations: 4.592 MB / 0.6464 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6614, allocations: 0 / 0.6464 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.6732, allocations: 6.904 MB / 0.6532 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004525/0.6778, allocations: 1.787 MB / 0.6549 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/0.68, allocations: 83.97 kB / 0.655 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/0.6833, allocations: 248.5 kB / 0.6553 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005317/0.6838, allocations: 149.7 kB / 0.6554 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/0.6841, allocations: 67.98 kB / 0.6555 GB, free: 8.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01576/0.6998, allocations: 7.652 MB / 0.6629 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6999, allocations: 0 / 0.6629 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005852/0.7057, allocations: 1.281 MB / 0.6642 GB, free: 15.33 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.001473/0.7072, allocations: 495.9 kB / 0.6647 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007588/0.7148, allocations: 4.479 MB / 0.669 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7149, allocations: 0 / 0.669 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003358/0.7182, allocations: 2.157 MB / 0.6711 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/0.7263, allocations: 1.361 MB / 0.6725 GB, free: 6.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/0.7615, allocations: 16.18 MB / 0.6883 GB, free: 6.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00827/0.7698, allocations: 5.662 MB / 0.6938 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/0.7722, allocations: 299.4 kB / 0.6941 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7722, allocations: 0 / 0.6941 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of Templates: time 0.3791/1.151, allocations: 163.1 MB / 0.8534 GB, free: 67.89 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)