Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.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.001011/0.001011, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.0009307/0.0009307, allocations: 167.8 kB / 24.86 MB, free: 8.641 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 0.8499/0.8499, allocations: 158.6 MB / 186.8 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4531/0.4531, allocations: 90.56 MB / 329.7 MB, free: 14.57 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 4 kB / 436 MB, free: 4.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.308e-05, allocations: 2.312 kB / 436 MB, free: 4.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01444/0.01447, allocations: 17.33 MB / 453.3 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.02694, allocations: 8.361 MB / 461.7 MB, free: 10.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.02958, allocations: 127.1 kB / 461.8 MB, free: 10.77 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.03164, allocations: 1.139 MB / 462.9 MB, free: 9.621 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003144/0.03479, allocations: 1.723 MB / 464.7 MB, free: 7.887 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.03976, allocations: 4.087 MB / 468.8 MB, free: 3.789 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2151/0.2549, allocations: 7.187 MB / 475.9 MB, free: 56.14 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.258, allocations: 1.646 MB / 477.6 MB, free: 55.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.2608, allocations: 2.419 MB / 480 MB, free: 55.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.263, allocations: 2.09 MB / 482.1 MB, free: 55.47 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.2645, allocations: 0.7671 MB / 482.9 MB, free: 55.47 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.2657, allocations: 1.101 MB / 484 MB, free: 55.46 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.2665, allocations: 1.59 MB / 485.6 MB, free: 55.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.2678, allocations: 1.916 MB / 487.5 MB, free: 54.9 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.2714, allocations: 4.945 MB / 492.4 MB, free: 52.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2714, allocations: 0 / 492.4 MB, free: 52.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2714, allocations: 0 / 492.4 MB, free: 52.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.355e-05/0.2715, allocations: 0 / 492.4 MB, free: 52.8 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.009365/0.2808, allocations: 7.297 MB / 499.7 MB, free: 49.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2809, allocations: 13.62 kB / 499.7 MB, free: 49.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.284, allocations: 1.68 MB / 0.4897 GB, free: 48.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.2869, allocations: 3.465 MB / 0.493 GB, free: 46.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004605/0.2874, allocations: 1.352 MB / 0.4944 GB, free: 45.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.2878, allocations: 412.7 kB / 0.4948 GB, free: 45.08 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.2915, allocations: 3.882 MB / 0.4985 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.2916, allocations: 7.5 kB / 0.4985 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.2918, allocations: 162 kB / 0.4987 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/0.2919, allocations: 93.59 kB / 0.4988 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.294, allocations: 1.315 MB / 0.5001 GB, free: 42.77 MB / 442.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.01298/0.3069, allocations: 15.11 MB / 0.5148 GB, free: 32.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.3096, allocations: 1.792 MB / 0.5166 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/0.3104, allocations: 0.5427 MB / 0.5171 GB, free: 32.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.3106, allocations: 68.36 kB / 0.5172 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.3119, allocations: 1.218 MB / 0.5184 GB, free: 31.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 4.749e-06/0.3119, allocations: 0 / 0.5184 GB, free: 31.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=310): time 0.004455/0.3164, allocations: 2.738 MB / 0.521 GB, free: 31.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3165, allocations: 0.6778 MB / 0.5217 GB, free: 30.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.3189, allocations: 3.264 MB / 0.5249 GB, free: 29.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.3191, allocations: 100.9 kB / 0.525 GB, free: 29.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3202, allocations: 2.34 MB / 0.5273 GB, free: 28.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/0.3208, allocations: 1.105 MB / 0.5284 GB, free: 27.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009602/0.3218, allocations: 0.9144 MB / 0.5292 GB, free: 27.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.3218, allocations: 484.4 kB / 0.5297 GB, free: 26.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3229, allocations: 0.8148 MB / 0.5305 GB, free: 26.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3245, allocations: 2.379 MB / 0.5328 GB, free: 24.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00348/0.328, allocations: 3.52 MB / 0.5363 GB, free: 21.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.328, allocations: 4 kB / 0.5363 GB, free: 21.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.004381/0.3324, allocations: 3.692 MB / 0.5399 GB, free: 18.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.3325, allocations: 69.66 kB / 0.5399 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.3325, allocations: 16 kB / 0.54 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.3332, allocations: 342.5 kB / 0.5403 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.3357, allocations: 1.126 MB / 0.5414 GB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.3378, allocations: 2.479 MB / 0.5438 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.3396, allocations: 477.5 kB / 0.5443 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.3398, allocations: 124 kB / 0.5444 GB, free: 13.55 MB / 442.7 MB Warning: Assuming fixed start value for the following 34 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_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.omegaRefWTGQPu0 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.002106/0.3419, allocations: 1.156 MB / 0.5455 GB, free: 12.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/0.3435, allocations: 2.375 MB / 0.5478 GB, free: 9.641 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003559/0.347, allocations: 3.512 MB / 0.5513 GB, free: 5.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.437e-06/0.347, allocations: 4 kB / 0.5513 GB, free: 5.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization_lambda0): time 0.004288/0.3513, allocations: 3.669 MB / 0.5548 GB, free: 2.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.3514, allocations: 69.66 kB / 0.5549 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.3514, allocations: 18.95 kB / 0.5549 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.3519, allocations: 355.6 kB / 0.5553 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.3543, allocations: 1.108 MB / 0.5563 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.3565, allocations: 2.479 MB / 0.5588 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.3582, allocations: 465.8 kB / 0.5592 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.3584, allocations: 124 kB / 0.5593 GB, free: 13.64 MB / 458.7 MB Warning: Assuming fixed start value for the following 34 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_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.omegaRefWTGQPu0 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: 61 * Number of states: 0 () * Number of discrete variables: 83 ($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.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.pll.integrator.local_reset,WTG3.pll.limIntegrator.local_reset,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.local_reset,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.local_reset,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG3.injector.switchOffSignal1,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal3,$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.QConv0PuPos.k,WTG3.wecc_regc.QConv0PuNeg.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 562 * 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.0008232/0.3592, allocations: 0.6883 MB / 0.56 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006424/0.3598, allocations: 0.5634 MB / 0.5606 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.3632, allocations: 2.253 MB / 0.5628 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.3632, allocations: 32 kB / 0.5628 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3632, allocations: 4 kB / 0.5628 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.3632, allocations: 15.94 kB / 0.5628 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/0.3707, allocations: 5.54 MB / 0.5682 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.3707, allocations: 8.094 kB / 0.5682 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/0.3729, allocations: 0.7715 MB / 0.569 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/0.3735, allocations: 322.4 kB / 0.5693 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.3737, allocations: 87.97 kB / 0.5694 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.3759, allocations: 2.458 MB / 0.5718 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3759, allocations: 11.47 kB / 0.5718 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004408/0.3803, allocations: 3.403 MB / 0.5751 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.3815, allocations: 0.9334 MB / 0.576 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.3819, allocations: 91.98 kB / 0.5761 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.383, allocations: 219.8 kB / 0.5763 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.3834, allocations: 293.2 kB / 0.5766 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.3835, allocations: 83.95 kB / 0.5767 GB, free: 12.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001467/0.385, allocations: 1.757 MB / 0.5784 GB, free: 10.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.385, allocations: 0 / 0.5784 GB, free: 10.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003197/0.3882, allocations: 2.077 MB / 0.5804 GB, free: 8.363 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (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,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.y,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.y) * Number of discrete variables: 46 ($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.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,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 (307): * Single equations (assignments): 293 * 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.0009878/0.3892, allocations: 0.5206 MB / 0.5809 GB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006191/0.3954, allocations: 4.72 MB / 0.5855 GB, free: 3.453 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3954, allocations: 8.062 kB / 0.5855 GB, free: 3.445 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.397, allocations: 1.22 MB / 0.5867 GB, free: 2.297 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.399, allocations: 0.8068 MB / 0.5875 GB, free: 1.523 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.4092, allocations: 7.916 MB / 0.5952 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.4099, allocations: 0.7595 MB / 0.596 GB, free: 8.707 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001976/0.4119, allocations: 0.551 MB / 0.5965 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/0.4136, allocations: 0.8532 MB / 0.5974 GB, free: 7.297 MB / 490.7 MB Notification: Performance of SimCode: time 2.284e-06/0.4136, allocations: 0 / 0.5974 GB, free: 7.297 MB / 490.7 MB Notification: Performance of Templates: time 0.07388/0.4875, allocations: 62.56 MB / 0.6585 GB, free: 9.223 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.186352150980383]