Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007598/0.0007598, allocations: 84.44 kB / 20.7 MB, free: 3.848 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.0007642/0.0007642, allocations: 173.1 kB / 23.98 MB, free: 0.5625 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.8266/0.8266, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.4232/0.4232, allocations: 89.96 MB / 328 MB, free: 15.38 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: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.injector.UPu|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5005 GB, free: 16.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.41e-05, allocations: 2.281 kB / 0.5005 GB, free: 16.9 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01064/0.01067, allocations: 14.04 MB / 0.5142 GB, free: 7.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009354/0.02002, allocations: 6.926 MB / 0.521 GB, free: 2.484 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.02241, allocations: 105.9 kB / 0.5211 GB, free: 2.438 MB / 442.7 MB [/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). [/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: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.001741/0.02415, allocations: 0.9522 MB / 0.522 GB, free: 1.918 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.00273/0.02688, allocations: 1.436 MB / 0.5234 GB, free: 0.9531 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation BESS.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation BESS.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation ZPcs.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:61:5-65:11:writable] Warning: In relation ZPcs.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation ZPcs.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.03113, allocations: 3.402 MB / 0.5267 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004631/0.03576, allocations: 5.505 MB / 0.5321 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.03722, allocations: 1.222 MB / 0.5333 GB, free: 9.883 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.03909, allocations: 1.888 MB / 0.5351 GB, free: 8.629 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.04069, allocations: 1.674 MB / 0.5368 GB, free: 7.445 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006768/0.04137, allocations: 0.5754 MB / 0.5373 GB, free: 7.348 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009738/0.04234, allocations: 0.9057 MB / 0.5382 GB, free: 6.441 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006273/0.04297, allocations: 1.23 MB / 0.5394 GB, free: 5.207 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009504/0.04392, allocations: 1.461 MB / 0.5408 GB, free: 3.742 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.04846, allocations: 7.295 MB / 0.548 GB, free: 12.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.04847, allocations: 0 / 0.548 GB, free: 12.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04847, allocations: 0 / 0.548 GB, free: 12.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.149e-05/0.04852, allocations: 0 / 0.548 GB, free: 12.43 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 741 * Number of variables: 741 Notification: Performance of Generate backend data structure: time 0.008283/0.0568, allocations: 6.081 MB / 0.5539 GB, free: 6.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.05684, allocations: 12.03 kB / 0.5539 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.06021, allocations: 1.27 MB / 0.5551 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.06308, allocations: 2.753 MB / 0.5578 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/0.06362, allocations: 1.306 MB / 0.5591 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.0639, allocations: 299.9 kB / 0.5594 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.0682, allocations: 4.13 MB / 0.5634 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.06824, allocations: 7.938 kB / 0.5634 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.06844, allocations: 124 kB / 0.5636 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.06847, allocations: 72 kB / 0.5636 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.07262, allocations: 3.218 MB / 0.5668 GB, free: 8.5 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.01052/0.08314, allocations: 10.83 MB / 0.5773 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.08704, allocations: 2.831 MB / 0.5801 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.08875, allocations: 1.351 MB / 0.5814 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.08892, allocations: 41.98 kB / 0.5815 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002245/0.09116, allocations: 1.908 MB / 0.5833 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=258): time 3.987e-06/0.09117, allocations: 3.938 kB / 0.5833 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.007681/0.09885, allocations: 5.113 MB / 0.5883 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.099, allocations: 0.4928 MB / 0.5888 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.1018, allocations: 3.214 MB / 0.5919 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.102, allocations: 85.69 kB / 0.592 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009052/0.1029, allocations: 1.683 MB / 0.5937 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005604/0.1034, allocations: 0.9144 MB / 0.5946 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.1042, allocations: 0.7082 MB / 0.5953 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.1043, allocations: 305.1 kB / 0.5955 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.1065, allocations: 1.727 MB / 0.5972 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.109, allocations: 2.72 MB / 0.5999 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/0.1239, allocations: 9 MB / 0.6087 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.1239, allocations: 7.938 kB / 0.6087 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006304/0.1302, allocations: 5.071 MB / 0.6136 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.1302, allocations: 69.66 kB / 0.6137 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1303, allocations: 8 kB / 0.6137 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.1308, allocations: 481 kB / 0.6142 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.1328, allocations: 0.8113 MB / 0.615 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.1364, allocations: 3.444 MB / 0.6183 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.1378, allocations: 429.9 kB / 0.6187 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.1379, allocations: 136 kB / 0.6189 GB, free: 2.117 MB / 0.5261 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.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.HvTfo.running.value:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running.value:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) type: Boolean Zcc.running.value:DISCRETE(flow=false start = Zcc.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.002944/0.1409, allocations: 2.415 MB / 0.6212 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002615/0.1435, allocations: 2.665 MB / 0.6238 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0147/0.1582, allocations: 8.855 MB / 0.6325 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.845e-06/0.1582, allocations: 4 kB / 0.6325 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of matching and sorting (n=502) (initialization_lambda0): time 0.006261/0.1645, allocations: 4.978 MB / 0.6373 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.1645, allocations: 69.66 kB / 0.6374 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1645, allocations: 12 kB / 0.6374 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.1651, allocations: 476.6 kB / 0.6379 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.167, allocations: 0.7957 MB / 0.6386 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.1704, allocations: 3.434 MB / 0.642 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.1718, allocations: 402.2 kB / 0.6424 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.1719, allocations: 128 kB / 0.6425 GB, free: 9.285 MB / 0.5573 GB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.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.HvTfo.running.value:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] ZPcs.running.value:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) type: Boolean Zcc.running.value:DISCRETE(flow=false start = Zcc.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: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,Zcc.switchOffSignal2.value,Zcc.switchOffSignal1.value,ZPcs.switchOffSignal2.value,ZPcs.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.LvTfo.running.value,$PRE.BESS.HvTfo.running.value,$PRE.ZPcs.running.value,$PRE.Zcc.running.value,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,Zcc.running.value,ZPcs.running.value,BESS.repcA.freeze,BESS.HvTfo.running.value,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (462): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008068/0.1727, allocations: 0.54 MB / 0.643 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.1731, allocations: 385.6 kB / 0.6434 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.1783, allocations: 3.818 MB / 0.6471 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.1783, allocations: 27.94 kB / 0.6472 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1783, allocations: 4 kB / 0.6472 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.1783, allocations: 15.95 kB / 0.6472 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008711/0.187, allocations: 7.296 MB / 0.6543 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.187, allocations: 8.562 kB / 0.6543 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.1886, allocations: 0.5345 MB / 0.6548 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.1892, allocations: 468.5 kB / 0.6553 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.1893, allocations: 63.97 kB / 0.6553 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003703/0.193, allocations: 3.412 MB / 0.6587 GB, free: 8.504 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.193, allocations: 11.94 kB / 0.6587 GB, free: 8.492 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007569/0.2006, allocations: 6.002 MB / 0.6645 GB, free: 2.324 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.2016, allocations: 0.7664 MB / 0.6653 GB, free: 1.555 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.2019, allocations: 71.98 kB / 0.6654 GB, free: 1.484 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.203, allocations: 227.6 kB / 0.6656 GB, free: 1.262 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.2033, allocations: 233.5 kB / 0.6658 GB, free: 1.035 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.2034, allocations: 83.95 kB / 0.6659 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001956/0.2054, allocations: 2.09 MB / 0.6679 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.2054, allocations: 0 / 0.6679 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00248/0.2078, allocations: 1.707 MB / 0.6696 GB, free: 13.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running.value,BESS.injector.state,BESS.LvTfo.running.value,BESS.LvTfo.state,BESS.HvTfo.running.value,BESS.HvTfo.state,BESS.repcA.freeze,ZPcs.running.value,ZPcs.state,Zcc.running.value,Zcc.state) * Number of discrete states: 6 (Zcc.running.value,ZPcs.running.value,BESS.HvTfo.running.value,BESS.LvTfo.running.value,BESS.injector.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008737/0.2087, allocations: 0.5186 MB / 0.6701 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008578/0.2173, allocations: 6.655 MB / 0.6766 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2173, allocations: 4 kB / 0.6766 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003042/0.2203, allocations: 2.151 MB / 0.6787 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.2219, allocations: 0.5561 MB / 0.6792 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1752/0.397, allocations: 7.221 MB / 0.6863 GB, free: 163.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.3984, allocations: 1.568 MB / 0.6878 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001891/0.4003, allocations: 499.3 kB / 0.6883 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.4009, allocations: 228.6 kB / 0.6885 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.4009, allocations: 0 / 0.6885 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.04748/0.4484, allocations: 50.86 MB / 0.7382 GB, free: 137.7 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.531294513028115]