Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.0009926/0.0009926, allocations: 80.55 kB / 19.95 MB, free: 4.609 MB / 18.57 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.0009346/0.0009346, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.8634/0.8634, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.586/0.586, allocations: 100.1 MB / 337.4 MB, free: 5.492 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5197 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.717e-05, allocations: 3.594 kB / 0.5197 GB, free: 7.742 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01023/0.01025, allocations: 13.68 MB / 0.5331 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008816/0.01906, allocations: 6.766 MB / 0.5397 GB, free: 5.539 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.02064, allocations: 99.31 kB / 0.5398 GB, free: 5.441 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.02196, allocations: 0.8873 MB / 0.5407 GB, free: 4.547 MB / 458.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.002262/0.02422, allocations: 1.563 MB / 0.5422 GB, free: 2.977 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.02735, allocations: 3.01 MB / 0.5451 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003406/0.03076, allocations: 5.438 MB / 0.5504 GB, free: 10.54 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.03196, allocations: 1.21 MB / 0.5516 GB, free: 9.254 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.0332, allocations: 1.854 MB / 0.5534 GB, free: 7.395 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.03439, allocations: 1.651 MB / 0.555 GB, free: 5.738 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.0348, allocations: 0.5586 MB / 0.5556 GB, free: 5.18 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008076/0.03561, allocations: 0.894 MB / 0.5565 GB, free: 4.285 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005545/0.03617, allocations: 1.191 MB / 0.5576 GB, free: 3.09 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.03697, allocations: 1.449 MB / 0.559 GB, free: 1.637 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.04128, allocations: 7.139 MB / 0.566 GB, free: 10.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.04129, allocations: 0 / 0.566 GB, free: 10.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.04129, allocations: 0 / 0.566 GB, free: 10.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.346e-05/0.04133, allocations: 0 / 0.566 GB, free: 10.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.008262/0.04959, allocations: 5.762 MB / 0.5716 GB, free: 4.625 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.04964, allocations: 11.89 kB / 0.5717 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003465/0.04998, allocations: 408.6 kB / 0.572 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.05398, allocations: 1.391 MB / 0.5734 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.05712, allocations: 2.7 MB / 0.576 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.05755, allocations: 1.036 MB / 0.5771 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.05787, allocations: 295.9 kB / 0.5773 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/0.06205, allocations: 4.035 MB / 0.5813 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.06208, allocations: 4 kB / 0.5813 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.06229, allocations: 127.9 kB / 0.5814 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.06232, allocations: 68 kB / 0.5815 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004314/0.06664, allocations: 3.182 MB / 0.5846 GB, free: 6.844 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.07717, allocations: 10.94 MB / 0.5953 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.08118, allocations: 2.781 MB / 0.598 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.08288, allocations: 1.3 MB / 0.5992 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001654/0.08305, allocations: 41.98 kB / 0.5993 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00213/0.08518, allocations: 1.786 MB / 0.601 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=244): time 3.447e-06/0.08518, allocations: 0 / 0.601 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=244): time 0.007505/0.09269, allocations: 4.781 MB / 0.6057 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.09284, allocations: 0.4928 MB / 0.6062 GB, free: 380 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.09605, allocations: 3.499 MB / 0.6096 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.0962, allocations: 81.69 kB / 0.6097 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.09728, allocations: 1.63 MB / 0.6113 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005762/0.09785, allocations: 0.8717 MB / 0.6121 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008167/0.09867, allocations: 0.7162 MB / 0.6128 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.09873, allocations: 305.1 kB / 0.6131 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.1009, allocations: 1.747 MB / 0.6148 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.1037, allocations: 2.722 MB / 0.6175 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/0.1191, allocations: 8.938 MB / 0.6262 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.1191, allocations: 4 kB / 0.6262 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006862/0.1259, allocations: 5.05 MB / 0.6311 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.126, allocations: 69.66 kB / 0.6312 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.126, allocations: 8 kB / 0.6312 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.1265, allocations: 388.5 kB / 0.6316 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.1286, allocations: 0.8347 MB / 0.6324 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.1316, allocations: 2.991 MB / 0.6353 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.1332, allocations: 477.4 kB / 0.6358 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.1334, allocations: 140 kB / 0.6359 GB, free: 1.305 MB / 0.5417 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00336/0.1368, allocations: 2.408 MB / 0.6383 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002529/0.1393, allocations: 2.671 MB / 0.6409 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01496/0.1543, allocations: 8.798 MB / 0.6495 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.398e-06/0.1543, allocations: 4 kB / 0.6495 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.00666/0.1609, allocations: 4.941 MB / 0.6543 GB, free: 13.99 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.161, allocations: 77.78 kB / 0.6544 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.161, allocations: 12 kB / 0.6544 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.1614, allocations: 376.6 kB / 0.6547 GB, free: 13.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.1635, allocations: 0.8191 MB / 0.6555 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.1664, allocations: 2.988 MB / 0.6584 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.1682, allocations: 422.1 kB / 0.6589 GB, free: 9.191 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.1684, allocations: 132 kB / 0.659 GB, free: 9.062 MB / 0.573 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.switchOffSignal3,BESS.switchOffSignal2,BESS.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (471): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007039/0.1691, allocations: 0.5152 MB / 0.6595 GB, free: 8.555 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.1695, allocations: 401.4 kB / 0.6599 GB, free: 8.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/0.1746, allocations: 3.592 MB / 0.6634 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1746, allocations: 24 kB / 0.6634 GB, free: 4.531 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1746, allocations: 4 kB / 0.6634 GB, free: 4.527 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.1746, allocations: 19.95 kB / 0.6634 GB, free: 4.508 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/0.1838, allocations: 7.478 MB / 0.6707 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1838, allocations: 4 kB / 0.6707 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.1854, allocations: 0.523 MB / 0.6712 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.1859, allocations: 368.6 kB / 0.6716 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.186, allocations: 63.97 kB / 0.6716 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003048/0.189, allocations: 2.986 MB / 0.6746 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.189, allocations: 12.03 kB / 0.6746 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007338/0.1964, allocations: 5.692 MB / 0.6801 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.1975, allocations: 0.7819 MB / 0.6809 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.1978, allocations: 67.98 kB / 0.681 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.199, allocations: 227.7 kB / 0.6812 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/0.1994, allocations: 205.5 kB / 0.6814 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.1995, allocations: 83.97 kB / 0.6815 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.1895/0.389, allocations: 2.289 MB / 0.6837 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.389, allocations: 2.406 kB / 0.6837 GB, free: 154.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003854/0.3928, allocations: 1.646 MB / 0.6853 GB, free: 154.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008627/0.4014, allocations: 6.661 MB / 0.6918 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00847/0.4099, allocations: 6.549 MB / 0.6982 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4099, allocations: 2.188 kB / 0.6982 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/0.4125, allocations: 1.999 MB / 0.7002 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.4141, allocations: 0.5342 MB / 0.7007 GB, free: 149 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04969/0.4638, allocations: 33.31 MB / 0.7332 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009509/0.4648, allocations: 1.514 MB / 0.7347 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001629/0.4664, allocations: 0.5574 MB / 0.7352 GB, free: 122.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.4677, allocations: 1.586 MB / 0.7368 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.455e-06/0.4677, allocations: 0 / 0.7368 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/0.5954, allocations: 85.58 MB / 0.8204 GB, free: 35.56 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.8, allocations: 8.047 kB / 0.8204 GB, free: 35.55 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv --output-variables BESS.injector.PInjPuSn BESS.injector.QInjPuSn BESS.reecC.idCmdPu BESS.reecC.iqCmdPu BESS.injector.UPu --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.094353867694736]