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.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001488/0.001488, allocations: 213.3 kB / 22.25 MB, free: 5.125 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.389/1.389, allocations: 207.6 MB / 233 MB, free: 9.973 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.05296/0.05296, allocations: 7.137 MB / 292.4 MB, free: 14.66 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.00216/0.00216, allocations: 72.67 kB / 409.1 MB, free: 47.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.07433, allocations: 50.74 MB / 459.8 MB, free: 14.48 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.01384/0.08818, allocations: 10.77 MB / 470.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.09827, allocations: 5.815 MB / 476.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.1003, allocations: 71.69 kB / 476.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.1051, allocations: 1.582 MB / 478 MB, free: 12.16 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.002951/0.1081, allocations: 0.6357 MB / 478.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.1113, allocations: 1.225 MB / 479.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01509/0.1264, allocations: 10.62 MB / 490.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006457/0.1329, allocations: 3.266 MB / 493.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.1379, allocations: 3.806 MB / 497.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005682/0.1435, allocations: 3.678 MB / 0.4895 GB, free: 4.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00275/0.1463, allocations: 1.285 MB / 0.4908 GB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.1494, allocations: 1.324 MB / 0.4921 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003555/0.153, allocations: 2.537 MB / 0.4945 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008273/0.1612, allocations: 4.677 MB / 0.4991 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02847/0.1897, allocations: 17.56 MB / 0.5163 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1897, allocations: 3.938 kB / 0.5163 GB, free: 9.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1897, allocations: 0 / 0.5163 GB, free: 9.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003707/0.1901, allocations: 0 / 0.5163 GB, free: 9.316 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.2187/0.4088, allocations: 9.404 MB / 0.5254 GB, free: 55.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.4088, allocations: 14.92 kB / 0.5255 GB, free: 55.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002921/0.4118, allocations: 0.7812 MB / 0.5262 GB, free: 55.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/0.4146, allocations: 0.7718 MB / 0.527 GB, free: 55.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/0.4315, allocations: 8.677 MB / 0.5354 GB, free: 52.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.4318, allocations: 363.2 kB / 0.5358 GB, free: 51.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.433, allocations: 440.2 kB / 0.5362 GB, free: 51.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.4457, allocations: 7.618 MB / 0.5437 GB, free: 48.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/0.4458, allocations: 15.78 kB / 0.5437 GB, free: 48.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004618/0.4463, allocations: 178.6 kB / 0.5438 GB, free: 48.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.4464, allocations: 152.9 kB / 0.544 GB, free: 48.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009374/0.4557, allocations: 6.529 MB / 0.5504 GB, free: 43.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04177/0.4975, allocations: 31.28 MB / 0.5809 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005776/0.5033, allocations: 4.334 MB / 0.5851 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.5065, allocations: 2.371 MB / 0.5875 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.5067, allocations: 26.45 kB / 0.5875 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002727/0.5094, allocations: 2.169 MB / 0.5896 GB, free: 3.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=203): time 3.977e-06/0.5094, allocations: 0 / 0.5896 GB, free: 3.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=203): time 0.0125/0.5219, allocations: 6.452 MB / 0.5959 GB, free: 13.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.5222, allocations: 387.5 kB / 0.5963 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02186/0.544, allocations: 10.83 MB / 0.6068 GB, free: 1.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005905/0.5446, allocations: 73.7 kB / 0.6069 GB, free: 1.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005174/0.5498, allocations: 3.12 MB / 0.61 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001286/0.5511, allocations: 0.7362 MB / 0.6107 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/0.553, allocations: 0.556 MB / 0.6112 GB, free: 13.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5531, allocations: 305.1 kB / 0.6115 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/0.5566, allocations: 1.984 MB / 0.6135 GB, free: 11.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00428/0.5609, allocations: 2.765 MB / 0.6162 GB, free: 8.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02169/0.5826, allocations: 9.434 MB / 0.6254 GB, free: 14.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.5826, allocations: 4 kB / 0.6254 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0123/0.5949, allocations: 5.544 MB / 0.6308 GB, free: 9.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.5949, allocations: 15.94 kB / 0.6308 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.5949, allocations: 16 kB / 0.6308 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.5962, allocations: 468.8 kB / 0.6313 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.5989, allocations: 0.6551 MB / 0.6319 GB, free: 7.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.6057, allocations: 4.773 MB / 0.6366 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/0.6097, allocations: 469.6 kB / 0.637 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005949/0.6103, allocations: 108 kB / 0.6371 GB, free: 2.434 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.007308/0.6176, allocations: 3.951 MB / 0.641 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/0.6197, allocations: 0.5355 MB / 0.6415 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009789/0.6295, allocations: 4.637 MB / 0.646 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.6296, allocations: 20 kB / 0.646 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6296, allocations: 0 / 0.646 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/0.6296, allocations: 11.95 kB / 0.6461 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/0.6578, allocations: 14.18 MB / 0.6599 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6578, allocations: 0 / 0.6599 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/0.6599, allocations: 483.2 kB / 0.6604 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.661, allocations: 423.9 kB / 0.6608 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003206/0.6613, allocations: 83.89 kB / 0.6609 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006246/0.6675, allocations: 4.483 MB / 0.6652 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6675, allocations: 7.969 kB / 0.6652 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.6794, allocations: 6.926 MB / 0.672 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005741/0.6852, allocations: 1.847 MB / 0.6738 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/0.6874, allocations: 79.97 kB / 0.6739 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003234/0.6906, allocations: 251.6 kB / 0.6741 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005752/0.6912, allocations: 165.6 kB / 0.6743 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/0.6914, allocations: 55.98 kB / 0.6743 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01554/0.7069, allocations: 7.656 MB / 0.6818 GB, free: 4.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7069, allocations: 0 / 0.6818 GB, free: 4.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005321/0.7123, allocations: 1.298 MB / 0.6831 GB, free: 3.082 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.01405/0.7263, allocations: 7.896 MB / 0.6908 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00743/0.7337, allocations: 4.381 MB / 0.6951 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7337, allocations: 3.938 kB / 0.6951 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003623/0.7374, allocations: 2.086 MB / 0.6971 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009245/0.7466, allocations: 1.382 MB / 0.6985 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3238/1.07, allocations: 81.52 MB / 0.7781 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00488/1.075, allocations: 5.83 MB / 0.7838 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00472/1.08, allocations: 2.455 MB / 0.7862 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004199/1.084, allocations: 2.522 MB / 0.7886 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.442e-06/1.084, allocations: 0 / 0.7886 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3813/1.465, allocations: 157.4 MB / 0.9423 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.45/25.92, allocations: 1.656 kB / 0.9423 GB, free: 150.1 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: 32.10373514494859] Failed to read output from testmodel.py, exit status != 0: 26.156777578173205 26.174781904 25.981468547 Calling exit ...