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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005257/0.005257, allocations: 98.42 kB / 15.73 MB, free: 6.496 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.001438/0.001438, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.288/1.288, allocations: 205.1 MB / 222.6 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04795/0.04795, allocations: 7.027 MB / 276.9 MB, free: 14.14 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.002416/0.002416, allocations: 71.89 kB / 384.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2232, allocations: 48.11 MB / 432.9 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.009622/0.2329, allocations: 10.64 MB / 443.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00884/0.2418, allocations: 5.789 MB / 449.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.2431, allocations: 57.09 kB / 449.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.2462, allocations: 1.483 MB / 450.9 MB, free: 11.39 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2478, allocations: 0.5805 MB / 451.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.2497, allocations: 1.225 MB / 452.7 MB, free: 9.973 MB / 334.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.01058/0.2603, allocations: 10.65 MB / 463.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008684/0.269, allocations: 7.475 MB / 470.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.2736, allocations: 3.736 MB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.2782, allocations: 3.662 MB / 478.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00206/0.2802, allocations: 1.281 MB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2824, allocations: 1.32 MB / 480.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002461/0.2849, allocations: 2.529 MB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005975/0.2909, allocations: 4.685 MB / 488 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.3088, allocations: 17.55 MB / 0.4937 GB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3089, allocations: 0 / 0.4937 GB, free: 9.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3089, allocations: 4 kB / 0.4937 GB, free: 9.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003456/0.3092, allocations: 0 / 0.4937 GB, free: 9.602 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1082 * Number of variables: 1082 Notification: Performance of Generate backend data structure: time 0.01933/0.3286, allocations: 9.43 MB / 0.5029 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3286, allocations: 8.031 kB / 0.5029 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001408/0.33, allocations: 0.7757 MB / 0.5037 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.3316, allocations: 0.7695 MB / 0.5044 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.3442, allocations: 8.539 MB / 0.5128 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.3445, allocations: 364.8 kB / 0.5131 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008055/0.3453, allocations: 439.9 kB / 0.5136 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01238/0.3577, allocations: 7.614 MB / 0.521 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/0.3578, allocations: 7.938 kB / 0.521 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/0.3584, allocations: 176 kB / 0.5212 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.3585, allocations: 160.2 kB / 0.5213 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.3698, allocations: 6.528 MB / 0.5277 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/0.4169, allocations: 31.22 MB / 0.5582 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00865/0.4256, allocations: 8.356 MB / 0.5663 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.4294, allocations: 2.488 MB / 0.5688 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.4296, allocations: 29.92 kB / 0.5688 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003081/0.4327, allocations: 2.168 MB / 0.5709 GB, free: 8.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 3.346e-06/0.4327, allocations: 0 / 0.5709 GB, free: 8.902 MB / 462.1 MB Notification: Performance of matching and sorting (n=203): time 0.01296/0.4456, allocations: 6.539 MB / 0.5773 GB, free: 2.328 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.4459, allocations: 397.9 kB / 0.5777 GB, free: 1.855 MB / 462.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.01613/0.462, allocations: 10.86 MB / 0.5883 GB, free: 6.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.4625, allocations: 77.69 kB / 0.5884 GB, free: 6.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003618/0.4661, allocations: 3.103 MB / 0.5914 GB, free: 3.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009065/0.467, allocations: 0.7362 MB / 0.5921 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.468, allocations: 0.556 MB / 0.5927 GB, free: 2.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4682, allocations: 301.1 kB / 0.5929 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/0.4712, allocations: 1.981 MB / 0.5949 GB, free: 196 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1622/0.6334, allocations: 2.771 MB / 0.5976 GB, free: 136.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0176/0.6511, allocations: 9.412 MB / 0.6068 GB, free: 133.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.6511, allocations: 6.281 kB / 0.6068 GB, free: 133.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.008485/0.6596, allocations: 5.556 MB / 0.6122 GB, free: 132.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.6596, allocations: 15.47 kB / 0.6122 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.6597, allocations: 17.19 kB / 0.6122 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6607, allocations: 462.8 kB / 0.6127 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.6628, allocations: 0.6576 MB / 0.6133 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.6673, allocations: 4.88 MB / 0.6181 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.6698, allocations: 483.6 kB / 0.6185 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.67, allocations: 101.4 kB / 0.6186 GB, free: 129.1 MB / 478.1 MB Warning: Assuming fixed start value for the following 3 variables: batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" fixed = true ) type: Real [3,1,1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.cycler.chargingFinished.fallingEdge.not_u,$PRE.cycler.cycling.edge1.u,$PRE.cycler.cycling.BeforeChargingDelay.timer.entryTime,$PRE.cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.AfterChargingDelay.timer.entryTime,$PRE.cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,$PRE.cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.cycling.or1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.edge1.y,cycler.cycling.edge1.u,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.u,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.u,cycler.cycling.lessVinMin.y,cycler.cycling.rSFlipFlop.pre.u,cycler.Charging,cycler.Discharging,$whenCondition1,$whenCondition2,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,charger.controlledCurrent.limitedController.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of prepare postOptimizeDAE: time 0.003953/0.674, allocations: 3.944 MB / 0.6225 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000832/0.6748, allocations: 0.5342 MB / 0.623 GB, free: 127.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/0.6806, allocations: 4.644 MB / 0.6275 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6806, allocations: 27.52 kB / 0.6276 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.6806, allocations: 3.938 kB / 0.6276 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.6806, allocations: 7.969 kB / 0.6276 GB, free: 124.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.6942, allocations: 14.05 MB / 0.6413 GB, free: 110.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6942, allocations: 9.969 kB / 0.6413 GB, free: 110.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.6959, allocations: 487.2 kB / 0.6418 GB, free: 109.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008574/0.6968, allocations: 415 kB / 0.6422 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.697, allocations: 83.95 kB / 0.6423 GB, free: 109.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.7009, allocations: 4.605 MB / 0.6468 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7009, allocations: 0 / 0.6468 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007265/0.7082, allocations: 6.938 MB / 0.6535 GB, free: 97.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/0.7106, allocations: 1.81 MB / 0.6553 GB, free: 95.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007094/0.7113, allocations: 79.97 kB / 0.6554 GB, free: 95.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.7128, allocations: 251.6 kB / 0.6556 GB, free: 95.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/0.7131, allocations: 145.8 kB / 0.6558 GB, free: 95.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.7133, allocations: 55.98 kB / 0.6558 GB, free: 95.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008824/0.7221, allocations: 7.648 MB / 0.6633 GB, free: 87.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.7221, allocations: 0 / 0.6633 GB, free: 87.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003423/0.7255, allocations: 1.313 MB / 0.6646 GB, free: 86.43 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (charger.controlledCurrent.limitedController.limIntegrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.absInt.y,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.y) * Number of discrete variables: 23 (cycler.cycling.AfterChargingDelay.u,cycler.cycling.BeforeChargingDelay.u,$whenCondition2,$whenCondition1,cycler.Discharging,cycler.Charging,cycler.cycling.rSFlipFlop.pre.u,cycler.cycling.lessVinMin.y,cycler.cycling.AfterChargingDelay.rSFlipFlop.QI,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.timer.entryTime,cycler.cycling.AfterChargingDelay.greaterThreshold.y,cycler.cycling.BeforeChargingDelay.rSFlipFlop.QI,cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.BeforeChargingDelay.timer.entryTime,cycler.cycling.BeforeChargingDelay.greaterThreshold.y,cycler.cycling.edge1.u,cycler.cycling.edge1.y,cycler.cycling.greaterThreshold.y,cycler.cycling.or1.y,cycler.chargingFinished.GraterEqualVmax.y,cycler.chargingFinished.fallingEdge.y,cycler.chargingFinished.fallingEdge.not_u) * Number of discrete states: 5 (cycler.cycling.BeforeChargingDelay.rSFlipFlop.pre.u,cycler.cycling.AfterChargingDelay.rSFlipFlop.pre.u,cycler.cycling.rSFlipFlop.pre.u,cycler.chargingFinished.fallingEdge.not_u,cycler.cycling.edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008947/0.7345, allocations: 7.894 MB / 0.6723 GB, free: 78.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005097/0.7396, allocations: 4.495 MB / 0.6767 GB, free: 74.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.7396, allocations: 4.062 kB / 0.6767 GB, free: 74.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.7419, allocations: 2.159 MB / 0.6788 GB, free: 71.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/0.7464, allocations: 1.368 MB / 0.6801 GB, free: 70.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0922/0.8386, allocations: 81.44 MB / 0.7596 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006543/0.8452, allocations: 5.838 MB / 0.7653 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005127/0.8503, allocations: 2.459 MB / 0.7677 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004168/0.8545, allocations: 2.518 MB / 0.7702 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.8545, allocations: 0 / 0.7702 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.11/2.964, allocations: 154.5 MB / 0.9211 GB, free: 65.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.72/27.68, allocations: 15.86 kB / 0.9211 GB, free: 65.76 MB / 0.5137 GB (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/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)