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.0009991/0.0009991, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.001924/0.001924, allocations: 216.1 kB / 22.25 MB, free: 3.582 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.9276/0.9276, allocations: 207.7 MB / 233.1 MB, free: 11.54 MB / 186.8 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.1163/0.1163, allocations: 7.14 MB / 292.5 MB, free: 9.078 MB / 234.8 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me_cs",version="2.0",platforms={"static"}) [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.001611/0.001611, allocations: 71.91 kB / 409.8 MB, free: 11.72 MB / 346.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1953, allocations: 50.74 MB / 460.6 MB, free: 31.16 MB / 362.8 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.006223/0.2015, allocations: 9.327 MB / 469.9 MB, free: 25.05 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.2049, allocations: 5.488 MB / 475.4 MB, free: 21.23 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.2054, allocations: 66.31 kB / 475.4 MB, free: 21.21 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.2069, allocations: 1.526 MB / 477 MB, free: 20.64 MB / 362.8 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.0006357/0.2075, allocations: 0.6367 MB / 477.6 MB, free: 20.15 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.2083, allocations: 1.224 MB / 478.8 MB, free: 19.23 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.004984/0.2133, allocations: 10.63 MB / 489.5 MB, free: 13.57 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.2163, allocations: 3.571 MB / 493 MB, free: 11.32 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.2192, allocations: 4.162 MB / 497.2 MB, free: 9.289 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.2226, allocations: 4.547 MB / 0.49 GB, free: 6.648 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.2239, allocations: 1.281 MB / 0.4912 GB, free: 6.648 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2252, allocations: 1.318 MB / 0.4925 GB, free: 6.641 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.2264, allocations: 2.535 MB / 0.495 GB, free: 4.918 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.2286, allocations: 3.49 MB / 0.4984 GB, free: 2.438 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008857/0.2374, allocations: 17.63 MB / 0.5156 GB, free: 1.527 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2374, allocations: 4 kB / 0.5156 GB, free: 1.523 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2374, allocations: 0 / 0.5156 GB, free: 1.523 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0001017/0.2375, allocations: 0 / 0.5156 GB, free: 1.523 MB / 378.8 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.008924/0.2464, allocations: 9.417 MB / 0.5248 GB, free: 8.027 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2465, allocations: 11.98 kB / 0.5248 GB, free: 8.016 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008065/0.2473, allocations: 0.7795 MB / 0.5256 GB, free: 7.223 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.2481, allocations: 0.7695 MB / 0.5263 GB, free: 6.449 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00772/0.2558, allocations: 8.682 MB / 0.5348 GB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.2562, allocations: 360.9 kB / 0.5352 GB, free: 13.35 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.2566, allocations: 443.9 kB / 0.5356 GB, free: 12.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007465/0.264, allocations: 7.998 MB / 0.5434 GB, free: 4.605 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.2641, allocations: 7.938 kB / 0.5434 GB, free: 4.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.2644, allocations: 176 kB / 0.5436 GB, free: 4.426 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.588e-05/0.2645, allocations: 156.2 kB / 0.5437 GB, free: 4.27 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006394/0.2709, allocations: 6.524 MB / 0.5501 GB, free: 13.72 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.2946, allocations: 28.68 MB / 0.5781 GB, free: 0.6914 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.2985, allocations: 4.325 MB / 0.5823 GB, free: 12.47 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.3006, allocations: 2.371 MB / 0.5846 GB, free: 10.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.3007, allocations: 26 kB / 0.5847 GB, free: 10.07 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.3026, allocations: 2.386 MB / 0.587 GB, free: 7.598 MB / 458.8 MB Notification: Performance of pre-optimization done (n=203): time 2.856e-06/0.3026, allocations: 0 / 0.587 GB, free: 7.598 MB / 458.8 MB Notification: Performance of matching and sorting (n=203): time 0.007081/0.3097, allocations: 6.453 MB / 0.5933 GB, free: 1.129 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3098, allocations: 393.8 kB / 0.5937 GB, free: 0.6562 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009239/0.319, allocations: 10.86 MB / 0.6043 GB, free: 5.773 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3192, allocations: 73.7 kB / 0.6043 GB, free: 5.695 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/0.3212, allocations: 3.103 MB / 0.6074 GB, free: 2.582 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/0.3216, allocations: 0.7361 MB / 0.6081 GB, free: 1.84 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006041/0.3222, allocations: 0.5676 MB / 0.6086 GB, free: 1.266 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.3223, allocations: 305.1 kB / 0.6089 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1512/0.4734, allocations: 1.978 MB / 0.6109 GB, free: 113.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.476, allocations: 3.073 MB / 0.6139 GB, free: 112.1 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009692/0.4857, allocations: 9.412 MB / 0.6231 GB, free: 109.1 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.4857, allocations: 9.906 kB / 0.6231 GB, free: 109.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.006907/0.4926, allocations: 5.54 MB / 0.6285 GB, free: 107.3 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.4926, allocations: 15.52 kB / 0.6285 GB, free: 107.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4926, allocations: 18.53 kB / 0.6285 GB, free: 107.3 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008419/0.4935, allocations: 470.1 kB / 0.629 GB, free: 107.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.4952, allocations: 0.6571 MB / 0.6296 GB, free: 107.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/0.4995, allocations: 4.708 MB / 0.6342 GB, free: 104.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.5015, allocations: 481.4 kB / 0.6347 GB, free: 104.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.5017, allocations: 104.2 kB / 0.6348 GB, free: 104.4 MB / 474.8 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.004551/0.5062, allocations: 3.94 MB / 0.6386 GB, free: 103 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/0.5068, allocations: 0.5384 MB / 0.6391 GB, free: 103 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00566/0.5125, allocations: 4.636 MB / 0.6437 GB, free: 101.3 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.5125, allocations: 20.47 kB / 0.6437 GB, free: 101.3 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5125, allocations: 0 / 0.6437 GB, free: 101.3 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.5125, allocations: 10.08 kB / 0.6437 GB, free: 101.3 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.5261, allocations: 12.96 MB / 0.6563 GB, free: 96.02 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5261, allocations: 4 kB / 0.6563 GB, free: 96.02 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.5274, allocations: 481.3 kB / 0.6568 GB, free: 95.99 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/0.5281, allocations: 415.2 kB / 0.6572 GB, free: 95.91 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5282, allocations: 85.78 kB / 0.6573 GB, free: 95.87 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.5316, allocations: 4.438 MB / 0.6616 GB, free: 93.27 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5316, allocations: 7.969 kB / 0.6616 GB, free: 93.26 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/0.5379, allocations: 6.933 MB / 0.6684 GB, free: 86.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/0.5401, allocations: 1.846 MB / 0.6702 GB, free: 84.98 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/0.5406, allocations: 83.97 kB / 0.6703 GB, free: 84.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.5417, allocations: 247.6 kB / 0.6705 GB, free: 84.66 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/0.542, allocations: 161.7 kB / 0.6707 GB, free: 84.5 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.5422, allocations: 51.98 kB / 0.6707 GB, free: 84.45 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006872/0.549, allocations: 7.645 MB / 0.6782 GB, free: 76.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.549, allocations: 0 / 0.6782 GB, free: 76.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.001709/0.5507, allocations: 1.3 MB / 0.6795 GB, free: 75.6 MB / 474.8 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.005524/0.5563, allocations: 7.92 MB / 0.6872 GB, free: 67.67 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.5596, allocations: 4.391 MB / 0.6915 GB, free: 63.27 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5596, allocations: 0 / 0.6915 GB, free: 63.27 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.561, allocations: 2.086 MB / 0.6935 GB, free: 61.17 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.5633, allocations: 1.371 MB / 0.6949 GB, free: 59.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06256/0.6258, allocations: 81.46 MB / 0.7744 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/0.6294, allocations: 5.353 MB / 0.7796 GB, free: 3.988 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003274/0.6327, allocations: 2.451 MB / 0.782 GB, free: 1.531 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003454/0.6361, allocations: 2.528 MB / 0.7845 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.6361, allocations: 0 / 0.7845 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4125/1.049, allocations: 158.8 MB / 0.9396 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.19, allocations: 8.016 kB / 0.9396 GB, free: 74.14 MB / 0.5261 GB " [Timeout remaining time 649] (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_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 252.0] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-cvode.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-euler.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy_res.csv --start-time 0 --stop-time 20000 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 522.7107282401994]