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.001354/0.001354, allocations: 80.83 kB / 20.53 MB, free: 1.258 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.001446/0.001446, allocations: 166.3 kB / 23.78 MB, free: 4.449 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.298/1.298, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 179] 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.6857/0.6857, allocations: 76.97 MB / 314.7 MB, free: 12.72 MB / 302.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.002945/0.002945, allocations: 76.06 kB / 490.2 MB, free: 30.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1298, allocations: 75.97 MB / 0.5529 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01513/0.1449, allocations: 10.55 MB / 0.5632 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1563, allocations: 6.02 MB / 0.5691 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.1586, allocations: 91.31 kB / 0.5692 GB, free: 11.57 MB / 494.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.001867/0.1604, allocations: 0.7249 MB / 0.5699 GB, free: 10.84 MB / 494.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.002595/0.163, allocations: 0.9158 MB / 0.5708 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005686/0.1687, allocations: 2.809 MB / 0.5735 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00573/0.1745, allocations: 4.376 MB / 0.5778 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.1763, allocations: 1.032 MB / 0.5788 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.1784, allocations: 1.607 MB / 0.5804 GB, free: 32 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.1803, allocations: 1.496 MB / 0.5818 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006293/0.1809, allocations: 468 kB / 0.5823 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1821, allocations: 0.66 MB / 0.5829 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008517/0.183, allocations: 0.9538 MB / 0.5838 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.1844, allocations: 1.395 MB / 0.5852 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.1908, allocations: 5.709 MB / 0.5908 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1908, allocations: 0 / 0.5908 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1908, allocations: 0 / 0.5908 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001032/0.1909, allocations: 0 / 0.5908 GB, free: 5.32 MB / 0.4981 GB 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.01139/0.2023, allocations: 4.395 MB / 0.5951 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2023, allocations: 12.03 kB / 0.5951 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004679/0.207, allocations: 0.8948 MB / 0.596 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.2117, allocations: 2.349 MB / 0.5983 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006949/0.2124, allocations: 0.7901 MB / 0.599 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/0.2129, allocations: 227.9 kB / 0.5992 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/0.2192, allocations: 3.425 MB / 0.6026 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.2193, allocations: 7.875 kB / 0.6026 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.2195, allocations: 103.9 kB / 0.6027 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.2196, allocations: 52 kB / 0.6027 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006004/0.2256, allocations: 2.465 MB / 0.6052 GB, free: 5.984 MB / 0.5137 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.01554/0.2411, allocations: 8.964 MB / 0.6139 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006033/0.2471, allocations: 2.294 MB / 0.6161 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.2496, allocations: 1.08 MB / 0.6172 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.2498, allocations: 21.3 kB / 0.6172 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003071/0.2528, allocations: 1.529 MB / 0.6187 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=176): time 4.288e-06/0.2528, allocations: 0 / 0.6187 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=176): time 0.01098/0.2638, allocations: 3.913 MB / 0.6225 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003134/0.2641, allocations: 0.5062 MB / 0.623 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.2687, allocations: 2.553 MB / 0.6255 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003505/0.2691, allocations: 61.7 kB / 0.6256 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.2706, allocations: 1.416 MB / 0.627 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008409/0.2714, allocations: 0.6159 MB / 0.6276 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008545/0.2723, allocations: 355.4 kB / 0.6279 GB, free: 14.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2724, allocations: 301.1 kB / 0.6282 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.275, allocations: 1.057 MB / 0.6292 GB, free: 12.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.2784, allocations: 1.957 MB / 0.6311 GB, free: 10.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01852/0.297, allocations: 5.567 MB / 0.6366 GB, free: 4.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.297, allocations: 4 kB / 0.6366 GB, free: 4.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008667/0.3056, allocations: 3.206 MB / 0.6397 GB, free: 1.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.3057, allocations: 44.3 kB / 0.6397 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3057, allocations: 12 kB / 0.6398 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/0.3063, allocations: 320.7 kB / 0.6401 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.3089, allocations: 495.2 kB / 0.6405 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/0.309, allocations: 27.92 kB / 0.6406 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.3113, allocations: 294.7 kB / 0.6408 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.3115, allocations: 71.98 kB / 0.6409 GB, free: 428 kB / 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.003812/0.3153, allocations: 1.618 MB / 0.6425 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003196/0.3185, allocations: 1.898 MB / 0.6443 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01757/0.3361, allocations: 5.426 MB / 0.6496 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.464e-05/0.3361, allocations: 4 kB / 0.6496 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.00817/0.3443, allocations: 3.108 MB / 0.6527 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.3443, allocations: 37.7 kB / 0.6527 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.3443, allocations: 8 kB / 0.6527 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.3448, allocations: 321.2 kB / 0.653 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/0.3474, allocations: 475.3 kB / 0.6535 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.385e-05/0.3475, allocations: 19.94 kB / 0.6535 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.3498, allocations: 290.8 kB / 0.6538 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.3501, allocations: 75.98 kB / 0.6539 GB, free: 2.68 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.0008736/0.3509, allocations: 453.5 kB / 0.6543 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007981/0.3517, allocations: 302.1 kB / 0.6546 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.3598, allocations: 3.003 MB / 0.6575 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.3599, allocations: 16 kB / 0.6575 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3599, allocations: 4 kB / 0.6575 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.3599, allocations: 11.97 kB / 0.6575 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.3735, allocations: 5.708 MB / 0.6631 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3735, allocations: 0 / 0.6631 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/0.3763, allocations: 423.5 kB / 0.6635 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.3768, allocations: 304.7 kB / 0.6638 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/0.377, allocations: 47.97 kB / 0.6639 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.377, allocations: 8 kB / 0.6639 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.377, allocations: 0 / 0.6639 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.3881, allocations: 4.55 MB / 0.6683 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.3897, allocations: 0.5952 MB / 0.6689 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005953/0.3903, allocations: 51.98 kB / 0.6689 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.3922, allocations: 183.8 kB / 0.6691 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/0.3926, allocations: 145.7 kB / 0.6693 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.3927, allocations: 51.98 kB / 0.6693 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003347/0.3961, allocations: 1.713 MB / 0.671 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3961, allocations: 0 / 0.671 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003208/0.3993, allocations: 1.064 MB / 0.672 GB, free: 15.94 MB / 0.5919 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.00175/0.401, allocations: 497.4 kB / 0.6725 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009823/0.4109, allocations: 3.978 MB / 0.6764 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4109, allocations: 4.062 kB / 0.6764 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.4142, allocations: 1.348 MB / 0.6777 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/0.4172, allocations: 0.5027 MB / 0.6782 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.4295, allocations: 5.679 MB / 0.6837 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.4312, allocations: 1.223 MB / 0.6849 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001918/0.4331, allocations: 352.7 kB / 0.6853 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.4338, allocations: 172.5 kB / 0.6854 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.4338, allocations: 0 / 0.6854 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of Templates: time 0.3078/0.7416, allocations: 35.9 MB / 0.7205 GB, free: 114.2 MB / 0.5919 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 ida -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.598859811900184] Failed to read output from testmodel.py, exit status != 0: 0.7508844269905239 0.7591519210000001 0.5661249690000001 Calling exit ...