Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001943/0.001943, allocations: 217.2 kB / 23.01 MB, free: 2.969 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 1.415/1.415, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.7 MB " [Timeout remaining time 178] 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.8882/0.8882, allocations: 122.7 MB / 408.8 MB, free: 15.37 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003993/0.003993, allocations: 79.89 kB / 0.5802 GB, free: 7.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3222, allocations: 80.9 MB / 0.6592 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01315/0.3353, allocations: 13.56 MB / 0.6724 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3465, allocations: 6.694 MB / 0.6789 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003064/0.3495, allocations: 93.72 kB / 0.679 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.3515, allocations: 0.8834 MB / 0.6799 GB, free: 3.93 MB / 0.4948 GB [/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.003976/0.3555, allocations: 1.367 MB / 0.6812 GB, free: 2.801 MB / 0.4948 GB [/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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.3612, allocations: 3.081 MB / 0.6842 GB, free: 344 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007713/0.369, allocations: 5.305 MB / 0.6894 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.3711, allocations: 1.198 MB / 0.6906 GB, free: 12 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.374, allocations: 1.968 MB / 0.6925 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003276/0.3773, allocations: 1.924 MB / 0.6944 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008441/0.3781, allocations: 0.5568 MB / 0.6949 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.3798, allocations: 0.8709 MB / 0.6958 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.381, allocations: 1.156 MB / 0.6969 GB, free: 7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.383, allocations: 1.741 MB / 0.6986 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008894/0.3918, allocations: 6.902 MB / 0.7054 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.3919, allocations: 7.984 kB / 0.7054 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3919, allocations: 4 kB / 0.7054 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001766/0.392, allocations: 0 / 0.7054 GB, free: 14.31 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.01692/0.409, allocations: 5.761 MB / 0.711 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.409, allocations: 15.97 kB / 0.711 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005509/0.4145, allocations: 1.087 MB / 0.7121 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.4199, allocations: 2.685 MB / 0.7147 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/0.421, allocations: 0.9739 MB / 0.7156 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.4215, allocations: 291.9 kB / 0.7159 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008075/0.4296, allocations: 3.979 MB / 0.7198 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.4297, allocations: 3.938 kB / 0.7198 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/0.43, allocations: 124 kB / 0.7199 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.049e-05/0.4301, allocations: 68 kB / 0.72 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007714/0.4378, allocations: 3.104 MB / 0.723 GB, free: 11.62 MB / 0.5417 GB 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.02035/0.4581, allocations: 10.41 MB / 0.7332 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007328/0.4655, allocations: 2.751 MB / 0.7359 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/0.4688, allocations: 1.269 MB / 0.7371 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.469, allocations: 37.98 kB / 0.7372 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004026/0.473, allocations: 1.747 MB / 0.7389 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=237): time 1.163e-05/0.4731, allocations: 0 / 0.7389 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=237): time 0.01361/0.4867, allocations: 4.648 MB / 0.7434 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003685/0.487, allocations: 0.4928 MB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005554/0.4926, allocations: 3.15 MB / 0.747 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003332/0.4929, allocations: 73.7 kB / 0.747 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.4948, allocations: 1.631 MB / 0.7486 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.4959, allocations: 0.8563 MB / 0.7495 GB, free: 192 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/0.4975, allocations: 0.6962 MB / 0.7501 GB, free: 15.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4976, allocations: 305.1 kB / 0.7504 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/0.5016, allocations: 1.664 MB / 0.7521 GB, free: 13.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/0.5066, allocations: 2.63 MB / 0.7546 GB, free: 10.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03099/0.5376, allocations: 8.513 MB / 0.7629 GB, free: 1.898 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.5376, allocations: 4 kB / 0.7629 GB, free: 1.895 MB / 0.573 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01252/0.5501, allocations: 4.823 MB / 0.7676 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.5502, allocations: 61.67 kB / 0.7677 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.5502, allocations: 12 kB / 0.7677 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009761/0.5512, allocations: 377.2 kB / 0.7681 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/0.5553, allocations: 0.8074 MB / 0.7689 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005992/0.5613, allocations: 2.963 MB / 0.7718 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.5647, allocations: 425.9 kB / 0.7722 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.565, allocations: 140 kB / 0.7723 GB, free: 8.164 MB / 0.5886 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005443/0.5704, allocations: 2.322 MB / 0.7746 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004751/0.5752, allocations: 2.582 MB / 0.7771 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03119/0.6064, allocations: 8.365 MB / 0.7853 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.471e-05/0.6064, allocations: 4 kB / 0.7853 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=483) (initialization_lambda0): time 0.01166/0.6181, allocations: 4.714 MB / 0.7899 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.6182, allocations: 69.66 kB / 0.7899 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6182, allocations: 8 kB / 0.7899 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009255/0.6191, allocations: 385 kB / 0.7903 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/0.6232, allocations: 0.7762 MB / 0.7911 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/0.6291, allocations: 2.964 MB / 0.794 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/0.6323, allocations: 402.2 kB / 0.7943 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.6326, allocations: 131.9 kB / 0.7945 GB, free: 0.8633 MB / 0.6042 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.k,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 444 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.6336, allocations: 0.4977 MB / 0.795 GB, free: 376 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/0.6343, allocations: 357.7 kB / 0.7953 GB, free: 16 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009533/0.6438, allocations: 3.512 MB / 0.7987 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.6438, allocations: 24 kB / 0.7987 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6438, allocations: 4 kB / 0.7988 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.6439, allocations: 11.95 kB / 0.7988 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.6596, allocations: 6.865 MB / 0.8055 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6596, allocations: 8 kB / 0.8055 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/0.6631, allocations: 0.5035 MB / 0.806 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008984/0.664, allocations: 368.6 kB / 0.8063 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/0.6642, allocations: 67.97 kB / 0.8064 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.6699, allocations: 2.949 MB / 0.8093 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.6699, allocations: 12.02 kB / 0.8093 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.6836, allocations: 5.557 MB / 0.8147 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.6855, allocations: 0.7236 MB / 0.8154 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/0.686, allocations: 67.98 kB / 0.8155 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.6882, allocations: 219.7 kB / 0.8157 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005122/0.6887, allocations: 213.4 kB / 0.8159 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.6889, allocations: 79.97 kB / 0.816 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00386/0.6928, allocations: 2.048 MB / 0.818 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6928, allocations: 4 kB / 0.818 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004209/0.697, allocations: 1.629 MB / 0.8196 GB, free: 6.824 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00309/0.7001, allocations: 0.5105 MB / 0.8201 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01533/0.7154, allocations: 6.316 MB / 0.8262 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.7154, allocations: 0 / 0.8262 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005232/0.7206, allocations: 1.976 MB / 0.8282 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.7236, allocations: 0.5216 MB / 0.8287 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.7394, allocations: 7.029 MB / 0.8355 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.7414, allocations: 1.492 MB / 0.837 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00269/0.7441, allocations: 0.5208 MB / 0.8375 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/0.745, allocations: 211.4 kB / 0.8377 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/0.745, allocations: 0 / 0.8377 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of Templates: time 0.322/1.067, allocations: 50.33 MB / 0.8868 GB, free: 160.6 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.332826581783593]