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.001813/0.001813, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001998/0.001998, allocations: 222 kB / 23.77 MB, free: 4.422 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.591/1.591, 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.7484/0.7484, allocations: 103.8 MB / 390.7 MB, free: 21.26 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.002259/0.002259, allocations: 73.64 kB / 0.5529 GB, free: 58.41 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1602, allocations: 76 MB / 0.6271 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01262/0.1728, allocations: 10.55 MB / 0.6374 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1867, allocations: 6.024 MB / 0.6433 GB, free: 7.965 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003788/0.1905, allocations: 91.31 kB / 0.6434 GB, free: 7.875 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.002866/0.1933, allocations: 0.717 MB / 0.6441 GB, free: 7.152 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.004826/0.1982, allocations: 0.9313 MB / 0.645 GB, free: 6.215 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007104/0.2053, allocations: 2.789 MB / 0.6477 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007199/0.2125, allocations: 4.384 MB / 0.652 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/0.2154, allocations: 1.035 MB / 0.653 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.2186, allocations: 1.611 MB / 0.6546 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.2215, allocations: 1.492 MB / 0.656 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001313/0.2228, allocations: 468 kB / 0.6565 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.2244, allocations: 0.6639 MB / 0.6571 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009564/0.2254, allocations: 0.9538 MB / 0.658 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.2269, allocations: 1.387 MB / 0.6594 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007199/0.2341, allocations: 5.709 MB / 0.665 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2341, allocations: 3.938 kB / 0.665 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2341, allocations: 4 kB / 0.665 GB, free: 1.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001096/0.2342, allocations: 0 / 0.665 GB, free: 1.621 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.01138/0.2456, allocations: 4.395 MB / 0.6693 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.2456, allocations: 12.03 kB / 0.6693 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004226/0.2499, allocations: 0.8924 MB / 0.6702 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/0.2543, allocations: 2.357 MB / 0.6725 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007189/0.255, allocations: 0.7925 MB / 0.6732 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.2553, allocations: 216 kB / 0.6734 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006226/0.2616, allocations: 3.44 MB / 0.6768 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.2616, allocations: 0 / 0.6768 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.2618, allocations: 99.98 kB / 0.6769 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.2619, allocations: 59.94 kB / 0.677 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005719/0.2676, allocations: 2.465 MB / 0.6794 GB, free: 2.281 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.01604/0.2836, allocations: 8.956 MB / 0.6881 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005875/0.2895, allocations: 2.298 MB / 0.6903 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/0.292, allocations: 1.068 MB / 0.6914 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.2921, allocations: 29.3 kB / 0.6914 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003319/0.2954, allocations: 1.521 MB / 0.6929 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 5.3e-06/0.2954, allocations: 0 / 0.6929 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01136/0.3068, allocations: 3.909 MB / 0.6967 GB, free: 220 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000412/0.3072, allocations: 0.5062 MB / 0.6972 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/0.3134, allocations: 2.564 MB / 0.6997 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006065/0.314, allocations: 69.62 kB / 0.6998 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.3159, allocations: 1.416 MB / 0.7012 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.3172, allocations: 0.612 MB / 0.7018 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.3188, allocations: 355.4 kB / 0.7021 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.319, allocations: 301.1 kB / 0.7024 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/0.322, allocations: 1.061 MB / 0.7034 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003657/0.3256, allocations: 1.953 MB / 0.7053 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01865/0.3443, allocations: 5.563 MB / 0.7108 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.3443, allocations: 4 kB / 0.7108 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009414/0.3537, allocations: 3.205 MB / 0.7139 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.3538, allocations: 41.69 kB / 0.7139 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.3538, allocations: 16.84 kB / 0.714 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.3544, allocations: 316.7 kB / 0.7143 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.357, allocations: 0.4914 MB / 0.7147 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-05/0.3571, allocations: 23.94 kB / 0.7148 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.3603, allocations: 302.6 kB / 0.7151 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000345/0.3607, allocations: 67.98 kB / 0.7151 GB, free: 12.71 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.00538/0.366, allocations: 1.609 MB / 0.7167 GB, free: 11.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003641/0.3697, allocations: 1.894 MB / 0.7185 GB, free: 8.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01753/0.3872, allocations: 5.43 MB / 0.7238 GB, free: 3.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.951e-05/0.3872, allocations: 7.938 kB / 0.7238 GB, free: 3.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008715/0.3959, allocations: 3.104 MB / 0.7269 GB, free: 200 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.396, allocations: 41.64 kB / 0.7269 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.396, allocations: 8 kB / 0.7269 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.3965, allocations: 308.9 kB / 0.7272 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.399, allocations: 479.3 kB / 0.7277 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.744e-05/0.399, allocations: 23.92 kB / 0.7277 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.4015, allocations: 290.8 kB / 0.728 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.4018, allocations: 75.98 kB / 0.7281 GB, free: 14.98 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.001003/0.4028, allocations: 444.4 kB / 0.7285 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/0.4038, allocations: 306 kB / 0.7288 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.4119, allocations: 2.996 MB / 0.7317 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.4119, allocations: 19.94 kB / 0.7317 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.4119, allocations: 0 / 0.7317 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.4119, allocations: 11.95 kB / 0.7317 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.4264, allocations: 5.708 MB / 0.7373 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4264, allocations: 4 kB / 0.7373 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/0.429, allocations: 423.5 kB / 0.7377 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004943/0.4295, allocations: 304.7 kB / 0.738 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.4297, allocations: 43.97 kB / 0.738 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/0.4297, allocations: 8 kB / 0.738 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4297, allocations: 3.938 kB / 0.738 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.4407, allocations: 4.546 MB / 0.7425 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/0.4428, allocations: 0.5953 MB / 0.7431 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/0.4435, allocations: 48 kB / 0.7431 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/0.4456, allocations: 191.8 kB / 0.7433 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.4459, allocations: 145.7 kB / 0.7434 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.4461, allocations: 51.98 kB / 0.7435 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003934/0.45, allocations: 1.709 MB / 0.7452 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.45, allocations: 4 kB / 0.7452 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00418/0.4542, allocations: 1.063 MB / 0.7462 GB, free: 12.26 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.001919/0.4561, allocations: 499.6 kB / 0.7467 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01011/0.4662, allocations: 4.001 MB / 0.7506 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4662, allocations: 0.875 kB / 0.7506 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00361/0.4698, allocations: 1.356 MB / 0.7519 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/0.4739, allocations: 0.4984 MB / 0.7524 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.4888, allocations: 5.756 MB / 0.758 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002436/0.4913, allocations: 1.219 MB / 0.7592 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/0.4927, allocations: 191.4 kB / 0.7594 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/0.4927, allocations: 4 kB / 0.7594 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of Templates: time 0.4648/0.9575, allocations: 55.43 MB / 0.8135 GB, free: 138.5 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 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.849451053887606] Failed to read output from testmodel.py, exit status != 0: 1.3407425112091005 0.976406316 0.740007862 Calling exit ...