Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.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.002503/0.002503, 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.003002/0.003002, allocations: 217.2 kB / 23.01 MB, free: 2.973 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.43/1.43, 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.7473/0.7473, allocations: 122.7 MB / 408.8 MB, free: 15.36 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.WTG3CurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") [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.004262/0.004262, allocations: 83.02 kB / 0.5809 GB, free: 7.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3769, allocations: 80.9 MB / 0.6599 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01729/0.3942, allocations: 16.15 MB / 0.6757 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.4086, allocations: 7.804 MB / 0.6833 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004873/0.4135, allocations: 113.5 kB / 0.6834 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.4171, allocations: 1.096 MB / 0.6845 GB, free: 1.078 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.007726/0.4248, allocations: 1.635 MB / 0.6861 GB, free: 15.72 MB / 0.5105 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.0102/0.435, allocations: 3.742 MB / 0.6898 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.4464, allocations: 6.641 MB / 0.6962 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/0.4505, allocations: 1.497 MB / 0.6977 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004349/0.4548, allocations: 2.455 MB / 0.7001 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004403/0.4592, allocations: 2.374 MB / 0.7024 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.4615, allocations: 0.7031 MB / 0.7031 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.4647, allocations: 1.031 MB / 0.7041 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.4672, allocations: 1.464 MB / 0.7055 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.004228/0.4715, allocations: 2.176 MB / 0.7077 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.4864, allocations: 8.632 MB / 0.7161 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4864, allocations: 0 / 0.7161 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4864, allocations: 4 kB / 0.7161 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002532/0.4867, allocations: 4 kB / 0.7161 GB, free: 3.93 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0251/0.5118, allocations: 6.939 MB / 0.7229 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5118, allocations: 12.03 kB / 0.7229 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007029/0.5189, allocations: 1.227 MB / 0.7241 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008693/0.5276, allocations: 3.373 MB / 0.7274 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/0.529, allocations: 1.183 MB / 0.7285 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.5302, allocations: 363.9 kB / 0.7289 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.5422, allocations: 4.93 MB / 0.7337 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-05/0.5423, allocations: 7.938 kB / 0.7337 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004934/0.5428, allocations: 152 kB / 0.7339 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.133e-05/0.5429, allocations: 88 kB / 0.7339 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.5536, allocations: 3.751 MB / 0.7376 GB, free: 13.21 MB / 0.5573 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.03121/0.5848, allocations: 12.99 MB / 0.7503 GB, free: 15.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.5956, allocations: 3.453 MB / 0.7537 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/0.6001, allocations: 1.554 MB / 0.7552 GB, free: 10.94 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.6005, allocations: 45.98 kB / 0.7552 GB, free: 10.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005915/0.6064, allocations: 2.205 MB / 0.7574 GB, free: 8.645 MB / 0.573 GB Notification: Performance of pre-optimization done (n=293): time 6.162e-06/0.6064, allocations: 4 kB / 0.7574 GB, free: 8.641 MB / 0.573 GB Notification: Performance of matching and sorting (n=293): time 0.01866/0.625, allocations: 5.558 MB / 0.7628 GB, free: 3.027 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004361/0.6255, allocations: 0.5722 MB / 0.7634 GB, free: 2.324 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008441/0.6339, allocations: 3.941 MB / 0.7672 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0008602/0.6348, allocations: 93.7 kB / 0.7673 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002683/0.6375, allocations: 2.057 MB / 0.7693 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/0.6393, allocations: 1.054 MB / 0.7703 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/0.6413, allocations: 0.8313 MB / 0.7712 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6415, allocations: 309.1 kB / 0.7714 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005309/0.6468, allocations: 1.977 MB / 0.7734 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006783/0.6536, allocations: 3.159 MB / 0.7765 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03796/0.6915, allocations: 9.956 MB / 0.7862 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.6916, allocations: 7.938 kB / 0.7862 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=584) (initialization): time 0.01794/0.7095, allocations: 5.705 MB / 0.7918 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.7096, allocations: 69.66 kB / 0.7918 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.7097, allocations: 12.84 kB / 0.7918 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.7107, allocations: 388.5 kB / 0.7922 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007618/0.7183, allocations: 1.424 MB / 0.7936 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/0.7243, allocations: 2.968 MB / 0.7965 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/0.7288, allocations: 0.517 MB / 0.797 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007504/0.7295, allocations: 152 kB / 0.7972 GB, free: 14.79 MB / 0.6198 GB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008128/0.7376, allocations: 2.822 MB / 0.7999 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006867/0.7445, allocations: 3.101 MB / 0.8029 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0369/0.7814, allocations: 9.811 MB / 0.8125 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.968e-05/0.7814, allocations: 3.938 kB / 0.8125 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=584) (initialization_lambda0): time 0.01624/0.7977, allocations: 5.613 MB / 0.818 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.7978, allocations: 77.69 kB / 0.8181 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.7978, allocations: 15.98 kB / 0.8181 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009484/0.7988, allocations: 392.6 kB / 0.8185 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/0.8063, allocations: 1.401 MB / 0.8198 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.8127, allocations: 2.976 MB / 0.8227 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/0.8181, allocations: 489.8 kB / 0.8232 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007834/0.8189, allocations: 156 kB / 0.8234 GB, free: 3.129 MB / 0.6355 GB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.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: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.injector.switchOffSignal3,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuNeg.k,WTG3.wecc_regc.QConv0PuPos.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (545): * Single equations (assignments): 543 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001583/0.8205, allocations: 0.5854 MB / 0.8239 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/0.822, allocations: 449 kB / 0.8244 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.8355, allocations: 4.189 MB / 0.8284 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/0.8355, allocations: 32 kB / 0.8285 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8356, allocations: 4 kB / 0.8285 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.932e-05/0.8356, allocations: 15.95 kB / 0.8285 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/0.8597, allocations: 8.244 MB / 0.8365 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.8597, allocations: 4.688 kB / 0.8366 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00694/0.8667, allocations: 1.081 MB / 0.8376 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.8677, allocations: 368.7 kB / 0.838 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007546/0.8685, allocations: 79.97 kB / 0.838 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005715/0.8742, allocations: 2.956 MB / 0.8409 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/0.8742, allocations: 15.97 kB / 0.8409 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/0.893, allocations: 6.613 MB / 0.8474 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003549/0.8965, allocations: 0.8907 MB / 0.8483 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/0.8977, allocations: 83.98 kB / 0.8483 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/0.901, allocations: 271.6 kB / 0.8486 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/0.902, allocations: 297.9 kB / 0.8489 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005075/0.9025, allocations: 104 kB / 0.849 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.006284/0.9088, allocations: 2.561 MB / 0.8515 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9088, allocations: 0 / 0.8515 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.009098/0.9179, allocations: 1.984 MB / 0.8534 GB, free: 3.789 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003377/0.9213, allocations: 0.5425 MB / 0.854 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.3103/1.232, allocations: 7.434 MB / 0.8612 GB, free: 172.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/1.232, allocations: 2.312 kB / 0.8612 GB, free: 172.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.007694/1.239, allocations: 2.558 MB / 0.8637 GB, free: 172.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/1.244, allocations: 0.6439 MB / 0.8643 GB, free: 171.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/1.264, allocations: 8.965 MB / 0.8731 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.267, allocations: 1.882 MB / 0.8749 GB, free: 167.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004187/1.271, allocations: 0.6337 MB / 0.8756 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.272, allocations: 268.4 kB / 0.8758 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.142e-06/1.272, allocations: 0 / 0.8758 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.08289/1.355, allocations: 56.65 MB / 0.9311 GB, free: 121.2 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -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.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.38438197504729]