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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 107 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 195.6 kB / 19.41 MB, free: 3.664 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.435/1.435, allocations: 207.6 MB / 229.8 MB, free: 11.42 MB / 190.1 MB " [Timeout remaining time 178] 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.05791/0.05791, allocations: 7.13 MB / 288.8 MB, free: 15.9 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.002082/0.002082, allocations: 74.52 kB / 403.8 MB, free: 48.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07353, allocations: 50.7 MB / 454.5 MB, free: 15.91 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 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.01463/0.08816, allocations: 10.7 MB / 465.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.09833, allocations: 5.811 MB / 471 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.1003, allocations: 63.81 kB / 471 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.1038, allocations: 1.481 MB / 472.5 MB, free: 13.77 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.002045/0.1058, allocations: 0.6279 MB / 473.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.108, allocations: 1.214 MB / 474.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.1201, allocations: 10.61 MB / 485 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007288/0.1274, allocations: 5.18 MB / 490.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005454/0.1329, allocations: 3.747 MB / 493.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00582/0.1387, allocations: 3.678 MB / 497.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.1413, allocations: 1.281 MB / 498.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.144, allocations: 1.32 MB / 0.4884 GB, free: 1.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002788/0.1468, allocations: 2.533 MB / 0.4909 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006882/0.1537, allocations: 4.681 MB / 0.4955 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.1729, allocations: 17.55 MB / 0.5126 GB, free: 9.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1729, allocations: 4 kB / 0.5126 GB, free: 9.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1729, allocations: 0 / 0.5126 GB, free: 9.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003743/0.1733, allocations: 0 / 0.5126 GB, free: 9.117 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.02757/0.2009, allocations: 9.422 MB / 0.5218 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2009, allocations: 12.03 kB / 0.5219 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002787/0.2037, allocations: 0.7835 MB / 0.5226 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.2063, allocations: 0.7733 MB / 0.5234 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.2272, allocations: 8.531 MB / 0.5317 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003943/0.2276, allocations: 368.9 kB / 0.5321 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/0.2292, allocations: 439.8 kB / 0.5325 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2279/0.4571, allocations: 7.606 MB / 0.5399 GB, free: 69.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.599e-05/0.4572, allocations: 13.53 kB / 0.5399 GB, free: 69.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005318/0.4578, allocations: 177.3 kB / 0.5401 GB, free: 69.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.4579, allocations: 156 kB / 0.5402 GB, free: 69.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.4726, allocations: 6.529 MB / 0.5466 GB, free: 67.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04665/0.5192, allocations: 31.22 MB / 0.5771 GB, free: 45.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00589/0.5251, allocations: 8.215 MB / 0.5851 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/0.5281, allocations: 2.384 MB / 0.5875 GB, free: 34.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.5282, allocations: 29.52 kB / 0.5875 GB, free: 34.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002418/0.5307, allocations: 2.172 MB / 0.5896 GB, free: 32.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=203): time 3.196e-06/0.5307, allocations: 0 / 0.5896 GB, free: 32.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=203): time 0.01043/0.5411, allocations: 6.53 MB / 0.596 GB, free: 25.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.5412, allocations: 393.8 kB / 0.5964 GB, free: 25.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01498/0.5562, allocations: 10.84 MB / 0.6069 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006603/0.5568, allocations: 69.7 kB / 0.607 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003083/0.5599, allocations: 3.109 MB / 0.61 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000937/0.5609, allocations: 0.7373 MB / 0.6108 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008374/0.5617, allocations: 0.5599 MB / 0.6113 GB, free: 9.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.5617, allocations: 301.1 kB / 0.6116 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.564, allocations: 1.983 MB / 0.6135 GB, free: 7.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.5665, allocations: 2.769 MB / 0.6162 GB, free: 4.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01909/0.5856, allocations: 9.416 MB / 0.6254 GB, free: 10.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.576e-05/0.5856, allocations: 8 kB / 0.6254 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01165/0.5973, allocations: 5.539 MB / 0.6308 GB, free: 5.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.5973, allocations: 12 kB / 0.6309 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.5973, allocations: 16.84 kB / 0.6309 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.5986, allocations: 484.8 kB / 0.6313 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/0.6012, allocations: 0.6512 MB / 0.632 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/0.6084, allocations: 4.875 MB / 0.6367 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/0.6128, allocations: 485.1 kB / 0.6372 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/0.6133, allocations: 104 kB / 0.6373 GB, free: 14.76 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.007581/0.6209, allocations: 3.944 MB / 0.6411 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/0.6229, allocations: 0.5316 MB / 0.6417 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/0.6318, allocations: 4.641 MB / 0.6462 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.6319, allocations: 20 kB / 0.6462 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6319, allocations: 0 / 0.6462 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.6319, allocations: 7.969 kB / 0.6462 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/0.6589, allocations: 14.05 MB / 0.66 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6589, allocations: 1.969 kB / 0.66 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.661, allocations: 491.2 kB / 0.6604 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.662, allocations: 411.1 kB / 0.6608 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002286/0.6623, allocations: 87.95 kB / 0.6609 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/0.6687, allocations: 4.607 MB / 0.6654 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6687, allocations: 0 / 0.6654 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.6811, allocations: 6.931 MB / 0.6722 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005807/0.6869, allocations: 1.805 MB / 0.6739 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/0.6883, allocations: 83.97 kB / 0.674 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.6901, allocations: 247.6 kB / 0.6742 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/0.6906, allocations: 149.8 kB / 0.6744 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.6907, allocations: 55.92 kB / 0.6744 GB, free: 8.555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01402/0.7047, allocations: 7.656 MB / 0.6819 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7047, allocations: 0 / 0.6819 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005211/0.7099, allocations: 1.301 MB / 0.6832 GB, free: 15.69 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.01319/0.7231, allocations: 7.899 MB / 0.6909 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007369/0.7305, allocations: 4.389 MB / 0.6952 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.7305, allocations: 4 kB / 0.6952 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003247/0.7338, allocations: 2.086 MB / 0.6972 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007548/0.7413, allocations: 1.364 MB / 0.6986 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3471/1.088, allocations: 81.41 MB / 0.7781 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005039/1.093, allocations: 5.837 MB / 0.7838 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004781/1.098, allocations: 2.457 MB / 0.7862 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004093/1.102, allocations: 2.518 MB / 0.7886 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/1.102, allocations: 4 kB / 0.7886 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2211/1.323, allocations: 155.1 MB / 0.9401 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.35/25.68, allocations: 7.938 kB / 0.9401 GB, free: 8.148 MB / 0.5294 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmu --startTime=0 --stopTime=20000 --stepSize=1 --timeout=50 --tolerance=1e-06 ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 33.36457887804136] Failed to read output from testmodel.py, exit status != 0: 25.895825949963182 26.062171201 25.886929777 Calling exit ...