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.001025/0.001025, allocations: 76.52 kB / 19.95 MB, free: 4.602 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.001182/0.001182, allocations: 173.2 kB / 23.23 MB, free: 1.32 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.9716/0.9716, 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.4374/0.4374, allocations: 90.27 MB / 327.5 MB, free: 14.98 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 2.064e-06/2.064e-06, allocations: 0 / 0.5 GB, free: 16.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.87e-05, allocations: 7.047 kB / 0.5 GB, free: 16.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01589/0.01592, allocations: 13.61 MB / 0.5133 GB, free: 7.828 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.0296, allocations: 6.761 MB / 0.5199 GB, free: 2.957 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/0.03411, allocations: 99.31 kB / 0.52 GB, free: 2.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.03651, allocations: 0.9278 MB / 0.5209 GB, free: 2.406 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.00461/0.04112, allocations: 1.423 MB / 0.5223 GB, free: 1.426 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.005352/0.04648, allocations: 3.173 MB / 0.5254 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007365/0.05384, allocations: 5.406 MB / 0.5307 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.05611, allocations: 1.193 MB / 0.5319 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.05939, allocations: 1.84 MB / 0.5336 GB, free: 9.246 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.06198, allocations: 1.635 MB / 0.5352 GB, free: 8.082 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.06352, allocations: 0.5547 MB / 0.5358 GB, free: 8.082 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.06535, allocations: 0.8766 MB / 0.5366 GB, free: 7.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.06639, allocations: 1.187 MB / 0.5378 GB, free: 6.148 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.06847, allocations: 1.437 MB / 0.5392 GB, free: 4.707 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.07423, allocations: 7.072 MB / 0.5461 GB, free: 13.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.07424, allocations: 0 / 0.5461 GB, free: 13.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.07424, allocations: 3.938 kB / 0.5461 GB, free: 13.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.235e-05/0.0743, allocations: 0 / 0.5461 GB, free: 13.61 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.008304/0.0826, allocations: 5.788 MB / 0.5518 GB, free: 7.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.08265, allocations: 12.03 kB / 0.5518 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000354/0.08301, allocations: 392.2 kB / 0.5522 GB, free: 7.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.08592, allocations: 1.079 MB / 0.5532 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.08889, allocations: 2.714 MB / 0.5559 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005763/0.08947, allocations: 1.086 MB / 0.5569 GB, free: 2.207 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.08978, allocations: 291.9 kB / 0.5572 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004846/0.09463, allocations: 3.95 MB / 0.5611 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.09467, allocations: 3.938 kB / 0.5611 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.09486, allocations: 120 kB / 0.5612 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.09491, allocations: 72 kB / 0.5612 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.09901, allocations: 3.045 MB / 0.5642 GB, free: 10.44 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.01244/0.1115, allocations: 10.85 MB / 0.5748 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.1153, allocations: 2.679 MB / 0.5774 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.117, allocations: 1.253 MB / 0.5786 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.1172, allocations: 41.97 kB / 0.5787 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002146/0.1193, allocations: 1.739 MB / 0.5804 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=232): time 3.667e-06/0.1193, allocations: 0 / 0.5804 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=232): time 0.007343/0.1267, allocations: 4.637 MB / 0.5849 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.1268, allocations: 0.4889 MB / 0.5854 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.1307, allocations: 3.578 MB / 0.5889 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.1309, allocations: 73.7 kB / 0.589 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.1319, allocations: 1.661 MB / 0.5906 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006203/0.1326, allocations: 0.8291 MB / 0.5914 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000771/0.1333, allocations: 0.6961 MB / 0.5921 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.1334, allocations: 301.1 kB / 0.5924 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.1355, allocations: 1.653 MB / 0.594 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.1384, allocations: 2.626 MB / 0.5965 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/0.1526, allocations: 8.409 MB / 0.6047 GB, free: 104 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.1526, allocations: 4 kB / 0.6047 GB, free: 100 kB / 0.5105 GB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007009/0.1596, allocations: 4.843 MB / 0.6095 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.1597, allocations: 69.66 kB / 0.6095 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.1597, allocations: 8 kB / 0.6096 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004913/0.1602, allocations: 384.8 kB / 0.6099 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.162, allocations: 0.7996 MB / 0.6107 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.1651, allocations: 2.988 MB / 0.6136 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.167, allocations: 465.5 kB / 0.6141 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.1672, allocations: 132.2 kB / 0.6142 GB, free: 6.277 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.003716/0.1709, allocations: 2.321 MB / 0.6165 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002443/0.1734, allocations: 2.58 MB / 0.619 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01509/0.1884, allocations: 8.261 MB / 0.627 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.817e-05/0.1885, allocations: 0 / 0.627 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of matching and sorting (n=487) (initialization_lambda0): time 0.009631/0.1981, allocations: 4.742 MB / 0.6317 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.1982, allocations: 67.69 kB / 0.6317 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.1982, allocations: 12 kB / 0.6317 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.1987, allocations: 379.9 kB / 0.6321 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.2012, allocations: 0.784 MB / 0.6329 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.2046, allocations: 3.002 MB / 0.6358 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.208, allocations: 398.2 kB / 0.6362 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006769/0.2086, allocations: 132 kB / 0.6363 GB, free: 15.01 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.001042/0.2097, allocations: 0.5031 MB / 0.6368 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.2107, allocations: 397.4 kB / 0.6372 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006523/0.2173, allocations: 3.484 MB / 0.6406 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.2173, allocations: 28 kB / 0.6406 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2173, allocations: 0 / 0.6406 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.2173, allocations: 15.95 kB / 0.6406 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.2316, allocations: 7.13 MB / 0.6476 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.2316, allocations: 4 kB / 0.6476 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.2334, allocations: 0.4955 MB / 0.6481 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006176/0.234, allocations: 376.2 kB / 0.6484 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004148/0.2344, allocations: 59.97 kB / 0.6485 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/0.238, allocations: 2.971 MB / 0.6514 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.238, allocations: 11.94 kB / 0.6514 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009531/0.2476, allocations: 5.533 MB / 0.6568 GB, free: 9.676 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/0.2498, allocations: 0.7741 MB / 0.6576 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008261/0.2506, allocations: 63.98 kB / 0.6576 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.2524, allocations: 215.8 kB / 0.6578 GB, free: 8.625 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/0.2528, allocations: 201.5 kB / 0.658 GB, free: 8.426 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.2529, allocations: 83.97 kB / 0.6581 GB, free: 8.344 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004112/0.2571, allocations: 2.348 MB / 0.6604 GB, free: 6.016 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2571, allocations: 0 / 0.6604 GB, free: 6.016 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005916/0.263, allocations: 1.58 MB / 0.6619 GB, free: 4.434 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.01051/0.2735, allocations: 6.512 MB / 0.6683 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01197/0.2855, allocations: 6.274 MB / 0.6744 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.2855, allocations: 3.938 kB / 0.6744 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003971/0.2894, allocations: 1.983 MB / 0.6764 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/0.2937, allocations: 0.5411 MB / 0.6769 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3466/0.6403, allocations: 33.07 MB / 0.7092 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.6428, allocations: 1.518 MB / 0.7107 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002968/0.6458, allocations: 0.4984 MB / 0.7112 GB, free: 154 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/0.6483, allocations: 1.603 MB / 0.7127 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of SimCode: time 2.024e-06/0.6483, allocations: 1.188 kB / 0.7127 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/0.7627, allocations: 84.74 MB / 0.7955 GB, free: 78.39 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.86, allocations: 3.984 kB / 0.7955 GB, free: 78.39 MB / 0.5886 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_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_BESSCurrentSource.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/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] "Error: Could not read variable BESS.injector.PInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.injector.PInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.injector.QInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.injector.QInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.reecC.idCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.reecC.idCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.reecC.iqCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.reecC.iqCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! Error: Could not read variable BESS.injector.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv. Warning: Get data of variable BESS.injector.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.1240916531533]