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.0008042/0.0008042, 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.0007767/0.0007767, allocations: 177.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.8203/0.8203, allocations: 158.6 MB / 185 MB, free: 3.051 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.4178/0.4178, allocations: 90.28 MB / 327.5 MB, free: 15.03 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.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5 GB, free: 16.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.074e-05, allocations: 3.531 kB / 0.5 GB, free: 16.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01252/0.01255, allocations: 13.6 MB / 0.5133 GB, free: 7.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02299, allocations: 6.765 MB / 0.5199 GB, free: 2.934 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.02498, allocations: 94.09 kB / 0.52 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.0266, allocations: 0.9279 MB / 0.5209 GB, free: 2.387 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.002643/0.02924, allocations: 1.43 MB / 0.5223 GB, free: 1.414 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/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.004244/0.03348, allocations: 3.172 MB / 0.5254 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.03813, allocations: 5.399 MB / 0.5307 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.03959, allocations: 1.196 MB / 0.5319 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.04128, allocations: 1.837 MB / 0.5336 GB, free: 9.25 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.04259, allocations: 1.63 MB / 0.5352 GB, free: 8.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006312/0.04322, allocations: 0.556 MB / 0.5358 GB, free: 8.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009999/0.04422, allocations: 0.8781 MB / 0.5366 GB, free: 7.383 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000659/0.04488, allocations: 1.191 MB / 0.5378 GB, free: 6.188 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008817/0.04576, allocations: 1.433 MB / 0.5392 GB, free: 4.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.0512, allocations: 7.08 MB / 0.5461 GB, free: 13.65 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.05121, allocations: 0 / 0.5461 GB, free: 13.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.993e-06/0.05121, allocations: 3.938 kB / 0.5461 GB, free: 13.64 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.608e-05/0.05127, allocations: 0 / 0.5461 GB, free: 13.64 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: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.008773/0.06004, allocations: 5.784 MB / 0.5518 GB, free: 7.773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.06009, allocations: 8.031 kB / 0.5518 GB, free: 7.766 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003751/0.06047, allocations: 392.2 kB / 0.5521 GB, free: 7.375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.06308, allocations: 1.083 MB / 0.5532 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.06606, allocations: 2.721 MB / 0.5559 GB, free: 3.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.06654, allocations: 1.078 MB / 0.5569 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.06682, allocations: 291.9 kB / 0.5572 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.07102, allocations: 3.946 MB / 0.561 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.07106, allocations: 7.938 kB / 0.5611 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.07126, allocations: 116 kB / 0.5612 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.0713, allocations: 71.94 kB / 0.5612 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/0.07529, allocations: 3.049 MB / 0.5642 GB, free: 10.48 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.01055/0.08584, allocations: 10.84 MB / 0.5748 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.08966, allocations: 2.685 MB / 0.5774 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.09124, allocations: 1.253 MB / 0.5786 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.0914, allocations: 33.98 kB / 0.5787 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00213/0.09353, allocations: 1.735 MB / 0.5804 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=232): time 3.837e-06/0.09353, allocations: 0 / 0.5804 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=232): time 0.00741/0.1009, allocations: 4.641 MB / 0.5849 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/0.1011, allocations: 0.4928 MB / 0.5854 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.1046, allocations: 3.574 MB / 0.5889 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.1048, allocations: 85.69 kB / 0.589 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.106, allocations: 1.649 MB / 0.5906 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000571/0.1066, allocations: 0.8331 MB / 0.5914 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000799/0.1074, allocations: 0.6883 MB / 0.5921 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.1075, allocations: 305.1 kB / 0.5923 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.1096, allocations: 1.656 MB / 0.594 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.1122, allocations: 2.63 MB / 0.5965 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/0.1266, allocations: 8.406 MB / 0.6047 GB, free: 148 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.1266, allocations: 4 kB / 0.6047 GB, free: 144 kB / 0.5105 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.006827/0.1334, allocations: 4.843 MB / 0.6095 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.1335, allocations: 74.44 kB / 0.6095 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.1335, allocations: 8 kB / 0.6095 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.1341, allocations: 380.6 kB / 0.6099 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.1361, allocations: 0.8035 MB / 0.6107 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.1392, allocations: 2.996 MB / 0.6136 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.1413, allocations: 465.5 kB / 0.6141 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.1415, allocations: 128 kB / 0.6142 GB, free: 6.312 MB / 0.5261 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.003683/0.1452, allocations: 2.323 MB / 0.6165 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002877/0.1481, allocations: 2.579 MB / 0.619 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01412/0.1622, allocations: 8.249 MB / 0.627 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.206e-05/0.1622, allocations: 7.984 kB / 0.627 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of matching and sorting (n=487) (initialization_lambda0): time 0.00668/0.1689, allocations: 4.738 MB / 0.6317 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.169, allocations: 65.67 kB / 0.6317 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.169, allocations: 8.031 kB / 0.6317 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.1694, allocations: 387.7 kB / 0.6321 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.1713, allocations: 0.784 MB / 0.6329 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.1743, allocations: 2.999 MB / 0.6358 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.176, allocations: 402.2 kB / 0.6362 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.1761, allocations: 128 kB / 0.6363 GB, free: 15.04 MB / 0.5573 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.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.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 (451): * Single equations (assignments): 449 * 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.0007208/0.1768, allocations: 0.5132 MB / 0.6368 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.1773, allocations: 397.4 kB / 0.6372 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/0.1826, allocations: 3.484 MB / 0.6406 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.1827, allocations: 24 kB / 0.6406 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1827, allocations: 4 kB / 0.6406 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.1827, allocations: 11.95 kB / 0.6406 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.1923, allocations: 7.122 MB / 0.6476 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.1923, allocations: 8 kB / 0.6476 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.1939, allocations: 0.5078 MB / 0.6481 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004971/0.1944, allocations: 360.7 kB / 0.6484 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.1945, allocations: 63.97 kB / 0.6485 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.1976, allocations: 2.979 MB / 0.6514 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.1976, allocations: 11.94 kB / 0.6514 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/0.2051, allocations: 5.529 MB / 0.6568 GB, free: 9.715 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.2062, allocations: 0.7741 MB / 0.6576 GB, free: 8.938 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.2065, allocations: 64.17 kB / 0.6576 GB, free: 8.875 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.2076, allocations: 211.8 kB / 0.6578 GB, free: 8.668 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.2079, allocations: 217.4 kB / 0.658 GB, free: 8.453 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.208, allocations: 75.97 kB / 0.6581 GB, free: 8.379 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002712/0.2107, allocations: 2.352 MB / 0.6604 GB, free: 6.047 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.2107, allocations: 0 / 0.6604 GB, free: 6.047 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002688/0.2134, allocations: 1.575 MB / 0.6619 GB, free: 4.469 MB / 0.573 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 (229): * Single equations (assignments): 218 * 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.008523/0.222, allocations: 6.519 MB / 0.6683 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.009399/0.2314, allocations: 6.262 MB / 0.6744 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.2314, allocations: 8.938 kB / 0.6744 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/0.2342, allocations: 1.971 MB / 0.6764 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.2363, allocations: 0.544 MB / 0.6769 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2734/0.5096, allocations: 33.08 MB / 0.7092 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.5116, allocations: 1.515 MB / 0.7107 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002153/0.5137, allocations: 0.4958 MB / 0.7112 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.5152, allocations: 1.596 MB / 0.7127 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.232e-06/0.5152, allocations: 1.406 kB / 0.7127 GB, free: 152.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08974/0.605, allocations: 84.74 MB / 0.7955 GB, free: 78.44 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.85, allocations: 12.03 kB / 0.7955 GB, free: 78.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.313234058208764]