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.0009183/0.0009183, 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.0008973/0.0008973, allocations: 169.4 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.8268/0.8268, allocations: 158.6 MB / 186 MB, free: 2.758 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.3821/0.3821, allocations: 76.92 MB / 315.3 MB, free: 10.64 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.573e-06/1.573e-06, allocations: 0 / 366.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.531e-05, allocations: 2.312 kB / 366.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.009196/0.009221, allocations: 10.87 MB / 377.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008918/0.01814, allocations: 6.332 MB / 384 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.01982, allocations: 87.38 kB / 384.1 MB, free: 7.449 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.001316/0.02114, allocations: 0.7323 MB / 384.9 MB, free: 6.711 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.001892/0.02303, allocations: 0.9464 MB / 385.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.02659, allocations: 2.823 MB / 388.6 MB, free: 2.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003699/0.03029, allocations: 4.374 MB / 393 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.03154, allocations: 1.085 MB / 394.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.03304, allocations: 1.484 MB / 395.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.03409, allocations: 1.254 MB / 396.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.03451, allocations: 468 kB / 397.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.03523, allocations: 0.6638 MB / 397.9 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.03574, allocations: 0.9576 MB / 398.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.03657, allocations: 1.145 MB / 400.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.03922, allocations: 3.032 MB / 403.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.03922, allocations: 0 / 403.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.03922, allocations: 0 / 403.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.03925, allocations: 0 / 403.1 MB, free: 4.348 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.004824/0.04407, allocations: 4.202 MB / 407.3 MB, free: 92 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.04411, allocations: 12.03 kB / 407.3 MB, free: 80 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.04648, allocations: 1.07 MB / 408.4 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.04835, allocations: 1.534 MB / 409.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.04871, allocations: 0.7851 MB / 410.7 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.04893, allocations: 228.3 kB / 410.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.05106, allocations: 2.415 MB / 413.3 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.05109, allocations: 11.94 kB / 413.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.05122, allocations: 96 kB / 413.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.05125, allocations: 52 kB / 413.5 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.05229, allocations: 0.7025 MB / 414.2 MB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/0.05851, allocations: 6.499 MB / 420.7 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.06001, allocations: 1.042 MB / 421.7 MB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.06042, allocations: 334.1 kB / 422.1 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.306e-05/0.06052, allocations: 29.31 kB / 422.1 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007586/0.06128, allocations: 0.8013 MB / 422.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 3.086e-06/0.06128, allocations: 0 / 422.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.002344/0.06362, allocations: 1.423 MB / 424.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.06378, allocations: 0.5101 MB / 424.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.0652, allocations: 1.957 MB / 426.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-05/0.06529, allocations: 65.7 kB / 426.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.06577, allocations: 0.9246 MB / 427.8 MB, free: 10.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/0.0661, allocations: 0.6081 MB / 428.4 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.06645, allocations: 351.2 kB / 428.7 MB, free: 9.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.06652, allocations: 313 kB / 429 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.0669, allocations: 253.3 kB / 429.3 MB, free: 9.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.06759, allocations: 1.125 MB / 430.4 MB, free: 7.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.06895, allocations: 1.415 MB / 431.8 MB, free: 6.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.06895, allocations: 0 / 431.8 MB, free: 6.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.001755/0.07071, allocations: 1.301 MB / 433.1 MB, free: 4.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.07074, allocations: 37.7 kB / 433.1 MB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.07076, allocations: 11.98 kB / 433.2 MB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.07099, allocations: 205.1 kB / 433.4 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.07203, allocations: 447.3 kB / 433.8 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.07205, allocations: 27.92 kB / 433.8 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.07272, allocations: 234.9 kB / 434 MB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.0728, allocations: 55.98 kB / 434.1 MB, free: 3.746 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.0007536/0.07356, allocations: 471.9 kB / 434.6 MB, free: 3.285 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006788/0.07424, allocations: 1.113 MB / 435.7 MB, free: 1.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00131/0.07555, allocations: 1.397 MB / 437.1 MB, free: 348 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.07555, allocations: 4 kB / 437.1 MB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.001724/0.07728, allocations: 1.301 MB / 438.4 MB, free: 15.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.07731, allocations: 37.7 kB / 438.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.07731, allocations: 8.344 kB / 438.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.07752, allocations: 212.7 kB / 438.6 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/0.07851, allocations: 435.3 kB / 439.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.07853, allocations: 27.86 kB / 439.1 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.07921, allocations: 243 kB / 439.3 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.07929, allocations: 55.98 kB / 439.4 MB, free: 14 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.0003956/0.07968, allocations: 443.6 kB / 439.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.07993, allocations: 235.7 kB / 440 MB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.08169, allocations: 1.297 MB / 441.3 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.08171, allocations: 19.98 kB / 441.4 MB, free: 12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.08171, allocations: 4 kB / 441.4 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.08172, allocations: 7.969 kB / 441.4 MB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003809/0.08553, allocations: 2.82 MB / 444.2 MB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.08554, allocations: 0 / 444.2 MB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.08664, allocations: 371.5 kB / 444.5 MB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/0.08684, allocations: 188.7 kB / 444.7 MB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/0.08692, allocations: 47.97 kB / 444.8 MB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.08693, allocations: 8 kB / 444.8 MB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.08693, allocations: 0 / 444.8 MB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.08918, allocations: 1.77 MB / 446.6 MB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.08973, allocations: 313.6 kB / 446.9 MB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.08991, allocations: 48 kB / 446.9 MB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.0905, allocations: 135.9 kB / 447 MB, free: 6.215 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.09068, allocations: 141.7 kB / 447.2 MB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.09074, allocations: 43.97 kB / 447.2 MB, free: 6.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008211/0.09156, allocations: 1.029 MB / 448.3 MB, free: 4.992 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09157, allocations: 0 / 448.3 MB, free: 4.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001419/0.09298, allocations: 1.063 MB / 449.3 MB, free: 3.926 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.001048/0.09403, allocations: 0.5459 MB / 449.9 MB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.09606, allocations: 1.755 MB / 451.6 MB, free: 1.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.461e-05/0.09609, allocations: 32.56 kB / 451.7 MB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.09675, allocations: 0.6346 MB / 452.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.09788, allocations: 0.5378 MB / 452.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.1028, allocations: 4.679 MB / 457.5 MB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1031, allocations: 471.5 kB / 458 MB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008186/0.1039, allocations: 324.7 kB / 458.3 MB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009442/0.1049, allocations: 0.5088 MB / 458.8 MB, free: 10.51 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1049, allocations: 0 / 458.8 MB, free: 10.51 MB / 442.7 MB Notification: Performance of Templates: time 0.1715/0.2764, allocations: 38.73 MB / 497.5 MB, free: 83.68 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 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7721465099602938]