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.001792/0.001792, 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.001906/0.001906, allocations: 217.2 kB / 23.01 MB, free: 2.961 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.452/1.452, allocations: 207.7 MB / 233.9 MB, free: 11.45 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.7359/0.7359, 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.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: 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.00604/0.00604, allocations: 71.89 kB / 0.5801 GB, free: 7.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3295, allocations: 80.91 MB / 0.6592 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceExternalPCS): time 0.01317/0.3426, allocations: 14 MB / 0.6728 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.3534, allocations: 6.816 MB / 0.6795 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003214/0.3567, allocations: 95.78 kB / 0.6796 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.3587, allocations: 0.8981 MB / 0.6805 GB, free: 3.434 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.003953/0.3626, allocations: 1.403 MB / 0.6818 GB, free: 2.273 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.005691/0.3683, allocations: 3.298 MB / 0.6851 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008268/0.3766, allocations: 5.474 MB / 0.6904 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.3792, allocations: 1.222 MB / 0.6916 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.3824, allocations: 2.025 MB / 0.6936 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.3855, allocations: 1.977 MB / 0.6955 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.3867, allocations: 0.5694 MB / 0.6961 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.3886, allocations: 0.9021 MB / 0.6969 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.3901, allocations: 1.191 MB / 0.6981 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.3924, allocations: 1.795 MB / 0.6999 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009894/0.4023, allocations: 7.073 MB / 0.7068 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.4023, allocations: 3.938 kB / 0.7068 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4023, allocations: 0 / 0.7068 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002227/0.4026, allocations: 7.938 kB / 0.7068 GB, free: 12.85 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: 749 * Number of variables: 749 Notification: Performance of Generate backend data structure: time 0.01845/0.421, allocations: 6.02 MB / 0.7127 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4211, allocations: 12.03 kB / 0.7127 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007094/0.4281, allocations: 1.286 MB / 0.7139 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/0.4341, allocations: 2.739 MB / 0.7166 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/0.4352, allocations: 1.09 MB / 0.7177 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006625/0.4359, allocations: 303.9 kB / 0.718 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.4464, allocations: 4.155 MB / 0.722 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.345e-05/0.4464, allocations: 3.938 kB / 0.722 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/0.4468, allocations: 132 kB / 0.7221 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.4469, allocations: 72 kB / 0.7222 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008639/0.4555, allocations: 3.277 MB / 0.7254 GB, free: 9.141 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.02347/0.479, allocations: 10.77 MB / 0.7359 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/0.4871, allocations: 2.928 MB / 0.7388 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003624/0.4908, allocations: 1.366 MB / 0.7401 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002668/0.491, allocations: 46.31 kB / 0.7402 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004625/0.4957, allocations: 1.909 MB / 0.742 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=265): time 5.74e-06/0.4957, allocations: 0 / 0.742 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of matching and sorting (n=265): time 0.01575/0.5114, allocations: 5.097 MB / 0.747 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003789/0.5118, allocations: 0.4967 MB / 0.7475 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006968/0.5188, allocations: 3.136 MB / 0.7505 GB, free: 15.04 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004466/0.5192, allocations: 85.69 kB / 0.7506 GB, free: 14.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.5214, allocations: 1.648 MB / 0.7522 GB, free: 13.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/0.5229, allocations: 0.9453 MB / 0.7532 GB, free: 12.33 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/0.5251, allocations: 0.7319 MB / 0.7539 GB, free: 11.59 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5252, allocations: 301.1 kB / 0.7542 GB, free: 11.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/0.5296, allocations: 1.755 MB / 0.7559 GB, free: 9.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/0.535, allocations: 2.752 MB / 0.7586 GB, free: 6.469 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03472/0.5698, allocations: 9.174 MB / 0.7675 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/0.5698, allocations: 4 kB / 0.7675 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01513/0.5849, allocations: 5.135 MB / 0.7725 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.585, allocations: 73.78 kB / 0.7726 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.5851, allocations: 11.94 kB / 0.7726 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.5864, allocations: 468.5 kB / 0.7731 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/0.5911, allocations: 0.8308 MB / 0.7739 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.5986, allocations: 3.393 MB / 0.7772 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00413/0.6028, allocations: 433.8 kB / 0.7776 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007422/0.6035, allocations: 140 kB / 0.7777 GB, free: 2.488 MB / 0.5886 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.006802/0.6103, allocations: 2.44 MB / 0.7801 GB, free: 48 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005786/0.6161, allocations: 2.705 MB / 0.7828 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03515/0.6512, allocations: 9.038 MB / 0.7916 GB, free: 3.809 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.939e-05/0.6513, allocations: 4 kB / 0.7916 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.01455/0.6658, allocations: 5.031 MB / 0.7965 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.6659, allocations: 69.66 kB / 0.7966 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.6659, allocations: 15.94 kB / 0.7966 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.6671, allocations: 468.7 kB / 0.797 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/0.6715, allocations: 0.8152 MB / 0.7978 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/0.6784, allocations: 3.386 MB / 0.8011 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/0.6823, allocations: 410.1 kB / 0.8015 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/0.6829, allocations: 136 kB / 0.8017 GB, free: 9.355 MB / 0.6198 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.001634/0.6845, allocations: 0.5335 MB / 0.8022 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/0.6857, allocations: 369.6 kB / 0.8025 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.6966, allocations: 3.845 MB / 0.8063 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.6967, allocations: 28 kB / 0.8063 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.6967, allocations: 4 kB / 0.8063 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.283e-05/0.6967, allocations: 15.89 kB / 0.8063 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.7157, allocations: 7.485 MB / 0.8136 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.7158, allocations: 8.125 kB / 0.8137 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/0.7192, allocations: 0.5422 MB / 0.8142 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.7204, allocations: 456.5 kB / 0.8146 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/0.7207, allocations: 67.97 kB / 0.8147 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006943/0.7276, allocations: 3.378 MB / 0.818 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.7277, allocations: 7.938 kB / 0.818 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.7433, allocations: 6.043 MB / 0.8239 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/0.7456, allocations: 0.7586 MB / 0.8246 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/0.7465, allocations: 67.98 kB / 0.8247 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/0.749, allocations: 227.8 kB / 0.8249 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/0.7496, allocations: 237.3 kB / 0.8251 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/0.7499, allocations: 87.97 kB / 0.8252 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004048/0.7539, allocations: 2.029 MB / 0.8272 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7539, allocations: 0 / 0.8272 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004548/0.7585, allocations: 1.719 MB / 0.8289 GB, free: 13.07 MB / 0.6511 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.002866/0.7613, allocations: 0.5207 MB / 0.8294 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01633/0.7777, allocations: 6.732 MB / 0.836 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.7777, allocations: 4 kB / 0.836 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005606/0.7833, allocations: 2.127 MB / 0.8381 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.7864, allocations: 0.5426 MB / 0.8386 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.8024, allocations: 7.3 MB / 0.8457 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/0.8045, allocations: 1.553 MB / 0.8472 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002725/0.8072, allocations: 0.5373 MB / 0.8478 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009/0.8081, allocations: 215.4 kB / 0.848 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of SimCode: time 7.71e-07/0.8081, allocations: 0 / 0.848 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of Templates: time 0.3229/1.131, allocations: 53.88 MB / 0.9006 GB, free: 149.5 MB / 0.6667 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.396341650746763]