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.001017/0.001017, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005756/0.005756, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.356/1.356, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.04778/0.04778, allocations: 7.031 MB / 277.8 MB, free: 14.18 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.0005494/0.0005494, allocations: 20.16 kB / 337.7 MB, free: 27.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.08005, allocations: 49.07 MB / 386.7 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01011/0.09021, allocations: 9.904 MB / 396.7 MB, free: 12 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007344/0.09759, allocations: 5.099 MB / 401.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.09935, allocations: 55.88 kB / 401.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.1021, allocations: 1.147 MB / 403 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1039, allocations: 484.8 kB / 403.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1056, allocations: 1.124 MB / 404.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009212/0.1148, allocations: 9.623 MB / 414.2 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007563/0.1224, allocations: 6.931 MB / 421.1 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.125, allocations: 2.048 MB / 423.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.1279, allocations: 2.397 MB / 425.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006682/0.1286, allocations: 332 kB / 425.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.1294, allocations: 356 kB / 426.2 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009074/0.1303, allocations: 1.315 MB / 427.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1541/0.2843, allocations: 3.362 MB / 430.9 MB, free: 20.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.2965, allocations: 16.14 MB / 447 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2966, allocations: 3.938 kB / 447 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2966, allocations: 0 / 447 MB, free: 15.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000272/0.2968, allocations: 1.094 kB / 447 MB, free: 15.05 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.01573/0.3126, allocations: 7.452 MB / 454.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3126, allocations: 15.44 kB / 454.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002256/0.3149, allocations: 0.7868 MB / 455.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.317, allocations: 0.731 MB / 456 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/0.3313, allocations: 8.421 MB / 464.4 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.3316, allocations: 364.6 kB / 464.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.3335, allocations: 433.1 kB / 465.2 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.346, allocations: 7.601 MB / 472.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.98e-05/0.3461, allocations: 7.656 kB / 472.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005071/0.3467, allocations: 189.6 kB / 473 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.812e-05/0.3467, allocations: 152.2 kB / 473.2 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/0.3586, allocations: 6.529 MB / 479.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05703/0.4156, allocations: 31.56 MB / 0.4993 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009112/0.4248, allocations: 8.378 MB / 0.5075 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004223/0.429, allocations: 2.443 MB / 0.5098 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.4292, allocations: 32.5 kB / 0.5099 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003748/0.433, allocations: 2.179 MB / 0.512 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=203): time 4.689e-06/0.433, allocations: 0 / 0.512 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01439/0.4474, allocations: 6.615 MB / 0.5185 GB, free: 5.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.4476, allocations: 389.8 kB / 0.5188 GB, free: 5.188 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.02421/0.4719, allocations: 10.86 MB / 0.5294 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008273/0.4727, allocations: 73.7 kB / 0.5295 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00524/0.478, allocations: 3.061 MB / 0.5325 GB, free: 7.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.4795, allocations: 0.6983 MB / 0.5332 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009132/0.4804, allocations: 282.9 kB / 0.5334 GB, free: 6.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4805, allocations: 309.1 kB / 0.5337 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.4842, allocations: 1.988 MB / 0.5357 GB, free: 3.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.4886, allocations: 2.779 MB / 0.5384 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02463/0.5133, allocations: 9.572 MB / 0.5477 GB, free: 7.074 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.25e-05/0.5133, allocations: 4 kB / 0.5477 GB, free: 7.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01325/0.5266, allocations: 5.572 MB / 0.5532 GB, free: 1.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.5266, allocations: 12 kB / 0.5532 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.5267, allocations: 16 kB / 0.5532 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.528, allocations: 0.4937 MB / 0.5537 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.5305, allocations: 0.6645 MB / 0.5543 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006245/0.5367, allocations: 4.659 MB / 0.5589 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004534/0.5413, allocations: 488.7 kB / 0.5594 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005026/0.5418, allocations: 104 kB / 0.5595 GB, free: 11.07 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.00881/0.5506, allocations: 3.938 MB / 0.5633 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002619/0.5533, allocations: 0.5052 MB / 0.5638 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5635, allocations: 4.697 MB / 0.5684 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5635, allocations: 20 kB / 0.5684 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5636, allocations: 3.984 kB / 0.5684 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.5636, allocations: 7.969 kB / 0.5684 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/0.5933, allocations: 14.17 MB / 0.5823 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.5934, allocations: 0 / 0.5823 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.5954, allocations: 488.1 kB / 0.5827 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.5966, allocations: 454.1 kB / 0.5832 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/0.5969, allocations: 83.91 kB / 0.5832 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1631/0.76, allocations: 4.399 MB / 0.5875 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.76, allocations: 0 / 0.5875 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.772, allocations: 6.966 MB / 0.5943 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004339/0.7764, allocations: 1.797 MB / 0.5961 GB, free: 151.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/0.7786, allocations: 82.61 kB / 0.5962 GB, free: 151.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/0.7823, allocations: 266.1 kB / 0.5964 GB, free: 151.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005049/0.7828, allocations: 145.8 kB / 0.5966 GB, free: 151.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.783, allocations: 51.3 kB / 0.5966 GB, free: 151 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01454/0.7976, allocations: 7.655 MB / 0.6041 GB, free: 148.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-07/0.7976, allocations: 2.281 kB / 0.6041 GB, free: 148.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005487/0.8031, allocations: 1.283 MB / 0.6053 GB, free: 147.3 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.01062/0.8137, allocations: 7.93 MB / 0.6131 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.8193, allocations: 4.48 MB / 0.6175 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8193, allocations: 4 kB / 0.6175 GB, free: 136.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/0.8218, allocations: 2.156 MB / 0.6196 GB, free: 134 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006913/0.8287, allocations: 1.29 MB / 0.6208 GB, free: 132.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3406/1.169, allocations: 107.7 MB / 0.726 GB, free: 17.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004797/1.174, allocations: 5.837 MB / 0.7317 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005057/1.179, allocations: 2.428 MB / 0.7341 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003907/1.183, allocations: 2.514 MB / 0.7366 GB, free: 6.328 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/1.183, allocations: 4 kB / 0.7366 GB, free: 6.324 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3294/1.513, allocations: 150.7 MB / 0.8837 GB, free: 52.22 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/1.513, allocations: 289.6 kB / 0.884 GB, free: 51.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.02/5.533, allocations: 0 / 0.884 GB, free: 51.84 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)