Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.001023/0.001023, allocations: 78.66 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.001067/0.001067, allocations: 161.4 kB / 24.86 MB, free: 8.77 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.8237/0.8237, allocations: 158.6 MB / 186.8 MB, free: 2.758 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.4479/0.4479, allocations: 90.58 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.WTG3CurrentSource1,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.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,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.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 436 MB, free: 4.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.552e-05, allocations: 2.312 kB / 436 MB, free: 4.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01911/0.01914, allocations: 16.58 MB / 452.6 MB, free: 4.043 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.03173, allocations: 7.851 MB / 460.4 MB, free: 12.17 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.03463, allocations: 111.2 kB / 460.5 MB, free: 12.06 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.03642, allocations: 1.101 MB / 461.6 MB, free: 10.95 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.002949/0.03936, allocations: 1.673 MB / 463.3 MB, free: 9.266 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.004689/0.04405, allocations: 3.716 MB / 467 MB, free: 5.539 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1844/0.2285, allocations: 6.677 MB / 473.7 MB, free: 55.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.232, allocations: 1.499 MB / 475.2 MB, free: 55.76 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.2349, allocations: 2.26 MB / 477.4 MB, free: 55.76 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.237, allocations: 1.985 MB / 479.4 MB, free: 55.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.2381, allocations: 0.6998 MB / 480.1 MB, free: 55.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2393, allocations: 1.027 MB / 481.2 MB, free: 55.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007246/0.24, allocations: 1.481 MB / 482.6 MB, free: 55.4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.2418, allocations: 1.779 MB / 484.4 MB, free: 55.13 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.2461, allocations: 4.623 MB / 489 MB, free: 54.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2461, allocations: 2.312 kB / 489 MB, free: 54.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2461, allocations: 0 / 489 MB, free: 54.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001523/0.2462, allocations: 2.875 kB / 489 MB, free: 54.5 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.008366/0.2546, allocations: 6.93 MB / 496 MB, free: 51.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2546, allocations: 8.5 kB / 496 MB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.2576, allocations: 1.622 MB / 497.6 MB, free: 50.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.2602, allocations: 3.178 MB / 0.489 GB, free: 48.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.2605, allocations: 1.182 MB / 0.4902 GB, free: 47.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/0.2608, allocations: 378.6 kB / 0.4906 GB, free: 47.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.264, allocations: 3.492 MB / 0.494 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/0.264, allocations: 4.719 kB / 0.494 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.2642, allocations: 150.4 kB / 0.4941 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.2643, allocations: 86.34 kB / 0.4942 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.2661, allocations: 1.209 MB / 0.4954 GB, free: 45.64 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.01132/0.2774, allocations: 13.4 MB / 0.5085 GB, free: 36.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.2802, allocations: 1.719 MB / 0.5102 GB, free: 36.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.281, allocations: 0.5267 MB / 0.5107 GB, free: 36.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.2812, allocations: 63.83 kB / 0.5107 GB, free: 36.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/0.2827, allocations: 1.167 MB / 0.5119 GB, free: 36.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 4.418e-06/0.2827, allocations: 4 kB / 0.5119 GB, free: 36.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.004572/0.2873, allocations: 2.619 MB / 0.5144 GB, free: 35.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2874, allocations: 0.5749 MB / 0.515 GB, free: 34.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.2897, allocations: 3.133 MB / 0.518 GB, free: 34.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001589/0.2899, allocations: 99.44 kB / 0.5181 GB, free: 34.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.2909, allocations: 2.199 MB / 0.5203 GB, free: 32.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.2915, allocations: 1.05 MB / 0.5213 GB, free: 31.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008853/0.2924, allocations: 0.874 MB / 0.5222 GB, free: 31.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.2924, allocations: 483.3 kB / 0.5226 GB, free: 31.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.2935, allocations: 0.7907 MB / 0.5234 GB, free: 30.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.295, allocations: 2.139 MB / 0.5255 GB, free: 29.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.2985, allocations: 3.387 MB / 0.5288 GB, free: 27.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.2985, allocations: 3.688 kB / 0.5288 GB, free: 27.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.004359/0.3029, allocations: 3.566 MB / 0.5323 GB, free: 25.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.3029, allocations: 67.12 kB / 0.5323 GB, free: 25.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3029, allocations: 18.11 kB / 0.5324 GB, free: 25.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.3035, allocations: 335.5 kB / 0.5327 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.3063, allocations: 1.251 MB / 0.5339 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.3082, allocations: 2.475 MB / 0.5363 GB, free: 22.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.3098, allocations: 441.6 kB / 0.5367 GB, free: 21.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.31, allocations: 124 kB / 0.5369 GB, free: 21.53 MB / 442.7 MB 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.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.002024/0.312, allocations: 1.141 MB / 0.538 GB, free: 20.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001413/0.3134, allocations: 2.133 MB / 0.5401 GB, free: 17.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003348/0.3167, allocations: 3.374 MB / 0.5434 GB, free: 14.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-05/0.3168, allocations: 4 kB / 0.5434 GB, free: 14.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.0042/0.321, allocations: 3.547 MB / 0.5468 GB, free: 10.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.321, allocations: 69.66 kB / 0.5469 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.321, allocations: 16 kB / 0.5469 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.3216, allocations: 346 kB / 0.5472 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.3242, allocations: 1.244 MB / 0.5484 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.3261, allocations: 2.48 MB / 0.5509 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.3277, allocations: 429.9 kB / 0.5513 GB, free: 6.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.3279, allocations: 116 kB / 0.5514 GB, free: 6.16 MB / 442.7 MB 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.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: 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.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,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_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_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 (541): * Single equations (assignments): 539 * 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.0007975/0.3287, allocations: 0.6783 MB / 0.5521 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.3292, allocations: 0.5323 MB / 0.5526 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.3322, allocations: 2.154 MB / 0.5547 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3322, allocations: 28 kB / 0.5547 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3322, allocations: 8 kB / 0.5547 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.3322, allocations: 19.88 kB / 0.5547 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006745/0.339, allocations: 5.293 MB / 0.5599 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.339, allocations: 11.47 kB / 0.5599 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/0.3419, allocations: 0.9058 MB / 0.5608 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/0.3425, allocations: 316.9 kB / 0.5611 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.3427, allocations: 79.97 kB / 0.5612 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.3448, allocations: 2.456 MB / 0.5636 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3448, allocations: 7.469 kB / 0.5636 GB, free: 9.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/0.349, allocations: 3.279 MB / 0.5668 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.3501, allocations: 0.8857 MB / 0.5676 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.3505, allocations: 87.98 kB / 0.5677 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.3518, allocations: 199.8 kB / 0.5679 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004052/0.3522, allocations: 292.5 kB / 0.5682 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.3524, allocations: 71.97 kB / 0.5683 GB, free: 4.957 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.3539, allocations: 1.695 MB / 0.5699 GB, free: 3.426 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3539, allocations: 0 / 0.5699 GB, free: 3.426 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003242/0.3572, allocations: 1.968 MB / 0.5718 GB, free: 1.453 MB / 458.7 MB 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 (288): * Single equations (assignments): 274 * 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.0009822/0.3581, allocations: 0.5073 MB / 0.5723 GB, free: 1.125 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006424/0.3646, allocations: 4.583 MB / 0.5768 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3646, allocations: 4 kB / 0.5768 GB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001469/0.366, allocations: 1.168 MB / 0.578 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.3681, allocations: 0.7466 MB / 0.5787 GB, free: 10.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.3785, allocations: 7.594 MB / 0.5861 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.3791, allocations: 0.7111 MB / 0.5868 GB, free: 2.426 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001739/0.3809, allocations: 0.5224 MB / 0.5873 GB, free: 1.898 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.3824, allocations: 0.7869 MB / 0.5881 GB, free: 1.109 MB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3824, allocations: 0 / 0.5881 GB, free: 1.109 MB / 474.7 MB Notification: Performance of Templates: time 0.0715/0.4539, allocations: 59.45 MB / 0.6461 GB, free: 6.129 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_dev_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 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.725069055799395]