Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.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.001829/0.001829, 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.001986/0.001986, allocations: 217.2 kB / 23.02 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.459/1.459, 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.6972/0.6972, allocations: 122.7 MB / 408.8 MB, free: 15.35 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.Wind.WECC.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS,tolerance=0.001,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS") [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.005586/0.005586, allocations: 76.45 kB / 0.5809 GB, free: 2.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.379, allocations: 80.9 MB / 0.6599 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.02082/0.3998, allocations: 14.35 MB / 0.6739 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.4145, allocations: 6.928 MB / 0.6807 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.4176, allocations: 95.38 kB / 0.6808 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.4204, allocations: 0.942 MB / 0.6817 GB, free: 4.516 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.005945/0.4264, allocations: 1.545 MB / 0.6832 GB, free: 2.961 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'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00758/0.434, allocations: 3.25 MB / 0.6864 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009677/0.4436, allocations: 5.594 MB / 0.6919 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.4467, allocations: 1.238 MB / 0.6931 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.4502, allocations: 2.082 MB / 0.6951 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.4532, allocations: 2.017 MB / 0.6971 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009744/0.4541, allocations: 0.5781 MB / 0.6976 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.4559, allocations: 0.9255 MB / 0.6985 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.4571, allocations: 1.23 MB / 0.6997 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.4593, allocations: 1.83 MB / 0.7015 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00954/0.4689, allocations: 7.204 MB / 0.7086 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4689, allocations: 0 / 0.7086 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4689, allocations: 0 / 0.7086 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002101/0.4691, allocations: 0 / 0.7086 GB, free: 8.891 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: 759 * Number of variables: 759 Notification: Performance of Generate backend data structure: time 0.02031/0.4894, allocations: 6.197 MB / 0.7146 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4894, allocations: 8.031 kB / 0.7146 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/0.4967, allocations: 1.305 MB / 0.7159 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/0.5031, allocations: 2.75 MB / 0.7186 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/0.5042, allocations: 1.127 MB / 0.7197 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006757/0.5049, allocations: 308 kB / 0.72 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009064/0.5139, allocations: 4.166 MB / 0.724 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/0.514, allocations: 3.938 kB / 0.724 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.5143, allocations: 132 kB / 0.7242 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.987e-05/0.5144, allocations: 72 kB / 0.7242 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/0.5221, allocations: 3.289 MB / 0.7275 GB, free: 4.914 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.02372/0.5458, allocations: 10.6 MB / 0.7378 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007919/0.5537, allocations: 2.945 MB / 0.7407 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003626/0.5573, allocations: 1.37 MB / 0.742 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.5576, allocations: 45.97 kB / 0.7421 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00481/0.5624, allocations: 2.046 MB / 0.7441 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=276): time 5.561e-06/0.5624, allocations: 0 / 0.7441 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276): time 0.01548/0.5779, allocations: 5.218 MB / 0.7492 GB, free: 14.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003451/0.5782, allocations: 487 kB / 0.7496 GB, free: 13.82 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/0.5841, allocations: 3.242 MB / 0.7528 GB, free: 10.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005352/0.5847, allocations: 93.7 kB / 0.7529 GB, free: 10.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/0.5866, allocations: 1.676 MB / 0.7545 GB, free: 8.785 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001399/0.588, allocations: 0.9686 MB / 0.7555 GB, free: 7.809 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/0.5895, allocations: 0.7401 MB / 0.7562 GB, free: 7.059 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5896, allocations: 305.1 kB / 0.7565 GB, free: 6.758 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004315/0.594, allocations: 1.771 MB / 0.7582 GB, free: 4.969 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005241/0.5992, allocations: 2.738 MB / 0.7609 GB, free: 1.945 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03359/0.6328, allocations: 9.217 MB / 0.7699 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.6328, allocations: 4 kB / 0.7699 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.01392/0.6467, allocations: 5.193 MB / 0.775 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.6468, allocations: 69.66 kB / 0.775 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.6469, allocations: 12 kB / 0.775 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.648, allocations: 473.2 kB / 0.7755 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/0.6525, allocations: 0.8269 MB / 0.7763 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/0.6593, allocations: 3.389 MB / 0.7796 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/0.663, allocations: 441.8 kB / 0.78 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000492/0.6635, allocations: 148 kB / 0.7802 GB, free: 13.88 MB / 0.6042 GB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector 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) 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) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005886/0.6694, allocations: 2.489 MB / 0.7826 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005248/0.6746, allocations: 2.671 MB / 0.7852 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03296/0.7076, allocations: 9.072 MB / 0.7941 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.702e-05/0.7076, allocations: 4 kB / 0.7941 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=527) (initialization_lambda0): time 0.01324/0.7208, allocations: 5.1 MB / 0.799 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.7209, allocations: 69.66 kB / 0.7991 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.721, allocations: 8 kB / 0.7991 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.7223, allocations: 468.7 kB / 0.7996 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/0.727, allocations: 0.8113 MB / 0.8004 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006656/0.7336, allocations: 3.408 MB / 0.8037 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/0.7373, allocations: 410.1 kB / 0.8041 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/0.7378, allocations: 140 kB / 0.8042 GB, free: 4.645 MB / 0.6198 GB Warning: Assuming fixed start value for the following 33 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector 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) 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) Zcc.running:DISCRETE(flow=false start = Zcc.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean ZPcs.running:DISCRETE(flow=false start = ZPcs.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 80 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.ZPcs.state,ZPcs.state,$PRE.Zcc.state,Zcc.state,WTG4B.injector.switchOffSignal3,WTG4B.injector.switchOffSignal2,WTG4B.injector.switchOffSignal1,Zcc.switchOffSignal2,Zcc.switchOffSignal1,ZPcs.switchOffSignal2,ZPcs.switchOffSignal1,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Zcc.running,$PRE.ZPcs.running,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running,$PRE.WTG4B.LvTfo.running,$PRE.WTG4B.HvTfo.running,WTG4B.wecc_regc.QConv0PuNeg.k,WTG4B.wecc_regc.QConv0PuPos.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,ZPcs.running,Zcc.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (485): * Single equations (assignments): 483 * 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.001188/0.739, allocations: 0.5516 MB / 0.8047 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009529/0.7399, allocations: 389.5 kB / 0.8051 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.7506, allocations: 3.925 MB / 0.809 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/0.7507, allocations: 28 kB / 0.809 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.7507, allocations: 4 kB / 0.809 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/0.7507, allocations: 11.95 kB / 0.809 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/0.7701, allocations: 7.47 MB / 0.8163 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/0.7701, allocations: 8 kB / 0.8163 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004063/0.7742, allocations: 0.5429 MB / 0.8168 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.7754, allocations: 448.5 kB / 0.8173 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007132/0.7762, allocations: 87.94 kB / 0.8173 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006669/0.7828, allocations: 3.378 MB / 0.8206 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/0.7828, allocations: 11.94 kB / 0.8206 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3336/1.116, allocations: 6.125 MB / 0.8266 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/1.119, allocations: 0.7745 MB / 0.8274 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.12, allocations: 79.56 kB / 0.8275 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.123, allocations: 228.5 kB / 0.8277 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007999/1.123, allocations: 276 kB / 0.8279 GB, free: 149 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.124, allocations: 102 kB / 0.828 GB, free: 149 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004256/1.128, allocations: 2.101 MB / 0.8301 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.61e-07/1.128, allocations: 0 / 0.8301 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005969/1.134, allocations: 1.753 MB / 0.8318 GB, free: 148 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 45 ($whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Zcc.running,Zcc.state,ZPcs.running,ZPcs.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running,WTG4B.injector.state,WTG4B.LvTfo.running,WTG4B.LvTfo.state,WTG4B.HvTfo.running,WTG4B.HvTfo.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 11 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,ZPcs.running,Zcc.running,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.003141/1.137, allocations: 0.5426 MB / 0.8323 GB, free: 147.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0143/1.151, allocations: 6.831 MB / 0.839 GB, free: 145 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.151, allocations: 6.75 kB / 0.839 GB, free: 145 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004893/1.156, allocations: 2.222 MB / 0.8412 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/1.16, allocations: 0.5528 MB / 0.8417 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.173, allocations: 7.488 MB / 0.849 GB, free: 137.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.175, allocations: 1.592 MB / 0.8506 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002785/1.178, allocations: 0.5512 MB / 0.8511 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/1.178, allocations: 237.2 kB / 0.8514 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/1.178, allocations: 0 / 0.8514 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.0692/1.248, allocations: 55.46 MB / 0.9055 GB, free: 81.87 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.200434057973325]