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.0008715/0.0008715, allocations: 83.75 kB / 20.94 MB, free: 3.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005049/0.005049, allocations: 149.8 kB / 24.36 MB, free: 8.531 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.9147/0.9147, allocations: 158.6 MB / 186.3 MB, free: 2.672 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.4448/0.4448, allocations: 90.83 MB / 329.5 MB, free: 14.18 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.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 2.063e-06/2.063e-06, allocations: 0 / 386.2 MB, free: 5.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.839e-05, allocations: 2.312 kB / 386.2 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01277/0.0128, allocations: 14.52 MB / 400.7 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.0238, allocations: 7.178 MB / 407.9 MB, free: 144 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.02605, allocations: 99.38 kB / 408 MB, free: 44 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.02772, allocations: 0.9223 MB / 408.9 MB, free: 15.11 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005269/0.03299, allocations: 1.432 MB / 410.3 MB, free: 13.67 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.005479/0.03847, allocations: 3.29 MB / 413.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006915/0.04539, allocations: 5.511 MB / 419.1 MB, free: 4.852 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.04776, allocations: 1.28 MB / 420.4 MB, free: 3.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.05045, allocations: 1.877 MB / 422.3 MB, free: 1.598 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.05222, allocations: 1.682 MB / 424 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006644/0.05288, allocations: 0.5664 MB / 424.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.05412, allocations: 0.9173 MB / 425.4 MB, free: 14.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000677/0.0548, allocations: 1.214 MB / 426.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.05603, allocations: 1.476 MB / 428.1 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.06062, allocations: 3.896 MB / 432 MB, free: 7.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.06062, allocations: 0 / 432 MB, free: 7.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.06062, allocations: 4 kB / 432 MB, free: 7.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.757e-05/0.06068, allocations: 0 / 432 MB, free: 7.812 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.009152/0.06983, allocations: 5.893 MB / 437.9 MB, free: 1.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.06987, allocations: 8.031 kB / 437.9 MB, free: 1.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/0.07371, allocations: 1.62 MB / 439.6 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.07644, allocations: 1.712 MB / 441.3 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005366/0.07698, allocations: 1.094 MB / 442.4 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.07734, allocations: 311.9 kB / 442.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.08106, allocations: 2.884 MB / 445.5 MB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.08111, allocations: 3.938 kB / 445.6 MB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.08131, allocations: 124 kB / 445.7 MB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.08137, allocations: 72 kB / 445.7 MB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.0831, allocations: 0.9498 MB / 446.7 MB, free: 8.52 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.01053/0.09363, allocations: 7.713 MB / 454.4 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.09568, allocations: 1.405 MB / 455.8 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005858/0.09626, allocations: 419.6 kB / 456.2 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.09647, allocations: 61.97 kB / 456.3 MB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.09761, allocations: 1.014 MB / 457.3 MB, free: 13.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=265): time 4.478e-06/0.09762, allocations: 0 / 457.3 MB, free: 13.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=265): time 0.003911/0.1015, allocations: 1.959 MB / 459.3 MB, free: 11.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.1017, allocations: 0.4967 MB / 459.8 MB, free: 11.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.1041, allocations: 2.392 MB / 462.1 MB, free: 8.707 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.1043, allocations: 89.69 kB / 462.2 MB, free: 8.613 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000872/0.1052, allocations: 1.153 MB / 463.4 MB, free: 7.445 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/0.1059, allocations: 0.9452 MB / 464.3 MB, free: 6.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008045/0.1067, allocations: 0.7236 MB / 465.1 MB, free: 5.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.1067, allocations: 305.1 kB / 465.4 MB, free: 5.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.1079, allocations: 0.7339 MB / 466.1 MB, free: 4.699 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.1096, allocations: 1.709 MB / 467.8 MB, free: 2.691 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2179/0.3275, allocations: 3.125 MB / 470.9 MB, free: 71.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/0.3275, allocations: 2.562 kB / 470.9 MB, free: 71.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.006371/0.3339, allocations: 2.766 MB / 473.7 MB, free: 71.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.334, allocations: 63.59 kB / 473.8 MB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.334, allocations: 12.48 kB / 473.8 MB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.3351, allocations: 402.9 kB / 474.2 MB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.3374, allocations: 0.8522 MB / 475 MB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.3398, allocations: 2.022 MB / 477 MB, free: 70.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.342, allocations: 378 kB / 477.4 MB, free: 70.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.3422, allocations: 104.4 kB / 477.5 MB, free: 70.57 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.002362/0.3445, allocations: 1.005 MB / 478.5 MB, free: 70.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/0.346, allocations: 1.693 MB / 480.2 MB, free: 69.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003581/0.3496, allocations: 3.1 MB / 483.3 MB, free: 68.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.601e-05/0.3496, allocations: 3.156 kB / 483.3 MB, free: 68.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.004069/0.3537, allocations: 2.753 MB / 486.1 MB, free: 68.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.3537, allocations: 68.11 kB / 486.1 MB, free: 68.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3537, allocations: 11.56 kB / 486.1 MB, free: 68.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.3545, allocations: 403.4 kB / 486.5 MB, free: 68.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.3564, allocations: 0.8425 MB / 487.4 MB, free: 68.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.3585, allocations: 2.022 MB / 489.4 MB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.3607, allocations: 363.2 kB / 489.7 MB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.3609, allocations: 101.1 kB / 489.8 MB, free: 67.41 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.0008173/0.3617, allocations: 0.5329 MB / 490.4 MB, free: 67.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/0.3622, allocations: 303.4 kB / 490.7 MB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.3651, allocations: 1.672 MB / 492.3 MB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.3651, allocations: 30.22 kB / 492.4 MB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3651, allocations: 6.812 kB / 492.4 MB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.3652, allocations: 11.95 kB / 492.4 MB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006482/0.3716, allocations: 3.786 MB / 496.2 MB, free: 65.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.3716, allocations: 4 kB / 496.2 MB, free: 65.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.3736, allocations: 0.5344 MB / 496.7 MB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008262/0.3745, allocations: 379.2 kB / 497.1 MB, free: 64.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.3746, allocations: 71.19 kB / 497.2 MB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.377, allocations: 1.997 MB / 499.2 MB, free: 63.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.377, allocations: 7.188 kB / 499.2 MB, free: 63.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.3809, allocations: 2.475 MB / 0.4899 GB, free: 60.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.3821, allocations: 402.3 kB / 0.4903 GB, free: 60.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.3824, allocations: 73.11 kB / 0.4903 GB, free: 60.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.3836, allocations: 158.2 kB / 0.4905 GB, free: 60.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/0.384, allocations: 226.4 kB / 0.4907 GB, free: 60.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.3841, allocations: 71.97 kB / 0.4908 GB, free: 60.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001402/0.3855, allocations: 1.243 MB / 0.492 GB, free: 59.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3855, allocations: 0 / 0.492 GB, free: 59.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003353/0.3889, allocations: 1.711 MB / 0.4937 GB, free: 57.87 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.001435/0.3903, allocations: 0.5761 MB / 0.4942 GB, free: 57.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006718/0.397, allocations: 4.136 MB / 0.4983 GB, free: 54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.716e-05/0.3971, allocations: 34.38 kB / 0.4983 GB, free: 53.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.3988, allocations: 1 MB / 0.4993 GB, free: 53.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.4013, allocations: 0.618 MB / 0.4999 GB, free: 52.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00946/0.4108, allocations: 6.153 MB / 0.5059 GB, free: 46.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.4113, allocations: 0.6033 MB / 0.5065 GB, free: 46.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001698/0.413, allocations: 0.4978 MB / 0.507 GB, free: 45.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.4141, allocations: 0.6048 MB / 0.5075 GB, free: 45.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.823e-06/0.4141, allocations: 0 / 0.5075 GB, free: 45.09 MB / 442.7 MB Notification: Performance of Templates: time 0.06257/0.4767, allocations: 54.87 MB / 0.5611 GB, free: 6.598 MB / 458.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.927192768082023]