Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.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.0007801/0.0007801, allocations: 76.83 kB / 21.61 MB, free: 2.848 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.0008895/0.0008895, allocations: 173 kB / 25.04 MB, free: 9.199 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.9461/0.9461, allocations: 158.6 MB / 186.9 MB, free: 2.754 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.3045/0.3045, allocations: 90.83 MB / 330.1 MB, free: 7.82 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.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 386.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.632e-05, allocations: 4.406 kB / 386.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01369/0.01373, allocations: 14.54 MB / 401.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.02647, allocations: 7.17 MB / 408.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.0288, allocations: 95.38 kB / 408.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.03064, allocations: 0.9262 MB / 409.4 MB, free: 1.09 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.003131/0.03377, allocations: 1.427 MB / 410.9 MB, free: 15.66 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.005423/0.03919, allocations: 3.295 MB / 414.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005101/0.04429, allocations: 5.499 MB / 419.7 MB, free: 6.871 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.04619, allocations: 1.284 MB / 420.9 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.04835, allocations: 1.878 MB / 422.8 MB, free: 3.613 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.04968, allocations: 1.678 MB / 424.5 MB, free: 1.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.05022, allocations: 0.5674 MB / 425.1 MB, free: 1.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.05137, allocations: 0.9213 MB / 426 MB, free: 452 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009438/0.05231, allocations: 1.218 MB / 427.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009965/0.05331, allocations: 1.473 MB / 428.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.05697, allocations: 3.896 MB / 432.6 MB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.05698, allocations: 0 / 432.6 MB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.05698, allocations: 0 / 432.6 MB, free: 9.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.05701, allocations: 1 kB / 432.6 MB, free: 9.832 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.007525/0.06454, allocations: 5.897 MB / 438.5 MB, free: 3.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.06458, allocations: 12.03 kB / 438.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.06818, allocations: 1.616 MB / 440.1 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.07048, allocations: 1.708 MB / 441.8 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.07092, allocations: 1.094 MB / 442.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.07119, allocations: 323.9 kB / 443.2 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.07375, allocations: 2.873 MB / 446.1 MB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.07379, allocations: 11.92 kB / 446.1 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.07395, allocations: 120 kB / 446.2 MB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.07399, allocations: 72 kB / 446.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.07531, allocations: 0.9537 MB / 447.2 MB, free: 10.58 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.007899/0.08321, allocations: 7.707 MB / 455 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.08513, allocations: 1.396 MB / 456.3 MB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.08562, allocations: 426.7 kB / 456.8 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.0858, allocations: 61.97 kB / 456.8 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009742/0.08677, allocations: 1.015 MB / 457.8 MB, free: 15.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=265): time 3.276e-06/0.08677, allocations: 4 kB / 457.8 MB, free: 15.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=265): time 0.003131/0.08991, allocations: 1.951 MB / 459.8 MB, free: 13.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.09006, allocations: 0.5005 MB / 460.3 MB, free: 13.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.09196, allocations: 2.392 MB / 462.7 MB, free: 10.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.09208, allocations: 85.69 kB / 462.8 MB, free: 10.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/0.09262, allocations: 1.157 MB / 463.9 MB, free: 9.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.09309, allocations: 0.9413 MB / 464.9 MB, free: 8.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006673/0.09376, allocations: 0.7353 MB / 465.6 MB, free: 7.824 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.09382, allocations: 301.1 kB / 465.9 MB, free: 7.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.09483, allocations: 0.7379 MB / 466.6 MB, free: 6.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.09621, allocations: 1.698 MB / 468.3 MB, free: 4.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.09971, allocations: 3.13 MB / 471.5 MB, free: 1.453 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.09972, allocations: 4 kB / 471.5 MB, free: 1.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.003432/0.1032, allocations: 2.764 MB / 474.2 MB, free: 14.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.1032, allocations: 69.61 kB / 474.3 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.1032, allocations: 11.98 kB / 474.3 MB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.1039, allocations: 400.4 kB / 474.7 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.1057, allocations: 0.8581 MB / 475.6 MB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.108, allocations: 2.02 MB / 477.6 MB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.1091, allocations: 366 kB / 477.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.1093, allocations: 104 kB / 478 MB, free: 10.75 MB / 458.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001576/0.1109, allocations: 1.022 MB / 479.1 MB, free: 9.727 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001388/0.1123, allocations: 1.694 MB / 480.8 MB, free: 7.734 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003577/0.1158, allocations: 3.096 MB / 483.9 MB, free: 4.453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.1158, allocations: 4 kB / 483.9 MB, free: 4.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.003365/0.1192, allocations: 2.754 MB / 486.6 MB, free: 1.668 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.1193, allocations: 73.66 kB / 486.7 MB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1193, allocations: 12 kB / 486.7 MB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.1199, allocations: 402.7 kB / 487.1 MB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.1216, allocations: 0.8387 MB / 487.9 MB, free: 352 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.1236, allocations: 2.025 MB / 490 MB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.1247, allocations: 362.2 kB / 490.3 MB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.1248, allocations: 104 kB / 490.4 MB, free: 13.78 MB / 474.7 MB Warning: Assuming fixed start value for the following 28 variables: Zcc.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Zcc.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) ZPcs.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = ZPcs.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) 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) 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] ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean 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: 46 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Zcc.state,Zcc.state,$PRE.ZPcs.state,ZPcs.state,$PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.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,ZPcs.switchOffSignal1,ZPcs.switchOffSignal2,Zcc.switchOffSignal1,Zcc.switchOffSignal2,BESS.injector.switchOffSignal1,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal3,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,$PRE.ZPcs.running,$PRE.Zcc.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.QConv0PuNeg.k,$PRE.BESS.regcA.offDelay.u,Zcc.running,ZPcs.running,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,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (471): * Single equations (assignments): 469 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000822/0.1256, allocations: 0.5196 MB / 490.9 MB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.126, allocations: 299.7 kB / 491.2 MB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.1282, allocations: 1.677 MB / 492.9 MB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1282, allocations: 28 kB / 492.9 MB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1282, allocations: 4 kB / 492.9 MB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.1282, allocations: 15.89 kB / 492.9 MB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.133, allocations: 3.779 MB / 496.7 MB, free: 7.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.133, allocations: 8 kB / 496.7 MB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.1344, allocations: 0.5272 MB / 497.3 MB, free: 6.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006202/0.1351, allocations: 395.6 kB / 497.6 MB, free: 6.434 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.1352, allocations: 67.97 kB / 497.7 MB, free: 6.367 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.1374, allocations: 2.011 MB / 499.7 MB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1374, allocations: 7.938 kB / 499.7 MB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.1403, allocations: 2.471 MB / 0.4904 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.141, allocations: 405 kB / 0.4908 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.1412, allocations: 67.98 kB / 0.4909 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007714/0.142, allocations: 159.9 kB / 0.491 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.1422, allocations: 221.5 kB / 0.4912 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/0.1423, allocations: 71.91 kB / 0.4913 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001005/0.1433, allocations: 1.243 MB / 0.4925 GB, free: 15.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1433, allocations: 0 / 0.4925 GB, free: 15.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002738/0.1461, allocations: 1.707 MB / 0.4942 GB, free: 13.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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: 34 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,ZPcs.running,ZPcs.state,Zcc.running,Zcc.state) * Number of discrete states: 6 (Zcc.running,ZPcs.running,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(14,4,31.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.1472, allocations: 0.5862 MB / 0.4948 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005108/0.1523, allocations: 4.121 MB / 0.4988 GB, free: 9.215 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.344e-05/0.1523, allocations: 32.5 kB / 0.4988 GB, free: 9.184 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.1535, allocations: 1.007 MB / 0.4998 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.1552, allocations: 0.6116 MB / 0.5004 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/0.1622, allocations: 6.157 MB / 0.5064 GB, free: 1.285 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1626, allocations: 0.5977 MB / 0.507 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001597/0.1642, allocations: 0.4946 MB / 0.5075 GB, free: 168 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/0.1654, allocations: 0.5947 MB / 0.5081 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.783e-06/0.1654, allocations: 4 kB / 0.5081 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.2122/0.3776, allocations: 54.81 MB / 0.5616 GB, free: 138.4 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS -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.BESSCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.543468976393342]