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.001264/0.001264, allocations: 72.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.0009864/0.0009864, allocations: 173.2 kB / 23.23 MB, free: 1.324 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.9606/0.9606, allocations: 158.6 MB / 185 MB, free: 3.047 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.4767/0.4767, 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.515e-06/2.515e-06, allocations: 0 / 0.5 GB, free: 16.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.611e-05, allocations: 6.219 kB / 0.5 GB, free: 16.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01444/0.01447, allocations: 14.03 MB / 0.5137 GB, free: 7.547 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.02652, allocations: 6.89 MB / 0.5205 GB, free: 2.586 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.02983, allocations: 102.1 kB / 0.5206 GB, free: 2.543 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.03215, allocations: 0.9432 MB / 0.5215 GB, free: 2.023 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.003869/0.03602, allocations: 1.465 MB / 0.5229 GB, free: 0.9141 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.005246/0.04126, allocations: 3.388 MB / 0.5262 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006586/0.04785, allocations: 5.57 MB / 0.5317 GB, free: 10.61 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.04997, allocations: 1.226 MB / 0.5329 GB, free: 9.688 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.0529, allocations: 1.889 MB / 0.5347 GB, free: 8.434 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.05524, allocations: 1.683 MB / 0.5363 GB, free: 7.242 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.0565, allocations: 0.5691 MB / 0.5369 GB, free: 7.059 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.05777, allocations: 0.9019 MB / 0.5378 GB, free: 6.156 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006837/0.05845, allocations: 1.226 MB / 0.539 GB, free: 4.926 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.06, allocations: 1.484 MB / 0.5404 GB, free: 3.438 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.06562, allocations: 7.259 MB / 0.5475 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.06562, allocations: 0 / 0.5475 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06562, allocations: 3.938 kB / 0.5475 GB, free: 12.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001675/0.06579, allocations: 0 / 0.5475 GB, free: 12.15 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.01048/0.07627, allocations: 6.035 MB / 0.5534 GB, free: 6.035 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.07632, allocations: 8.031 kB / 0.5534 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000425/0.07675, allocations: 417.1 kB / 0.5538 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.08024, allocations: 1.274 MB / 0.5551 GB, free: 4.332 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.08357, allocations: 2.757 MB / 0.5578 GB, free: 1.531 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006216/0.0842, allocations: 1.299 MB / 0.559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.08451, allocations: 303.9 kB / 0.5593 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/0.08924, allocations: 4.118 MB / 0.5633 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.08928, allocations: 3.938 kB / 0.5633 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.0895, allocations: 128 kB / 0.5635 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.08954, allocations: 72 kB / 0.5635 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004563/0.0941, allocations: 3.206 MB / 0.5667 GB, free: 7.875 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.01246/0.1066, allocations: 11.21 MB / 0.5776 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.1107, allocations: 2.835 MB / 0.5804 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.1125, allocations: 1.343 MB / 0.5817 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.1127, allocations: 45.92 kB / 0.5817 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.115, allocations: 1.892 MB / 0.5836 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 4.799e-06/0.115, allocations: 4 kB / 0.5836 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.008285/0.1233, allocations: 5.113 MB / 0.5886 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.1234, allocations: 0.4928 MB / 0.5891 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/0.127, allocations: 3.519 MB / 0.5925 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.1272, allocations: 85.69 kB / 0.5926 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.1284, allocations: 1.681 MB / 0.5942 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.129, allocations: 0.9143 MB / 0.5951 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/0.1299, allocations: 0.7164 MB / 0.5958 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.1299, allocations: 313.1 kB / 0.5961 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.1322, allocations: 1.74 MB / 0.5978 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.1351, allocations: 2.741 MB / 0.6005 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/0.1505, allocations: 9.07 MB / 0.6093 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.1505, allocations: 4 kB / 0.6093 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.007079/0.1576, allocations: 5.148 MB / 0.6144 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.1576, allocations: 69.66 kB / 0.6144 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.1577, allocations: 12 kB / 0.6144 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.1583, allocations: 468.8 kB / 0.6149 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.1602, allocations: 0.8269 MB / 0.6157 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.1638, allocations: 3.417 MB / 0.619 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.1653, allocations: 465.5 kB / 0.6195 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.1655, allocations: 140 kB / 0.6196 GB, free: 0.5938 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.003475/0.169, allocations: 2.441 MB / 0.622 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002683/0.1717, allocations: 2.686 MB / 0.6246 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01486/0.1865, allocations: 8.922 MB / 0.6333 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.033e-05/0.1865, allocations: 4 kB / 0.6333 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.006669/0.1932, allocations: 5.047 MB / 0.6383 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.1933, allocations: 65.66 kB / 0.6383 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1933, allocations: 16.03 kB / 0.6383 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.1938, allocations: 462.7 kB / 0.6388 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.1957, allocations: 0.8152 MB / 0.6396 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.1995, allocations: 3.412 MB / 0.6429 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.2012, allocations: 418.1 kB / 0.6433 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.2014, allocations: 136 kB / 0.6434 GB, free: 7.543 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.000878/0.2023, allocations: 0.5354 MB / 0.644 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.2028, allocations: 409.4 kB / 0.6444 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005814/0.2086, allocations: 3.829 MB / 0.6481 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.2086, allocations: 27.98 kB / 0.6481 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2086, allocations: 4 kB / 0.6481 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.2087, allocations: 11.95 kB / 0.6481 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.219, allocations: 7.588 MB / 0.6555 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.219, allocations: 11.98 kB / 0.6556 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.2206, allocations: 0.5273 MB / 0.6561 GB, free: 10.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/0.2212, allocations: 460.5 kB / 0.6565 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.2214, allocations: 67.97 kB / 0.6566 GB, free: 9.973 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/0.2249, allocations: 3.401 MB / 0.6599 GB, free: 6.453 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2249, allocations: 7.938 kB / 0.6599 GB, free: 6.445 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007873/0.2328, allocations: 6.009 MB / 0.6658 GB, free: 284 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.234, allocations: 0.8014 MB / 0.6666 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.2343, allocations: 67.98 kB / 0.6666 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.2355, allocations: 219.8 kB / 0.6668 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.2358, allocations: 229.5 kB / 0.667 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.2359, allocations: 83.97 kB / 0.6671 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002554/0.2385, allocations: 2.317 MB / 0.6694 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2385, allocations: 0 / 0.6694 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003151/0.2417, 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.008954/0.2506, allocations: 6.987 MB / 0.6778 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2412/0.4918, allocations: 6.696 MB / 0.6844 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.4918, allocations: 2.125 kB / 0.6844 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/0.4953, allocations: 2.154 MB / 0.6865 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.4977, allocations: 0.5592 MB / 0.687 GB, free: 165 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06833/0.566, allocations: 34.05 MB / 0.7203 GB, free: 150.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.5676, allocations: 1.574 MB / 0.7218 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002257/0.5698, allocations: 0.5208 MB / 0.7223 GB, free: 150 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/0.5719, allocations: 1.66 MB / 0.7239 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.395e-06/0.5719, allocations: 0 / 0.7239 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.6784, allocations: 88.84 MB / 0.8107 GB, free: 63.35 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.1, allocations: 11.98 kB / 0.8107 GB, free: 63.34 MB / 0.5886 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceExternalPCS_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/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] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 16.942914227955043]