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.006331/0.006331, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001429/0.00143, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.765/1.765, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.07171/0.07171, allocations: 7.042 MB / 276.9 MB, free: 14.14 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.001442/0.001442, allocations: 67.91 kB / 385.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3742, allocations: 48.1 MB / 433.4 MB, free: 8.141 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.01396/0.3882, allocations: 10.65 MB / 444 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.4012, allocations: 5.804 MB / 449.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004243/0.4055, allocations: 57.38 kB / 449.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00603/0.4115, allocations: 1.472 MB / 451.4 MB, free: 11.74 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.004774/0.4163, allocations: 0.6334 MB / 452 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.42, allocations: 1.212 MB / 453.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02232/0.4424, allocations: 10.66 MB / 463.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.4542, allocations: 7.471 MB / 471.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/0.4599, allocations: 3.744 MB / 475.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005907/0.4658, allocations: 3.67 MB / 478.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00298/0.4689, allocations: 1.285 MB / 480.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.472, allocations: 1.312 MB / 481.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.475, allocations: 2.53 MB / 483.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01013/0.4852, allocations: 4.685 MB / 488.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02469/0.5099, allocations: 17.5 MB / 0.4942 GB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.51, allocations: 4 kB / 0.4942 GB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.51, allocations: 0 / 0.4942 GB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005209/0.5105, allocations: 4 kB / 0.4942 GB, free: 9.512 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.03136/0.5419, allocations: 9.216 MB / 0.5032 GB, free: 212 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.5419, allocations: 8.031 kB / 0.5032 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.5449, allocations: 0.7304 MB / 0.5039 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/0.5616, allocations: 8.483 MB / 0.5122 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/0.5621, allocations: 356.8 kB / 0.5126 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.564, allocations: 436 kB / 0.513 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.5849, allocations: 7.586 MB / 0.5204 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.5851, allocations: 11.94 kB / 0.5204 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009723/0.5861, allocations: 176 kB / 0.5206 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.5862, allocations: 148.1 kB / 0.5207 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.6019, allocations: 6.512 MB / 0.5271 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06132/0.6632, allocations: 31.13 MB / 0.5575 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.6737, allocations: 8.368 MB / 0.5657 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/0.6785, allocations: 2.48 MB / 0.5681 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.6787, allocations: 25.98 kB / 0.5681 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003879/0.6826, allocations: 2.172 MB / 0.5702 GB, free: 10.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 5.099e-06/0.6826, allocations: 0 / 0.5702 GB, free: 10.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=203): time 0.01386/0.6965, allocations: 6.505 MB / 0.5766 GB, free: 3.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002903/0.6968, allocations: 389.8 kB / 0.5769 GB, free: 3.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02768/0.7245, allocations: 10.83 MB / 0.5875 GB, free: 8.184 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000861/0.7254, allocations: 81.64 kB / 0.5876 GB, free: 8.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004747/0.7302, allocations: 3.056 MB / 0.5906 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.7317, allocations: 0.7012 MB / 0.5913 GB, free: 4.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.733, allocations: 0.5559 MB / 0.5918 GB, free: 3.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7332, allocations: 301.1 kB / 0.5921 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/0.7367, allocations: 1.981 MB / 0.594 GB, free: 1.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2658/1.003, allocations: 2.766 MB / 0.5967 GB, free: 136.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02498/1.028, allocations: 9.418 MB / 0.6059 GB, free: 134.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.028, allocations: 9.375 kB / 0.6059 GB, free: 134.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01256/1.04, allocations: 5.531 MB / 0.6113 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/1.04, allocations: 11.72 kB / 0.6114 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.04, allocations: 18.81 kB / 0.6114 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/1.042, allocations: 459.7 kB / 0.6118 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/1.044, allocations: 0.6542 MB / 0.6124 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/1.05, allocations: 4.893 MB / 0.6172 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/1.054, allocations: 466.9 kB / 0.6177 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000526/1.054, allocations: 106.8 kB / 0.6178 GB, free: 129.8 MB / 478.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.005499/1.06, allocations: 3.939 MB / 0.6216 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/1.062, allocations: 0.5135 MB / 0.6221 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007168/1.069, allocations: 4.635 MB / 0.6266 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.069, allocations: 20 kB / 0.6267 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.069, allocations: 0 / 0.6267 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.069, allocations: 19.95 kB / 0.6267 GB, free: 125.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/1.09, allocations: 14.03 MB / 0.6404 GB, free: 111.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.09, allocations: 0 / 0.6404 GB, free: 111.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.091, allocations: 487.2 kB / 0.6409 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008589/1.092, allocations: 417.3 kB / 0.6413 GB, free: 110.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/1.092, allocations: 83.95 kB / 0.6413 GB, free: 110.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/1.097, allocations: 4.59 MB / 0.6458 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.097, allocations: 3.938 kB / 0.6458 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009416/1.106, allocations: 6.927 MB / 0.6526 GB, free: 99.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004428/1.111, allocations: 1.78 MB / 0.6543 GB, free: 97.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/1.113, allocations: 83.97 kB / 0.6544 GB, free: 97.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/1.116, allocations: 247.6 kB / 0.6546 GB, free: 97.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/1.116, allocations: 149.8 kB / 0.6548 GB, free: 96.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.116, allocations: 51.98 kB / 0.6548 GB, free: 96.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01375/1.13, allocations: 7.652 MB / 0.6623 GB, free: 89.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.13, allocations: 3.938 kB / 0.6623 GB, free: 89.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00633/1.136, allocations: 1.285 MB / 0.6636 GB, free: 87.89 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.001174/1.137, allocations: 485.9 kB / 0.664 GB, free: 87.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005989/1.143, allocations: 4.482 MB / 0.6684 GB, free: 82.92 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.143, allocations: 7.938 kB / 0.6684 GB, free: 82.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002698/1.146, allocations: 2.156 MB / 0.6705 GB, free: 80.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/1.153, allocations: 1.375 MB / 0.6719 GB, free: 79.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/1.182, allocations: 16.49 MB / 0.688 GB, free: 62.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005963/1.188, allocations: 5.825 MB / 0.6937 GB, free: 57.01 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005929/1.194, allocations: 2.463 MB / 0.6961 GB, free: 54.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/1.196, allocations: 275.4 kB / 0.6963 GB, free: 54.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/1.196, allocations: 0 / 0.6963 GB, free: 54.27 MB / 478.1 MB Notification: Performance of Templates: time 0.1292/1.325, allocations: 81.56 MB / 0.776 GB, free: 4.66 MB / 0.4981 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)