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.001364/0.001364, allocations: 95.64 kB / 18.95 MB, free: 2.688 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.001558/0.001558, allocations: 210.2 kB / 22.24 MB, free: 5.246 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.482/1.482, allocations: 207.7 MB / 233.1 MB, free: 9.801 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.05516/0.05516, allocations: 7.138 MB / 292.5 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.002343/0.002343, allocations: 77.31 kB / 409.5 MB, free: 47.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07737/0.07971, allocations: 50.74 MB / 460.3 MB, free: 13.68 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.01404/0.09375, allocations: 9.334 MB / 469.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.1065, allocations: 5.488 MB / 475.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.1088, allocations: 71.75 kB / 475.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004578/0.1134, allocations: 1.52 MB / 476.7 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.004364/0.1177, allocations: 0.6357 MB / 477.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.1215, allocations: 1.229 MB / 478.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01706/0.1386, allocations: 10.63 MB / 489.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009089/0.1477, allocations: 3.567 MB / 492.8 MB, free: 13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007346/0.155, allocations: 4.161 MB / 496.9 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008303/0.1634, allocations: 4.553 MB / 0.4897 GB, free: 4.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004214/0.1676, allocations: 1.281 MB / 0.491 GB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004206/0.1718, allocations: 1.316 MB / 0.4923 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004911/0.1767, allocations: 2.529 MB / 0.4947 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009369/0.1861, allocations: 3.486 MB / 0.4981 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02675/0.2128, allocations: 17.63 MB / 0.5153 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.2128, allocations: 0 / 0.5153 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2128, allocations: 0 / 0.5153 GB, free: 9.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005161/0.2133, allocations: 3.984 kB / 0.5153 GB, free: 9.949 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.03144/0.2448, allocations: 9.406 MB / 0.5245 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.2448, allocations: 23.92 kB / 0.5246 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2271/0.4719, allocations: 0.7673 MB / 0.5253 GB, free: 58.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/0.4906, allocations: 8.677 MB / 0.5338 GB, free: 55.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.491, allocations: 355.7 kB / 0.5341 GB, free: 55.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.4932, allocations: 441.2 kB / 0.5345 GB, free: 55.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/0.5136, allocations: 7.96 MB / 0.5423 GB, free: 51.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.5138, allocations: 7.875 kB / 0.5423 GB, free: 51.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/0.5156, allocations: 184 kB / 0.5425 GB, free: 51.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.5159, allocations: 148.5 kB / 0.5426 GB, free: 51.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.5292, allocations: 6.511 MB / 0.549 GB, free: 46.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.5742, allocations: 27.89 MB / 0.5762 GB, free: 18.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/0.5803, allocations: 4.315 MB / 0.5804 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.5837, allocations: 2.37 MB / 0.5828 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.5838, allocations: 26 kB / 0.5828 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002747/0.5865, allocations: 2.406 MB / 0.5851 GB, free: 9.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 5.621e-06/0.5866, allocations: 0 / 0.5851 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01176/0.5983, allocations: 6.414 MB / 0.5914 GB, free: 2.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5984, allocations: 389.8 kB / 0.5918 GB, free: 2.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02201/0.6204, allocations: 10.32 MB / 0.6018 GB, free: 8.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007664/0.6212, allocations: 73.7 kB / 0.6019 GB, free: 8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005489/0.6267, allocations: 3.078 MB / 0.6049 GB, free: 5.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/0.6283, allocations: 0.7447 MB / 0.6056 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.6296, allocations: 0.556 MB / 0.6062 GB, free: 3.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.6298, allocations: 301.1 kB / 0.6065 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/0.6334, allocations: 1.981 MB / 0.6084 GB, free: 1.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004748/0.6381, allocations: 3.07 MB / 0.6114 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/0.6616, allocations: 9.433 MB / 0.6206 GB, free: 4.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.6616, allocations: 11.94 kB / 0.6206 GB, free: 4.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01324/0.6749, allocations: 5.506 MB / 0.626 GB, free: 14.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.6749, allocations: 16 kB / 0.626 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/0.6749, allocations: 21.47 kB / 0.626 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6762, allocations: 468.5 kB / 0.6265 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/0.6791, allocations: 0.659 MB / 0.6271 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/0.6863, allocations: 4.667 MB / 0.6317 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/0.6911, allocations: 446 kB / 0.6321 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/0.6917, allocations: 99.98 kB / 0.6322 GB, free: 8.523 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.008459/0.7002, allocations: 3.939 MB / 0.6361 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002506/0.7027, allocations: 0.5045 MB / 0.6366 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009665/0.7124, allocations: 4.607 MB / 0.6411 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.7124, allocations: 20 kB / 0.6411 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7124, allocations: 0 / 0.6411 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.7124, allocations: 16.88 kB / 0.6411 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/0.7414, allocations: 12.41 MB / 0.6532 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.7414, allocations: 0 / 0.6532 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/0.7437, allocations: 483.2 kB / 0.6537 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.7449, allocations: 415.7 kB / 0.6541 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/0.7451, allocations: 83.97 kB / 0.6541 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/0.7524, allocations: 4.389 MB / 0.6584 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7524, allocations: 8 kB / 0.6584 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.7666, allocations: 6.901 MB / 0.6652 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005781/0.7724, allocations: 1.777 MB / 0.6669 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/0.7745, allocations: 83.97 kB / 0.667 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/0.7776, allocations: 247.6 kB / 0.6672 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006172/0.7782, allocations: 161.6 kB / 0.6674 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/0.7784, allocations: 55.98 kB / 0.6674 GB, free: 4.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01554/0.7939, allocations: 7.254 MB / 0.6745 GB, free: 13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7939, allocations: 0 / 0.6745 GB, free: 13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005356/0.7993, allocations: 1.325 MB / 0.6758 GB, free: 11.67 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.001875/0.8011, allocations: 0.5057 MB / 0.6763 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008297/0.8094, allocations: 4.385 MB / 0.6806 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8094, allocations: 0 / 0.6806 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003748/0.8132, allocations: 2.09 MB / 0.6826 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/0.8194, allocations: 1.171 MB / 0.6838 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/0.8512, allocations: 16.77 MB / 0.7001 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008294/0.8595, allocations: 5.351 MB / 0.7054 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005862/0.8653, allocations: 2.304 MB / 0.7076 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/0.8668, allocations: 263.4 kB / 0.7079 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.8668, allocations: 4 kB / 0.7079 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.3189/1.186, allocations: 81.36 MB / 0.7873 GB, free: 150.2 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: 7.156691567972302] Failed to read output from testmodel.py, exit status != 0: 1.1948997527360916 1.2108816519999999 0.99457134 Calling exit ...