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.002353/0.002353, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002845/0.002845, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.6623/0.6623, allocations: 90.83 MB / 328.1 MB, free: 14.54 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5022 GB, free: 15.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.07e-05, allocations: 2.281 kB / 0.5022 GB, free: 15.79 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSourceExternalPCS): time 0.01518/0.01521, allocations: 14.34 MB / 0.5162 GB, free: 6.152 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.02797, allocations: 6.944 MB / 0.523 GB, free: 1.152 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00429/0.03226, allocations: 95.66 kB / 0.5231 GB, free: 1.113 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.03511, allocations: 0.9435 MB / 0.524 GB, free: 428 kB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006113/0.04122, allocations: 1.581 MB / 0.5256 GB, free: 15.12 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.008336/0.04956, allocations: 3.27 MB / 0.5288 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.009221/0.05878, allocations: 5.644 MB / 0.5343 GB, free: 8.852 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003681/0.06246, allocations: 1.238 MB / 0.5355 GB, free: 7.922 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.06625, allocations: 1.935 MB / 0.5374 GB, free: 6.629 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.0696, allocations: 1.701 MB / 0.539 GB, free: 4.922 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001557/0.07115, allocations: 0.5781 MB / 0.5396 GB, free: 4.344 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.07354, allocations: 0.9175 MB / 0.5405 GB, free: 3.426 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001616/0.07515, allocations: 1.249 MB / 0.5417 GB, free: 2.172 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.07744, allocations: 1.503 MB / 0.5432 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.08754, allocations: 7.368 MB / 0.5504 GB, free: 9.273 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.08755, allocations: 0 / 0.5504 GB, free: 9.273 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08755, allocations: 0 / 0.5504 GB, free: 9.273 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001611/0.08771, allocations: 0 / 0.5504 GB, free: 9.273 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 759 * Number of variables: 759 Notification: Performance of Generate backend data structure: time 0.01943/0.1071, allocations: 6.154 MB / 0.5564 GB, free: 3.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1072, allocations: 12.03 kB / 0.5564 GB, free: 3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/0.1145, allocations: 1.302 MB / 0.5577 GB, free: 1.695 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/0.1207, allocations: 2.734 MB / 0.5603 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/0.1221, allocations: 1.128 MB / 0.5614 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008235/0.1229, allocations: 311.9 kB / 0.5617 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008564/0.1315, allocations: 4.166 MB / 0.5658 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.1315, allocations: 0 / 0.5658 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003492/0.1319, allocations: 136 kB / 0.5659 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-05/0.1319, allocations: 79.94 kB / 0.566 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008208/0.1402, allocations: 3.281 MB / 0.5692 GB, free: 5.355 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02113/0.1613, allocations: 10.59 MB / 0.5796 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007971/0.1693, allocations: 2.952 MB / 0.5825 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/0.1727, allocations: 1.374 MB / 0.5838 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.1729, allocations: 45.98 kB / 0.5838 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00455/0.1775, allocations: 2.039 MB / 0.5858 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=276): time 9.247e-06/0.1775, allocations: 3.984 kB / 0.5858 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=276): time 0.01557/0.1931, allocations: 5.223 MB / 0.5909 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003485/0.1934, allocations: 483 kB / 0.5914 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/0.199, allocations: 3.238 MB / 0.5946 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005072/0.1995, allocations: 93.69 kB / 0.5946 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.2016, allocations: 1.672 MB / 0.5963 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/0.2033, allocations: 0.9648 MB / 0.5972 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/0.2049, allocations: 0.7284 MB / 0.5979 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2051, allocations: 305.1 kB / 0.5982 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/0.2092, allocations: 1.768 MB / 0.5999 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005176/0.2144, allocations: 2.734 MB / 0.6026 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03339/0.2478, allocations: 9.213 MB / 0.6116 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.2478, allocations: 7.938 kB / 0.6116 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.01275/0.2605, allocations: 5.189 MB / 0.6167 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.2606, allocations: 70.41 kB / 0.6168 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.2607, allocations: 8 kB / 0.6168 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.2618, allocations: 472.5 kB / 0.6172 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/0.2661, allocations: 0.8308 MB / 0.618 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.2726, allocations: 3.395 MB / 0.6213 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.276, allocations: 449.8 kB / 0.6218 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003656/0.2763, allocations: 136 kB / 0.6219 GB, free: 14.35 MB / 0.5417 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.005836/0.2822, allocations: 2.483 MB / 0.6243 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004846/0.287, allocations: 2.683 MB / 0.6269 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03223/0.3193, allocations: 9.076 MB / 0.6358 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-05/0.3193, allocations: 0 / 0.6358 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=527) (initialization_lambda0): time 0.01362/0.3329, allocations: 5.092 MB / 0.6408 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.333, allocations: 65.67 kB / 0.6408 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/0.333, allocations: 19.92 kB / 0.6409 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.3341, allocations: 465 kB / 0.6413 GB, free: 9.977 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004474/0.3386, allocations: 0.8113 MB / 0.6421 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.3453, allocations: 3.395 MB / 0.6454 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.3491, allocations: 414.1 kB / 0.6458 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004151/0.3495, allocations: 143.9 kB / 0.6459 GB, free: 5.129 MB / 0.5573 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.001164/0.3506, allocations: 0.5709 MB / 0.6465 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008132/0.3514, allocations: 377.6 kB / 0.6469 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.3617, allocations: 3.917 MB / 0.6507 GB, free: 208 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.3617, allocations: 31.94 kB / 0.6507 GB, free: 176 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3617, allocations: 8 kB / 0.6507 GB, free: 168 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/0.3618, allocations: 15.94 kB / 0.6507 GB, free: 152 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.3791, allocations: 7.467 MB / 0.658 GB, free: 8.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.3791, allocations: 8.094 kB / 0.658 GB, free: 8.512 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003473/0.3825, allocations: 0.5344 MB / 0.6586 GB, free: 7.977 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.3837, allocations: 461.6 kB / 0.659 GB, free: 7.527 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005185/0.3842, allocations: 71.97 kB / 0.6591 GB, free: 7.457 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006719/0.3909, allocations: 3.386 MB / 0.6624 GB, free: 3.969 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.3909, allocations: 11.94 kB / 0.6624 GB, free: 3.957 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/0.4077, allocations: 6.107 MB / 0.6684 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/0.4102, allocations: 0.7858 MB / 0.6691 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008762/0.4111, allocations: 79.92 kB / 0.6692 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/0.4139, allocations: 223.8 kB / 0.6694 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008622/0.4148, allocations: 273.5 kB / 0.6697 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003159/0.4151, allocations: 95.97 kB / 0.6698 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004127/0.4192, allocations: 2.109 MB / 0.6718 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.4192, allocations: 0 / 0.6718 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006272/0.4255, allocations: 1.742 MB / 0.6735 GB, free: 8.375 MB / 0.5886 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.003134/0.4286, allocations: 0.5542 MB / 0.6741 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01831/0.4469, allocations: 6.815 MB / 0.6807 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/0.4469, allocations: 4.062 kB / 0.6807 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.2119/0.6588, allocations: 2.215 MB / 0.6829 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/0.6624, allocations: 0.5424 MB / 0.6834 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.678, allocations: 7.363 MB / 0.6906 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/0.6802, allocations: 1.595 MB / 0.6922 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003005/0.6832, allocations: 0.5611 MB / 0.6927 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009486/0.6842, allocations: 239.3 kB / 0.6929 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/0.6842, allocations: 0 / 0.6929 GB, free: 159.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.07491/0.7591, allocations: 51.72 MB / 0.7435 GB, free: 128.9 MB / 0.5886 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: 9.36987007316202]