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.001292/0.001292, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001472/0.001472, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.444/1.444, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.05291/0.05291, allocations: 7.152 MB / 292.5 MB, free: 14.47 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: "" <> 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.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.002267/0.002267, allocations: 76.64 kB / 409 MB, free: 47.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08215/0.08441, allocations: 50.74 MB / 459.8 MB, free: 14.16 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.01367/0.09808, allocations: 9.33 MB / 469.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1082, allocations: 5.48 MB / 474.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.1107, allocations: 67.69 kB / 474.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004373/0.115, allocations: 1.532 MB / 476.2 MB, free: 13.67 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.002805/0.1178, allocations: 0.6435 MB / 476.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.1221, allocations: 1.214 MB / 478.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01807/0.1402, allocations: 10.64 MB / 488.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006421/0.1466, allocations: 3.563 MB / 492.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.1521, allocations: 4.157 MB / 496.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007089/0.1592, allocations: 4.545 MB / 0.4892 GB, free: 4.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003075/0.1622, allocations: 1.281 MB / 0.4905 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.1655, allocations: 1.332 MB / 0.4918 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003399/0.1689, allocations: 2.526 MB / 0.4942 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00605/0.1749, allocations: 3.49 MB / 0.4976 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.1952, allocations: 17.62 MB / 0.5149 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1952, allocations: 0 / 0.5149 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1952, allocations: 0 / 0.5149 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003883/0.1956, allocations: 4 kB / 0.5149 GB, free: 10.43 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.02803/0.2236, allocations: 9.41 MB / 0.5241 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.2237, allocations: 15.98 kB / 0.5241 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002801/0.2265, allocations: 0.7795 MB / 0.5248 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2026/0.4291, allocations: 0.7685 MB / 0.5256 GB, free: 58.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/0.4487, allocations: 8.687 MB / 0.5341 GB, free: 55.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/0.4492, allocations: 363.6 kB / 0.5344 GB, free: 55.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/0.451, allocations: 433.4 kB / 0.5348 GB, free: 54.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.4675, allocations: 7.991 MB / 0.5426 GB, free: 51.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.214e-05/0.4676, allocations: 18.25 kB / 0.5426 GB, free: 51.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005347/0.4681, allocations: 175.5 kB / 0.5428 GB, free: 51.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.4682, allocations: 154.9 kB / 0.543 GB, free: 51.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.479, allocations: 6.525 MB / 0.5493 GB, free: 45.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03942/0.5185, allocations: 28.69 MB / 0.5773 GB, free: 16.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00578/0.5242, allocations: 4.32 MB / 0.5816 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/0.5274, allocations: 2.378 MB / 0.5839 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.5275, allocations: 22.75 kB / 0.5839 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002665/0.5302, allocations: 2.394 MB / 0.5862 GB, free: 7.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 4.469e-06/0.5302, allocations: 0 / 0.5862 GB, free: 7.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.01083/0.541, allocations: 6.455 MB / 0.5925 GB, free: 1.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.5411, allocations: 389.8 kB / 0.5929 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01944/0.5605, allocations: 10.85 MB / 0.6035 GB, free: 6.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005946/0.5611, allocations: 73.7 kB / 0.6036 GB, free: 6.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004805/0.5659, allocations: 3.105 MB / 0.6066 GB, free: 3.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.5672, allocations: 0.7358 MB / 0.6073 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.5686, allocations: 0.5599 MB / 0.6079 GB, free: 1.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5687, allocations: 309.1 kB / 0.6082 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003342/0.5721, allocations: 1.984 MB / 0.6101 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/0.5763, allocations: 3.066 MB / 0.6131 GB, free: 12.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0224/0.5987, allocations: 9.428 MB / 0.6223 GB, free: 2.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.5987, allocations: 4 kB / 0.6223 GB, free: 2.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01246/0.6111, allocations: 5.548 MB / 0.6277 GB, free: 12.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.6112, allocations: 12 kB / 0.6278 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.6112, allocations: 16 kB / 0.6278 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.6125, allocations: 465 kB / 0.6282 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.6152, allocations: 0.6551 MB / 0.6289 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/0.6226, allocations: 4.717 MB / 0.6335 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005356/0.6279, allocations: 477 kB / 0.6339 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006729/0.6286, allocations: 104 kB / 0.634 GB, free: 6.402 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.008723/0.6373, allocations: 3.942 MB / 0.6379 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002678/0.64, allocations: 0.5355 MB / 0.6384 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.651, allocations: 4.634 MB / 0.6429 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.6511, allocations: 20 kB / 0.6429 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6511, allocations: 4 kB / 0.6429 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/0.6511, allocations: 11.95 kB / 0.6429 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03051/0.6816, allocations: 12.95 MB / 0.6556 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6816, allocations: 0 / 0.6556 GB, free: 184 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/0.6839, allocations: 491.2 kB / 0.6561 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.685, allocations: 419.8 kB / 0.6565 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003343/0.6854, allocations: 83.89 kB / 0.6565 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/0.6922, allocations: 4.44 MB / 0.6609 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6922, allocations: 0 / 0.6609 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.7066, allocations: 6.93 MB / 0.6676 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006439/0.713, allocations: 1.843 MB / 0.6694 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002469/0.7155, allocations: 87.92 kB / 0.6695 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/0.7193, allocations: 247.6 kB / 0.6698 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006797/0.72, allocations: 157.7 kB / 0.6699 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003142/0.7203, allocations: 55.98 kB / 0.67 GB, free: 1.305 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01801/0.7383, allocations: 7.641 MB / 0.6774 GB, free: 9.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7383, allocations: 6.016 kB / 0.6774 GB, free: 9.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00612/0.7444, allocations: 1.302 MB / 0.6787 GB, free: 8.352 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.01549/0.7599, allocations: 7.925 MB / 0.6864 GB, free: 400 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008042/0.7679, allocations: 4.385 MB / 0.6907 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.768, allocations: 0 / 0.6907 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003942/0.7719, allocations: 2.086 MB / 0.6928 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00931/0.7812, allocations: 1.379 MB / 0.6941 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3586/1.14, allocations: 81.45 MB / 0.7737 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.145, allocations: 5.344 MB / 0.7789 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005181/1.15, allocations: 2.461 MB / 0.7813 GB, free: 158 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004834/1.155, allocations: 2.518 MB / 0.7837 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.743e-06/1.155, allocations: 0 / 0.7837 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/1.562, allocations: 158.7 MB / 0.9387 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/22.25, allocations: 2.266 kB / 0.9387 GB, free: 154.5 MB / 0.5294 GB " [Timeout remaining time 637] (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: 28.554904812015593] Failed to read output from testmodel.py, exit status != 0: 22.50638876389712 22.528558875 22.329274169 Calling exit ...