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.0009963/0.0009963, allocations: 72.95 kB / 20.74 MB, free: 3.75 MB / 18.57 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.001005/0.001005, allocations: 169 kB / 24.17 MB, free: 332 kB / 18.57 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 0.8674/0.8674, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 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.3895/0.3895, allocations: 76.91 MB / 315.3 MB, free: 10.63 MB / 298.7 MB " [Timeout remaining time 180] 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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 366.9 MB, free: 8.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.482e-05, allocations: 5.922 kB / 366.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.009918/0.009942, allocations: 10.92 MB / 377.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008626/0.01857, allocations: 6.314 MB / 384.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.01994, allocations: 91.31 kB / 384.2 MB, free: 7.383 MB / 362.7 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.001306/0.02124, allocations: 0.744 MB / 385 MB, free: 6.633 MB / 362.7 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.001976/0.02322, allocations: 0.9386 MB / 385.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.02651, allocations: 2.807 MB / 388.7 MB, free: 2.875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.02963, allocations: 4.371 MB / 393.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.03069, allocations: 1.081 MB / 394.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.03175, allocations: 1.488 MB / 395.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.03264, allocations: 1.25 MB / 396.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.03299, allocations: 468 kB / 397.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006472/0.03364, allocations: 0.6793 MB / 398 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004686/0.0341, allocations: 0.9615 MB / 399 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009578/0.03506, allocations: 1.141 MB / 400.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.0373, allocations: 3.028 MB / 403.2 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.03731, allocations: 7.984 kB / 403.2 MB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.03731, allocations: 4 kB / 403.2 MB, free: 4.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.03733, allocations: 0 / 403.2 MB, free: 4.273 MB / 378.7 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.004463/0.04179, allocations: 4.195 MB / 407.4 MB, free: 24 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.04182, allocations: 8.031 kB / 407.4 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.04428, allocations: 1.078 MB / 408.4 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.04605, allocations: 1.526 MB / 410 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.04642, allocations: 0.7851 MB / 410.8 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.04664, allocations: 244.2 kB / 411 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.04868, allocations: 2.411 MB / 413.4 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.04871, allocations: 3.938 kB / 413.4 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.04883, allocations: 95.98 kB / 413.5 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003093/0.04914, allocations: 56 kB / 413.6 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.05016, allocations: 0.7025 MB / 414.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/0.05657, allocations: 6.495 MB / 420.8 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.05845, allocations: 1.053 MB / 421.8 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.05895, allocations: 314.4 kB / 422.1 MB, free: 496 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.076e-05/0.05904, allocations: 41.3 kB / 422.2 MB, free: 456 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/0.05997, allocations: 0.8012 MB / 423 MB, free: 15.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 3.787e-06/0.05998, allocations: 0 / 423 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.003015/0.06299, allocations: 1.415 MB / 424.4 MB, free: 14.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.06318, allocations: 0.5101 MB / 424.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.06508, allocations: 1.957 MB / 426.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.06519, allocations: 65.64 kB / 426.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008674/0.06605, allocations: 0.9285 MB / 427.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.06649, allocations: 0.6081 MB / 428.4 MB, free: 9.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/0.06696, allocations: 355.2 kB / 428.8 MB, free: 9.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.06705, allocations: 305.1 kB / 429.1 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.06756, allocations: 253.3 kB / 429.3 MB, free: 9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.06846, allocations: 1.121 MB / 430.5 MB, free: 7.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.07031, allocations: 1.411 MB / 431.9 MB, free: 6.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.07032, allocations: 4 kB / 431.9 MB, free: 6.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00233/0.07265, allocations: 1.305 MB / 433.2 MB, free: 4.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.07269, allocations: 41.69 kB / 433.2 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.07271, allocations: 8 kB / 433.2 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003006/0.07301, allocations: 209.1 kB / 433.4 MB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.07464, allocations: 499.3 kB / 433.9 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.07466, allocations: 27.92 kB / 433.9 MB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/0.07557, allocations: 234.9 kB / 434.2 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.07568, allocations: 59.98 kB / 434.2 MB, free: 3.621 MB / 410.7 MB 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.001189/0.07687, allocations: 472.3 kB / 434.7 MB, free: 3.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009485/0.07782, allocations: 1.113 MB / 435.8 MB, free: 1.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001749/0.07957, allocations: 1.393 MB / 437.2 MB, free: 224 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.085e-06/0.07958, allocations: 4 kB / 437.2 MB, free: 220 kB / 410.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.002298/0.08187, allocations: 1.305 MB / 438.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.08191, allocations: 37.7 kB / 438.5 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.08192, allocations: 8 kB / 438.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.08218, allocations: 205.1 kB / 438.8 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.08374, allocations: 491.3 kB / 439.2 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.08376, allocations: 31.88 kB / 439.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/0.0847, allocations: 235 kB / 439.5 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.08481, allocations: 59.98 kB / 439.6 MB, free: 13.83 MB / 426.7 MB 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.reecC.limPIDFreeze.I.resetLocal,BESScb.reecC.varLimPIDFreeze.I.resetLocal,BESScb.reecC.integrator.local_reset,BESScb.pll.integrator.local_reset,BESScb.pll.limIntegrator.local_reset,BESScb.repcA.limPID.I.local_reset,BESScb.repcA.limPIDFreeze.I.resetLocal,$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.regcBCS.rateLimFirstOrderFreeze.local_freeze,BESScb.regcBCS.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1.value,line.switchOffSignal2.value,BESScb.injector.switchOffSignal1.value,BESScb.injector.switchOffSignal2.value,BESScb.injector.switchOffSignal3.value) * 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.0004708/0.08528, allocations: 454.8 kB / 440 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.0856, allocations: 231.8 kB / 440.2 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.08809, allocations: 1.293 MB / 441.5 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.0881, allocations: 23.94 kB / 441.5 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.08811, allocations: 0 / 441.5 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.08812, allocations: 7.969 kB / 441.5 MB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004803/0.09293, allocations: 2.824 MB / 444.4 MB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.09293, allocations: 0 / 444.4 MB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/0.09458, allocations: 411.5 kB / 444.8 MB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.09483, allocations: 188.7 kB / 445 MB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.09495, allocations: 47.97 kB / 445 MB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.09495, allocations: 4 kB / 445 MB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.09496, allocations: 8 kB / 445 MB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.09785, allocations: 1.774 MB / 446.8 MB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006858/0.09854, allocations: 309.6 kB / 447.1 MB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.09877, allocations: 44 kB / 447.1 MB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007854/0.09956, allocations: 135.9 kB / 447.3 MB, free: 6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.09981, allocations: 145.7 kB / 447.4 MB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-05/0.09991, allocations: 39.98 kB / 447.5 MB, free: 5.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.101, allocations: 1.033 MB / 448.5 MB, free: 4.773 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.101, allocations: 0 / 448.5 MB, free: 4.773 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002059/0.1031, allocations: 1.063 MB / 449.5 MB, free: 3.707 MB / 426.7 MB 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.001297/0.1044, allocations: 0.5405 MB / 450.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/0.107, allocations: 1.754 MB / 451.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-05/0.107, allocations: 28.5 kB / 451.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008941/0.1079, allocations: 0.6346 MB / 452.5 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.1094, allocations: 0.535 MB / 453 MB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.1159, allocations: 4.687 MB / 457.7 MB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1163, allocations: 471.5 kB / 458.2 MB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001157/0.1174, allocations: 332.7 kB / 458.5 MB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/0.1187, allocations: 0.5049 MB / 459 MB, free: 10.29 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1187, allocations: 0 / 459 MB, free: 10.29 MB / 442.7 MB Notification: Performance of Templates: time 0.1836/0.3023, allocations: 38.73 MB / 497.7 MB, free: 82.36 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8613702338188887]