Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 87.56 kB / 20.45 MB, free: 4.125 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.001571/0.001571, allocations: 165 kB / 23.81 MB, free: 0.7578 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.8018/0.8018, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.449/0.449, allocations: 90.57 MB / 328.6 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG3.injector.PInjPu|WTG3.injector.QInjPu|WTG3.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 434.7 MB, free: 5.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.721e-05, allocations: 5.547 kB / 434.7 MB, free: 5.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01566/0.01569, allocations: 17.98 MB / 452.6 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.02785, allocations: 8.412 MB / 461.1 MB, free: 10.55 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.03011, allocations: 131.1 kB / 461.2 MB, free: 10.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.03217, allocations: 1.135 MB / 462.3 MB, free: 9.273 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.003455/0.03562, allocations: 1.723 MB / 464 MB, free: 7.539 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.005642/0.04126, allocations: 4.098 MB / 468.1 MB, free: 3.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1676/0.2089, allocations: 7.181 MB / 475.3 MB, free: 56.04 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.2117, allocations: 1.649 MB / 477 MB, free: 55.8 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.2144, allocations: 2.416 MB / 479.4 MB, free: 55.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.2163, allocations: 2.093 MB / 481.5 MB, free: 55.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.2174, allocations: 0.7682 MB / 482.2 MB, free: 55.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.2187, allocations: 1.1 MB / 483.3 MB, free: 55.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008119/0.2195, allocations: 1.59 MB / 484.9 MB, free: 54.99 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.2207, allocations: 1.917 MB / 486.9 MB, free: 54.7 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.2251, allocations: 4.954 MB / 491.8 MB, free: 52.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2251, allocations: 0 / 491.8 MB, free: 52.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2251, allocations: 0 / 491.8 MB, free: 52.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.865e-05/0.2251, allocations: 0 / 491.8 MB, free: 52.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.009774/0.2349, allocations: 7.249 MB / 499.1 MB, free: 48.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2349, allocations: 10.78 kB / 499.1 MB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.2378, allocations: 1.676 MB / 0.489 GB, free: 47.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.2409, allocations: 3.6 MB / 0.4925 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/0.2413, allocations: 1.352 MB / 0.4938 GB, free: 44.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.2418, allocations: 411.5 kB / 0.4942 GB, free: 44.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004693/0.2464, allocations: 4.148 MB / 0.4983 GB, free: 42.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.978e-05/0.2465, allocations: 7 kB / 0.4983 GB, free: 42.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.2467, allocations: 163.5 kB / 0.4984 GB, free: 41.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.2468, allocations: 93.62 kB / 0.4985 GB, free: 41.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.2497, allocations: 1.649 MB / 0.5001 GB, free: 41.66 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.01201/0.2618, allocations: 15.7 MB / 0.5155 GB, free: 30.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00303/0.2648, allocations: 1.975 MB / 0.5174 GB, free: 30.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009701/0.2658, allocations: 0.6586 MB / 0.5181 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.2659, allocations: 69.31 kB / 0.5181 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.2674, allocations: 1.328 MB / 0.5194 GB, free: 29.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 4.298e-06/0.2674, allocations: 0 / 0.5194 GB, free: 29.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=310): time 0.004928/0.2723, allocations: 3.089 MB / 0.5224 GB, free: 29.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.2724, allocations: 0.6739 MB / 0.5231 GB, free: 28.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.2751, allocations: 3.413 MB / 0.5264 GB, free: 26.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.2752, allocations: 95.48 kB / 0.5265 GB, free: 26.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009569/0.2762, allocations: 2.266 MB / 0.5287 GB, free: 25.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005491/0.2768, allocations: 1.102 MB / 0.5298 GB, free: 24.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009213/0.2777, allocations: 0.8858 MB / 0.5307 GB, free: 23.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.063e-05/0.2777, allocations: 482.6 kB / 0.5311 GB, free: 23.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.279, allocations: 0.8876 MB / 0.532 GB, free: 23.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.2807, allocations: 2.436 MB / 0.5344 GB, free: 21.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.2844, allocations: 3.69 MB / 0.538 GB, free: 17.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.2844, allocations: 7.375 kB / 0.538 GB, free: 17.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.004391/0.2888, allocations: 3.852 MB / 0.5417 GB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.2889, allocations: 73.92 kB / 0.5418 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.2889, allocations: 16 kB / 0.5418 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.2895, allocations: 347.8 kB / 0.5422 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.2919, allocations: 1.125 MB / 0.5433 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.294, allocations: 2.533 MB / 0.5457 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.2954, allocations: 481.5 kB / 0.5462 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.2956, allocations: 160 kB / 0.5463 GB, free: 8.52 MB / 442.7 MB Warning: Assuming fixed start value for the following 34 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00188/0.2974, allocations: 1.231 MB / 0.5475 GB, free: 7.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001633/0.2991, allocations: 2.429 MB / 0.5499 GB, free: 4.375 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003703/0.3028, allocations: 3.672 MB / 0.5535 GB, free: 420 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.548e-06/0.3028, allocations: 8 kB / 0.5535 GB, free: 412 kB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization_lambda0): time 0.005018/0.3078, allocations: 3.848 MB / 0.5573 GB, free: 12.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.3078, allocations: 65.67 kB / 0.5573 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3079, allocations: 20.06 kB / 0.5574 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.3084, allocations: 350.8 kB / 0.5577 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.3111, allocations: 1.118 MB / 0.5588 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.3134, allocations: 2.536 MB / 0.5613 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.3151, allocations: 465.8 kB / 0.5617 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.3153, allocations: 160 kB / 0.5619 GB, free: 7.797 MB / 458.7 MB Warning: Assuming fixed start value for the following 34 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQPu0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.injector.switchOffSignal3,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,WTG3.wecc_regc.QConv0PuPos.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.local_reset,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.pll.limIntegrator.local_reset,WTG3.pll.integrator.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dPhi.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 562 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006898/0.316, allocations: 0.6883 MB / 0.5625 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.3165, allocations: 0.5634 MB / 0.5631 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.3202, allocations: 2.493 MB / 0.5655 GB, free: 4.082 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.3203, allocations: 28 kB / 0.5655 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3203, allocations: 4 kB / 0.5655 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.3203, allocations: 15.94 kB / 0.5656 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008144/0.3284, allocations: 6.318 MB / 0.5717 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3284, allocations: 7.938 kB / 0.5717 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.3307, allocations: 0.7762 MB / 0.5725 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005882/0.3313, allocations: 333.6 kB / 0.5728 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.3314, allocations: 83.97 kB / 0.5729 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.3337, allocations: 2.513 MB / 0.5753 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3337, allocations: 4 kB / 0.5753 GB, free: 9.859 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005336/0.3391, allocations: 3.777 MB / 0.579 GB, free: 5.891 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.3403, allocations: 0.9451 MB / 0.58 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.3406, allocations: 83.98 kB / 0.58 GB, free: 4.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.3417, allocations: 219.8 kB / 0.5802 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.3421, allocations: 300.6 kB / 0.5805 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/0.3422, allocations: 99.97 kB / 0.5806 GB, free: 4.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001918/0.3441, allocations: 1.952 MB / 0.5825 GB, free: 2.305 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3441, allocations: 0 / 0.5825 GB, free: 2.305 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003218/0.3473, allocations: 2.077 MB / 0.5846 GB, free: 228 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.y,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.y) * Number of discrete variables: 46 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (307): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.3483, allocations: 0.5233 MB / 0.5851 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006506/0.3549, allocations: 4.981 MB / 0.5899 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3549, allocations: 11.41 kB / 0.59 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.3569, allocations: 1.335 MB / 0.5913 GB, free: 9.637 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.3588, allocations: 0.8076 MB / 0.592 GB, free: 8.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/0.3682, allocations: 7.975 MB / 0.5998 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.3688, allocations: 0.7501 MB / 0.6006 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001587/0.3704, allocations: 0.5861 MB / 0.6011 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/0.3711, allocations: 288.4 kB / 0.6014 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.3711, allocations: 0 / 0.6014 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.06367/0.4348, allocations: 55.44 MB / 0.6556 GB, free: 8.094 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource2_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.739619740750641]