Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.001809/0.001809, allocations: 87.56 kB / 20.23 MB, free: 4.184 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.002221/0.002221, allocations: 157.3 kB / 23.53 MB, free: 0.8789 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.388/1.388, allocations: 158.6 MB / 185.3 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 178] 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.6666/0.6666, allocations: 90.64 MB / 328.3 MB, free: 14.58 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.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 433.8 MB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.382e-05, allocations: 2.312 kB / 433.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.02929/0.02933, allocations: 14.38 MB / 448.2 MB, free: 6.977 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.04921, allocations: 7.007 MB / 455.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004222/0.05343, allocations: 95.38 kB / 455.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004082/0.05751, allocations: 0.9688 MB / 456.3 MB, free: 14.88 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.007905/0.06542, allocations: 1.576 MB / 457.9 MB, free: 13.29 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG4A.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation WTG4A.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/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.01026/0.07568, allocations: 3.143 MB / 461 MB, free: 10.14 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01219/0.08786, allocations: 5.742 MB / 466.7 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004447/0.09231, allocations: 1.286 MB / 468 MB, free: 3.027 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.09688, allocations: 1.947 MB / 470 MB, free: 1.074 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1927/0.2895, allocations: 1.726 MB / 471.7 MB, free: 58.58 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001627/0.2912, allocations: 0.5972 MB / 472.3 MB, free: 58.58 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.293, allocations: 0.9161 MB / 473.2 MB, free: 58.58 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.2942, allocations: 1.274 MB / 474.5 MB, free: 58.58 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.2958, allocations: 1.534 MB / 476 MB, free: 58.58 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007494/0.3033, allocations: 7.578 MB / 483.6 MB, free: 58.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3033, allocations: 0 / 483.6 MB, free: 58.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3033, allocations: 0 / 483.6 MB, free: 58.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002401/0.3035, allocations: 2.938 kB / 483.6 MB, free: 58.3 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.01787/0.3214, allocations: 6.092 MB / 489.7 MB, free: 56.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3214, allocations: 8.188 kB / 489.7 MB, free: 56.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006287/0.3277, allocations: 1.481 MB / 491.2 MB, free: 55.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.3332, allocations: 2.954 MB / 494.1 MB, free: 54.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006564/0.3339, allocations: 1.129 MB / 495.3 MB, free: 53.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007852/0.3346, allocations: 325.5 kB / 495.6 MB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00741/0.3421, allocations: 4.177 MB / 499.8 MB, free: 51.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.938e-05/0.3421, allocations: 5.812 kB / 499.8 MB, free: 51.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/0.3424, allocations: 131.2 kB / 499.9 MB, free: 51.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.3425, allocations: 73.5 kB / 500 MB, free: 51.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007724/0.3502, allocations: 3.189 MB / 0.4914 GB, free: 49.84 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.02064/0.3709, allocations: 11.31 MB / 0.5024 GB, free: 43.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.3783, allocations: 3.054 MB / 0.5054 GB, free: 41.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/0.3814, allocations: 1.303 MB / 0.5067 GB, free: 41.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.3816, allocations: 58.89 kB / 0.5067 GB, free: 41.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004001/0.3856, allocations: 1.943 MB / 0.5086 GB, free: 40.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 7.564e-06/0.3856, allocations: 0 / 0.5086 GB, free: 40.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=257): time 0.01359/0.3992, allocations: 5.002 MB / 0.5135 GB, free: 38.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.3993, allocations: 481 kB / 0.514 GB, free: 38.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005978/0.4053, allocations: 3.365 MB / 0.5173 GB, free: 36.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005648/0.4059, allocations: 91.17 kB / 0.5173 GB, free: 36.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.4073, allocations: 1.746 MB / 0.519 GB, free: 35.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009557/0.4083, allocations: 0.9102 MB / 0.5199 GB, free: 34.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.41, allocations: 0.7318 MB / 0.5206 GB, free: 33.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.41, allocations: 312 kB / 0.5209 GB, free: 33.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.4134, allocations: 1.708 MB / 0.5226 GB, free: 32.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003753/0.4171, allocations: 2.7 MB / 0.5252 GB, free: 30.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02663/0.4438, allocations: 8.757 MB / 0.5338 GB, free: 22.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.4438, allocations: 0 / 0.5338 GB, free: 22.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.01117/0.455, allocations: 5.182 MB / 0.5389 GB, free: 17.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.455, allocations: 73.81 kB / 0.5389 GB, free: 17.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.455, allocations: 8 kB / 0.5389 GB, free: 17.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.4562, allocations: 436.5 kB / 0.5394 GB, free: 16.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/0.46, allocations: 0.8325 MB / 0.5402 GB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.4642, allocations: 2.992 MB / 0.5431 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/0.4677, allocations: 445.8 kB / 0.5435 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004626/0.4682, allocations: 136 kB / 0.5436 GB, free: 12.48 MB / 442.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005017/0.4732, allocations: 2.428 MB / 0.546 GB, free: 10.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003608/0.4768, allocations: 2.633 MB / 0.5486 GB, free: 7.137 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02614/0.5029, allocations: 8.619 MB / 0.557 GB, free: 14.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.956e-05/0.503, allocations: 7.281 kB / 0.557 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=521) (initialization_lambda0): time 0.01341/0.5164, allocations: 5.084 MB / 0.562 GB, free: 9.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.635e-05/0.5165, allocations: 65.67 kB / 0.562 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.5165, allocations: 12 kB / 0.562 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.5179, allocations: 444.3 kB / 0.5625 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.5221, allocations: 0.8111 MB / 0.5633 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/0.5277, allocations: 2.984 MB / 0.5662 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/0.5315, allocations: 414.1 kB / 0.5666 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006913/0.5322, allocations: 140 kB / 0.5667 GB, free: 4.449 MB / 458.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.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: 47 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuNeg.k,WTG4A.wecc_regc.QConv0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.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 (484): * Single equations (assignments): 482 * 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.001471/0.5336, allocations: 0.5436 MB / 0.5672 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/0.5351, allocations: 473.5 kB / 0.5677 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.5456, allocations: 3.649 MB / 0.5713 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/0.5457, allocations: 27.94 kB / 0.5713 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/0.5457, allocations: 11.28 kB / 0.5713 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-05/0.5458, allocations: 11.95 kB / 0.5713 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.5672, allocations: 7.191 MB / 0.5783 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.5672, allocations: 4 kB / 0.5783 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/0.5707, allocations: 0.5189 MB / 0.5788 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.5721, allocations: 430.6 kB / 0.5792 GB, free: 7.691 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/0.5726, allocations: 71.97 kB / 0.5793 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005712/0.5783, allocations: 2.975 MB / 0.5822 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.5783, allocations: 7.375 kB / 0.5822 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.594, allocations: 5.858 MB / 0.5879 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/0.5965, allocations: 0.774 MB / 0.5887 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/0.5976, allocations: 75.98 kB / 0.5888 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/0.6007, allocations: 223.7 kB / 0.589 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/0.6015, allocations: 256.8 kB / 0.5892 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/0.602, allocations: 91.95 kB / 0.5893 GB, free: 13.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005175/0.6072, allocations: 2.191 MB / 0.5915 GB, free: 10.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6072, allocations: 0 / 0.5915 GB, free: 10.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006831/0.614, allocations: 1.734 MB / 0.5932 GB, free: 9.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 240 * 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.002448/0.6164, allocations: 0.5509 MB / 0.5937 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01824/0.6347, allocations: 6.535 MB / 0.6001 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/0.6347, allocations: 1 kB / 0.6001 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006168/0.6409, allocations: 2.135 MB / 0.6022 GB, free: 360 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.6457, allocations: 0.6452 MB / 0.6028 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.6652, allocations: 7.598 MB / 0.6102 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/0.668, allocations: 1.614 MB / 0.6118 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00375/0.6717, allocations: 0.4983 MB / 0.6123 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.6729, allocations: 232.5 kB / 0.6125 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.6729, allocations: 0 / 0.6125 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of Templates: time 0.09737/0.7703, allocations: 49.98 MB / 0.6613 GB, free: 4.062 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 16.59887124504894]