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.00126/0.00126, allocations: 116 kB / 19.73 MB, free: 2.094 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.001398/0.001398, allocations: 208.9 kB / 23.04 MB, free: 4.438 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.428/1.428, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.05542/0.05542, allocations: 7.138 MB / 293.2 MB, free: 14.68 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="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.002139/0.002139, allocations: 72.62 kB / 409.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.08196, allocations: 50.74 MB / 460.6 MB, free: 14.36 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.01533/0.09729, allocations: 10.78 MB / 471.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009892/0.1072, allocations: 5.811 MB / 477.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.1093, allocations: 71.69 kB / 477.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004123/0.1134, allocations: 1.582 MB / 478.8 MB, free: 12.04 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.002631/0.116, allocations: 0.6357 MB / 479.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.1185, allocations: 1.229 MB / 480.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01494/0.1335, allocations: 10.62 MB / 491.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005984/0.1395, allocations: 3.266 MB / 494.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005412/0.1449, allocations: 3.81 MB / 498.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007118/0.152, allocations: 3.678 MB / 0.4903 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003856/0.1558, allocations: 1.281 MB / 0.4915 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.1607, allocations: 1.324 MB / 0.4928 GB, free: 2.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004579/0.1653, allocations: 2.537 MB / 0.4953 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008392/0.1737, allocations: 4.681 MB / 0.4999 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.1936, allocations: 17.56 MB / 0.517 GB, free: 9.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1936, allocations: 4 kB / 0.517 GB, free: 9.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1936, allocations: 0 / 0.517 GB, free: 9.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004051/0.194, allocations: 0 / 0.517 GB, free: 9.199 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.2275/0.4215, allocations: 9.405 MB / 0.5262 GB, free: 55.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4216, allocations: 16.23 kB / 0.5262 GB, free: 55.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001949/0.4218, allocations: 129.5 kB / 0.5263 GB, free: 55.87 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/0.4243, allocations: 0.7878 MB / 0.5271 GB, free: 55.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.4269, allocations: 0.7765 MB / 0.5279 GB, free: 55.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/0.4451, allocations: 8.689 MB / 0.5364 GB, free: 52.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004325/0.4455, allocations: 366.1 kB / 0.5367 GB, free: 51.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.4476, allocations: 440.9 kB / 0.5371 GB, free: 51.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.4672, allocations: 7.654 MB / 0.5446 GB, free: 48.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.4673, allocations: 11.73 kB / 0.5446 GB, free: 48.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007889/0.4681, allocations: 183.2 kB / 0.5448 GB, free: 48.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/0.4682, allocations: 156.5 kB / 0.5449 GB, free: 48.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.4799, allocations: 6.554 MB / 0.5513 GB, free: 43.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04469/0.5246, allocations: 31.44 MB / 0.582 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005628/0.5302, allocations: 4.432 MB / 0.5864 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003472/0.5337, allocations: 2.451 MB / 0.5888 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.5338, allocations: 33.83 kB / 0.5888 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/0.5365, allocations: 2.231 MB / 0.591 GB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.127e-06/0.5365, allocations: 0 / 0.591 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=266): time 0.03889/0.5754, allocations: 17.03 MB / 0.6076 GB, free: 2.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003004/0.5757, allocations: 401.9 kB / 0.608 GB, free: 1.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02141/0.5971, allocations: 10.83 MB / 0.6186 GB, free: 6.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008502/0.598, allocations: 85.7 kB / 0.6186 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004888/0.6029, allocations: 3.096 MB / 0.6217 GB, free: 3.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.6043, allocations: 0.9647 MB / 0.6226 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.6057, allocations: 0.6474 MB / 0.6232 GB, free: 1.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6059, allocations: 309.1 kB / 0.6235 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004346/0.6102, allocations: 2.594 MB / 0.6261 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/0.6153, allocations: 3.419 MB / 0.6294 GB, free: 11.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02996/0.6453, allocations: 12.4 MB / 0.6415 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.6453, allocations: 4 kB / 0.6415 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=394) (initialization): time 0.01356/0.6589, allocations: 6.657 MB / 0.648 GB, free: 7.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.6589, allocations: 12 kB / 0.648 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.6589, allocations: 16 kB / 0.6481 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/0.6592, allocations: 130.3 kB / 0.6482 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/0.6632, allocations: 0.9514 MB / 0.6491 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.6662, allocations: 3.39 MB / 0.6524 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/0.6703, allocations: 359.6 kB / 0.6528 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/0.671, allocations: 120 kB / 0.6529 GB, free: 2.703 MB / 462.1 MB Warning: Assuming fixed start value for the following 3 variables: $outputAlias_Vcell[3,1]:VARIABLE(unit = \"V\" fixed = true ) type: Real [3,1] $outputAlias_Vcell[2,1]:VARIABLE(unit = \"V\" fixed = true ) type: Real [3,1] $outputAlias_Vstack:VARIABLE(unit = \"V\" fixed = true ) type: Real 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 (386): * Single equations (assignments): 384 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007664/0.6786, allocations: 4.049 MB / 0.6568 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002262/0.6809, allocations: 0.5511 MB / 0.6574 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.6925, allocations: 5.799 MB / 0.663 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.6925, allocations: 30.48 kB / 0.6631 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6925, allocations: 3.938 kB / 0.6631 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/0.6926, allocations: 11.95 kB / 0.6631 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02961/0.7222, allocations: 16.32 MB / 0.679 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.7222, allocations: 3.938 kB / 0.679 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/0.7255, allocations: 0.7801 MB / 0.6798 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.766e-05/0.7255, allocations: 8 kB / 0.6798 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003884/0.7259, allocations: 123.9 kB / 0.6799 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.7259, allocations: 12 kB / 0.6799 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7259, allocations: 3.938 kB / 0.6799 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.7413, allocations: 8.774 MB / 0.6885 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006438/0.7477, allocations: 2.004 MB / 0.6904 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002571/0.7503, allocations: 120 kB / 0.6906 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003774/0.754, allocations: 327.5 kB / 0.6909 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00075/0.7548, allocations: 189.7 kB / 0.691 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/0.7552, allocations: 75.91 kB / 0.6911 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01601/0.7712, allocations: 7.648 MB / 0.6986 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7712, allocations: 0 / 0.6986 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005343/0.7765, allocations: 1.094 MB / 0.6997 GB, free: 2.445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 25 ($outputAlias_Vstack,$outputAlias_Vcell[2,1],$outputAlias_Vcell[3,1],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].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].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].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 (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01812/0.7946, allocations: 9.787 MB / 0.7092 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01023/0.8049, allocations: 5.563 MB / 0.7146 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.8049, allocations: 192 / 0.7146 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004608/0.8095, allocations: 2.471 MB / 0.7171 GB, free: 456 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009018/0.8185, allocations: 1.388 MB / 0.7184 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3247/1.143, allocations: 86.08 MB / 0.8025 GB, free: 138 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005519/1.149, allocations: 5.969 MB / 0.8083 GB, free: 132 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005679/1.154, allocations: 2.779 MB / 0.811 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005166/1.16, allocations: 2.635 MB / 0.8136 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.814e-06/1.16, allocations: 4 kB / 0.8136 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3912/1.551, allocations: 163.5 MB / 0.9733 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.7/26.26, allocations: 8 kB / 0.9733 GB, free: 159.1 MB / 0.5294 GB " [Timeout remaining time 633] (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: 35.04246668505948] Failed to read output from testmodel.py, exit status != 0: 26.552145909052342 26.561648369 26.365305639 Calling exit ...