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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 220.6 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.06209/0.06209, allocations: 7.145 MB / 293.2 MB, free: 14.5 MB / 238.1 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002389/0.002389, allocations: 74.45 kB / 410.3 MB, free: 47.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.08145, allocations: 50.75 MB / 461 MB, free: 13.67 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.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) 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.gain.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 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, ns, np)) as default value. Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedStackCycling): time 0.01488/0.09633, allocations: 9.322 MB / 470.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1071, allocations: 5.488 MB / 475.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.1097, allocations: 67.75 kB / 475.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.1143, allocations: 1.528 MB / 477.4 MB, free: 13.18 MB / 350.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.003174/0.1175, allocations: 0.6435 MB / 478.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.1208, allocations: 1.214 MB / 479.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01679/0.1376, allocations: 10.62 MB / 489.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008451/0.146, allocations: 3.571 MB / 493.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006668/0.1527, allocations: 4.153 MB / 497.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00876/0.1614, allocations: 4.553 MB / 0.4904 GB, free: 4.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004034/0.1655, allocations: 1.281 MB / 0.4917 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.1698, allocations: 1.328 MB / 0.493 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.1744, allocations: 2.529 MB / 0.4955 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008483/0.1829, allocations: 3.49 MB / 0.4989 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02537/0.2083, allocations: 17.62 MB / 0.5161 GB, free: 9.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.2083, allocations: 0 / 0.5161 GB, free: 9.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2083, allocations: 0 / 0.5161 GB, free: 9.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005476/0.2088, allocations: 0 / 0.5161 GB, free: 9.961 MB / 398.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.03132/0.2402, allocations: 9.417 MB / 0.5253 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.2402, allocations: 11.98 kB / 0.5253 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2711/0.5113, allocations: 0.7688 MB / 0.526 GB, free: 58.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/0.5308, allocations: 8.674 MB / 0.5345 GB, free: 55.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/0.5313, allocations: 366 kB / 0.5348 GB, free: 55.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.5336, allocations: 432.2 kB / 0.5353 GB, free: 55.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.5542, allocations: 7.965 MB / 0.543 GB, free: 51.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.5544, allocations: 9.031 kB / 0.543 GB, free: 51.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008425/0.5552, allocations: 171.4 kB / 0.5432 GB, free: 51.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.5554, allocations: 156.1 kB / 0.5434 GB, free: 51.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.5683, allocations: 6.506 MB / 0.5497 GB, free: 46.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04622/0.6145, allocations: 27.89 MB / 0.577 GB, free: 18.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007461/0.622, allocations: 4.318 MB / 0.5812 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004036/0.626, allocations: 2.378 MB / 0.5835 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002016/0.6262, allocations: 25.94 kB / 0.5835 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003297/0.6295, allocations: 2.394 MB / 0.5859 GB, free: 9.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 5.029e-06/0.6295, allocations: 0 / 0.5859 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01238/0.6419, allocations: 6.425 MB / 0.5921 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.642, allocations: 389.8 kB / 0.5925 GB, free: 2.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02514/0.6672, allocations: 10.32 MB / 0.6026 GB, free: 8.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008927/0.6681, allocations: 83.11 kB / 0.6027 GB, free: 8.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006936/0.675, allocations: 3.069 MB / 0.6057 GB, free: 5.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001878/0.6769, allocations: 0.7354 MB / 0.6064 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002727/0.6796, allocations: 0.556 MB / 0.6069 GB, free: 3.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6798, allocations: 301.1 kB / 0.6072 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/0.6837, allocations: 1.987 MB / 0.6091 GB, free: 1.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004976/0.6887, allocations: 3.07 MB / 0.6121 GB, free: 14.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02297/0.7116, allocations: 9.426 MB / 0.6214 GB, free: 4.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.7117, allocations: 4 kB / 0.6214 GB, free: 4.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01379/0.7255, allocations: 5.523 MB / 0.6267 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.7255, allocations: 12 kB / 0.6268 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.004e-05/0.7256, allocations: 16 kB / 0.6268 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.7268, allocations: 476.9 kB / 0.6272 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.7298, allocations: 0.6512 MB / 0.6279 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007309/0.7371, allocations: 4.665 MB / 0.6324 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/0.7417, allocations: 449.9 kB / 0.6328 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007673/0.7424, allocations: 103.9 kB / 0.6329 GB, free: 8.555 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.009176/0.7516, allocations: 3.943 MB / 0.6368 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002929/0.7545, allocations: 0.5006 MB / 0.6373 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.7676, allocations: 4.596 MB / 0.6418 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.7676, allocations: 20 kB / 0.6418 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.7676, allocations: 3.281 kB / 0.6418 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-05/0.7677, allocations: 19.95 kB / 0.6418 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03347/0.8011, allocations: 12.41 MB / 0.6539 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.8011, allocations: 4 kB / 0.6539 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/0.8037, allocations: 495.2 kB / 0.6544 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.8049, allocations: 412.9 kB / 0.6548 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005832/0.8055, allocations: 83.95 kB / 0.6549 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006764/0.8123, allocations: 4.385 MB / 0.6592 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8123, allocations: 0 / 0.6592 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.8269, allocations: 6.909 MB / 0.6659 GB, free: 6.578 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006615/0.8336, allocations: 1.781 MB / 0.6677 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002671/0.8362, allocations: 83.97 kB / 0.6677 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003898/0.8401, allocations: 251.6 kB / 0.668 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007643/0.8409, allocations: 149.7 kB / 0.6681 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003695/0.8413, allocations: 55.98 kB / 0.6682 GB, free: 4.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01802/0.8593, allocations: 7.258 MB / 0.6753 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8593, allocations: 0 / 0.6753 GB, free: 13.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00725/0.8665, allocations: 1.321 MB / 0.6765 GB, free: 11.71 MB / 494.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.002168/0.8687, allocations: 0.5057 MB / 0.677 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009767/0.8785, allocations: 4.385 MB / 0.6813 GB, free: 6.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.8785, allocations: 0 / 0.6813 GB, free: 6.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004099/0.8826, allocations: 2.09 MB / 0.6834 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008509/0.8911, allocations: 1.167 MB / 0.6845 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03937/0.9305, allocations: 16.48 MB / 0.7006 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/0.9405, allocations: 5.188 MB / 0.7057 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/0.943, allocations: 283.4 kB / 0.7059 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.563e-06/0.943, allocations: 0 / 0.7059 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.4239/1.367, allocations: 161.8 MB / 0.8639 GB, free: 66.06 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.makefile [Timeout 660] (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 & ./ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=480 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 15.697644444182515] Failed to read output from testmodel.py, exit status != 0: 1.3774118470028043 1.387373507 1.176369754 Calling exit ...