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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/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) Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 178.2 kB / 15.44 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.06877/0.06877, allocations: 7.04 MB / 23.23 MB, free: 4.891 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 230.9 MB, free: 13.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.7 kB / 280.7 MB, free: 11.64 MB / 238.1 MB 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: 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: Performance of FrontEnd - loaded program: time 0.0006035/0.0006036, allocations: 24.2 kB / 340.6 MB, free: 26.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1195, allocations: 49.06 MB / 389.7 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01203/0.1316, allocations: 9.915 MB / 399.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009017/0.1407, allocations: 5.087 MB / 404.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.1434, allocations: 59.81 kB / 404.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.1473, allocations: 1.151 MB / 405.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.1507, allocations: 484.8 kB / 406.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.154, allocations: 1.12 MB / 407.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01823/0.1722, allocations: 9.625 MB / 417.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.1853, allocations: 6.935 MB / 424.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.1896, allocations: 2.037 MB / 426.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004915/0.1946, allocations: 2.397 MB / 428.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001718/0.1963, allocations: 328 kB / 428.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.1986, allocations: 356 kB / 429.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002318/0.2009, allocations: 1.311 MB / 430.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2641/0.465, allocations: 3.37 MB / 433.8 MB, free: 20.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.022/0.4871, allocations: 16.14 MB / 450 MB, free: 15.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4871, allocations: 1.188 kB / 450 MB, free: 15.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4872, allocations: 0 / 450 MB, free: 15.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0006698/0.4878, allocations: 0 / 450 MB, free: 15.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.02887/0.5167, allocations: 7.452 MB / 457.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.5168, allocations: 10.66 kB / 457.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004916/0.5217, allocations: 0.7835 MB / 458.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.5269, allocations: 0.7368 MB / 459 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/0.5481, allocations: 8.421 MB / 467.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003715/0.5485, allocations: 359.9 kB / 467.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/0.5513, allocations: 438.2 kB / 468.2 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.5747, allocations: 7.607 MB / 475.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.5749, allocations: 7.375 kB / 475.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002934/0.5778, allocations: 181.2 kB / 476 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.578, allocations: 159.5 kB / 476.1 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.5977, allocations: 6.528 MB / 482.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08047/0.6783, allocations: 31.56 MB / 0.5021 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.6915, allocations: 8.384 MB / 0.5103 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004992/0.6965, allocations: 2.441 MB / 0.5127 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.6968, allocations: 25.44 kB / 0.5127 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004148/0.7009, allocations: 2.183 MB / 0.5149 GB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=203): time 5.851e-06/0.7009, allocations: 3.938 kB / 0.5149 GB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01596/0.7169, allocations: 6.616 MB / 0.5213 GB, free: 5.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/0.7172, allocations: 385.8 kB / 0.5217 GB, free: 5.281 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.03099/0.7482, allocations: 10.86 MB / 0.5323 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001122/0.7494, allocations: 73.7 kB / 0.5324 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006291/0.7557, allocations: 3.06 MB / 0.5354 GB, free: 7.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001898/0.7576, allocations: 0.7119 MB / 0.5361 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.7589, allocations: 282.9 kB / 0.5363 GB, free: 6.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.7592, allocations: 305.1 kB / 0.5366 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004392/0.7636, allocations: 1.984 MB / 0.5386 GB, free: 3.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005387/0.769, allocations: 2.782 MB / 0.5413 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0267/0.7957, allocations: 9.566 MB / 0.5506 GB, free: 7.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-05/0.7959, allocations: 4 kB / 0.5506 GB, free: 7.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0158/0.8117, allocations: 5.574 MB / 0.5561 GB, free: 1.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.8118, allocations: 16 kB / 0.5561 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/0.8118, allocations: 16 kB / 0.5561 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.8132, allocations: 0.4936 MB / 0.5566 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/0.8163, allocations: 0.664 MB / 0.5572 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006721/0.823, allocations: 4.652 MB / 0.5618 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006522/0.8296, allocations: 492.7 kB / 0.5622 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.8308, allocations: 104 kB / 0.5623 GB, free: 11.17 MB / 430.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.01151/0.8423, allocations: 3.945 MB / 0.5662 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003932/0.8462, allocations: 0.5052 MB / 0.5667 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.8594, allocations: 4.689 MB / 0.5713 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.8594, allocations: 20 kB / 0.5713 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.8595, allocations: 3.984 kB / 0.5713 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/0.8595, allocations: 11.91 kB / 0.5713 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03866/0.8982, allocations: 14.17 MB / 0.5851 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.8982, allocations: 4 kB / 0.5851 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/0.9006, allocations: 484.6 kB / 0.5856 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.9018, allocations: 461 kB / 0.586 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004463/0.9023, allocations: 83.91 kB / 0.5861 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2619/1.164, allocations: 4.392 MB / 0.5904 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.164, allocations: 0 / 0.5904 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/1.186, allocations: 6.961 MB / 0.5972 GB, free: 151.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00772/1.193, allocations: 1.793 MB / 0.599 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004897/1.198, allocations: 91.06 kB / 0.599 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006292/1.205, allocations: 262.2 kB / 0.5993 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/1.206, allocations: 146 kB / 0.5994 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006342/1.207, allocations: 54.11 kB / 0.5995 GB, free: 151.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.03087/1.237, allocations: 7.653 MB / 0.607 GB, free: 148.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.71e-07/1.238, allocations: 0 / 0.607 GB, free: 148.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01166/1.249, allocations: 1.295 MB / 0.6082 GB, free: 147.5 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 (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.01857/1.268, allocations: 7.928 MB / 0.616 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008298/1.276, allocations: 4.481 MB / 0.6203 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/1.276, allocations: 4 kB / 0.6203 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004071/1.28, allocations: 2.159 MB / 0.6225 GB, free: 134.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01413/1.294, allocations: 1.3 MB / 0.6237 GB, free: 133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4991/1.794, allocations: 107.7 MB / 0.7289 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/1.804, allocations: 5.834 MB / 0.7346 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007999/1.812, allocations: 2.424 MB / 0.737 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009238/1.821, allocations: 2.518 MB / 0.7394 GB, free: 6.508 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/1.821, allocations: 0 / 0.7394 GB, free: 6.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.478/2.299, allocations: 150.7 MB / 0.8866 GB, free: 52.73 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/2.3, allocations: 289.6 kB / 0.8869 GB, free: 52.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.736/8.036, allocations: 0 / 0.8869 GB, free: 52.34 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmu --startTime=0 --stopTime=20000 --timeout=50 --tolerance=1e-06 ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1)