Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.0009156/0.0009156, allocations: 83.75 kB / 20.94 MB, free: 3.336 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.004059/0.004059, allocations: 152.3 kB / 24.36 MB, free: 8.512 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 0.8654/0.8654, allocations: 158.6 MB / 186.3 MB, free: 2.641 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4513/0.4513, allocations: 90.82 MB / 329.4 MB, free: 14.18 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.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.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 386.2 MB, free: 5.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.879e-05, allocations: 6.312 kB / 386.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01961/0.01964, allocations: 14.08 MB / 400.2 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.03457, allocations: 7.026 MB / 407.3 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.03772, allocations: 95.38 kB / 407.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.04013, allocations: 0.9068 MB / 408.3 MB, free: 15.73 MB / 394.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.004044/0.04417, allocations: 1.393 MB / 409.7 MB, free: 14.33 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.005004/0.04918, allocations: 3.076 MB / 412.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006214/0.05539, allocations: 5.335 MB / 418.1 MB, free: 5.898 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.05729, allocations: 1.255 MB / 419.3 MB, free: 4.555 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.05963, allocations: 1.819 MB / 421.1 MB, free: 2.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.06127, allocations: 1.631 MB / 422.8 MB, free: 1.094 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006905/0.06196, allocations: 0.5547 MB / 423.3 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.06337, allocations: 0.8941 MB / 424.2 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.06409, allocations: 1.176 MB / 425.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.06534, allocations: 1.425 MB / 426.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004385/0.06972, allocations: 3.771 MB / 430.6 MB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.06973, allocations: 0 / 430.6 MB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.06973, allocations: 0 / 430.6 MB, free: 9.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.054e-05/0.0698, allocations: 0 / 430.6 MB, free: 9.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.008408/0.07821, allocations: 5.616 MB / 436.2 MB, free: 3.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.07824, allocations: 16.02 kB / 436.2 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.08129, allocations: 1.343 MB / 437.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.08402, allocations: 1.692 MB / 439.3 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/0.08449, allocations: 0.97 MB / 440.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.08479, allocations: 300 kB / 440.5 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.08768, allocations: 2.762 MB / 443.3 MB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.08772, allocations: 4 kB / 443.3 MB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.08787, allocations: 124 kB / 443.4 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.08792, allocations: 68 kB / 443.5 MB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.08941, allocations: 0.8918 MB / 444.4 MB, free: 10.86 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009908/0.09932, allocations: 7.451 MB / 451.8 MB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.1013, allocations: 1.279 MB / 453.1 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.1018, allocations: 371.6 kB / 453.5 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.102, allocations: 53.98 kB / 453.5 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009371/0.103, allocations: 0.903 MB / 454.4 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=237): time 3.767e-06/0.103, allocations: 0 / 454.4 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.003401/0.1064, allocations: 1.724 MB / 456.1 MB, free: 14.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.1065, allocations: 0.4928 MB / 456.6 MB, free: 14.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.1091, allocations: 2.386 MB / 459 MB, free: 11.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.1093, allocations: 81.7 kB / 459.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/0.1102, allocations: 1.144 MB / 460.3 MB, free: 10.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/0.1108, allocations: 0.8523 MB / 461.1 MB, free: 9.766 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/0.1116, allocations: 0.6956 MB / 461.8 MB, free: 9.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.1116, allocations: 309.1 kB / 462.1 MB, free: 8.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.1127, allocations: 0.6815 MB / 462.8 MB, free: 8.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.1141, allocations: 1.61 MB / 464.4 MB, free: 6.168 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.1177, allocations: 2.891 MB / 467.3 MB, free: 3.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.1177, allocations: 0 / 467.3 MB, free: 3.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.003739/0.1215, allocations: 2.548 MB / 469.8 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/0.1215, allocations: 65.67 kB / 469.9 MB, free: 464 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.1216, allocations: 11.94 kB / 469.9 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.1223, allocations: 332.4 kB / 470.2 MB, free: 120 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2063/0.3285, allocations: 0.8119 MB / 471 MB, free: 73.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/0.3311, allocations: 1.833 MB / 472.9 MB, free: 72.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.334, allocations: 366.3 kB / 473.2 MB, free: 72.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003688/0.3343, allocations: 95.11 kB / 473.3 MB, free: 72.8 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002504/0.3368, allocations: 0.9388 MB / 474.3 MB, free: 72.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001722/0.3385, allocations: 1.605 MB / 475.9 MB, free: 71.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004197/0.3427, allocations: 2.858 MB / 478.7 MB, free: 71.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.962e-05/0.3428, allocations: 3.484 kB / 478.7 MB, free: 71.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.003711/0.3465, allocations: 2.536 MB / 481.3 MB, free: 70.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.3465, allocations: 68.7 kB / 481.3 MB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3465, allocations: 13.22 kB / 481.3 MB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.3472, allocations: 318.8 kB / 481.7 MB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.349, allocations: 0.8126 MB / 482.5 MB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.3507, allocations: 1.839 MB / 484.3 MB, free: 69.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.3524, allocations: 353.4 kB / 484.7 MB, free: 69.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.3525, allocations: 102.8 kB / 484.8 MB, free: 69.76 MB / 442.7 MB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.reecC.limPIDFreeze.I.resetLocal,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.integrator.local_reset,BESS.pll.integrator.local_reset,BESS.pll.limIntegrator.local_reset,BESS.repcA.limPID.I.local_reset,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 444 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007496/0.3533, allocations: 0.4928 MB / 485.3 MB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.3537, allocations: 284.8 kB / 485.5 MB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.3558, allocations: 1.488 MB / 487 MB, free: 69.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3558, allocations: 22.47 kB / 487 MB, free: 69.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3558, allocations: 5.062 kB / 487 MB, free: 69.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.3559, allocations: 22.03 kB / 487.1 MB, free: 69.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.3613, allocations: 3.485 MB / 490.5 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.3613, allocations: 7.312 kB / 490.6 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.3627, allocations: 0.4998 MB / 491.1 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/0.3633, allocations: 308.5 kB / 491.4 MB, free: 68.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.3634, allocations: 60.95 kB / 491.4 MB, free: 68.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.3651, allocations: 1.826 MB / 493.2 MB, free: 67.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3651, allocations: 7.719 kB / 493.3 MB, free: 67.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.368, allocations: 2.239 MB / 495.5 MB, free: 66.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000945/0.3689, allocations: 390.2 kB / 495.9 MB, free: 66.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/0.3692, allocations: 60.67 kB / 495.9 MB, free: 66.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/0.3701, allocations: 164.6 kB / 496.1 MB, free: 66.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.3704, allocations: 198.3 kB / 496.3 MB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3705, allocations: 60.08 kB / 496.3 MB, free: 66.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001477/0.372, allocations: 1.245 MB / 497.6 MB, free: 65.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.372, allocations: 0 / 497.6 MB, free: 65.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003549/0.3756, allocations: 1.636 MB / 499.2 MB, free: 64.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.377, allocations: 0.5754 MB / 499.8 MB, free: 64.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005697/0.3827, allocations: 3.787 MB / 0.4918 GB, free: 61.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-05/0.3828, allocations: 32.5 kB / 0.4918 GB, free: 61.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.3841, allocations: 0.9008 MB / 0.4927 GB, free: 60.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.3862, allocations: 0.586 MB / 0.4933 GB, free: 59.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/0.3944, allocations: 5.923 MB / 0.4991 GB, free: 54.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.3949, allocations: 0.5705 MB / 0.4996 GB, free: 53.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001866/0.3968, allocations: 497.4 kB / 0.5001 GB, free: 53.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.3979, allocations: 0.5829 MB / 0.5007 GB, free: 52.62 MB / 442.7 MB Notification: Performance of SimCode: time 2.003e-06/0.3979, allocations: 0 / 0.5007 GB, free: 52.62 MB / 442.7 MB Notification: Performance of Templates: time 0.06727/0.4652, allocations: 51.11 MB / 0.5506 GB, free: 2.484 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource -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.BESSCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.746578277088702]