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.005057/0.005057, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001194/0.001194, allocations: 197.1 kB / 16.68 MB, free: 5.926 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.339/1.339, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05204/0.05204, allocations: 7.038 MB / 276.9 MB, free: 14.12 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.001407/0.001407, allocations: 64.28 kB / 384.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2502, allocations: 48.1 MB / 432.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01062/0.2608, allocations: 10.65 MB / 443.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.2705, allocations: 5.795 MB / 449.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.2733, allocations: 57.06 kB / 449.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00454/0.2779, allocations: 1.476 MB / 450.9 MB, free: 11.41 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.002882/0.2808, allocations: 0.5846 MB / 451.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.2835, allocations: 1.219 MB / 452.7 MB, free: 10 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.01258/0.2961, allocations: 10.65 MB / 463.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.3063, allocations: 7.468 MB / 470.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.3109, allocations: 3.747 MB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004888/0.3158, allocations: 3.662 MB / 478.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002445/0.3182, allocations: 1.281 MB / 479.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.321, allocations: 1.32 MB / 480.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.3235, allocations: 2.529 MB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007277/0.3308, allocations: 4.681 MB / 488 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.3467, allocations: 17.51 MB / 0.4937 GB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3468, allocations: 0 / 0.4937 GB, free: 9.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3468, allocations: 0 / 0.4937 GB, free: 9.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003565/0.3471, allocations: 7.938 kB / 0.4937 GB, free: 9.645 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.02097/0.3681, allocations: 9.201 MB / 0.5027 GB, free: 360 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3682, allocations: 19.95 kB / 0.5027 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001951/0.3701, allocations: 0.7756 MB / 0.5034 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.372, allocations: 0.734 MB / 0.5042 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.3866, allocations: 8.491 MB / 0.5124 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.387, allocations: 356.9 kB / 0.5128 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.3885, allocations: 443.8 kB / 0.5132 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.4035, allocations: 7.618 MB / 0.5207 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.262e-05/0.4036, allocations: 15.78 kB / 0.5207 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005267/0.4041, allocations: 176 kB / 0.5208 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.4043, allocations: 152.2 kB / 0.521 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.4153, allocations: 6.532 MB / 0.5274 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04585/0.4612, allocations: 31.17 MB / 0.5578 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/0.4688, allocations: 8.36 MB / 0.566 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/0.4726, allocations: 2.484 MB / 0.5684 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.4727, allocations: 29.98 kB / 0.5684 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002922/0.4756, allocations: 2.172 MB / 0.5705 GB, free: 9.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 3.536e-06/0.4756, allocations: 0 / 0.5705 GB, free: 9.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=203): time 0.01214/0.4878, allocations: 6.509 MB / 0.5769 GB, free: 2.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.488, allocations: 393.9 kB / 0.5773 GB, free: 2.262 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.01995/0.5079, allocations: 10.87 MB / 0.5879 GB, free: 7.371 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006753/0.5087, allocations: 69.7 kB / 0.588 GB, free: 7.297 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004493/0.5132, allocations: 3.059 MB / 0.5909 GB, free: 4.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.5144, allocations: 0.7051 MB / 0.5916 GB, free: 3.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.5154, allocations: 0.5558 MB / 0.5922 GB, free: 2.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.5155, allocations: 301.1 kB / 0.5925 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/0.5184, allocations: 1.981 MB / 0.5944 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1911/0.7095, allocations: 2.764 MB / 0.5971 GB, free: 136.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02033/0.7299, allocations: 9.417 MB / 0.6063 GB, free: 134.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.7299, allocations: 6.141 kB / 0.6063 GB, free: 134.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01004/0.74, allocations: 5.533 MB / 0.6117 GB, free: 132.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.74, allocations: 12.44 kB / 0.6117 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.7401, allocations: 19.41 kB / 0.6117 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.7411, allocations: 462.9 kB / 0.6122 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.7436, allocations: 0.6564 MB / 0.6128 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004837/0.7485, allocations: 4.879 MB / 0.6176 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/0.752, allocations: 464.1 kB / 0.618 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/0.7524, allocations: 109.1 kB / 0.6181 GB, free: 129.3 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.005051/0.7575, allocations: 3.952 MB / 0.622 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/0.7591, allocations: 0.5089 MB / 0.6225 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006949/0.7661, allocations: 4.638 MB / 0.627 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.7661, allocations: 20 kB / 0.627 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7662, allocations: 0 / 0.627 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.7662, allocations: 11.97 kB / 0.627 GB, free: 125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/0.7869, allocations: 14.05 MB / 0.6408 GB, free: 110.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7869, allocations: 4.656 kB / 0.6408 GB, free: 110.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/0.7887, allocations: 491.2 kB / 0.6412 GB, free: 110.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000844/0.7896, allocations: 415 kB / 0.6416 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/0.7898, allocations: 87.95 kB / 0.6417 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.794, allocations: 4.589 MB / 0.6462 GB, free: 105.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.794, allocations: 0 / 0.6462 GB, free: 105.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0098/0.8038, allocations: 6.913 MB / 0.6529 GB, free: 98.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/0.8078, allocations: 1.782 MB / 0.6547 GB, free: 96.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/0.8093, allocations: 87.97 kB / 0.6548 GB, free: 96.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/0.8113, allocations: 247.6 kB / 0.655 GB, free: 96.24 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/0.8118, allocations: 149.8 kB / 0.6551 GB, free: 96.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.8119, allocations: 51.98 kB / 0.6552 GB, free: 96.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01196/0.8239, allocations: 7.648 MB / 0.6627 GB, free: 88.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.8239, allocations: 0 / 0.6627 GB, free: 88.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004614/0.8285, allocations: 1.294 MB / 0.6639 GB, free: 87.1 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.009696/0.8383, allocations: 7.882 MB / 0.6716 GB, free: 79.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005624/0.8439, allocations: 4.486 MB / 0.676 GB, free: 74.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.844, allocations: 4.5 kB / 0.676 GB, free: 74.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.8464, allocations: 2.155 MB / 0.6781 GB, free: 72.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/0.8524, allocations: 1.372 MB / 0.6795 GB, free: 71.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1297/0.9821, allocations: 81.17 MB / 0.7587 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007472/0.9896, allocations: 5.838 MB / 0.7644 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005857/0.9955, allocations: 2.455 MB / 0.7668 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005944/1.002, allocations: 2.522 MB / 0.7693 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/1.002, allocations: 3.938 kB / 0.7693 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/1.387, allocations: 154.8 MB / 0.9205 GB, free: 66.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/24.29, allocations: 7.891 kB / 0.9205 GB, free: 66.46 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)