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.001461/0.001461, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001614/0.001614, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.316/1.316, allocations: 207.6 MB / 233.8 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] 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.04921/0.04921, allocations: 7.13 MB / 293.2 MB, free: 14.68 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.00207/0.00207, allocations: 64.69 kB / 410.3 MB, free: 47.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06872/0.07079, allocations: 50.75 MB / 461.1 MB, free: 13.84 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.0136/0.08439, allocations: 10.76 MB / 471.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009746/0.09413, allocations: 5.823 MB / 477.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.09601, allocations: 67.69 kB / 477.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.09978, allocations: 1.586 MB / 479.3 MB, free: 11.51 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.002254/0.102, allocations: 0.6318 MB / 479.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.1043, allocations: 1.225 MB / 481.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01165/0.1159, allocations: 10.61 MB / 491.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004847/0.1208, allocations: 3.27 MB / 495 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.1251, allocations: 3.806 MB / 498.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/0.1304, allocations: 3.678 MB / 0.4907 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.1326, allocations: 1.281 MB / 0.492 GB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.1351, allocations: 1.324 MB / 0.4933 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.1378, allocations: 2.533 MB / 0.4958 GB, free: 15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006771/0.1446, allocations: 4.677 MB / 0.5003 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.1638, allocations: 17.56 MB / 0.5175 GB, free: 8.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1638, allocations: 4 kB / 0.5175 GB, free: 8.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1638, allocations: 3.938 kB / 0.5175 GB, free: 8.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003381/0.1642, allocations: 0 / 0.5175 GB, free: 8.684 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.1974/0.3616, allocations: 9.41 MB / 0.5267 GB, free: 56.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3616, allocations: 12.61 kB / 0.5267 GB, free: 56.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.364, allocations: 0.7687 MB / 0.5274 GB, free: 55.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.3788, allocations: 8.669 MB / 0.5359 GB, free: 52.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.3791, allocations: 358 kB / 0.5362 GB, free: 52.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.3803, allocations: 436.7 kB / 0.5367 GB, free: 52.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.3927, allocations: 7.59 MB / 0.5441 GB, free: 48.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-05/0.3928, allocations: 11.83 kB / 0.5441 GB, free: 48.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004362/0.3932, allocations: 183 kB / 0.5443 GB, free: 48.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.103e-05/0.3933, allocations: 150.5 kB / 0.5444 GB, free: 48.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008865/0.4021, allocations: 6.509 MB / 0.5508 GB, free: 44.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.4359, allocations: 31.24 MB / 0.5813 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/0.4406, allocations: 4.334 MB / 0.5855 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/0.4434, allocations: 2.372 MB / 0.5878 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.4435, allocations: 34.3 kB / 0.5878 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002191/0.4457, allocations: 2.169 MB / 0.59 GB, free: 4.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 3.086e-06/0.4457, allocations: 3.938 kB / 0.59 GB, free: 4.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01103/0.4567, allocations: 6.446 MB / 0.5963 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.4569, allocations: 389.8 kB / 0.5966 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01708/0.474, allocations: 10.84 MB / 0.6072 GB, free: 2.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000513/0.4745, allocations: 77.7 kB / 0.6073 GB, free: 2.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003797/0.4783, allocations: 3.092 MB / 0.6103 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.4794, allocations: 0.7439 MB / 0.611 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009862/0.4804, allocations: 0.556 MB / 0.6116 GB, free: 14.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4805, allocations: 301.1 kB / 0.6119 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.4835, allocations: 1.984 MB / 0.6138 GB, free: 12.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.487, allocations: 2.761 MB / 0.6165 GB, free: 8.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/0.506, allocations: 9.43 MB / 0.6257 GB, free: 15.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.5061, allocations: 4 kB / 0.6257 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.009988/0.516, allocations: 5.547 MB / 0.6311 GB, free: 9.711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.5161, allocations: 12 kB / 0.6311 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.5161, allocations: 20 kB / 0.6312 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.5172, allocations: 465.3 kB / 0.6316 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.5196, allocations: 0.6589 MB / 0.6322 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/0.5258, allocations: 4.77 MB / 0.6369 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/0.5294, allocations: 473.6 kB / 0.6374 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/0.5298, allocations: 104 kB / 0.6375 GB, free: 3.102 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.006109/0.5359, allocations: 3.942 MB / 0.6413 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/0.5377, allocations: 0.5316 MB / 0.6418 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008151/0.5458, allocations: 4.637 MB / 0.6464 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.5458, allocations: 24 kB / 0.6464 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5458, allocations: 0 / 0.6464 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.5459, allocations: 15.89 kB / 0.6464 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/0.571, allocations: 14.17 MB / 0.6602 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.571, allocations: 4 kB / 0.6602 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/0.5729, allocations: 487.2 kB / 0.6607 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.5739, allocations: 419.7 kB / 0.6611 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/0.5741, allocations: 79.97 kB / 0.6612 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/0.58, allocations: 4.495 MB / 0.6656 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.58, allocations: 0 / 0.6656 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.5913, allocations: 6.924 MB / 0.6723 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004945/0.5963, allocations: 1.843 MB / 0.6741 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/0.598, allocations: 87.97 kB / 0.6742 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002662/0.6006, allocations: 243.6 kB / 0.6744 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/0.6011, allocations: 169.6 kB / 0.6746 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.6012, allocations: 51.98 kB / 0.6747 GB, free: 12.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01287/0.6141, allocations: 7.648 MB / 0.6821 GB, free: 5.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6141, allocations: 7.938 kB / 0.6821 GB, free: 5.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004457/0.6186, allocations: 1.294 MB / 0.6834 GB, free: 3.785 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.001602/0.6202, allocations: 488.6 kB / 0.6839 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006838/0.627, allocations: 4.385 MB / 0.6881 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.627, allocations: 0 / 0.6881 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003051/0.6301, allocations: 2.09 MB / 0.6902 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/0.6361, allocations: 1.382 MB / 0.6915 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/0.6637, allocations: 16.5 MB / 0.7076 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006535/0.6702, allocations: 5.658 MB / 0.7132 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/0.6721, allocations: 303.4 kB / 0.7135 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.6721, allocations: 0 / 0.7135 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of Templates: time 0.335/1.007, allocations: 163.3 MB / 0.8729 GB, free: 59.09 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: 13.60944956005551] Failed to read output from testmodel.py, exit status != 0: 1.0150673240423203 1.023950055 0.857868124 Calling exit ...