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.001775/0.001775, allocations: 79.69 kB / 19.95 MB, free: 1.75 MB / 14.72 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.001408/0.001408, allocations: 170.1 kB / 23.23 MB, free: 4.867 MB / 14.72 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.29/1.29, allocations: 158.6 MB / 185 MB, free: 6.402 MB / 174.1 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.6516/0.6516, allocations: 89.96 MB / 327.2 MB, free: 368 kB / 302.1 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.893e-06/1.893e-06, allocations: 1.094 kB / 0.4998 GB, free: 50.26 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.531e-05, allocations: 4.125 kB / 0.4998 GB, free: 50.26 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01251/0.01253, allocations: 14.05 MB / 0.5135 GB, free: 40.86 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.02515, allocations: 6.918 MB / 0.5202 GB, free: 35.87 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003697/0.02884, allocations: 98.22 kB / 0.5203 GB, free: 35.83 MB / 478.1 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.002919/0.03176, allocations: 0.9525 MB / 0.5213 GB, free: 35.31 MB / 478.1 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.005263/0.03703, allocations: 1.443 MB / 0.5227 GB, free: 34.34 MB / 478.1 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.007302/0.04433, allocations: 3.403 MB / 0.526 GB, free: 32.24 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.05631, allocations: 5.507 MB / 0.5314 GB, free: 29.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004272/0.06058, allocations: 1.22 MB / 0.5326 GB, free: 28.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.06441, allocations: 1.897 MB / 0.5344 GB, free: 27.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.06759, allocations: 1.669 MB / 0.536 GB, free: 26.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.06957, allocations: 0.5731 MB / 0.5366 GB, free: 26.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.07225, allocations: 0.906 MB / 0.5375 GB, free: 26.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00181/0.07406, allocations: 1.219 MB / 0.5387 GB, free: 25.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.07734, allocations: 1.47 MB / 0.5401 GB, free: 24.85 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.08895, allocations: 7.294 MB / 0.5472 GB, free: 19.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.08895, allocations: 4 kB / 0.5472 GB, free: 19.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.08895, allocations: 1.344 kB / 0.5472 GB, free: 19.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003248/0.08928, allocations: 0 / 0.5472 GB, free: 19.92 MB / 478.1 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.0208/0.1101, allocations: 6.075 MB / 0.5532 GB, free: 15.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1101, allocations: 13.23 kB / 0.5532 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/0.1177, allocations: 1.27 MB / 0.5544 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005528/0.1232, allocations: 2.751 MB / 0.5571 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005829/0.1238, allocations: 1.304 MB / 0.5584 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006081/0.1244, allocations: 303.7 kB / 0.5587 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007093/0.1315, allocations: 4.129 MB / 0.5627 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.1315, allocations: 5.25 kB / 0.5627 GB, free: 8.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/0.1318, allocations: 131.4 kB / 0.5628 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.1319, allocations: 75.5 kB / 0.5629 GB, free: 8.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006389/0.1383, allocations: 3.211 MB / 0.566 GB, free: 5.898 MB / 478.1 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.01885/0.1571, allocations: 10.82 MB / 0.5766 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007315/0.1645, allocations: 2.832 MB / 0.5794 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/0.1676, allocations: 1.351 MB / 0.5807 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.1679, allocations: 49.97 kB / 0.5807 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004041/0.1719, allocations: 1.897 MB / 0.5826 GB, free: 4.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=258): time 4.789e-06/0.1719, allocations: 0 / 0.5826 GB, free: 4.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.01476/0.1867, allocations: 5.117 MB / 0.5876 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003334/0.187, allocations: 0.4967 MB / 0.5881 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/0.1927, allocations: 3.214 MB / 0.5912 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005734/0.1933, allocations: 85.7 kB / 0.5913 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00182/0.1951, allocations: 1.675 MB / 0.5929 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.1965, allocations: 0.9144 MB / 0.5938 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.1978, allocations: 0.7121 MB / 0.5945 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.198, allocations: 301.1 kB / 0.5948 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/0.202, allocations: 1.735 MB / 0.5965 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005133/0.2072, allocations: 2.72 MB / 0.5992 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03284/0.24, allocations: 9.003 MB / 0.608 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/0.24, allocations: 7.938 kB / 0.608 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01336/0.2534, allocations: 5.067 MB / 0.6129 GB, free: 5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.2535, allocations: 69.66 kB / 0.613 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.2535, allocations: 8.844 kB / 0.613 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.2547, allocations: 480.4 kB / 0.6134 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/0.2589, allocations: 0.8191 MB / 0.6142 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.2654, allocations: 3.428 MB / 0.6176 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.2694, allocations: 437.9 kB / 0.618 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004884/0.2699, allocations: 132 kB / 0.6181 GB, free: 15.54 MB / 0.5294 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.006127/0.276, allocations: 2.416 MB / 0.6205 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005067/0.2811, allocations: 2.669 MB / 0.6231 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03226/0.3133, allocations: 8.851 MB / 0.6317 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.581e-05/0.3133, allocations: 4 kB / 0.6318 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=502) (initialization_lambda0): time 0.01242/0.3258, allocations: 4.978 MB / 0.6366 GB, free: 12.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/0.3259, allocations: 68.33 kB / 0.6367 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.3259, allocations: 8 kB / 0.6367 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.327, allocations: 476.9 kB / 0.6371 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/0.3311, allocations: 0.7918 MB / 0.6379 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/0.3375, allocations: 3.435 MB / 0.6413 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/0.3414, allocations: 402.1 kB / 0.6417 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005556/0.342, allocations: 136 kB / 0.6418 GB, free: 6.715 MB / 0.545 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.001127/0.3431, allocations: 0.5268 MB / 0.6423 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/0.3443, allocations: 377.6 kB / 0.6427 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/0.3543, allocations: 3.822 MB / 0.6464 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.3543, allocations: 27.94 kB / 0.6464 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3543, allocations: 7.938 kB / 0.6464 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.3543, allocations: 15.95 kB / 0.6464 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.3711, allocations: 7.297 MB / 0.6536 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.3711, allocations: 12.06 kB / 0.6536 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/0.3745, allocations: 0.5305 MB / 0.6541 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.3756, allocations: 471.9 kB / 0.6545 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.3758, allocations: 63.97 kB / 0.6546 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00646/0.3823, allocations: 3.421 MB / 0.6579 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.3823, allocations: 4 kB / 0.658 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/0.397, allocations: 5.998 MB / 0.6638 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/0.3995, allocations: 0.7625 MB / 0.6646 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006724/0.4002, allocations: 71.98 kB / 0.6646 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/0.4025, allocations: 227.7 kB / 0.6648 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/0.403, allocations: 229.5 kB / 0.6651 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.4033, allocations: 83.97 kB / 0.6651 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003711/0.407, allocations: 2.09 MB / 0.6672 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.407, allocations: 0 / 0.6672 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004946/0.4119, allocations: 1.703 MB / 0.6688 GB, free: 10.61 MB / 0.5762 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.001905/0.4138, allocations: 0.5224 MB / 0.6694 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01682/0.4306, allocations: 6.656 MB / 0.6759 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.4306, allocations: 0 / 0.6759 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005575/0.4362, allocations: 2.15 MB / 0.678 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.4396, allocations: 0.5681 MB / 0.6785 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.4558, allocations: 7.229 MB / 0.6856 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002003/0.4578, allocations: 1.566 MB / 0.6871 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002885/0.4607, allocations: 0.4908 MB / 0.6876 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008691/0.4615, allocations: 224.5 kB / 0.6878 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.4615, allocations: 0 / 0.6878 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of Templates: time 0.09274/0.5543, allocations: 50.86 MB / 0.7375 GB, free: 4.547 MB / 0.6387 GB " [Timeout remaining time 659] 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 -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: 7.9644770715385675]