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.001834/0.001834, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.002019/0.002019, allocations: 173.2 kB / 23.23 MB, free: 1.328 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 1.313/1.313, allocations: 158.6 MB / 185 MB, free: 3.059 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.6979/0.6979, allocations: 90.83 MB / 328.1 MB, free: 14.55 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.525e-06/2.525e-06, allocations: 0 / 0.5015 GB, free: 16.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.884e-05, allocations: 2.281 kB / 0.5015 GB, free: 16.28 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.02819/0.02822, allocations: 14 MB / 0.5151 GB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.04902, allocations: 6.846 MB / 0.5218 GB, free: 1.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.05352, allocations: 95.69 kB / 0.5219 GB, free: 1.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.05691, allocations: 0.9021 MB / 0.5228 GB, free: 1.293 MB / 442.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.00572/0.06263, allocations: 1.438 MB / 0.5242 GB, free: 100 kB / 442.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.008565/0.07119, allocations: 3.309 MB / 0.5274 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.009495/0.08069, allocations: 5.527 MB / 0.5328 GB, free: 9.875 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003573/0.08426, allocations: 1.223 MB / 0.534 GB, free: 8.953 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.08795, allocations: 1.876 MB / 0.5359 GB, free: 7.703 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.09125, allocations: 1.662 MB / 0.5375 GB, free: 6.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.09311, allocations: 0.5664 MB / 0.538 GB, free: 5.953 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.09584, allocations: 0.9135 MB / 0.5389 GB, free: 5.039 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.09769, allocations: 1.207 MB / 0.5401 GB, free: 3.828 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.1004, allocations: 1.472 MB / 0.5415 GB, free: 2.352 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.1115, allocations: 7.24 MB / 0.5486 GB, free: 11.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1115, allocations: 0 / 0.5486 GB, free: 11.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1115, allocations: 0 / 0.5486 GB, free: 11.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000188/0.1117, allocations: 0 / 0.5486 GB, free: 11.09 MB / 474.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.01874/0.1305, allocations: 5.981 MB / 0.5544 GB, free: 5.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1305, allocations: 8.031 kB / 0.5545 GB, free: 5.012 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007081/0.1376, allocations: 1.294 MB / 0.5557 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.1436, allocations: 2.72 MB / 0.5584 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.1447, allocations: 1.098 MB / 0.5594 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/0.1454, allocations: 300 kB / 0.5597 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009394/0.1548, allocations: 4.159 MB / 0.5638 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/0.1549, allocations: 3.938 kB / 0.5638 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.1552, allocations: 128 kB / 0.5639 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.1553, allocations: 72 kB / 0.564 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008448/0.1637, allocations: 3.273 MB / 0.5672 GB, free: 7.441 MB / 490.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.02252/0.1862, allocations: 10.75 MB / 0.5777 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008536/0.1948, allocations: 2.921 MB / 0.5805 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/0.1983, allocations: 1.366 MB / 0.5819 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.1986, allocations: 49.91 kB / 0.5819 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004484/0.2031, allocations: 1.897 MB / 0.5838 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=265): time 5.671e-06/0.2031, allocations: 8 kB / 0.5838 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.01578/0.2189, allocations: 5.101 MB / 0.5888 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003614/0.2192, allocations: 0.4967 MB / 0.5892 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005866/0.2251, allocations: 3.132 MB / 0.5923 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004054/0.2255, allocations: 85.7 kB / 0.5924 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002005/0.2275, allocations: 1.644 MB / 0.594 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.2288, allocations: 0.9337 MB / 0.5949 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/0.2303, allocations: 0.7163 MB / 0.5956 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2304, allocations: 301.1 kB / 0.5959 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.2345, allocations: 1.759 MB / 0.5976 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/0.2396, allocations: 2.756 MB / 0.6003 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03203/0.2716, allocations: 9.178 MB / 0.6093 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.2716, allocations: 4 kB / 0.6093 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01303/0.2847, allocations: 5.143 MB / 0.6143 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.2848, allocations: 69.66 kB / 0.6144 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.2848, allocations: 8 kB / 0.6144 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.2859, allocations: 473.4 kB / 0.6148 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.2901, allocations: 0.823 MB / 0.6156 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006704/0.2968, allocations: 3.394 MB / 0.6189 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/0.3001, allocations: 441.8 kB / 0.6194 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/0.3005, allocations: 132 kB / 0.6195 GB, free: 0.832 MB / 0.5261 GB 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.005922/0.3065, allocations: 2.438 MB / 0.6219 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005075/0.3115, allocations: 2.703 MB / 0.6245 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03274/0.3443, allocations: 9.034 MB / 0.6333 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-05/0.3443, allocations: 4 kB / 0.6333 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.01455/0.3588, allocations: 5.034 MB / 0.6382 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.359, allocations: 77.75 kB / 0.6383 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.359, allocations: 12 kB / 0.6383 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.3601, allocations: 462.8 kB / 0.6388 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/0.3644, allocations: 0.8113 MB / 0.6396 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/0.3713, allocations: 3.381 MB / 0.6429 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.3748, allocations: 418.1 kB / 0.6433 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005282/0.3753, allocations: 143.9 kB / 0.6434 GB, free: 7.699 MB / 0.5573 GB 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.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,BESS.regcA.QConv0PuPos.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,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 (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.001434/0.3768, allocations: 0.5246 MB / 0.6439 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.378, allocations: 373.7 kB / 0.6443 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.389, allocations: 3.845 MB / 0.648 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.3891, allocations: 24 kB / 0.648 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3891, allocations: 4 kB / 0.6481 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/0.3891, allocations: 19.94 kB / 0.6481 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.4076, allocations: 7.473 MB / 0.6554 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.4076, allocations: 4.625 kB / 0.6554 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00349/0.4111, allocations: 0.5461 MB / 0.6559 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.4122, allocations: 460.5 kB / 0.6563 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/0.4125, allocations: 67.97 kB / 0.6564 GB, free: 10.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006755/0.4192, allocations: 3.384 MB / 0.6597 GB, free: 6.758 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4193, allocations: 8 kB / 0.6597 GB, free: 6.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/0.4339, allocations: 6.032 MB / 0.6656 GB, free: 0.543 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/0.4359, allocations: 0.7548 MB / 0.6663 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006356/0.4366, allocations: 67.98 kB / 0.6664 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/0.439, allocations: 223.8 kB / 0.6666 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.4396, allocations: 221.4 kB / 0.6668 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/0.4398, allocations: 91.97 kB / 0.6669 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003872/0.4437, allocations: 2.037 MB / 0.6689 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4437, allocations: 0 / 0.6689 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004664/0.4483, allocations: 1.719 MB / 0.6706 GB, free: 11.44 MB / 0.5886 GB 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.002958/0.4513, allocations: 0.5234 MB / 0.6711 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01681/0.4681, allocations: 6.722 MB / 0.6777 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.4681, allocations: 4 kB / 0.6777 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005514/0.4736, allocations: 2.124 MB / 0.6797 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.4766, allocations: 0.5392 MB / 0.6803 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.207/0.6837, allocations: 7.177 MB / 0.6873 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.6855, allocations: 1.551 MB / 0.6888 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002744/0.6883, allocations: 0.54 MB / 0.6893 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008382/0.6891, allocations: 225.9 kB / 0.6895 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.6891, allocations: 0 / 0.6895 GB, free: 158.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.07077/0.7599, allocations: 50.24 MB / 0.7386 GB, free: 131.8 MB / 0.5886 GB " [Timeout remaining time 659] 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: 8.0123356487602]