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.00111/0.00111, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.001041/0.001041, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.448/1.448, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04877/0.04877, allocations: 7.042 MB / 277.1 MB, free: 14.39 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.001282/0.001282, allocations: 67.91 kB / 336.1 MB, free: 27.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08348/0.08477, allocations: 48.1 MB / 384.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01111/0.09593, allocations: 10.53 MB / 394.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007876/0.1038, allocations: 5.561 MB / 400.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.1059, allocations: 55.88 kB / 400.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.1093, allocations: 1.155 MB / 401.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.1113, allocations: 484.8 kB / 401.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.1134, allocations: 1.128 MB / 403 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01124/0.1246, allocations: 10.67 MB / 413.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008157/0.1328, allocations: 7.482 MB / 421.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.1373, allocations: 3.755 MB / 425 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1756/0.3129, allocations: 3.685 MB / 428.6 MB, free: 22.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003289/0.3163, allocations: 1.282 MB / 429.9 MB, free: 22.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.3194, allocations: 1.317 MB / 431.2 MB, free: 22.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002765/0.3222, allocations: 2.532 MB / 433.8 MB, free: 22.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008852/0.3311, allocations: 4.684 MB / 438.5 MB, free: 22.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.3457, allocations: 15.48 MB / 453.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3458, allocations: 0 / 453.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3458, allocations: 3.938 kB / 453.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004209/0.3462, allocations: 0 / 453.9 MB, free: 14.39 MB / 318.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.02124/0.3675, allocations: 9.212 MB / 463.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3675, allocations: 9.094 kB / 463.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.3693, allocations: 0.7315 MB / 463.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.3812, allocations: 8.411 MB / 472.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.3815, allocations: 356.7 kB / 472.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.3836, allocations: 436.5 kB / 473.1 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.4027, allocations: 7.584 MB / 480.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.4028, allocations: 10.56 kB / 480.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001397/0.4042, allocations: 172 kB / 480.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.4044, allocations: 156.1 kB / 481 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.4181, allocations: 6.506 MB / 487.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05455/0.4727, allocations: 31.43 MB / 0.5068 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008543/0.4813, allocations: 8.365 MB / 0.5149 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003829/0.4851, allocations: 2.422 MB / 0.5173 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.4853, allocations: 29.05 kB / 0.5173 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00326/0.4886, allocations: 2.171 MB / 0.5195 GB, free: 4.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=203): time 4.078e-06/0.4886, allocations: 0 / 0.5195 GB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01324/0.5018, allocations: 6.508 MB / 0.5258 GB, free: 13.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.5021, allocations: 401.4 kB / 0.5262 GB, free: 13.39 MB / 398.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.01893/0.521, allocations: 10.85 MB / 0.5368 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006833/0.5217, allocations: 73.7 kB / 0.5369 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003724/0.5254, allocations: 3.056 MB / 0.5398 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.5268, allocations: 0.6974 MB / 0.5405 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.5283, allocations: 0.5636 MB / 0.5411 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.5284, allocations: 301.1 kB / 0.5414 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/0.5313, allocations: 1.984 MB / 0.5433 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.5346, allocations: 2.76 MB / 0.546 GB, free: 8.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02138/0.556, allocations: 9.435 MB / 0.5552 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.5561, allocations: 11.09 kB / 0.5552 GB, free: 15.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01182/0.5679, allocations: 5.524 MB / 0.5606 GB, free: 9.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.568, allocations: 12 kB / 0.5606 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.568, allocations: 20 kB / 0.5606 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.5692, allocations: 472.7 kB / 0.5611 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/0.5717, allocations: 0.6577 MB / 0.5617 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/0.5781, allocations: 4.901 MB / 0.5665 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/0.5826, allocations: 472.7 kB / 0.567 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005307/0.5831, allocations: 104 kB / 0.5671 GB, free: 3.02 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.007581/0.5907, allocations: 3.93 MB / 0.5709 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/0.593, allocations: 0.5052 MB / 0.5714 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008629/0.6017, allocations: 4.654 MB / 0.5759 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6017, allocations: 23.94 kB / 0.576 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6017, allocations: 0 / 0.576 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.6018, allocations: 7.969 kB / 0.576 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1852/0.7869, allocations: 14.09 MB / 0.5897 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.787, allocations: 0 / 0.5897 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/0.789, allocations: 489.6 kB / 0.5902 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.79, allocations: 420.5 kB / 0.5906 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.7903, allocations: 80.59 kB / 0.5907 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00512/0.7954, allocations: 4.648 MB / 0.5952 GB, free: 147.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7954, allocations: 0.7031 kB / 0.5952 GB, free: 147.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009939/0.8054, allocations: 6.905 MB / 0.602 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003593/0.809, allocations: 1.777 MB / 0.6037 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/0.8105, allocations: 86.47 kB / 0.6038 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/0.8129, allocations: 249.3 kB / 0.604 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/0.8133, allocations: 153.8 kB / 0.6042 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.8135, allocations: 55.03 kB / 0.6042 GB, free: 144.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01224/0.8257, allocations: 7.652 MB / 0.6117 GB, free: 141.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8258, allocations: 7.844 kB / 0.6117 GB, free: 141.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005147/0.8309, allocations: 1.276 MB / 0.6129 GB, free: 140.5 MB / 446.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.001078/0.832, allocations: 483.3 kB / 0.6134 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0144/0.8464, allocations: 8.527 MB / 0.6217 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8465, allocations: 0 / 0.6217 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.8494, allocations: 2.159 MB / 0.6238 GB, free: 130.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008356/0.8577, allocations: 1.369 MB / 0.6252 GB, free: 128.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/0.8865, allocations: 18.43 MB / 0.6432 GB, free: 110.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006836/0.8934, allocations: 5.662 MB / 0.6487 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002373/0.8958, allocations: 299.4 kB / 0.649 GB, free: 104.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.8958, allocations: 0 / 0.649 GB, free: 104.3 MB / 446.1 MB Notification: Performance of Templates: time 0.3206/1.216, allocations: 162 MB / 0.8072 GB, free: 103.5 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 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1)