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.0008609/0.000861, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001019/0.001019, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05588/0.05588, allocations: 7.035 MB / 277.4 MB, free: 14.25 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005187, allocations: 15.98 kB / 337 MB, free: 27.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09653, allocations: 49.06 MB / 386 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01081/0.1074, allocations: 9.247 MB / 395.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008424/0.1158, allocations: 4.761 MB / 400 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.1177, allocations: 63.81 kB / 400.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.12, allocations: 0.956 MB / 401.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1215, allocations: 420.8 kB / 401.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.123, allocations: 0.5306 MB / 402 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00838/0.1314, allocations: 7.964 MB / 410 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007063/0.1385, allocations: 5.004 MB / 415 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.1412, allocations: 1.936 MB / 416.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.1439, allocations: 2.278 MB / 419.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005818/0.1445, allocations: 328 kB / 419.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008082/0.1453, allocations: 356 kB / 419.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.1463, allocations: 1.276 MB / 421.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.1481, allocations: 1.588 MB / 422.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2535/0.4016, allocations: 14.87 MB / 437.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.4017, allocations: 0 / 437.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.4017, allocations: 1.25 kB / 437.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000949/0.4027, allocations: 0 / 437.6 MB, free: 20.28 MB / 318.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.02913/0.4318, allocations: 7.528 MB / 445.1 MB, free: 16.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.4319, allocations: 9.156 kB / 445.1 MB, free: 16.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005998/0.4379, allocations: 0.7308 MB / 445.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02233/0.4602, allocations: 8.2 MB / 454.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005571/0.4609, allocations: 357.4 kB / 454.4 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/0.4655, allocations: 434.7 kB / 454.8 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.4948, allocations: 7.537 MB / 462.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.495, allocations: 7.188 kB / 462.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002207/0.4972, allocations: 177.2 kB / 462.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.4974, allocations: 161.8 kB / 462.7 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.5146, allocations: 6.474 MB / 469.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07514/0.5898, allocations: 31.51 MB / 0.489 GB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.6031, allocations: 8.371 MB / 0.4971 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005708/0.6088, allocations: 2.439 MB / 0.4995 GB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.6091, allocations: 32.64 kB / 0.4995 GB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005118/0.6142, allocations: 2.177 MB / 0.5017 GB, free: 5.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=203): time 6.903e-06/0.6143, allocations: 0 / 0.5017 GB, free: 5.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=203): time 0.01814/0.6324, allocations: 6.552 MB / 0.5081 GB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/0.6327, allocations: 389.8 kB / 0.5084 GB, free: 14.63 MB / 382.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.025/0.6577, allocations: 10.82 MB / 0.519 GB, free: 3.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000975/0.6587, allocations: 77.69 kB / 0.5191 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006094/0.6648, allocations: 3.049 MB / 0.5221 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00216/0.667, allocations: 0.702 MB / 0.5227 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008033/0.6678, allocations: 52 kB / 0.5228 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003662/0.6682, allocations: 427.2 kB / 0.5232 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003844/0.6721, allocations: 1.977 MB / 0.5251 GB, free: 13.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.6762, allocations: 2.771 MB / 0.5278 GB, free: 10.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/0.6799, allocations: 2.437 MB / 0.5302 GB, free: 8.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.68, allocations: 8 kB / 0.5302 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01144/0.6914, allocations: 5.56 MB / 0.5357 GB, free: 2.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.6915, allocations: 12 kB / 0.5357 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.6915, allocations: 16 kB / 0.5357 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.6927, allocations: 0.5071 MB / 0.5362 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.6953, allocations: 0.651 MB / 0.5368 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005879/0.7012, allocations: 4.657 MB / 0.5414 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/0.7056, allocations: 492.6 kB / 0.5418 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.7061, allocations: 104 kB / 0.5419 GB, free: 12.05 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 ($whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,$PRE.cycler.cycling.edge1.u,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.y,$PRE.cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.not_u,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 27} Notification: Performance of prepare postOptimizeDAE: time 0.008469/0.7146, allocations: 3.93 MB / 0.5458 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002319/0.7169, allocations: 0.5091 MB / 0.5463 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.727, allocations: 4.682 MB / 0.5508 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.727, allocations: 20 kB / 0.5509 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.7271, allocations: 0 / 0.5509 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.98e-05/0.7271, allocations: 17.22 kB / 0.5509 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03978/0.7669, allocations: 14.15 MB / 0.5647 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.7669, allocations: 0 / 0.5647 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.7693, allocations: 493.4 kB / 0.5652 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.7705, allocations: 450.1 kB / 0.5656 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/0.7708, allocations: 83.97 kB / 0.5657 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/0.7766, allocations: 4.401 MB / 0.57 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7767, allocations: 0 / 0.57 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.7895, allocations: 6.944 MB / 0.5767 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004653/0.7942, allocations: 1.795 MB / 0.5785 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003167/0.7974, allocations: 79.98 kB / 0.5786 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003707/0.8011, allocations: 267.6 kB / 0.5788 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/0.8016, allocations: 149.8 kB / 0.579 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/0.8018, allocations: 57.84 kB / 0.579 GB, free: 5.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2606/1.062, allocations: 7.612 MB / 0.5865 GB, free: 150.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.092e-06/1.062, allocations: 0 / 0.5865 GB, free: 150.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007415/1.07, allocations: 1.278 MB / 0.5877 GB, free: 150.6 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/1.071, allocations: 486.3 kB / 0.5882 GB, free: 150.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007163/1.079, allocations: 4.472 MB / 0.5925 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.079, allocations: 1.188 kB / 0.5925 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003708/1.082, allocations: 2.149 MB / 0.5946 GB, free: 148.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009304/1.092, allocations: 1.306 MB / 0.5959 GB, free: 148.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/1.12, allocations: 18.16 MB / 0.6136 GB, free: 138.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006342/1.126, allocations: 5.822 MB / 0.6193 GB, free: 132.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006111/1.133, allocations: 2.424 MB / 0.6217 GB, free: 130.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.134, allocations: 275.4 kB / 0.622 GB, free: 130 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/1.134, allocations: 0 / 0.622 GB, free: 130 MB / 446.1 MB Notification: Performance of Templates: time 0.1111/1.245, allocations: 79.15 MB / 0.6993 GB, free: 50.71 MB / 446.1 MB make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: