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.0008381/0.0008381, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002102, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009441/0.0009441, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002189, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9473/0.9473, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1532/1.101, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.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.4388/0.4388, allocations: 90.85 MB / 312.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05593/0.4947, allocations: 32.14 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 180] 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.773e-06/1.773e-06, allocations: 0 / 345.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.093e-05, allocations: 2.312 kB / 345.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01642/0.01645, allocations: 14.66 MB / 360.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.02982, allocations: 7.217 MB / 367.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/0.03354, allocations: 95.38 kB / 367.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.03617, allocations: 0.9339 MB / 368.8 MB, free: 5.812 MB / 362.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.004768/0.04094, allocations: 1.436 MB / 370.3 MB, free: 4.367 MB / 362.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 not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.005843/0.04678, allocations: 3.298 MB / 373.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008006/0.05479, allocations: 5.372 MB / 378.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.05823, allocations: 1.287 MB / 380.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005781/0.06401, allocations: 3.595 MB / 383.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.06612, allocations: 1.678 MB / 385.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.06726, allocations: 0.5664 MB / 386.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.06895, allocations: 0.9135 MB / 387 MB, free: 3.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008031/0.06976, allocations: 0.9268 MB / 387.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.07145, allocations: 1.161 MB / 389.1 MB, free: 1.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.07627, allocations: 3.573 MB / 392.6 MB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.76e-05/0.07629, allocations: 3.938 kB / 392.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.07629, allocations: 4 kB / 392.7 MB, free: 13.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001302/0.07642, allocations: 3.938 kB / 392.7 MB, free: 13.75 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.01109/0.08751, allocations: 6.735 MB / 399.4 MB, free: 6.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.08755, allocations: 12.03 kB / 399.4 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.09155, allocations: 1.624 MB / 401 MB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.09468, allocations: 1.71 MB / 402.7 MB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007693/0.09545, allocations: 1.094 MB / 403.8 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.09587, allocations: 315.9 kB / 404.1 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.09914, allocations: 2.865 MB / 407 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.09919, allocations: 7.938 kB / 407 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.09937, allocations: 128 kB / 407.1 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.09941, allocations: 76 kB / 407.2 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.101, allocations: 0.9498 MB / 408.2 MB, free: 13.6 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.01066/0.1117, allocations: 7.744 MB / 415.9 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.1142, allocations: 1.404 MB / 417.3 MB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.1148, allocations: 419.6 kB / 417.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.115, allocations: 57.98 kB / 417.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.1162, allocations: 1.03 MB / 418.8 MB, free: 2.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 5.14e-06/0.1162, allocations: 0 / 418.8 MB, free: 2.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.00404/0.1203, allocations: 1.945 MB / 420.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.1203, allocations: 127 kB / 420.9 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.1228, allocations: 2.392 MB / 423.3 MB, free: 14.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002233/0.123, allocations: 85.7 kB / 423.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.1241, allocations: 1.164 MB / 424.5 MB, free: 12.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000841/0.1249, allocations: 0.9375 MB / 425.5 MB, free: 12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000831/0.1257, allocations: 0.7276 MB / 426.2 MB, free: 11.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.1258, allocations: 305.1 kB / 426.5 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.127, allocations: 0.7379 MB / 427.2 MB, free: 10.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.1289, allocations: 1.698 MB / 428.9 MB, free: 8.207 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/0.1335, allocations: 3.276 MB / 432.2 MB, free: 4.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/0.1335, allocations: 8 kB / 432.2 MB, free: 4.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.004491/0.138, allocations: 2.758 MB / 435 MB, free: 1.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1381, allocations: 77.03 kB / 435 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.1382, allocations: 12 kB / 435 MB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008535/0.139, allocations: 397.5 kB / 435.4 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/0.141, allocations: 0.9129 MB / 436.3 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.1439, allocations: 2.038 MB / 438.4 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.1459, allocations: 370 kB / 438.7 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.1462, allocations: 108 kB / 438.8 MB, free: 13.97 MB / 442.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.002241/0.1484, allocations: 1.011 MB / 439.9 MB, free: 12.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001533/0.15, allocations: 1.694 MB / 441.6 MB, free: 10.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003756/0.1537, allocations: 3.254 MB / 444.8 MB, free: 7.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.597e-05/0.1537, allocations: 7.984 kB / 444.8 MB, free: 7.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.00451/0.1582, allocations: 2.754 MB / 447.6 MB, free: 4.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/0.1583, allocations: 69.66 kB / 447.6 MB, free: 4.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.1583, allocations: 8 kB / 447.6 MB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007892/0.1591, allocations: 408.3 kB / 448 MB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.1612, allocations: 0.8972 MB / 448.9 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.1635, allocations: 2.039 MB / 451 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.1656, allocations: 354.3 kB / 451.3 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.1658, allocations: 104 kB / 451.4 MB, free: 0.7812 MB / 442.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.0008557/0.1667, allocations: 0.5298 MB / 452 MB, free: 260 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.192/0.3587, allocations: 295.4 kB / 452.2 MB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/0.3624, allocations: 1.672 MB / 453.9 MB, free: 69.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.3625, allocations: 29.47 kB / 453.9 MB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3625, allocations: 4.344 kB / 454 MB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.237e-05/0.3625, allocations: 13.17 kB / 454 MB, free: 69.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/0.3692, allocations: 3.78 MB / 457.7 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3692, allocations: 5.281 kB / 457.7 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.3708, allocations: 0.567 MB / 458.3 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/0.3719, allocations: 404.2 kB / 458.7 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/0.3727, allocations: 379.6 kB / 459.1 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.3728, allocations: 66.16 kB / 459.1 MB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.3749, allocations: 2.009 MB / 461.2 MB, free: 67.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.3749, allocations: 12.88 kB / 461.2 MB, free: 67.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.3782, allocations: 2.478 MB / 463.6 MB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/0.3787, allocations: 70.17 kB / 463.7 MB, free: 67.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.3797, allocations: 164 kB / 463.9 MB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.38, allocations: 221.4 kB / 464.1 MB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.3801, allocations: 74.41 kB / 464.2 MB, free: 67.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.3815, allocations: 1.238 MB / 465.4 MB, free: 66.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3815, allocations: 0 / 465.4 MB, free: 66.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002969/0.3845, allocations: 1.71 MB / 467.1 MB, free: 66.98 MB / 442.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.001353/0.3858, allocations: 0.6259 MB / 467.7 MB, free: 66.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005586/0.3914, allocations: 4.206 MB / 471.9 MB, free: 66.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.924e-05/0.3915, allocations: 56.97 kB / 472 MB, free: 66.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.3931, allocations: 1.15 MB / 473.1 MB, free: 66.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.3957, allocations: 2.661 MB / 475.8 MB, free: 64.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.404, allocations: 6.355 MB / 482.2 MB, free: 59.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.4045, allocations: 0.6109 MB / 482.8 MB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001651/0.4062, allocations: 0.5067 MB / 483.3 MB, free: 58.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.4074, allocations: 0.6165 MB / 483.9 MB, free: 58.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.774e-06/0.4074, allocations: 0 / 483.9 MB, free: 58.26 MB / 442.7 MB Notification: Performance of Templates: time 0.05803/0.4654, allocations: 56.67 MB / 0.5279 GB, free: 4.617 MB / 442.7 MB " [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.807414971292019]