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.001085/0.001086, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001077/0.001077, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.126/1.126, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04031/0.04031, allocations: 7.027 MB / 277.5 MB, free: 5.039 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 72.38 kB / 336.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1728, allocations: 48.08 MB / 384.6 MB, free: 51.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.009151/0.182, allocations: 10.65 MB / 395.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.1883, allocations: 5.792 MB / 401.1 MB, free: 40.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.1891, allocations: 56.66 kB / 401.1 MB, free: 40.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.1914, allocations: 1.475 MB / 402.6 MB, free: 39.61 MB / 318.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.0009746/0.1924, allocations: 0.5892 MB / 403.2 MB, free: 39.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1936, allocations: 1.217 MB / 404.4 MB, free: 38.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006065/0.1997, allocations: 10.59 MB / 415 MB, free: 31.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/0.2047, allocations: 7.491 MB / 422.5 MB, free: 23.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.2071, allocations: 3.736 MB / 426.2 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.2091, allocations: 3.666 MB / 429.9 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.2102, allocations: 1.281 MB / 431.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.2114, allocations: 1.32 MB / 432.5 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.2126, allocations: 2.526 MB / 435 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.2156, allocations: 4.681 MB / 439.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.2261, allocations: 17.3 MB / 457 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2261, allocations: 4 kB / 457 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2261, allocations: 0 / 457 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.2263, allocations: 0 / 457 MB, free: 4.934 MB / 334.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.01357/0.2399, allocations: 9.205 MB / 466.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2399, allocations: 11.97 kB / 466.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.241, allocations: 0.7263 MB / 467 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009958/0.251, allocations: 8.413 MB / 475.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/0.2512, allocations: 356.8 kB / 475.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006325/0.2519, allocations: 444 kB / 476.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.2619, allocations: 7.574 MB / 483.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.441e-05/0.262, allocations: 11.94 kB / 483.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004422/0.2624, allocations: 176 kB / 483.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.2626, allocations: 156.1 kB / 484.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009002/0.2716, allocations: 6.516 MB / 490.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.3099, allocations: 31.42 MB / 0.5098 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006976/0.3169, allocations: 8.362 MB / 0.5179 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003222/0.3201, allocations: 2.421 MB / 0.5203 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/0.3202, allocations: 25.98 kB / 0.5203 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002654/0.3229, allocations: 2.168 MB / 0.5224 GB, free: 5.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 3.336e-06/0.3229, allocations: 0 / 0.5224 GB, free: 5.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.1365/0.4594, allocations: 6.511 MB / 0.5288 GB, free: 119.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.4595, allocations: 389.7 kB / 0.5292 GB, free: 119.4 MB / 414.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.01528/0.4748, allocations: 10.85 MB / 0.5398 GB, free: 116.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004886/0.4753, allocations: 78.48 kB / 0.5399 GB, free: 116.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002786/0.4781, allocations: 3.051 MB / 0.5428 GB, free: 114.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006968/0.4788, allocations: 0.7029 MB / 0.5435 GB, free: 114.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008242/0.4796, allocations: 0.5534 MB / 0.5441 GB, free: 114 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.4797, allocations: 301.1 kB / 0.5443 GB, free: 113.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.482, allocations: 1.988 MB / 0.5463 GB, free: 113 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.4845, allocations: 2.768 MB / 0.549 GB, free: 111.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/0.4988, allocations: 9.44 MB / 0.5582 GB, free: 106.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.4988, allocations: 8 kB / 0.5582 GB, free: 106.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.006811/0.5056, allocations: 5.533 MB / 0.5636 GB, free: 101.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5057, allocations: 12 kB / 0.5636 GB, free: 101.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5057, allocations: 19.94 kB / 0.5636 GB, free: 101 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008945/0.5066, allocations: 470.2 kB / 0.5641 GB, free: 100.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.5085, allocations: 0.6512 MB / 0.5647 GB, free: 99.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.5127, allocations: 4.876 MB / 0.5695 GB, free: 94.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.5149, allocations: 480.7 kB / 0.57 GB, free: 94.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.5151, allocations: 100 kB / 0.57 GB, free: 94.34 MB / 414.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.003568/0.5186, allocations: 3.938 MB / 0.5739 GB, free: 90.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/0.5192, allocations: 0.5052 MB / 0.5744 GB, free: 89.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/0.5245, allocations: 4.649 MB / 0.5789 GB, free: 85.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5245, allocations: 24.86 kB / 0.579 GB, free: 85.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5245, allocations: 96 / 0.579 GB, free: 85.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.5245, allocations: 11.95 kB / 0.579 GB, free: 85.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.5375, allocations: 14.09 MB / 0.5927 GB, free: 71.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.5375, allocations: 0.8125 kB / 0.5927 GB, free: 71.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.5392, allocations: 487.2 kB / 0.5932 GB, free: 70.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008015/0.54, allocations: 423.1 kB / 0.5936 GB, free: 70.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.5401, allocations: 79.97 kB / 0.5937 GB, free: 70.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/0.544, allocations: 4.596 MB / 0.5982 GB, free: 65.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.544, allocations: 10.11 kB / 0.5982 GB, free: 65.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006667/0.5507, allocations: 6.906 MB / 0.6049 GB, free: 58.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/0.5529, allocations: 1.779 MB / 0.6066 GB, free: 56.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006288/0.5535, allocations: 87.97 kB / 0.6067 GB, free: 56.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.5549, allocations: 243.6 kB / 0.607 GB, free: 56.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.5552, allocations: 145.8 kB / 0.6071 GB, free: 56.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.5554, allocations: 63.98 kB / 0.6072 GB, free: 56.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.007237/0.5626, allocations: 7.648 MB / 0.6146 GB, free: 48.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5626, allocations: 0 / 0.6146 GB, free: 48.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002173/0.5648, allocations: 1.285 MB / 0.6159 GB, free: 47.15 MB / 414.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.0008447/0.5656, allocations: 492.5 kB / 0.6164 GB, free: 46.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01154/0.5772, allocations: 8.525 MB / 0.6247 GB, free: 38.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5772, allocations: 4 kB / 0.6247 GB, free: 38.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002108/0.5793, allocations: 2.163 MB / 0.6268 GB, free: 36.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/0.5828, allocations: 1.363 MB / 0.6281 GB, free: 34.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.5982, allocations: 16.34 MB / 0.6441 GB, free: 18.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/0.6017, allocations: 5.658 MB / 0.6496 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.6029, allocations: 295.4 kB / 0.6499 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6029, allocations: 0 / 0.6499 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Templates: time 0.257/0.8599, allocations: 162.1 MB / 0.8082 GB, free: 38.56 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)