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.001061/0.001061, allocations: 91.55 kB / 20.97 MB, free: 3.586 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.001175/0.001175, allocations: 177.3 kB / 24.28 MB, free: 284 kB / 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.908/0.908, allocations: 158.6 MB / 186.1 MB, free: 2.898 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.4379/0.4379, allocations: 90.55 MB / 328.9 MB, free: 14.69 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 1.894e-06/1.894e-06, allocations: 0 / 434.5 MB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.737e-05, allocations: 9.203 kB / 434.5 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01941/0.01945, allocations: 15.29 MB / 449.8 MB, free: 6.152 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.03318, allocations: 7.1 MB / 456.9 MB, free: 15.03 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.03558, allocations: 95.38 kB / 457 MB, free: 14.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.03739, allocations: 0.965 MB / 457.9 MB, free: 13.96 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.04034, allocations: 1.58 MB / 459.5 MB, free: 12.37 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.003911/0.04425, allocations: 3.15 MB / 462.7 MB, free: 9.215 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00453/0.04878, allocations: 5.73 MB / 468.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.05028, allocations: 1.29 MB / 469.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.05194, allocations: 1.947 MB / 471.6 MB, free: 160 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1594/0.2113, allocations: 1.727 MB / 473.3 MB, free: 58.87 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.2127, allocations: 0.5952 MB / 473.9 MB, free: 58.87 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.2139, allocations: 0.9206 MB / 474.9 MB, free: 58.87 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000646/0.2146, allocations: 1.272 MB / 476.1 MB, free: 58.87 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2157, allocations: 1.53 MB / 477.7 MB, free: 58.87 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.219, allocations: 4.023 MB / 481.7 MB, free: 58.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.219, allocations: 0 / 481.7 MB, free: 58.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.219, allocations: 0 / 481.7 MB, free: 58.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.883e-05/0.2191, allocations: 0.9375 kB / 481.7 MB, free: 58.54 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.007344/0.2265, allocations: 6.138 MB / 487.8 MB, free: 56.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2265, allocations: 8.75 kB / 487.8 MB, free: 56.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.2298, allocations: 1.485 MB / 489.3 MB, free: 55.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.2321, allocations: 2.811 MB / 492.1 MB, free: 55.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.2324, allocations: 1.018 MB / 493.2 MB, free: 54.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.2327, allocations: 332.1 kB / 493.5 MB, free: 54.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.2358, allocations: 3.167 MB / 496.6 MB, free: 52.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.2358, allocations: 3.375 kB / 496.6 MB, free: 52.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.236, allocations: 130.9 kB / 496.8 MB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.236, allocations: 75.12 kB / 496.8 MB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.2382, allocations: 1.335 MB / 498.2 MB, free: 52.01 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.008874/0.2471, allocations: 12 MB / 0.4982 GB, free: 44.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/0.2499, allocations: 1.617 MB / 0.4998 GB, free: 43.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.2508, allocations: 0.5487 MB / 0.5003 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.251, allocations: 56.62 kB / 0.5004 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/0.2526, allocations: 1.158 MB / 0.5015 GB, free: 43.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 3.937e-06/0.2526, allocations: 0 / 0.5015 GB, free: 43.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=257): time 0.005647/0.2583, allocations: 2.766 MB / 0.5042 GB, free: 42.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.2584, allocations: 481.8 kB / 0.5047 GB, free: 41.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.2616, allocations: 2.832 MB / 0.5075 GB, free: 40.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.2618, allocations: 91.97 kB / 0.5075 GB, free: 40.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/0.2627, allocations: 1.822 MB / 0.5093 GB, free: 39.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.2632, allocations: 0.9086 MB / 0.5102 GB, free: 38.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009098/0.2641, allocations: 0.7631 MB / 0.511 GB, free: 38.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.027e-05/0.2641, allocations: 482 kB / 0.5114 GB, free: 37.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.2654, allocations: 0.7824 MB / 0.5122 GB, free: 37.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.267, allocations: 1.909 MB / 0.514 GB, free: 36.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.2706, allocations: 3.225 MB / 0.5172 GB, free: 34.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.2706, allocations: 4.969 kB / 0.5172 GB, free: 34.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.004692/0.2753, allocations: 3.382 MB / 0.5205 GB, free: 33.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.2753, allocations: 71.75 kB / 0.5206 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.2754, allocations: 10.75 kB / 0.5206 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000773/0.2761, allocations: 347.6 kB / 0.5209 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.2781, allocations: 0.793 MB / 0.5217 GB, free: 33.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.2804, allocations: 2.524 MB / 0.5241 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.282, allocations: 391.5 kB / 0.5245 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.2822, allocations: 135.7 kB / 0.5246 GB, free: 31.43 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.rateLimFirstOrderFreeze.Y0 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.002052/0.2843, allocations: 1.114 MB / 0.5257 GB, free: 31.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/0.2858, allocations: 1.891 MB / 0.5276 GB, free: 29.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00351/0.2893, allocations: 3.207 MB / 0.5307 GB, free: 25.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.2893, allocations: 0 / 0.5307 GB, free: 25.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization_lambda0): time 0.004733/0.294, allocations: 3.368 MB / 0.534 GB, free: 22.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.2941, allocations: 69.52 kB / 0.5341 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.2941, allocations: 16.06 kB / 0.5341 GB, free: 22.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.2947, allocations: 349.1 kB / 0.5344 GB, free: 22.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.2965, allocations: 0.7801 MB / 0.5352 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.2986, allocations: 2.538 MB / 0.5377 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.3002, allocations: 358.2 kB / 0.538 GB, free: 18.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.3004, allocations: 136 kB / 0.5381 GB, free: 18.57 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.rateLimFirstOrderFreeze.Y0 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.0007031/0.3011, allocations: 0.6325 MB / 0.5388 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.3016, allocations: 477.2 kB / 0.5392 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.3048, allocations: 2.149 MB / 0.5413 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3048, allocations: 27.94 kB / 0.5413 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3048, allocations: 4 kB / 0.5413 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.3048, allocations: 15.94 kB / 0.5413 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.3111, allocations: 5.366 MB / 0.5466 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.3111, allocations: 11.94 kB / 0.5466 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.3125, allocations: 486.8 kB / 0.5471 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/0.3131, allocations: 324.2 kB / 0.5474 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.3132, allocations: 71.97 kB / 0.5474 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.3152, allocations: 2.516 MB / 0.5499 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3152, allocations: 7.375 kB / 0.5499 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.3191, allocations: 3.282 MB / 0.5531 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/0.32, allocations: 0.7805 MB / 0.5539 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.3203, allocations: 71.98 kB / 0.5539 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.3212, allocations: 163.9 kB / 0.5541 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.3216, allocations: 244.9 kB / 0.5543 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.3217, allocations: 87.97 kB / 0.5544 GB, free: 1.652 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00146/0.3231, allocations: 1.632 MB / 0.556 GB, free: 36 kB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3231, allocations: 0 / 0.556 GB, free: 36 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.002992/0.3261, allocations: 1.742 MB / 0.5577 GB, free: 14.29 MB / 458.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.0009992/0.3271, allocations: 0.516 MB / 0.5582 GB, free: 13.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00611/0.3332, allocations: 4.438 MB / 0.5625 GB, free: 9.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3332, allocations: 4 kB / 0.5626 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.3348, allocations: 1.159 MB / 0.5637 GB, free: 8.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.3365, allocations: 0.6486 MB / 0.5643 GB, free: 7.812 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.3447, allocations: 6.524 MB / 0.5707 GB, free: 1.152 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.3452, allocations: 0.6197 MB / 0.5713 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001399/0.3466, allocations: 487 kB / 0.5718 GB, free: 36 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.3472, allocations: 236.5 kB / 0.572 GB, free: 15.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.313e-06/0.3472, allocations: 0 / 0.572 GB, free: 15.8 MB / 474.7 MB Notification: Performance of Templates: time 0.0582/0.4054, allocations: 50.39 MB / 0.6212 GB, free: 13.79 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 11.455738618038595]