Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.0008855/0.0008855, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.0008528/0.0008528, allocations: 169.2 kB / 23.23 MB, free: 1.332 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.89/0.89, allocations: 158.6 MB / 185 MB, free: 3.062 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.486/0.486, allocations: 90.27 MB / 327.5 MB, free: 15 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 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 it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.5 GB, free: 16.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.788e-05, allocations: 6.281 kB / 0.5 GB, free: 16.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.0134/0.01343, allocations: 14.03 MB / 0.5137 GB, free: 7.535 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.02657, allocations: 6.887 MB / 0.5205 GB, free: 2.578 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.03076, allocations: 100.1 kB / 0.5205 GB, free: 2.535 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.03275, allocations: 0.9415 MB / 0.5215 GB, free: 2.02 MB / 442.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.003416/0.03617, allocations: 1.473 MB / 0.5229 GB, free: 0.9258 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation ZPcs.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation ZPcs.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112: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.005066/0.04123, allocations: 3.378 MB / 0.5262 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006291/0.04752, allocations: 5.573 MB / 0.5316 GB, free: 10.63 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.04944, allocations: 1.226 MB / 0.5328 GB, free: 9.707 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.05237, allocations: 1.901 MB / 0.5347 GB, free: 8.441 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.05484, allocations: 1.678 MB / 0.5363 GB, free: 7.254 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008625/0.05571, allocations: 0.5675 MB / 0.5369 GB, free: 7.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.05696, allocations: 0.8979 MB / 0.5378 GB, free: 6.172 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.05762, allocations: 1.226 MB / 0.539 GB, free: 4.941 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.05881, allocations: 1.48 MB / 0.5404 GB, free: 3.457 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.06389, allocations: 7.275 MB / 0.5475 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.06389, allocations: 0 / 0.5475 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.06389, allocations: 0 / 0.5475 GB, free: 12.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.344e-05/0.06396, allocations: 0 / 0.5475 GB, free: 12.16 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.008948/0.0729, allocations: 6.038 MB / 0.5534 GB, free: 6.043 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.07295, allocations: 12.03 kB / 0.5534 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003691/0.07332, allocations: 417.1 kB / 0.5538 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.07645, allocations: 1.27 MB / 0.5551 GB, free: 4.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.07945, allocations: 2.753 MB / 0.5578 GB, free: 1.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006176/0.08007, allocations: 1.307 MB / 0.559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.08037, allocations: 303.9 kB / 0.5593 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00457/0.08494, allocations: 4.114 MB / 0.5633 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.08497, allocations: 4 kB / 0.5633 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.08518, allocations: 128 kB / 0.5635 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.08521, allocations: 72 kB / 0.5635 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/0.08946, allocations: 3.206 MB / 0.5667 GB, free: 7.883 MB / 490.7 MB 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.01188/0.1013, allocations: 11.21 MB / 0.5776 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003845/0.1052, allocations: 2.827 MB / 0.5804 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.1073, allocations: 1.352 MB / 0.5817 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.1074, allocations: 41.98 kB / 0.5817 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/0.1096, allocations: 1.892 MB / 0.5836 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 3.636e-06/0.1096, allocations: 0 / 0.5836 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.007893/0.1175, allocations: 5.113 MB / 0.5886 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.1177, allocations: 0.5006 MB / 0.5891 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.1211, allocations: 3.523 MB / 0.5925 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.1212, allocations: 85.69 kB / 0.5926 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.1223, allocations: 1.669 MB / 0.5942 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009058/0.1232, allocations: 0.9144 MB / 0.5951 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008169/0.124, allocations: 0.7202 MB / 0.5958 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.1241, allocations: 313.1 kB / 0.5961 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.1262, allocations: 1.744 MB / 0.5978 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.1289, allocations: 2.745 MB / 0.6005 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/0.1443, allocations: 9.058 MB / 0.6093 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.1443, allocations: 8 kB / 0.6093 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.006942/0.1512, allocations: 5.144 MB / 0.6144 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.1513, allocations: 73.69 kB / 0.6144 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.1513, allocations: 8 kB / 0.6144 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.1519, allocations: 468.5 kB / 0.6149 GB, free: 5.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.1541, allocations: 0.8269 MB / 0.6157 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.1577, allocations: 3.421 MB / 0.619 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.1594, allocations: 469.5 kB / 0.6195 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.1596, allocations: 136 kB / 0.6196 GB, free: 0.6055 MB / 0.5261 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003353/0.163, allocations: 2.442 MB / 0.622 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002687/0.1656, allocations: 2.686 MB / 0.6246 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01468/0.1803, allocations: 8.922 MB / 0.6333 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.249e-05/0.1803, allocations: 4 kB / 0.6333 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.00693/0.1873, allocations: 5.05 MB / 0.6383 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.1873, allocations: 68 kB / 0.6383 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1873, allocations: 8 kB / 0.6383 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/0.1879, allocations: 469.3 kB / 0.6388 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.1898, allocations: 0.8113 MB / 0.6396 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.1933, allocations: 3.423 MB / 0.6429 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.1951, allocations: 418.1 kB / 0.6433 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.1952, allocations: 136 kB / 0.6435 GB, free: 7.547 MB / 0.5573 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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: 46 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.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,Zcc.running,ZPcs.running,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,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 (474): * Single equations (assignments): 472 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008436/0.1961, allocations: 0.5262 MB / 0.644 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.1965, allocations: 405.4 kB / 0.6444 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/0.2018, allocations: 3.825 MB / 0.6481 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.2018, allocations: 28 kB / 0.6481 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2018, allocations: 7.984 kB / 0.6481 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.2018, allocations: 11.95 kB / 0.6481 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/0.2114, allocations: 7.588 MB / 0.6555 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.2114, allocations: 4 kB / 0.6555 GB, free: 11.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.213, allocations: 0.5271 MB / 0.6561 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.2135, allocations: 460.5 kB / 0.6565 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.2137, allocations: 63.97 kB / 0.6566 GB, free: 9.992 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/0.2172, allocations: 3.413 MB / 0.6599 GB, free: 6.461 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2172, allocations: 11.88 kB / 0.6599 GB, free: 6.449 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007869/0.2251, allocations: 6.003 MB / 0.6658 GB, free: 292 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.2262, allocations: 0.8014 MB / 0.6666 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.2265, allocations: 71.92 kB / 0.6666 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.2276, allocations: 215.8 kB / 0.6668 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/0.2279, allocations: 229.5 kB / 0.667 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.228, allocations: 87.97 kB / 0.6671 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002457/0.2305, allocations: 2.313 MB / 0.6694 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.2305, allocations: 7.938 kB / 0.6694 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003072/0.2336, allocations: 1.661 MB / 0.671 GB, free: 10.93 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008213/0.2418, allocations: 6.981 MB / 0.6778 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2564/0.4982, allocations: 6.701 MB / 0.6844 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.4982, allocations: 3.625 kB / 0.6844 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003998/0.5022, allocations: 2.15 MB / 0.6865 GB, free: 165 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.5049, allocations: 0.5628 MB / 0.687 GB, free: 164.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06356/0.5685, allocations: 34.04 MB / 0.7203 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.5698, allocations: 1.573 MB / 0.7218 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001895/0.5717, allocations: 0.5191 MB / 0.7223 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/0.5732, allocations: 1.662 MB / 0.7239 GB, free: 148.5 MB / 0.5886 GB Notification: Performance of SimCode: time 3.737e-06/0.5732, allocations: 0 / 0.7239 GB, free: 148.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09859/0.6717, allocations: 88.83 MB / 0.8107 GB, free: 63.35 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.77, allocations: 15.25 kB / 0.8107 GB, free: 63.34 MB / 0.5886 GB " [Timeout remaining time 647] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable BESS.injector.PInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv. Warning: Get data of variable BESS.injector.PInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv failed! Error: Could not read variable BESS.injector.QInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv. Warning: Get data of variable BESS.injector.QInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv failed! Error: Could not read variable BESS.injector.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv. Warning: Get data of variable BESS.injector.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv failed! Error: Could not read variable BESS.reecC.idCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv. Warning: Get data of variable BESS.reecC.idCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv failed! Error: Could not read variable BESS.reecC.iqCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv. Warning: Get data of variable BESS.reecC.iqCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.05517786834389]