Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.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.00123/0.00123, allocations: 96.36 kB / 20.47 MB, free: 1.367 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.001578/0.001578, allocations: 218.7 kB / 23.76 MB, free: 4.527 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.449/1.449, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.7834/0.7834, allocations: 103.8 MB / 390.7 MB, free: 21.21 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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.BESScbCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESScbCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource") [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.002287/0.002287, allocations: 76.44 kB / 0.5529 GB, free: 58.37 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.16, allocations: 76 MB / 0.6271 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01259/0.1726, allocations: 10.55 MB / 0.6374 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1852, allocations: 6.024 MB / 0.6433 GB, free: 7.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.1888, allocations: 95.25 kB / 0.6434 GB, free: 7.891 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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.00265/0.1914, allocations: 0.7248 MB / 0.6441 GB, free: 7.16 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.004037/0.1955, allocations: 0.9232 MB / 0.645 GB, free: 6.234 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006801/0.2023, allocations: 2.799 MB / 0.6477 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007381/0.2097, allocations: 4.388 MB / 0.652 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.2121, allocations: 1.094 MB / 0.6531 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.2149, allocations: 1.611 MB / 0.6546 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.217, allocations: 1.664 MB / 0.6563 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007088/0.2177, allocations: 468 kB / 0.6567 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.219, allocations: 0.6718 MB / 0.6574 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.2199, allocations: 0.9538 MB / 0.6583 GB, free: 8.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.2215, allocations: 1.387 MB / 0.6596 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007471/0.229, allocations: 5.713 MB / 0.6652 GB, free: 1.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.229, allocations: 4 kB / 0.6652 GB, free: 1.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.229, allocations: 0 / 0.6652 GB, free: 1.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000133/0.2291, allocations: 0 / 0.6652 GB, free: 1.379 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 548 * Number of variables: 548 Notification: Performance of Generate backend data structure: time 0.0124/0.2415, allocations: 4.391 MB / 0.6695 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2416, allocations: 12.03 kB / 0.6695 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.2462, allocations: 0.8924 MB / 0.6704 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/0.2514, allocations: 2.357 MB / 0.6727 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007056/0.2521, allocations: 0.7925 MB / 0.6735 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005125/0.2526, allocations: 220 kB / 0.6737 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007054/0.2597, allocations: 3.436 MB / 0.677 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.2598, allocations: 7.922 kB / 0.677 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.26, allocations: 99.94 kB / 0.6771 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/0.2601, allocations: 56 kB / 0.6772 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006077/0.2662, allocations: 2.461 MB / 0.6796 GB, free: 2.039 MB / 0.4981 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.01653/0.2827, allocations: 8.96 MB / 0.6883 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005769/0.2885, allocations: 2.298 MB / 0.6906 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/0.2909, allocations: 1.068 MB / 0.6916 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.291, allocations: 29.3 kB / 0.6917 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003425/0.2945, allocations: 1.521 MB / 0.6931 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.579e-06/0.2945, allocations: 0 / 0.6931 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01196/0.3064, allocations: 3.909 MB / 0.697 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000483/0.3069, allocations: 0.5101 MB / 0.6975 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/0.3119, allocations: 2.564 MB / 0.7 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000545/0.3125, allocations: 65.7 kB / 0.7 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.314, allocations: 1.42 MB / 0.7014 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009644/0.315, allocations: 0.6042 MB / 0.702 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007088/0.3157, allocations: 359.4 kB / 0.7024 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3158, allocations: 305.1 kB / 0.7026 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.3183, allocations: 1.053 MB / 0.7037 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.3214, allocations: 1.961 MB / 0.7056 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01814/0.3396, allocations: 5.555 MB / 0.711 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.3396, allocations: 4 kB / 0.711 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008116/0.3477, allocations: 3.213 MB / 0.7142 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.3478, allocations: 33.7 kB / 0.7142 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.3478, allocations: 12.91 kB / 0.7142 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.3483, allocations: 316.7 kB / 0.7145 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.3509, allocations: 0.4914 MB / 0.715 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/0.3509, allocations: 27.92 kB / 0.715 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.3532, allocations: 294.7 kB / 0.7153 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.3533, allocations: 71.98 kB / 0.7154 GB, free: 12.48 MB / 0.545 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003579/0.3569, allocations: 1.608 MB / 0.7169 GB, free: 10.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002965/0.3599, allocations: 1.902 MB / 0.7188 GB, free: 8.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01788/0.3778, allocations: 5.434 MB / 0.7241 GB, free: 3.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.27e-05/0.3778, allocations: 4 kB / 0.7241 GB, free: 3.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008436/0.3862, allocations: 3.104 MB / 0.7271 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.3863, allocations: 45.64 kB / 0.7272 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.3863, allocations: 8 kB / 0.7272 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.3868, allocations: 312.9 kB / 0.7275 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.3893, allocations: 475.3 kB / 0.7279 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.163e-05/0.3893, allocations: 27.88 kB / 0.728 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.3917, allocations: 286.8 kB / 0.7282 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.3919, allocations: 75.98 kB / 0.7283 GB, free: 14.74 MB / 0.5606 GB Warning: Assuming fixed start value for the following 21 variables: 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) BESScb.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESScb.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESScb.reecC.firstOrder.y:VARIABLE(flow=false start = BESScb.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.firstOrder1.y:VARIABLE(flow=false start = BESScb.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.firstOrder.y:VARIABLE(flow=false start = BESScb.regcBCS.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.regcBCS.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESScb.regcBCS.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.injector.running.value:DISCRETE(flow=false start = BESScb.injector.Running0 fixed = true ) type: Boolean BESScb.line.running.value:DISCRETE(flow=false start = BESScb.line.Running0 fixed = true ) type: Boolean BESScb.repcA.firstOrder.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder1.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder2.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.firstOrder3.y:VARIABLE(flow=false start = BESScb.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESScb.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESScb.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESScb.repcA.leadLag.a_end * BESScb.repcA.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 42 ($PRE.line.state,line.state,$PRE.BESScb.line.state,BESScb.line.state,$PRE.BESScb.injector.state,BESScb.injector.state,BESScb.injector.switchOffSignal3.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze.local_freeze,$PRE.BESScb.injector.running.value,$PRE.BESScb.line.running.value,$PRE.line.running.value,line.running.value,BESScb.repcA.freeze,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.y,BESScb.reecC.frtOn,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,BESScb.repcA.limPIDFreeze.I.resetLocal,BESScb.repcA.limPID.I.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.reecC.integrator.local_reset,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008521/0.3928, allocations: 444.6 kB / 0.7287 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/0.3935, allocations: 306 kB / 0.729 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009892/0.4034, allocations: 2.996 MB / 0.7319 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.4034, allocations: 23.94 kB / 0.732 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.4034, allocations: 3.938 kB / 0.732 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-05/0.4034, allocations: 7.969 kB / 0.732 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02165/0.4251, allocations: 5.704 MB / 0.7375 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.4251, allocations: 4 kB / 0.7375 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005827/0.4309, allocations: 419.5 kB / 0.7379 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/0.4319, allocations: 300.7 kB / 0.7382 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004643/0.4324, allocations: 51.97 kB / 0.7383 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.531e-05/0.4324, allocations: 11.94 kB / 0.7383 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4324, allocations: 3.938 kB / 0.7383 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/0.4542, allocations: 4.546 MB / 0.7427 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003286/0.4574, allocations: 0.5914 MB / 0.7433 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/0.4586, allocations: 43.98 kB / 0.7434 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/0.4623, allocations: 191.8 kB / 0.7435 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007125/0.4631, allocations: 149.6 kB / 0.7437 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003391/0.4634, allocations: 55.98 kB / 0.7437 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006229/0.4696, allocations: 1.709 MB / 0.7454 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4696, allocations: 4 kB / 0.7454 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006552/0.4762, allocations: 1.063 MB / 0.7464 GB, free: 12.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (BESScb.reecC.firstOrder.y,BESScb.reecC.firstOrder1.y,BESScb.reecC.limPIDFreeze.I.y,BESScb.reecC.varLimPIDFreeze.I.y,BESScb.reecC.rateLimFirstOrderFreeze1.y,BESScb.reecC.slewRateLimiter.y,BESScb.reecC.rateLimFirstOrderFreeze.y,BESScb.reecC.integrator.y,BESScb.regcBCS.firstOrder.y,BESScb.regcBCS.rateLimFirstOrderFreeze.y,BESScb.regcBCS.rateLimFirstOrderFreeze1.y,BESScb.pll.integrator.y,BESScb.pll.limIntegrator.y,BESScb.repcA.firstOrder.y,BESScb.repcA.limPID.I.y,BESScb.repcA.firstOrder1.y,BESScb.repcA.firstOrder2.y,BESScb.repcA.firstOrder3.y,BESScb.repcA.limPIDFreeze.I.y,BESScb.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 22 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition11,BESScb.reecC.frtOn,BESScb.regcBCS.offDelay.y,BESScb.regcBCS.offDelay.delaySignal,BESScb.regcBCS.offDelay.tNext,BESScb.injector.running.value,BESScb.injector.state,BESScb.line.running.value,BESScb.line.state,BESScb.repcA.freeze,line.running.value,line.state) * Number of discrete states: 7 (line.running.value,BESScb.line.running.value,BESScb.injector.running.value,BESScb.regcBCS.offDelay.tNext,BESScb.regcBCS.offDelay.delaySignal,$whenCondition11,$whenCondition10) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002898/0.4791, allocations: 496.6 kB / 0.7469 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01917/0.4983, allocations: 3.981 MB / 0.7508 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.4983, allocations: 4.875 kB / 0.7508 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006068/0.5043, allocations: 1.341 MB / 0.7521 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/0.509, allocations: 0.4952 MB / 0.7526 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/0.5305, allocations: 5.683 MB / 0.7582 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/0.5331, allocations: 1.223 MB / 0.7594 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003009/0.5361, allocations: 356.7 kB / 0.7597 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.5372, allocations: 175.4 kB / 0.7599 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/0.5372, allocations: 0 / 0.7599 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.3239/0.8611, allocations: 39.1 MB / 0.798 GB, free: 147 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2698933470092015] Failed to read output from testmodel.py, exit status != 0: 1.1411208549980074 0.881035873 0.649551655 Calling exit ...