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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 207.6 MB / 231.4 MB, free: 3.188 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05604/0.05604, allocations: 7.134 MB / 290.6 MB, free: 8.09 MB / 238.1 MB " [Timeout remaining time 180] 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.002162/0.002162, allocations: 67.89 kB / 407.1 MB, free: 28 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3048, allocations: 50.69 MB / 457.8 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.02027/0.3251, allocations: 10.77 MB / 468.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.3432, allocations: 5.823 MB / 474.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004092/0.3473, allocations: 60.69 kB / 474.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007098/0.3544, allocations: 1.471 MB / 475.9 MB, free: 6.285 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.006254/0.3606, allocations: 0.6364 MB / 476.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005507/0.3661, allocations: 1.218 MB / 477.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02766/0.3938, allocations: 10.6 MB / 488.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.4043, allocations: 3.27 MB / 491.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007409/0.4117, allocations: 3.74 MB / 495.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008538/0.4202, allocations: 3.678 MB / 499 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003763/0.424, allocations: 1.281 MB / 0.4886 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.4276, allocations: 1.32 MB / 0.4899 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003374/0.431, allocations: 2.529 MB / 0.4924 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009534/0.4405, allocations: 4.681 MB / 0.4969 GB, free: 5.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02369/0.4642, allocations: 17.56 MB / 0.5141 GB, free: 3.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4642, allocations: 4 kB / 0.5141 GB, free: 3.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4642, allocations: 0 / 0.5141 GB, free: 3.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005022/0.4647, allocations: 0 / 0.5141 GB, free: 3.887 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.03059/0.4953, allocations: 9.426 MB / 0.5233 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/0.4954, allocations: 8.031 kB / 0.5233 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.5, allocations: 0.7733 MB / 0.524 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/0.5215, allocations: 8.519 MB / 0.5324 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006251/0.5222, allocations: 364.7 kB / 0.5327 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/0.5246, allocations: 432.1 kB / 0.5331 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.5466, allocations: 7.582 MB / 0.5405 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/0.5468, allocations: 7.938 kB / 0.5405 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.5485, allocations: 183.8 kB / 0.5407 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.5486, allocations: 156.1 kB / 0.5409 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.565, allocations: 6.508 MB / 0.5472 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06972/0.6347, allocations: 31.18 MB / 0.5777 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.646, allocations: 8.203 MB / 0.5857 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005315/0.6513, allocations: 2.39 MB / 0.588 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.6516, allocations: 29.97 kB / 0.588 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005247/0.6568, allocations: 2.168 MB / 0.5902 GB, free: 4.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 5.25e-06/0.6568, allocations: 0 / 0.5902 GB, free: 4.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=203): time 0.01843/0.6753, allocations: 6.527 MB / 0.5965 GB, free: 13.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003329/0.6756, allocations: 393.8 kB / 0.5969 GB, free: 13.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03124/0.7068, allocations: 10.83 MB / 0.6075 GB, free: 2.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008906/0.7077, allocations: 77.7 kB / 0.6076 GB, free: 2.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3068/1.015, allocations: 3.095 MB / 0.6106 GB, free: 135.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001516/1.016, allocations: 0.7308 MB / 0.6113 GB, free: 135 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/1.017, allocations: 0.56 MB / 0.6118 GB, free: 135 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.55e-05/1.018, allocations: 301.8 kB / 0.6121 GB, free: 134.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.021, allocations: 1.981 MB / 0.6141 GB, free: 134.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/1.025, allocations: 2.771 MB / 0.6168 GB, free: 133.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02248/1.048, allocations: 9.43 MB / 0.626 GB, free: 129.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.048, allocations: 6.375 kB / 0.626 GB, free: 129.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01114/1.059, allocations: 5.544 MB / 0.6314 GB, free: 127.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.059, allocations: 16 kB / 0.6314 GB, free: 127.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/1.059, allocations: 16 kB / 0.6314 GB, free: 127 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.06, allocations: 465.8 kB / 0.6319 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.062, allocations: 0.6521 MB / 0.6325 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/1.067, allocations: 4.891 MB / 0.6373 GB, free: 120.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004681/1.072, allocations: 479.1 kB / 0.6377 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000615/1.072, allocations: 104 kB / 0.6378 GB, free: 120.4 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.006587/1.079, allocations: 3.945 MB / 0.6417 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002465/1.081, allocations: 0.5317 MB / 0.6422 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008707/1.09, allocations: 4.635 MB / 0.6467 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.09, allocations: 20 kB / 0.6468 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.09, allocations: 0 / 0.6468 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/1.09, allocations: 7.969 kB / 0.6468 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0253/1.115, allocations: 14.05 MB / 0.6605 GB, free: 97.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.115, allocations: 0 / 0.6605 GB, free: 97.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.117, allocations: 487.2 kB / 0.661 GB, free: 96.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009587/1.118, allocations: 419.1 kB / 0.6614 GB, free: 96.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/1.119, allocations: 87.95 kB / 0.6614 GB, free: 96.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004595/1.123, allocations: 4.59 MB / 0.6659 GB, free: 91.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.123, allocations: 8 kB / 0.6659 GB, free: 91.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009644/1.133, allocations: 6.931 MB / 0.6727 GB, free: 84.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003797/1.137, allocations: 1.812 MB / 0.6745 GB, free: 82.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.139, allocations: 79.98 kB / 0.6745 GB, free: 82.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/1.142, allocations: 247.6 kB / 0.6748 GB, free: 82.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/1.142, allocations: 153.8 kB / 0.6749 GB, free: 82.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.142, allocations: 55.98 kB / 0.675 GB, free: 82.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01376/1.156, allocations: 7.655 MB / 0.6824 GB, free: 74.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.156, allocations: 0 / 0.6824 GB, free: 74.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005842/1.162, allocations: 1.288 MB / 0.6837 GB, free: 73.38 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.001697/1.164, allocations: 486.1 kB / 0.6842 GB, free: 72.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00645/1.17, allocations: 4.394 MB / 0.6885 GB, free: 68.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.17, allocations: 4 kB / 0.6885 GB, free: 68.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/1.173, allocations: 2.09 MB / 0.6905 GB, free: 66.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/1.183, allocations: 1.361 MB / 0.6918 GB, free: 65.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0371/1.22, allocations: 16.8 MB / 0.7082 GB, free: 48.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/1.23, allocations: 5.833 MB / 0.7139 GB, free: 42.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007225/1.238, allocations: 2.459 MB / 0.7163 GB, free: 39.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/1.24, allocations: 279.4 kB / 0.7166 GB, free: 39.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.884e-06/1.24, allocations: 0 / 0.7166 GB, free: 39.61 MB / 478.1 MB Notification: Performance of Templates: time 0.1354/1.376, allocations: 82.58 MB / 0.7972 GB, free: 4.977 MB / 0.5137 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] [Calling os._exit(0), Time elapsed: 7.493033950217068]