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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 103.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 207.6 MB / 231.9 MB, free: 3.23 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05653/0.05653, allocations: 7.122 MB / 291.1 MB, free: 8.18 MB / 238.1 MB [Timeout remaining time 90] 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=20000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") [Timeout 660] 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.002268/0.002268, allocations: 68.38 kB / 407.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2722, allocations: 50.69 MB / 458.2 MB, free: 4.434 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.01792/0.2901, allocations: 10.71 MB / 468.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.3042, allocations: 5.807 MB / 474.7 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.3073, allocations: 61.03 kB / 474.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005377/0.3126, allocations: 1.475 MB / 476.2 MB, free: 6.324 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.004199/0.3168, allocations: 0.6408 MB / 476.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.3206, allocations: 1.217 MB / 478.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01947/0.3401, allocations: 10.62 MB / 488.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.3506, allocations: 5.184 MB / 493.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.3569, allocations: 3.74 MB / 497.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006152/0.3631, allocations: 3.67 MB / 0.4895 GB, free: 13.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003655/0.3668, allocations: 1.285 MB / 0.4908 GB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.3707, allocations: 1.316 MB / 0.4921 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004095/0.3748, allocations: 2.529 MB / 0.4946 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008791/0.3836, allocations: 4.685 MB / 0.4991 GB, free: 3.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02343/0.4071, allocations: 17.55 MB / 0.5163 GB, free: 2.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.4071, allocations: 7.984 kB / 0.5163 GB, free: 2.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4071, allocations: 0 / 0.5163 GB, free: 2.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004727/0.4075, allocations: 0 / 0.5163 GB, free: 2.086 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.02871/0.4362, allocations: 9.418 MB / 0.5255 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.4363, allocations: 12.03 kB / 0.5255 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/0.4402, allocations: 0.7694 MB / 0.5262 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/0.4594, allocations: 8.531 MB / 0.5346 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/0.4598, allocations: 360.8 kB / 0.5349 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.462, allocations: 436 kB / 0.5353 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/0.4837, allocations: 7.586 MB / 0.5427 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.4839, allocations: 7.938 kB / 0.5428 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.4856, allocations: 184 kB / 0.5429 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.4858, allocations: 148.1 kB / 0.5431 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/0.5021, allocations: 6.512 MB / 0.5494 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06175/0.5639, allocations: 31.18 MB / 0.5799 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.5746, allocations: 8.211 MB / 0.5879 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004798/0.5794, allocations: 2.382 MB / 0.5902 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.5797, allocations: 33.89 kB / 0.5903 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004246/0.5839, allocations: 2.164 MB / 0.5924 GB, free: 2.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 4.879e-06/0.5839, allocations: 0 / 0.5924 GB, free: 2.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=203): time 0.015/0.5989, allocations: 6.531 MB / 0.5987 GB, free: 11.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/0.5991, allocations: 385.9 kB / 0.5991 GB, free: 11.51 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02532/0.6245, allocations: 10.84 MB / 0.6097 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006963/0.6252, allocations: 73.7 kB / 0.6098 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2164/0.8416, allocations: 3.091 MB / 0.6128 GB, free: 135.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001314/0.8429, allocations: 0.7417 MB / 0.6135 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.8443, allocations: 0.5549 MB / 0.6141 GB, free: 134.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.8443, allocations: 305.4 kB / 0.6143 GB, free: 134.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.8472, allocations: 1.978 MB / 0.6163 GB, free: 133.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/0.8505, allocations: 2.768 MB / 0.619 GB, free: 132.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/0.8686, allocations: 9.428 MB / 0.6282 GB, free: 128.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/0.8686, allocations: 11.38 kB / 0.6282 GB, free: 128.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.009976/0.8786, allocations: 5.544 MB / 0.6336 GB, free: 125.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.8786, allocations: 12 kB / 0.6336 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/0.8787, allocations: 20 kB / 0.6336 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.8797, allocations: 462 kB / 0.6341 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.8821, allocations: 0.659 MB / 0.6347 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/0.8869, allocations: 4.87 MB / 0.6395 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.8906, allocations: 490.3 kB / 0.64 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000488/0.8911, allocations: 100 kB / 0.64 GB, free: 118.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.005528/0.8967, allocations: 3.95 MB / 0.6439 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/0.8989, allocations: 0.5278 MB / 0.6444 GB, free: 114.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008593/0.9075, allocations: 4.63 MB / 0.6489 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.9075, allocations: 20 kB / 0.649 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.9075, allocations: 0 / 0.649 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.9075, allocations: 11.95 kB / 0.649 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/0.9301, allocations: 14.04 MB / 0.6627 GB, free: 95.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.9301, allocations: 1.969 kB / 0.6627 GB, free: 95.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.932, allocations: 495.2 kB / 0.6632 GB, free: 95.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/0.9329, allocations: 415.1 kB / 0.6636 GB, free: 94.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003056/0.9332, allocations: 75.97 kB / 0.6636 GB, free: 94.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.9378, allocations: 4.596 MB / 0.6681 GB, free: 89.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9378, allocations: 3.938 kB / 0.6681 GB, free: 89.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.9485, allocations: 6.938 MB / 0.6749 GB, free: 82.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004167/0.9527, allocations: 1.81 MB / 0.6767 GB, free: 81.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/0.9549, allocations: 83.97 kB / 0.6767 GB, free: 81.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/0.9584, allocations: 251.6 kB / 0.677 GB, free: 80.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000603/0.959, allocations: 145.8 kB / 0.6771 GB, free: 80.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003068/0.9593, allocations: 51.98 kB / 0.6772 GB, free: 80.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01509/0.9744, allocations: 7.652 MB / 0.6846 GB, free: 72.99 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9744, allocations: 0 / 0.6846 GB, free: 72.99 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006054/0.9805, allocations: 1.3 MB / 0.6859 GB, free: 71.79 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.001771/0.9823, allocations: 498 kB / 0.6864 GB, free: 71.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006902/0.9892, allocations: 4.386 MB / 0.6907 GB, free: 66.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.9892, allocations: 6.156 kB / 0.6907 GB, free: 66.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00298/0.9922, allocations: 2.082 MB / 0.6927 GB, free: 64.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/1.002, allocations: 1.369 MB / 0.694 GB, free: 63.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03124/1.033, allocations: 16.5 MB / 0.7102 GB, free: 46.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007337/1.041, allocations: 5.662 MB / 0.7157 GB, free: 41.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/1.043, allocations: 299.4 kB / 0.716 GB, free: 40.94 MB / 478.1 MB Notification: Performance of SimCode: time 1.753e-06/1.043, allocations: 0 / 0.716 GB, free: 40.94 MB / 478.1 MB Notification: Performance of Templates: time 0.4199/1.463, allocations: 163.3 MB / 0.8754 GB, free: 141.4 MB / 0.5294 GB [Timeout remaining time 659] make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile [Timeout 660] (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) [Timeout 480]