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.001895/0.001895, allocations: 92.91 kB / 20.23 MB, free: 4.191 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.002087/0.002087, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 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 1.304/1.304, allocations: 158.6 MB / 185.4 MB, free: 2.895 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.9851/0.9851, allocations: 76.92 MB / 314.6 MB, free: 10.66 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.573e-06/1.573e-06, allocations: 0 / 414.5 MB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.049e-05, allocations: 2.312 kB / 414.5 MB, free: 8.523 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESScbCurrentSource): time 0.0178/0.01783, allocations: 11.18 MB / 425.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.03187, allocations: 6.128 MB / 431.8 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.03541, allocations: 91.31 kB / 431.9 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.002797/0.03821, allocations: 0.7246 MB / 432.6 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.004765/0.04298, allocations: 0.9464 MB / 433.6 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007232/0.05021, allocations: 2.815 MB / 436.4 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008528/0.05874, allocations: 4.379 MB / 440.8 MB, free: 14.15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.06143, allocations: 1.035 MB / 441.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.06439, allocations: 1.48 MB / 443.3 MB, free: 11.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.06662, allocations: 1.25 MB / 444.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.0675, allocations: 468 kB / 445 MB, free: 9.844 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.06884, allocations: 0.6676 MB / 445.6 MB, free: 9.176 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.06989, allocations: 0.9614 MB / 446.6 MB, free: 8.211 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.07166, allocations: 1.145 MB / 447.8 MB, free: 7.062 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00917/0.08083, allocations: 5.83 MB / 453.6 MB, free: 1.215 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.08084, allocations: 4 kB / 453.6 MB, free: 1.211 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08084, allocations: 0 / 453.6 MB, free: 1.211 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.08099, allocations: 0 / 453.6 MB, free: 1.211 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.01387/0.09486, allocations: 4.8 MB / 458.4 MB, free: 12.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.0949, allocations: 8.031 kB / 458.4 MB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/0.1004, allocations: 1.142 MB / 459.5 MB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006102/0.1065, allocations: 2.445 MB / 462 MB, free: 8.688 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008564/0.1073, allocations: 0.7851 MB / 462.8 MB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.1084, allocations: 232.3 kB / 463 MB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00793/0.1163, allocations: 3.645 MB / 466.6 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.1164, allocations: 3.938 kB / 466.6 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.1166, allocations: 96 kB / 466.7 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.1167, allocations: 55.94 kB / 466.8 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006107/0.1228, allocations: 2.266 MB / 469.1 MB, free: 1.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2484/0.3712, allocations: 15.27 MB / 484.3 MB, free: 88.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.3759, allocations: 2.144 MB / 486.5 MB, free: 87.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.3778, allocations: 0.9981 MB / 487.5 MB, free: 86.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.378, allocations: 34.45 kB / 487.5 MB, free: 86.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/0.3804, allocations: 1.488 MB / 489 MB, free: 86.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 6.842e-06/0.3804, allocations: 4.797 kB / 489 MB, free: 86.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=176): time 0.009506/0.3899, allocations: 3.702 MB / 492.7 MB, free: 84.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.39, allocations: 0.5162 MB / 493.2 MB, free: 84.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/0.3949, allocations: 3.283 MB / 496.5 MB, free: 82.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004095/0.3954, allocations: 65.2 kB / 496.6 MB, free: 82.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.3969, allocations: 1.73 MB / 498.3 MB, free: 81.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007747/0.3977, allocations: 0.6752 MB / 499 MB, free: 80.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008723/0.3985, allocations: 485.2 kB / 499.4 MB, free: 80.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.3986, allocations: 481.9 kB / 499.9 MB, free: 80.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.4008, allocations: 0.951 MB / 0.4891 GB, free: 79.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002882/0.4037, allocations: 2.107 MB / 0.4912 GB, free: 78.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.4104, allocations: 3.511 MB / 0.4946 GB, free: 76.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.4104, allocations: 3.312 kB / 0.4946 GB, free: 76.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007683/0.4181, allocations: 3.102 MB / 0.4976 GB, free: 75.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.4181, allocations: 40.8 kB / 0.4977 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4182, allocations: 10.03 kB / 0.4977 GB, free: 75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005605/0.4187, allocations: 332.3 kB / 0.498 GB, free: 74.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.4211, allocations: 454.4 kB / 0.4984 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.049e-05/0.4212, allocations: 28.11 kB / 0.4985 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.4235, allocations: 244.1 kB / 0.4987 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.4236, allocations: 70.03 kB / 0.4988 GB, free: 74.71 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.003632/0.4273, allocations: 1.521 MB / 0.5002 GB, free: 73.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002598/0.4299, allocations: 2.062 MB / 0.5023 GB, free: 72.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005888/0.4357, allocations: 3.407 MB / 0.5056 GB, free: 70.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-05/0.4358, allocations: 3.938 kB / 0.5056 GB, free: 70.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.006805/0.4426, allocations: 3.026 MB / 0.5085 GB, free: 69.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.4426, allocations: 39.53 kB / 0.5086 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4426, allocations: 8.344 kB / 0.5086 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.443, allocations: 328 kB / 0.5089 GB, free: 69.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.4453, allocations: 441.7 kB / 0.5093 GB, free: 68.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.4453, allocations: 22.7 kB / 0.5093 GB, free: 68.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.4475, allocations: 240.3 kB / 0.5096 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.4476, allocations: 71.23 kB / 0.5096 GB, free: 68.58 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.0008912/0.4485, allocations: 0.5331 MB / 0.5102 GB, free: 68.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008469/0.4493, allocations: 361.4 kB / 0.5105 GB, free: 67.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/0.4557, allocations: 2.83 MB / 0.5133 GB, free: 65.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4557, allocations: 20 kB / 0.5133 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4557, allocations: 0 / 0.5133 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.4557, allocations: 9.516 kB / 0.5133 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.4673, allocations: 6.543 MB / 0.5197 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4673, allocations: 0 / 0.5197 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/0.4697, allocations: 376.3 kB / 0.52 GB, free: 59.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.4701, allocations: 313.7 kB / 0.5203 GB, free: 58.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/0.4703, allocations: 49.3 kB / 0.5204 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.4703, allocations: 4.797 kB / 0.5204 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4703, allocations: 0 / 0.5204 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009249/0.4796, allocations: 4.437 MB / 0.5247 GB, free: 54.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/0.4815, allocations: 0.5977 MB / 0.5253 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.482, allocations: 45.77 kB / 0.5254 GB, free: 54.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.4835, allocations: 136.6 kB / 0.5255 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005069/0.484, allocations: 156.1 kB / 0.5256 GB, free: 54.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.4842, allocations: 54.84 kB / 0.5257 GB, free: 53.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002779/0.4869, allocations: 1.866 MB / 0.5275 GB, free: 52.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4869, allocations: 0 / 0.5275 GB, free: 52.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002539/0.4895, allocations: 1.055 MB / 0.5285 GB, free: 51.3 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.002814/0.4923, allocations: 0.4965 MB / 0.529 GB, free: 51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008321/0.5006, allocations: 4.073 MB / 0.533 GB, free: 47.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.5006, allocations: 0 / 0.533 GB, free: 47.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.5031, allocations: 1.39 MB / 0.5344 GB, free: 46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.5058, allocations: 0.5408 MB / 0.5349 GB, free: 45.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009048/0.5148, allocations: 5.451 MB / 0.5402 GB, free: 40.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009987/0.5158, allocations: 1.214 MB / 0.5414 GB, free: 39.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001466/0.5173, allocations: 340.7 kB / 0.5417 GB, free: 39.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.5178, allocations: 176.5 kB / 0.5419 GB, free: 38.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5178, allocations: 4 kB / 0.5419 GB, free: 38.92 MB / 442.7 MB Notification: Performance of Templates: time 0.05462/0.5725, allocations: 35.91 MB / 0.577 GB, free: 3.195 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESScbCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.981586014968343]