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.0007207/0.0007207, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009777/0.001698, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0007178/0.0007178, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001688, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.7651/0.7651, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1385/0.9036, allocations: 49.51 MB / 220.7 MB, free: 1.352 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.05077/0.05077, allocations: 5.564 MB / 227 MB, free: 11.03 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006367/0.05714, allocations: 1.987 MB / 229 MB, free: 9.035 MB / 234.7 MB " [Timeout remaining time 180] 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.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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 230.3 MB, free: 7.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.092e-05, allocations: 2.312 kB / 230.3 MB, free: 7.699 MB / 234.7 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 3.2.2-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.01314/0.01316, allocations: 10.19 MB / 240.5 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.02397, allocations: 6.11 MB / 246.6 MB, free: 7.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.02608, allocations: 67.69 kB / 246.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.03005, allocations: 1.57 MB / 248.2 MB, free: 5.68 MB / 250.7 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.001778/0.03182, allocations: 0.6587 MB / 248.9 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.03347, allocations: 1.221 MB / 250.1 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007037/0.04051, allocations: 10.72 MB / 260.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/0.04388, allocations: 3.684 MB / 264.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005746/0.04962, allocations: 6.986 MB / 271.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/0.05301, allocations: 4.302 MB / 275.8 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.05417, allocations: 1.277 MB / 277.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.05534, allocations: 1.332 MB / 278.4 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.05656, allocations: 2.042 MB / 280.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.05879, allocations: 2.414 MB / 282.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.115/0.1738, allocations: 8.23 MB / 291.1 MB, free: 23.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.639e-05/0.1738, allocations: 3.469 kB / 291.1 MB, free: 23.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1738, allocations: 0 / 291.1 MB, free: 23.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004115/0.1742, allocations: 0.6562 kB / 291.1 MB, free: 23.19 MB / 282.7 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.02239/0.1966, allocations: 8.64 MB / 299.8 MB, free: 20.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1966, allocations: 9.188 kB / 299.8 MB, free: 20.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.1986, allocations: 0.7861 MB / 300.5 MB, free: 20.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007241/0.2058, allocations: 3.176 MB / 303.7 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.2061, allocations: 359.4 kB / 304.1 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008604/0.207, allocations: 440.8 kB / 304.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006835/0.2138, allocations: 3.878 MB / 308.4 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.2139, allocations: 7.125 kB / 308.4 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005079/0.2144, allocations: 185.2 kB / 308.6 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.2145, allocations: 155.6 kB / 308.7 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.2185, allocations: 1.357 MB / 310.1 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02726/0.2457, allocations: 16.35 MB / 326.4 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2476, allocations: 1.731 MB / 328.2 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009079/0.2485, allocations: 0.6557 MB / 328.8 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.775e-05/0.2486, allocations: 34 kB / 328.9 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008428/0.2494, allocations: 0.9974 MB / 329.9 MB, free: 4.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=199): time 4.178e-06/0.2495, allocations: 0 / 329.9 MB, free: 4.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=199): time 0.004114/0.2536, allocations: 1.742 MB / 331.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2536, allocations: 77.41 kB / 331.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009591/0.2632, allocations: 5.54 MB / 337.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006398/0.2638, allocations: 73.7 kB / 337.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00225/0.2661, allocations: 1.91 MB / 339.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.2672, allocations: 0.6992 MB / 339.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009144/0.2682, allocations: 499.2 kB / 340.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.2682, allocations: 301.1 kB / 340.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2693, allocations: 424.6 kB / 341.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.2706, allocations: 1.294 MB / 342.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.2737, allocations: 1.927 MB / 344.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.2737, allocations: 8 kB / 344.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.004413/0.2781, allocations: 1.616 MB / 345.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.2782, allocations: 12 kB / 345.9 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.2782, allocations: 16 kB / 346 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.2787, allocations: 241.5 kB / 346.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.2801, allocations: 0.5576 MB / 346.8 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.2824, allocations: 2.594 MB / 349.3 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.2846, allocations: 262.2 kB / 349.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.2848, allocations: 83.98 kB / 349.7 MB, free: 1.398 MB / 298.7 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 (charger.controlledCurrent.limitedController.limIntegrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.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.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[1,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.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.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[2,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.sOC.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.q.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.calculator.EquivalentCycles.integrator.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.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.rs.impedanceValue.qabs.absInt.local_reset,batteryStack.cell[3,1].linearDynamicImpedance.selfDischarge.qabs.absInt.local_reset,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 300 * 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,24)} Notification: Performance of prepare postOptimizeDAE: time 0.002782/0.2876, allocations: 373.7 kB / 350 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/0.2887, allocations: 335.6 kB / 350.4 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.2916, allocations: 1.382 MB / 351.8 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2916, allocations: 23.94 kB / 351.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2916, allocations: 0 / 351.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2916, allocations: 15.95 kB / 351.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009787/0.3014, allocations: 5.245 MB / 357 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3014, allocations: 8 kB / 357.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.3026, allocations: 362.3 kB / 357.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/0.3049, allocations: 0.6407 MB / 358 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/0.3053, allocations: 189.3 kB / 358.2 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.3055, allocations: 79.95 kB / 358.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.3094, allocations: 3.356 MB / 361.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3094, allocations: 0 / 361.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/0.3135, allocations: 1.749 MB / 363.4 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/0.3151, allocations: 71.98 kB / 363.5 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.3167, allocations: 75.95 kB / 363.6 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/0.3171, allocations: 145.7 kB / 363.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.3172, allocations: 39.98 kB / 363.7 MB, free: 3.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004077/0.3213, allocations: 2.02 MB / 365.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3213, allocations: 0 / 365.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003555/0.3248, allocations: 1.317 MB / 367.1 MB, free: 0.6758 MB / 314.7 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 (178): * Single equations (assignments): 175 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.3261, allocations: 0.6129 MB / 367.7 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.3288, allocations: 1.372 MB / 369.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.196e-05/0.3288, allocations: 64.44 kB / 369.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.3311, allocations: 0.9119 MB / 370 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006231/0.3373, allocations: 8.419 MB / 378.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/0.3723, allocations: 11.3 MB / 389.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002385/0.3747, allocations: 1.527 MB / 391.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002782/0.3775, allocations: 0.4939 MB / 391.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002423/0.3799, allocations: 0.8388 MB / 392.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3799, allocations: 0 / 392.6 MB, free: 5.879 MB / 346.7 MB Notification: Performance of Templates: time 0.1871/0.567, allocations: 83.81 MB / 476.4 MB, free: 97.5 MB / 378.7 MB " [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 & (cd run_cvode && ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 240] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_dassl.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_dassl.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_dassl.sim & (cd run_dassl && ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_dassl.pipe 2>&1) [Timeout 240] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_gbode.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_gbode.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_gbode.sim & (cd run_gbode && ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_gbode.pipe 2>&1) [Timeout 240] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_ida.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_ida.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_ida.sim & (cd run_ida && ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.260750386863947]