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.001497/0.001497, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 169.8 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9176/0.9176, allocations: 158.6 MB / 184.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.06313/0.06313, allocations: 5.561 MB / 242 MB, free: 9.789 MB / 234.7 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ElectricalEnergyStorage.Examples.AdvancedStackCycling,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 359.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.458e-05, allocations: 6.219 kB / 359.5 MB, free: 5.094 MB / 282.7 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.0213/0.02131, allocations: 9.337 MB / 368.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.03879, allocations: 5.511 MB / 374.3 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.04054, allocations: 63.75 kB / 374.4 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006015/0.04656, allocations: 1.535 MB / 375.9 MB, free: 4.566 MB / 298.7 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.003748/0.0503, allocations: 0.6626 MB / 376.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.05343, allocations: 1.22 MB / 377.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01594/0.06937, allocations: 10.83 MB / 388.6 MB, free: 7.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005185/0.07455, allocations: 3.575 MB / 392.2 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006266/0.08082, allocations: 6.05 MB / 398.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.08487, allocations: 4.111 MB / 402.4 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.08633, allocations: 1.281 MB / 403.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.08758, allocations: 1.32 MB / 405 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.08892, allocations: 2.572 MB / 407.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.09193, allocations: 2.994 MB / 410.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.1021, allocations: 17.78 MB / 428.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1022, allocations: 3.984 kB / 428.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1022, allocations: 4 kB / 428.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.1023, allocations: 0 / 428.3 MB, free: 15.98 MB / 362.7 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.01133/0.1136, allocations: 9.339 MB / 437.7 MB, free: 6.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1137, allocations: 15.98 kB / 437.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008579/0.1145, allocations: 0.7834 MB / 438.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.1153, allocations: 0.7695 MB / 439.2 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1629/0.2782, allocations: 8.68 MB / 447.9 MB, free: 66.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.2785, allocations: 357.1 kB / 448.3 MB, free: 66.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.2798, allocations: 438.5 kB / 448.7 MB, free: 65.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.2921, allocations: 7.994 MB / 456.7 MB, free: 62.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.663e-05/0.2922, allocations: 8.844 kB / 456.7 MB, free: 62.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.2926, allocations: 177.4 kB / 456.9 MB, free: 62.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.2928, allocations: 155.2 kB / 457 MB, free: 62.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007084/0.2999, allocations: 6.531 MB / 463.6 MB, free: 59.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02501/0.3249, allocations: 28.67 MB / 492.2 MB, free: 31.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/0.3285, allocations: 4.304 MB / 496.5 MB, free: 27.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.3305, allocations: 2.381 MB / 498.9 MB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/0.3306, allocations: 33.94 kB / 498.9 MB, free: 25.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/0.3323, allocations: 2.398 MB / 0.4896 GB, free: 22.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=203): time 5.32e-06/0.3323, allocations: 3.469 kB / 0.4896 GB, free: 22.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=203): time 0.007306/0.3396, allocations: 6.449 MB / 0.4959 GB, free: 16.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.3397, allocations: 393.8 kB / 0.4963 GB, free: 15.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009719/0.3494, allocations: 10.85 MB / 0.5069 GB, free: 4.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.3497, allocations: 77.7 kB / 0.5069 GB, free: 4.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.3518, allocations: 3.111 MB / 0.51 GB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.3523, allocations: 0.7261 MB / 0.5107 GB, free: 1.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006292/0.3529, allocations: 0.556 MB / 0.5112 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.063e-05/0.3529, allocations: 301.1 kB / 0.5115 GB, free: 424 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.3549, allocations: 1.984 MB / 0.5135 GB, free: 14.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.3573, allocations: 3.066 MB / 0.5164 GB, free: 10.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.3683, allocations: 9.419 MB / 0.5256 GB, free: 1.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3683, allocations: 15.94 kB / 0.5257 GB, free: 1.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=331) (initialization): time 0.006489/0.3748, allocations: 5.544 MB / 0.5311 GB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.3748, allocations: 12.62 kB / 0.5311 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.3748, allocations: 27.92 kB / 0.5311 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/0.3756, allocations: 464.9 kB / 0.5316 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.3769, allocations: 0.6551 MB / 0.5322 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.3812, allocations: 4.697 MB / 0.5368 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/0.3841, allocations: 483.8 kB / 0.5372 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.3843, allocations: 104 kB / 0.5373 GB, free: 5.289 MB / 394.7 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.004939/0.3892, allocations: 3.943 MB / 0.5412 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008422/0.39, allocations: 0.5278 MB / 0.5417 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/0.3948, allocations: 4.636 MB / 0.5462 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3949, allocations: 20 kB / 0.5463 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3949, allocations: 0 / 0.5463 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3949, allocations: 19.89 kB / 0.5463 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.4077, allocations: 12.96 MB / 0.5589 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4077, allocations: 4 kB / 0.5589 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.4088, allocations: 487.2 kB / 0.5594 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/0.4094, allocations: 416.7 kB / 0.5598 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.4095, allocations: 83.97 kB / 0.5599 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.413, allocations: 4.446 MB / 0.5642 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.413, allocations: 0 / 0.5642 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/0.4198, allocations: 6.936 MB / 0.571 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/0.4221, allocations: 1.839 MB / 0.5728 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004905/0.4226, allocations: 87.97 kB / 0.5729 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/0.4236, allocations: 243.6 kB / 0.5731 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.4239, allocations: 165.6 kB / 0.5733 GB, free: 340 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.424, allocations: 55.92 kB / 0.5733 GB, free: 284 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008525/0.4325, allocations: 7.645 MB / 0.5808 GB, free: 8.629 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4325, allocations: 0 / 0.5808 GB, free: 8.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002546/0.4351, allocations: 1.298 MB / 0.582 GB, free: 7.328 MB / 442.7 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.008261/0.4433, allocations: 7.917 MB / 0.5898 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004924/0.4483, allocations: 4.381 MB / 0.5941 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4483, allocations: 0 / 0.5941 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.4502, allocations: 2.09 MB / 0.5961 GB, free: 8.895 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/0.4534, allocations: 1.374 MB / 0.5974 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3924/0.8458, allocations: 81.97 MB / 0.6775 GB, free: 96.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003211/0.849, allocations: 5.356 MB / 0.6827 GB, free: 91.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002941/0.8519, allocations: 2.457 MB / 0.6851 GB, free: 89.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/0.8543, allocations: 2.519 MB / 0.6876 GB, free: 86.54 MB / 458.7 MB Notification: Performance of SimCode: time 1.844e-06/0.8543, allocations: 4 kB / 0.6876 GB, free: 86.53 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3715/1.226, allocations: 158.6 MB / 0.8425 GB, free: 113.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.29, allocations: 8.062 kB / 0.8425 GB, free: 113.6 MB / 474.7 MB " [Timeout remaining time 647] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=me --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling.pipe 2>&1) [Timeout 252.0] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-cvode.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-cvode timed out simulating the FMU (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20000 --stepSize=1 --mode=cs --timeout=240 --tolerance=1e-06 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling_OMSimulator-cs-euler.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy_res.csv --start-time 0 --stop-time 20000 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 ../ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_AdvancedStackCycling.fmu) > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedStackCycling_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 18.103843577206135]