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.001476/0.001476, allocations: 112.6 kB / 16.37 MB, free: 6 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.001614/0.001614, allocations: 196 kB / 17.31 MB, free: 5.613 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.278/1.278, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04542/0.04542, allocations: 7.034 MB / 277.6 MB, free: 4.984 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.001456/0.001456, allocations: 63.91 kB / 337.3 MB, free: 9.145 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2139, allocations: 48.08 MB / 385.4 MB, free: 52.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01/0.224, allocations: 10.64 MB / 396.1 MB, free: 44.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.2318, allocations: 5.804 MB / 401.9 MB, free: 40.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.2337, allocations: 60.75 kB / 401.9 MB, free: 40.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.237, allocations: 1.474 MB / 403.4 MB, free: 40.04 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.001813/0.2389, allocations: 0.5891 MB / 404 MB, free: 39.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.2406, allocations: 1.208 MB / 405.2 MB, free: 38.41 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[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[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[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.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/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, 3, 1)) as default value. Notification: Performance of NFFlatten.flatten: time 0.008688/0.2493, allocations: 10.66 MB / 415.9 MB, free: 30.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005995/0.2553, allocations: 7.488 MB / 423.4 MB, free: 23.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.2584, allocations: 3.74 MB / 427.1 MB, free: 19.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.2617, allocations: 3.666 MB / 430.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001575/0.2633, allocations: 1.281 MB / 432 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.265, allocations: 1.324 MB / 433.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.2665, allocations: 2.529 MB / 435.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005212/0.2717, allocations: 4.685 MB / 440.6 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.2855, allocations: 17.49 MB / 458.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2855, allocations: 0 / 458.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2855, allocations: 0 / 458.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003099/0.2859, allocations: 0 / 458.1 MB, free: 4.516 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.02233/0.3082, allocations: 9.213 MB / 467.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3083, allocations: 12.03 kB / 467.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.3101, allocations: 0.7263 MB / 468 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.3245, allocations: 8.483 MB / 476.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.3248, allocations: 352.8 kB / 476.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.326, allocations: 444 kB / 477.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.3416, allocations: 7.578 MB / 484.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.3417, allocations: 7.938 kB / 484.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.3428, allocations: 176 kB / 485 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.3429, allocations: 156.1 kB / 485.2 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.3553, allocations: 6.512 MB / 491.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04886/0.4042, allocations: 31.13 MB / 0.5106 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009022/0.4132, allocations: 8.359 MB / 0.5187 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004068/0.4173, allocations: 2.425 MB / 0.5211 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.4176, allocations: 25.98 kB / 0.5211 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003594/0.4212, allocations: 2.168 MB / 0.5233 GB, free: 5.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 4.548e-06/0.4212, allocations: 0 / 0.5233 GB, free: 5.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.162/0.5832, allocations: 6.509 MB / 0.5296 GB, free: 120.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5834, allocations: 393.1 kB / 0.53 GB, free: 119.9 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.0208/0.6042, allocations: 10.85 MB / 0.5406 GB, free: 116.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006768/0.6049, allocations: 79 kB / 0.5407 GB, free: 116.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003889/0.6088, allocations: 3.048 MB / 0.5436 GB, free: 115.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/0.6097, allocations: 0.7043 MB / 0.5443 GB, free: 114.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009173/0.6107, allocations: 0.555 MB / 0.5449 GB, free: 114.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.6107, allocations: 308.7 kB / 0.5452 GB, free: 114.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.6133, allocations: 1.979 MB / 0.5471 GB, free: 113.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/0.6159, allocations: 2.776 MB / 0.5498 GB, free: 111.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/0.6318, allocations: 9.413 MB / 0.559 GB, free: 106.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.6318, allocations: 8 kB / 0.559 GB, free: 106.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.008066/0.6399, allocations: 5.521 MB / 0.5644 GB, free: 100.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.6399, allocations: 16.22 kB / 0.5644 GB, free: 100.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.64, allocations: 27.92 kB / 0.5644 GB, free: 100.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009725/0.6409, allocations: 470.1 kB / 0.5649 GB, free: 100.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.643, allocations: 0.6583 MB / 0.5655 GB, free: 99.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/0.6479, allocations: 4.87 MB / 0.5703 GB, free: 94.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.6511, allocations: 476.7 kB / 0.5707 GB, free: 94.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.6514, allocations: 100 kB / 0.5708 GB, free: 94.04 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.004744/0.6561, allocations: 3.942 MB / 0.5747 GB, free: 90.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/0.6577, allocations: 0.5052 MB / 0.5752 GB, free: 89.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007216/0.6649, allocations: 4.637 MB / 0.5797 GB, free: 84.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.665, allocations: 20 kB / 0.5797 GB, free: 84.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.665, allocations: 0 / 0.5797 GB, free: 84.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.665, allocations: 11.95 kB / 0.5797 GB, free: 84.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/0.6864, allocations: 14.04 MB / 0.5934 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6864, allocations: 0 / 0.5934 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.6883, allocations: 495.2 kB / 0.5939 GB, free: 70.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008769/0.6891, allocations: 416.1 kB / 0.5943 GB, free: 69.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002093/0.6894, allocations: 83.95 kB / 0.5944 GB, free: 69.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/0.6937, allocations: 4.595 MB / 0.5989 GB, free: 65.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6938, allocations: 4 kB / 0.5989 GB, free: 65.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/0.7021, allocations: 6.904 MB / 0.6056 GB, free: 58.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004581/0.7067, allocations: 1.787 MB / 0.6074 GB, free: 56.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/0.7083, allocations: 83.97 kB / 0.6074 GB, free: 56.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/0.7108, allocations: 246.8 kB / 0.6077 GB, free: 56.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003902/0.7112, allocations: 153.8 kB / 0.6078 GB, free: 55.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.7113, allocations: 51.98 kB / 0.6079 GB, free: 55.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.01127/0.7226, allocations: 7.656 MB / 0.6154 GB, free: 48.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7226, allocations: 0 / 0.6154 GB, free: 48.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00409/0.7267, allocations: 1.277 MB / 0.6166 GB, free: 46.9 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.001153/0.7279, allocations: 0.492 MB / 0.6171 GB, free: 46.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005744/0.7336, allocations: 4.479 MB / 0.6215 GB, free: 41.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7337, allocations: 4 kB / 0.6215 GB, free: 41.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.7362, allocations: 2.164 MB / 0.6236 GB, free: 39.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006053/0.7423, allocations: 1.359 MB / 0.6249 GB, free: 38.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/0.7651, allocations: 16.48 MB / 0.641 GB, free: 21.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00558/0.7707, allocations: 5.833 MB / 0.6467 GB, free: 16.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00464/0.7754, allocations: 2.451 MB / 0.6491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.7766, allocations: 275.4 kB / 0.6494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7766, allocations: 4 kB / 0.6494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Templates: time 0.2665/1.043, allocations: 79.54 MB / 0.727 GB, free: 124.4 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 -s gbode -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1)