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.001156/0.001156, allocations: 87.55 kB / 20.97 MB, free: 3.582 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.001308/0.001308, allocations: 177 kB / 24.27 MB, free: 280 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.8198/0.8198, allocations: 158.6 MB / 186.1 MB, free: 2.922 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.3874/0.3874, allocations: 76.92 MB / 315.3 MB, free: 10.76 MB / 298.7 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 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.262e-06/1.262e-06, allocations: 0 / 415.2 MB, free: 8.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.365e-05, allocations: 6.25 kB / 415.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.01204/0.01206, allocations: 11.23 MB / 426.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008653/0.02072, allocations: 6.121 MB / 432.5 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.02196, allocations: 91.31 kB / 432.6 MB, free: 7.043 MB / 410.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.001238/0.0232, allocations: 0.7246 MB / 433.4 MB, free: 6.312 MB / 410.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.001757/0.02496, allocations: 0.9464 MB / 434.3 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.02868, allocations: 2.819 MB / 437.1 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.03147, allocations: 4.386 MB / 441.5 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.0325, allocations: 1.031 MB / 442.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.03355, allocations: 1.484 MB / 444 MB, free: 11.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008854/0.03443, allocations: 1.25 MB / 445.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.03479, allocations: 468 kB / 445.7 MB, free: 9.836 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006794/0.03547, allocations: 0.6638 MB / 446.4 MB, free: 9.172 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.03598, allocations: 0.9692 MB / 447.4 MB, free: 8.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.03667, allocations: 1.145 MB / 448.5 MB, free: 7.051 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.03907, allocations: 3.028 MB / 451.5 MB, free: 4.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.03907, allocations: 3.938 kB / 451.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03907, allocations: 0 / 451.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.03909, allocations: 0 / 451.5 MB, free: 4.008 MB / 426.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.004773/0.04386, allocations: 4.366 MB / 455.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.04389, allocations: 8.031 kB / 455.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.04645, allocations: 1.154 MB / 457.1 MB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.04869, allocations: 2.352 MB / 459.4 MB, free: 12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.04902, allocations: 0.7929 MB / 460.2 MB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.04926, allocations: 236.3 kB / 460.4 MB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.05207, allocations: 2.641 MB / 463.1 MB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.05211, allocations: 3.938 kB / 463.1 MB, free: 7.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.05226, allocations: 95.98 kB / 463.2 MB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.05229, allocations: 56 kB / 463.2 MB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.05434, allocations: 0.9776 MB / 464.2 MB, free: 6.645 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1509/0.2052, allocations: 9.688 MB / 473.9 MB, free: 93.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.2072, allocations: 1.169 MB / 475.1 MB, free: 92.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.2078, allocations: 438.9 kB / 475.5 MB, free: 92.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.2078, allocations: 31.41 kB / 475.5 MB, free: 92.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000866/0.2087, allocations: 0.8721 MB / 476.4 MB, free: 92.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 3.126e-06/0.2087, allocations: 0 / 476.4 MB, free: 92.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=176): time 0.003379/0.2121, allocations: 2.052 MB / 478.5 MB, free: 92.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.2122, allocations: 0.5098 MB / 479 MB, free: 91.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.2138, allocations: 2.153 MB / 481.1 MB, free: 91.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.332e-05/0.2139, allocations: 65.03 kB / 481.2 MB, free: 91.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.2146, allocations: 1.484 MB / 482.7 MB, free: 90.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.2149, allocations: 0.6087 MB / 483.3 MB, free: 89.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.2152, allocations: 361.5 kB / 483.6 MB, free: 89.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.2153, allocations: 484.2 kB / 484.1 MB, free: 89.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.2159, allocations: 377.2 kB / 484.5 MB, free: 89.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.2167, allocations: 1.388 MB / 485.9 MB, free: 87.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.2186, allocations: 1.734 MB / 487.6 MB, free: 86.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2186, allocations: 3 kB / 487.6 MB, free: 86.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.002547/0.2211, allocations: 1.877 MB / 489.5 MB, free: 86.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.2212, allocations: 34.83 kB / 489.5 MB, free: 86.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2212, allocations: 14 kB / 489.5 MB, free: 86.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.2214, allocations: 220.6 kB / 489.7 MB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.2225, allocations: 452.4 kB / 490.2 MB, free: 86.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.2226, allocations: 25.17 kB / 490.2 MB, free: 86.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.2233, allocations: 253.7 kB / 490.4 MB, free: 85.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.764e-05/0.2234, allocations: 69.12 kB / 490.5 MB, free: 85.98 MB / 442.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.001001/0.2244, allocations: 0.6074 MB / 491.1 MB, free: 85.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008506/0.2252, allocations: 1.387 MB / 492.5 MB, free: 84.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001837/0.2271, allocations: 1.717 MB / 494.2 MB, free: 83.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.2271, allocations: 6.969 kB / 494.2 MB, free: 83.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.002869/0.2299, allocations: 1.852 MB / 496.1 MB, free: 82.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.23, allocations: 50.94 kB / 496.1 MB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.23, allocations: 10.69 kB / 496.1 MB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.2302, allocations: 224 kB / 496.4 MB, free: 82.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.2319, allocations: 435.4 kB / 496.8 MB, free: 82.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.232, allocations: 22.91 kB / 496.8 MB, free: 82.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.2331, allocations: 236.9 kB / 497 MB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.2333, allocations: 74.12 kB / 497.1 MB, free: 82.45 MB / 442.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.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.000625/0.2339, allocations: 0.5276 MB / 497.6 MB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.2345, allocations: 367.7 kB / 498 MB, free: 81.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.2383, allocations: 1.705 MB / 499.7 MB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.2383, allocations: 16.53 kB / 499.7 MB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.2383, allocations: 10.3 kB / 499.7 MB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.2384, allocations: 6.797 kB / 499.7 MB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007506/0.2459, allocations: 4.19 MB / 0.4921 GB, free: 79.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.2459, allocations: 3.422 kB / 0.4921 GB, free: 79.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.2475, allocations: 377.1 kB / 0.4925 GB, free: 79.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.2478, allocations: 207 kB / 0.4927 GB, free: 79.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.2479, allocations: 48.78 kB / 0.4927 GB, free: 79.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.2479, allocations: 6 kB / 0.4927 GB, free: 79.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2479, allocations: 3.938 kB / 0.4927 GB, free: 79.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.2514, allocations: 2.388 MB / 0.4951 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/0.2521, allocations: 0.587 MB / 0.4956 GB, free: 77.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.2523, allocations: 46.61 kB / 0.4957 GB, free: 77.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/0.253, allocations: 136.2 kB / 0.4958 GB, free: 77.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.2532, allocations: 145.6 kB / 0.496 GB, free: 77.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.2533, allocations: 56.53 kB / 0.496 GB, free: 77.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.2546, allocations: 1.269 MB / 0.4972 GB, free: 77.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2546, allocations: 1.062 kB / 0.4972 GB, free: 77.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001816/0.2564, allocations: 1.062 MB / 0.4983 GB, free: 77.28 MB / 442.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.0008825/0.2573, allocations: 460.3 kB / 0.4987 GB, free: 77.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.2605, allocations: 2.159 MB / 0.5008 GB, free: 76.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2605, allocations: 2.156 kB / 0.5008 GB, free: 76.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008952/0.2614, allocations: 0.7675 MB / 0.5016 GB, free: 76.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2626, allocations: 0.5363 MB / 0.5021 GB, free: 75.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.2676, allocations: 4.736 MB / 0.5067 GB, free: 73.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.268, allocations: 471.2 kB / 0.5072 GB, free: 73.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008746/0.2689, allocations: 343.2 kB / 0.5075 GB, free: 73.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.2693, allocations: 175.8 kB / 0.5077 GB, free: 73.32 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2693, allocations: 0 / 0.5077 GB, free: 73.32 MB / 442.7 MB Notification: Performance of Templates: time 0.03427/0.3035, allocations: 35.95 MB / 0.5428 GB, free: 40.11 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.945886356057599]