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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.344/1.344, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04511/0.04511, allocations: 7.032 MB / 276.8 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.001542/0.001542, allocations: 60.75 kB / 336 MB, free: 26.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06572/0.06727, allocations: 48.11 MB / 384.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01221/0.0795, allocations: 10.65 MB / 394.7 MB, free: 96 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007988/0.08752, allocations: 5.791 MB / 400.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.08922, allocations: 55.88 kB / 400.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.09246, allocations: 1.477 MB / 402.1 MB, free: 8.738 MB / 302.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.002036/0.09451, allocations: 0.5889 MB / 402.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.09642, allocations: 1.21 MB / 403.9 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008823/0.1053, allocations: 10.59 MB / 414.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00783/0.1131, allocations: 7.482 MB / 421.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.117, allocations: 3.732 MB / 425.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1401/0.2571, allocations: 3.66 MB / 429.3 MB, free: 23.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003371/0.2605, allocations: 1.282 MB / 430.6 MB, free: 23.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.2641, allocations: 1.32 MB / 431.9 MB, free: 23.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.2675, allocations: 2.525 MB / 434.5 MB, free: 23.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007384/0.2749, allocations: 4.686 MB / 439.1 MB, free: 21.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.2863, allocations: 17.31 MB / 456.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2864, allocations: 0 / 456.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2864, allocations: 0 / 456.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000241/0.2866, allocations: 0 / 456.5 MB, free: 12.38 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.01585/0.3025, allocations: 9.207 MB / 465.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3025, allocations: 7.438 kB / 465.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.3038, allocations: 0.7803 MB / 466.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.3058, allocations: 0.7333 MB / 467.2 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.3187, allocations: 8.424 MB / 475.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.319, allocations: 357.2 kB / 476 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007769/0.3198, allocations: 439.8 kB / 476.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.3319, allocations: 7.618 MB / 484 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-05/0.332, allocations: 11.56 kB / 484 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005393/0.3326, allocations: 180 kB / 484.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.3327, allocations: 152.2 kB / 484.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.3432, allocations: 6.531 MB / 490.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04257/0.3858, allocations: 31.46 MB / 0.5101 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007587/0.3934, allocations: 8.359 MB / 0.5183 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/0.3971, allocations: 2.43 MB / 0.5206 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.3972, allocations: 21.2 kB / 0.5206 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002989/0.4002, allocations: 2.179 MB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=203): time 4.037e-06/0.4002, allocations: 0 / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01269/0.4129, allocations: 6.507 MB / 0.5291 GB, free: 10.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.4131, allocations: 385.8 kB / 0.5295 GB, free: 9.637 MB / 398.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.01867/0.4318, allocations: 10.86 MB / 0.5401 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004036/0.4322, allocations: 73.7 kB / 0.5402 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003753/0.436, allocations: 3.06 MB / 0.5432 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008831/0.4369, allocations: 0.7009 MB / 0.5438 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.4381, allocations: 0.5597 MB / 0.5444 GB, free: 10.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.4382, allocations: 305.1 kB / 0.5447 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.4411, allocations: 1.988 MB / 0.5466 GB, free: 8.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003722/0.4449, allocations: 2.756 MB / 0.5493 GB, free: 5.016 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01987/0.4647, allocations: 9.441 MB / 0.5585 GB, free: 11.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.4648, allocations: 4 kB / 0.5585 GB, free: 11.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01064/0.4755, allocations: 5.524 MB / 0.5639 GB, free: 5.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.4755, allocations: 12 kB / 0.5639 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.4756, allocations: 20 kB / 0.564 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.4768, allocations: 469 kB / 0.5644 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.4793, allocations: 0.6622 MB / 0.5651 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.4853, allocations: 4.885 MB / 0.5698 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/0.4888, allocations: 480.7 kB / 0.5703 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/0.4892, allocations: 104 kB / 0.5704 GB, free: 15.26 MB / 446.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.005894/0.4951, allocations: 3.946 MB / 0.5742 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001753/0.4969, allocations: 0.5014 MB / 0.5747 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008307/0.5052, allocations: 4.647 MB / 0.5793 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.5052, allocations: 23.94 kB / 0.5793 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5052, allocations: 0 / 0.5793 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.5052, allocations: 7.969 kB / 0.5793 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1635/0.6688, allocations: 14.1 MB / 0.5931 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.6688, allocations: 3.75 kB / 0.5931 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.6708, allocations: 486 kB / 0.5935 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.6718, allocations: 418.5 kB / 0.5939 GB, free: 148.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.672, allocations: 84.92 kB / 0.594 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.6771, allocations: 4.599 MB / 0.5985 GB, free: 146 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6771, allocations: 0 / 0.5985 GB, free: 146 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008755/0.6859, allocations: 6.906 MB / 0.6053 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/0.6889, allocations: 1.78 MB / 0.607 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/0.6898, allocations: 82.75 kB / 0.6071 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.6915, allocations: 258 kB / 0.6073 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/0.6919, allocations: 144.3 kB / 0.6075 GB, free: 142.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.692, allocations: 54.16 kB / 0.6075 GB, free: 142.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.009755/0.7018, allocations: 7.651 MB / 0.615 GB, free: 138.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7018, allocations: 0 / 0.615 GB, free: 138.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003101/0.7049, allocations: 1.295 MB / 0.6162 GB, free: 137.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.008772/0.7137, allocations: 7.884 MB / 0.6239 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0135/0.7272, allocations: 8.53 MB / 0.6323 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7272, allocations: 0 / 0.6323 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.7296, allocations: 2.151 MB / 0.6344 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/0.735, allocations: 1.363 MB / 0.6357 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1095/0.8446, allocations: 105.9 MB / 0.7391 GB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006194/0.8508, allocations: 5.836 MB / 0.7448 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00575/0.8566, allocations: 2.455 MB / 0.7472 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004915/0.8615, allocations: 2.522 MB / 0.7497 GB, free: 9.246 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.8615, allocations: 4 kB / 0.7497 GB, free: 9.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4507/1.312, allocations: 156.4 MB / 0.9024 GB, free: 37.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/17.3, allocations: 11.91 kB / 0.9024 GB, free: 37.07 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/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)