Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.0008546/0.0008546, allocations: 92.36 kB / 19.71 MB, free: 440 kB / 13.93 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.00109/0.00109, allocations: 212 kB / 23.01 MB, free: 2.977 MB / 13.93 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 1.016/1.016, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.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.4468/0.4468, allocations: 121.3 MB / 407.4 MB, free: 0.6836 MB / 330.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.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 75.89 kB / 0.5775 GB, free: 10.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4053, allocations: 80.45 MB / 0.6561 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.009353/0.4146, allocations: 9.403 MB / 0.6653 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.425, allocations: 5.019 MB / 0.6702 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.4277, allocations: 60.84 kB / 0.6702 GB, free: 10.54 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001568/0.4293, allocations: 0.6705 MB / 0.6709 GB, free: 10.03 MB / 0.4948 GB [/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.003242/0.4325, allocations: 0.9764 MB / 0.6718 GB, free: 9.25 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:94:3-94:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.4361, allocations: 2.041 MB / 0.6738 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004884/0.441, allocations: 3.266 MB / 0.677 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.4425, allocations: 0.6912 MB / 0.6777 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.4446, allocations: 1.235 MB / 0.6789 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.4464, allocations: 1.195 MB / 0.6801 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000845/0.4472, allocations: 341.3 kB / 0.6804 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.4484, allocations: 0.6003 MB / 0.681 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.4489, allocations: 0.724 MB / 0.6817 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.4505, allocations: 1.086 MB / 0.6827 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.4554, allocations: 4.332 MB / 0.687 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4554, allocations: 0 / 0.687 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.915e-06/0.4554, allocations: 1.094 kB / 0.687 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001526/0.4555, allocations: 0 / 0.687 GB, free: 14.28 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.008613/0.4641, allocations: 3.664 MB / 0.6905 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4642, allocations: 10.12 kB / 0.6906 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002905/0.4645, allocations: 251.8 kB / 0.6908 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.4668, allocations: 0.6791 MB / 0.6915 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.4699, allocations: 1.699 MB / 0.6931 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/0.4704, allocations: 0.7606 MB / 0.6939 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.4706, allocations: 180 kB / 0.694 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/0.4753, allocations: 2.416 MB / 0.6964 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.4753, allocations: 7.938 kB / 0.6964 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005823/0.4759, allocations: 75.98 kB / 0.6965 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.4759, allocations: 40 kB / 0.6965 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.479, allocations: 1.878 MB / 0.6983 GB, free: 4.246 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009804/0.4888, allocations: 6.899 MB / 0.7051 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.4916, allocations: 1.777 MB / 0.7068 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.4927, allocations: 0.7972 MB / 0.7076 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.4928, allocations: 28.98 kB / 0.7076 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.4942, allocations: 1.156 MB / 0.7087 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=146): time 3.146e-06/0.4942, allocations: 0 / 0.7087 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146): time 0.005443/0.4997, allocations: 3.008 MB / 0.7117 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.4998, allocations: 278.3 kB / 0.712 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.5026, allocations: 2.318 MB / 0.7142 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.5028, allocations: 61.7 kB / 0.7143 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008221/0.5036, allocations: 1.041 MB / 0.7153 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/0.5041, allocations: 0.5231 MB / 0.7158 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005382/0.5046, allocations: 484.6 kB / 0.7163 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.5047, allocations: 305.1 kB / 0.7166 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.5065, allocations: 1.067 MB / 0.7176 GB, free: 184 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.5083, allocations: 1.636 MB / 0.7192 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.5189, allocations: 5.385 MB / 0.7245 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.5189, allocations: 0 / 0.7245 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.005517/0.5244, allocations: 3.203 MB / 0.7276 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.5245, allocations: 57.67 kB / 0.7276 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.5245, allocations: 8 kB / 0.7276 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.525, allocations: 269.2 kB / 0.7279 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.5265, allocations: 0.5304 MB / 0.7284 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.53, allocations: 2.484 MB / 0.7308 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.5321, allocations: 298.4 kB / 0.7311 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.5323, allocations: 88.27 kB / 0.7312 GB, free: 1.691 MB / 0.5417 GB Warning: Assuming fixed start value for the following 18 variables: 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.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00278/0.5351, allocations: 1.575 MB / 0.7328 GB, free: 120 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002063/0.5371, allocations: 1.62 MB / 0.7343 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009933/0.5471, allocations: 5.357 MB / 0.7396 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.34e-05/0.5471, allocations: 0 / 0.7396 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.005184/0.5523, allocations: 3.175 MB / 0.7427 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.5523, allocations: 57.67 kB / 0.7427 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5523, allocations: 8.562 kB / 0.7427 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.5528, allocations: 276.7 kB / 0.743 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.5542, allocations: 0.5227 MB / 0.7435 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.5566, allocations: 2.487 MB / 0.7459 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.5585, allocations: 258.9 kB / 0.7462 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.5587, allocations: 87.98 kB / 0.7463 GB, free: 1.734 MB / 0.5573 GB Warning: Assuming fixed start value for the following 18 variables: 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.value:DISCRETE(flow=false start = line.Running0 fixed = true ) 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.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.LvTfo.running.value:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) 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: 33 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running.value,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.LvTfo.running.value,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.LvTfo.running.value,BESS.injector.running.value,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.value,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,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 (295): * Single equations (assignments): 293 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007566/0.5594, allocations: 420.4 kB / 0.7467 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.5599, allocations: 250.4 kB / 0.7469 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.5636, allocations: 2.298 MB / 0.7491 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5636, allocations: 20 kB / 0.7492 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5636, allocations: 4 kB / 0.7492 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.5636, allocations: 11.95 kB / 0.7492 GB, free: 14.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006876/0.5705, allocations: 4.579 MB / 0.7537 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5705, allocations: 4 kB / 0.7537 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5717, allocations: 339.9 kB / 0.754 GB, free: 9.719 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.5721, allocations: 264.8 kB / 0.7542 GB, free: 9.457 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5722, allocations: 43.97 kB / 0.7543 GB, free: 9.414 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.5748, allocations: 2.479 MB / 0.7567 GB, free: 6.82 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5748, allocations: 4 kB / 0.7567 GB, free: 6.816 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.5805, allocations: 3.614 MB / 0.7602 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/0.5821, allocations: 485.8 kB / 0.7607 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004513/0.5826, allocations: 48.27 kB / 0.7607 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.5838, allocations: 143.8 kB / 0.7609 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.5841, allocations: 133 kB / 0.761 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/0.5842, allocations: 59.86 kB / 0.7611 GB, free: 2.281 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002014/0.5862, allocations: 1.526 MB / 0.7626 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5862, allocations: 4 kB / 0.7626 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002597/0.5888, allocations: 1.01 MB / 0.7635 GB, free: 15.72 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (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) * Number of discrete variables: 23 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running.value,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.value,BESS.injector.state,BESS.LvTfo.running.value,BESS.LvTfo.state) * Number of discrete states: 4 (BESS.LvTfo.running.value,BESS.injector.running.value,line.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00587/0.5947, allocations: 4.533 MB / 0.768 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007285/0.602, allocations: 4.22 MB / 0.7721 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.602, allocations: 8.125 kB / 0.7721 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.6044, allocations: 1.283 MB / 0.7734 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.6065, allocations: 347.1 kB / 0.7737 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/0.6392, allocations: 21.64 MB / 0.7948 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009603/0.6401, allocations: 0.9789 MB / 0.7958 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001491/0.6416, allocations: 327 kB / 0.7961 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.6427, allocations: 0.9796 MB / 0.797 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of SimCode: time 2.174e-06/0.6427, allocations: 0 / 0.797 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08374/0.7264, allocations: 56.18 MB / 0.8519 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.717/9.443, allocations: 3.094 kB / 0.8519 GB, free: 4.742 MB / 0.6667 GB " [Timeout remaining time 650] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & python3 -m fmpy simulate --output-file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_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_BESSCurrentSourceNoPPC.fmu > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.PInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.injector.QInjPuSn in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.QInjPuSn from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.injector.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.injector.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.reecC.idCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.reecC.idCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! Error: Could not read variable BESS.reecC.iqCmdPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv. Warning: Get data of variable BESS.reecC.iqCmdPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.72676717210561]