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.00161/0.00161, allocations: 100.4 kB / 19.72 MB, free: 2.078 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.002/0.002, allocations: 217.9 kB / 23.01 MB, free: 4.887 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.496/1.496, allocations: 207.7 MB / 233.9 MB, free: 9.805 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.846/0.846, allocations: 103.8 MB / 389.9 MB, free: 21.4 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.002274/0.002274, allocations: 74.52 kB / 0.5521 GB, free: 58.43 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1431, allocations: 76 MB / 0.6263 GB, free: 8.801 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01123/0.1543, allocations: 10.55 MB / 0.6367 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1672, allocations: 6.032 MB / 0.6425 GB, free: 8.129 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.1704, allocations: 87.38 kB / 0.6426 GB, free: 8.043 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.00279/0.1732, allocations: 0.7244 MB / 0.6433 GB, free: 7.316 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.003874/0.1771, allocations: 0.9234 MB / 0.6442 GB, free: 6.391 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006771/0.1839, allocations: 2.814 MB / 0.647 GB, free: 3.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007858/0.1917, allocations: 4.372 MB / 0.6513 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.1945, allocations: 1.094 MB / 0.6523 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.1974, allocations: 1.611 MB / 0.6539 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.2, allocations: 1.668 MB / 0.6555 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009851/0.201, allocations: 468 kB / 0.656 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.2023, allocations: 0.6717 MB / 0.6566 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008935/0.2032, allocations: 0.9461 MB / 0.6575 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.2049, allocations: 1.399 MB / 0.6589 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00903/0.2139, allocations: 5.717 MB / 0.6645 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2139, allocations: 0 / 0.6645 GB, free: 1.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2139, allocations: 0 / 0.6645 GB, free: 1.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001686/0.2141, allocations: 0 / 0.6645 GB, free: 1.527 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.01417/0.2283, allocations: 4.393 MB / 0.6688 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.2283, allocations: 8.031 kB / 0.6688 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.2332, allocations: 0.8924 MB / 0.6697 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/0.239, allocations: 2.346 MB / 0.672 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008084/0.2399, allocations: 0.7945 MB / 0.6727 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/0.2405, allocations: 224 kB / 0.6729 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/0.2476, allocations: 3.436 MB / 0.6763 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.2477, allocations: 7.938 kB / 0.6763 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.2479, allocations: 92 kB / 0.6764 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.248, allocations: 55.94 kB / 0.6765 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.2542, allocations: 2.473 MB / 0.6789 GB, free: 2.195 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.01807/0.2723, allocations: 8.956 MB / 0.6876 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006297/0.2786, allocations: 2.298 MB / 0.6899 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.2811, allocations: 1.068 MB / 0.6909 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.2812, allocations: 29.3 kB / 0.6909 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003091/0.2843, allocations: 1.521 MB / 0.6924 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=176): time 4.408e-06/0.2843, allocations: 4 kB / 0.6924 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=176): time 0.01163/0.2959, allocations: 3.909 MB / 0.6962 GB, free: 128 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003824/0.2963, allocations: 0.5139 MB / 0.6967 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/0.3009, allocations: 2.549 MB / 0.6992 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003279/0.3013, allocations: 61.7 kB / 0.6993 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.3029, allocations: 1.423 MB / 0.7007 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008736/0.3037, allocations: 0.6081 MB / 0.7013 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000719/0.3045, allocations: 355.4 kB / 0.7016 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3046, allocations: 305.1 kB / 0.7019 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.307, allocations: 1.057 MB / 0.7029 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003166/0.3102, allocations: 1.957 MB / 0.7048 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01767/0.3279, allocations: 5.563 MB / 0.7103 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.3279, allocations: 0 / 0.7103 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008175/0.336, allocations: 3.214 MB / 0.7134 GB, free: 13.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.3361, allocations: 41.73 kB / 0.7135 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.3361, allocations: 8 kB / 0.7135 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.3367, allocations: 336.6 kB / 0.7138 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.3392, allocations: 491.2 kB / 0.7142 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/0.3393, allocations: 23.92 kB / 0.7143 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.3415, allocations: 294.7 kB / 0.7146 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.3417, allocations: 75.98 kB / 0.7146 GB, free: 12.63 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.003628/0.3453, allocations: 1.604 MB / 0.7162 GB, free: 11.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003084/0.3484, allocations: 1.898 MB / 0.718 GB, free: 8.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01808/0.3665, allocations: 5.415 MB / 0.7233 GB, free: 3.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.748e-06/0.3665, allocations: 0 / 0.7233 GB, free: 3.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.008669/0.3751, allocations: 3.115 MB / 0.7264 GB, free: 120 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.3752, allocations: 41.44 kB / 0.7264 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.3752, allocations: 12 kB / 0.7264 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.3758, allocations: 313.4 kB / 0.7267 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.3785, allocations: 475.3 kB / 0.7272 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.689e-05/0.3785, allocations: 27.92 kB / 0.7272 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.3811, allocations: 286.9 kB / 0.7275 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.3813, allocations: 71.98 kB / 0.7275 GB, free: 14.91 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.001016/0.3823, allocations: 444.1 kB / 0.728 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/0.3833, allocations: 310.1 kB / 0.7283 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008392/0.3917, allocations: 2.999 MB / 0.7312 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.3917, allocations: 20 kB / 0.7312 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.3917, allocations: 4 kB / 0.7312 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.3917, allocations: 7.969 kB / 0.7312 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.4065, allocations: 5.712 MB / 0.7368 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.4066, allocations: 0 / 0.7368 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/0.4094, allocations: 419.5 kB / 0.7372 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.41, allocations: 312.6 kB / 0.7375 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.4103, allocations: 47.98 kB / 0.7375 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/0.4103, allocations: 7.938 kB / 0.7376 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4103, allocations: 8 kB / 0.7376 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.4218, allocations: 4.542 MB / 0.742 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/0.4238, allocations: 0.5913 MB / 0.7426 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/0.4245, allocations: 51.94 kB / 0.7426 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/0.4266, allocations: 187.8 kB / 0.7428 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/0.427, allocations: 141.7 kB / 0.7429 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/0.4273, allocations: 59.97 kB / 0.743 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004001/0.4313, allocations: 1.705 MB / 0.7447 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4313, allocations: 0 / 0.7447 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004649/0.4359, allocations: 1.064 MB / 0.7457 GB, free: 12.18 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.00208/0.438, allocations: 493.7 kB / 0.7462 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.4484, allocations: 3.986 MB / 0.7501 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.4484, allocations: 4 kB / 0.7501 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/0.4518, allocations: 1.341 MB / 0.7514 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.4548, allocations: 0.4912 MB / 0.7519 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.4668, allocations: 5.699 MB / 0.7574 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.4683, allocations: 1.223 MB / 0.7586 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001776/0.4701, allocations: 344.7 kB / 0.7589 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.4707, allocations: 175.4 kB / 0.7591 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.4707, allocations: 0 / 0.7591 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of Templates: time 0.3465/0.8172, allocations: 39.1 MB / 0.7973 GB, free: 147.2 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: 7.44939363701269] Failed to read output from testmodel.py, exit status != 0: 1.1559980870224535 0.837838356 0.6213324179999999 Calling exit ...