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.0009456/0.0009456, allocations: 79.69 kB / 21.73 MB, free: 2.527 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.002262/0.002262, allocations: 168.2 kB / 25.17 MB, free: 9.105 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.8887/0.8887, allocations: 158.6 MB / 187.1 MB, free: 2.684 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.6627/0.6627, allocations: 90.83 MB / 330.3 MB, free: 7.742 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) 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 1.773e-06/1.773e-06, allocations: 0 / 377.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.678e-05, allocations: 3.438 kB / 377.8 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01954/0.01956, allocations: 14.08 MB / 391.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.03603, allocations: 7.022 MB / 398.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003015/0.03904, allocations: 95.38 kB / 399 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.04116, allocations: 0.9075 MB / 399.9 MB, free: 10.59 MB / 378.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.004335/0.0455, allocations: 1.396 MB / 401.3 MB, free: 9.203 MB / 378.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.006841/0.05234, allocations: 3.086 MB / 404.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005447/0.05779, allocations: 5.33 MB / 409.7 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.05941, allocations: 1.247 MB / 411 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.06149, allocations: 1.828 MB / 412.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.06291, allocations: 1.625 MB / 414.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006277/0.06354, allocations: 0.5585 MB / 415 MB, free: 11.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.06464, allocations: 0.894 MB / 415.9 MB, free: 10.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.06529, allocations: 1.184 MB / 417.1 MB, free: 9.352 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.06647, allocations: 1.425 MB / 418.5 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.07007, allocations: 3.768 MB / 422.3 MB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.07007, allocations: 1.156 kB / 422.3 MB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07007, allocations: 0 / 422.3 MB, free: 4.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.07011, allocations: 0 / 422.3 MB, free: 4.141 MB / 394.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.006786/0.07689, allocations: 5.613 MB / 427.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.07693, allocations: 13.03 kB / 427.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.07965, allocations: 1.353 MB / 429.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.08169, allocations: 1.678 MB / 430.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/0.08213, allocations: 0.9787 MB / 431.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.08239, allocations: 299.9 kB / 432.2 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.08499, allocations: 2.757 MB / 434.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.08502, allocations: 7.938 kB / 435 MB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.08518, allocations: 120 kB / 435.1 MB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.08521, allocations: 68 kB / 435.1 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.08648, allocations: 0.8802 MB / 436 MB, free: 5.832 MB / 410.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.007383/0.09386, allocations: 7.466 MB / 443.5 MB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.09552, allocations: 1.279 MB / 444.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.09604, allocations: 375.1 kB / 445.1 MB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.09623, allocations: 61.95 kB / 445.2 MB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009278/0.09716, allocations: 0.903 MB / 446.1 MB, free: 11.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=237): time 3.848e-06/0.09716, allocations: 4 kB / 446.1 MB, free: 11.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.002903/0.1001, allocations: 1.709 MB / 447.8 MB, free: 9.859 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.1002, allocations: 0.4967 MB / 448.3 MB, free: 9.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.102, allocations: 2.39 MB / 450.7 MB, free: 6.852 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.1022, allocations: 77.7 kB / 450.8 MB, free: 6.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.1028, allocations: 1.148 MB / 451.9 MB, free: 5.605 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.1033, allocations: 0.8483 MB / 452.8 MB, free: 4.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007258/0.104, allocations: 0.7034 MB / 453.5 MB, free: 4.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.1041, allocations: 309 kB / 453.8 MB, free: 3.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.1051, allocations: 0.6776 MB / 454.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.1065, allocations: 1.611 MB / 456.1 MB, free: 1.152 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/0.1097, allocations: 2.883 MB / 458.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.1098, allocations: 4 kB / 458.9 MB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.003327/0.1131, allocations: 2.544 MB / 461.5 MB, free: 11.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.1131, allocations: 69.66 kB / 461.6 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.1132, allocations: 11.94 kB / 461.6 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.1138, allocations: 324.5 kB / 461.9 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.1156, allocations: 0.823 MB / 462.7 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.1174, allocations: 1.84 MB / 464.5 MB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.1187, allocations: 358 kB / 464.9 MB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.1188, allocations: 95.98 kB / 465 MB, free: 7.918 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.001509/0.1203, allocations: 0.9433 MB / 465.9 MB, free: 6.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001383/0.1217, allocations: 1.607 MB / 467.5 MB, free: 5.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003205/0.1249, allocations: 2.857 MB / 470.4 MB, free: 2.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.188e-05/0.1249, allocations: 0 / 470.4 MB, free: 2.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.003324/0.1282, allocations: 2.537 MB / 472.9 MB, free: 15.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.1283, allocations: 69.66 kB / 473 MB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1283, allocations: 8 kB / 473 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.1288, allocations: 324 kB / 473.3 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.1306, allocations: 0.8075 MB / 474.1 MB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.1324, allocations: 1.854 MB / 476 MB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.1336, allocations: 346.3 kB / 476.3 MB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.1338, allocations: 99.98 kB / 476.4 MB, free: 11.91 MB / 458.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.0005568/0.1343, allocations: 0.4921 MB / 476.9 MB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.1346, allocations: 287.7 kB / 477.2 MB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.1367, allocations: 1.486 MB / 478.7 MB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.1367, allocations: 27.98 kB / 478.7 MB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1367, allocations: 4 kB / 478.7 MB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.1368, allocations: 11.95 kB / 478.7 MB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.1415, allocations: 3.496 MB / 482.2 MB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.1415, allocations: 4 kB / 482.2 MB, free: 5.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.1428, allocations: 0.4958 MB / 482.7 MB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.1434, allocations: 308.5 kB / 483 MB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.1435, allocations: 59.97 kB / 483.1 MB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.1453, allocations: 1.823 MB / 484.9 MB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1453, allocations: 12 kB / 484.9 MB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.148, allocations: 2.247 MB / 487.2 MB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.1487, allocations: 377.2 kB / 487.5 MB, free: 0.5039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.1489, allocations: 67.98 kB / 487.6 MB, free: 448 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/0.1497, allocations: 151.8 kB / 487.7 MB, free: 296 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002728/0.15, allocations: 209.5 kB / 488 MB, free: 88 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-05/0.1501, allocations: 67.91 kB / 488 MB, free: 20 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001096/0.1512, allocations: 1.242 MB / 489.3 MB, free: 14.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1512, allocations: 0 / 489.3 MB, free: 14.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002451/0.1536, allocations: 1.633 MB / 490.9 MB, free: 13.14 MB / 474.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.001196/0.1548, allocations: 0.5701 MB / 491.5 MB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004846/0.1597, allocations: 3.787 MB / 495.2 MB, free: 8.969 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-05/0.1597, allocations: 32.5 kB / 495.3 MB, free: 8.934 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.1608, allocations: 0.8869 MB / 496.2 MB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.1623, allocations: 0.5916 MB / 496.8 MB, free: 7.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/0.17, allocations: 6.004 MB / 0.491 GB, free: 1.324 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.1712, allocations: 1.492 MB / 0.4924 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.1725, allocations: 0.6025 MB / 0.493 GB, free: 15.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1725, allocations: 0 / 0.493 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Templates: time 0.2387/0.4112, allocations: 66.45 MB / 0.5579 GB, free: 141.8 MB / 0.5105 GB " [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 > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.259122570045292]