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.0008982/0.0008982, allocations: 72.83 kB / 20.74 MB, free: 3.746 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.0009548/0.0009548, allocations: 173 kB / 24.17 MB, free: 328 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.8006/0.8006, allocations: 158.6 MB / 186 MB, free: 2.77 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.4412/0.4412, allocations: 90.87 MB / 329.2 MB, free: 14.24 MB / 314.7 MB " [Timeout remaining time 180] 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.864e-06/1.864e-06, allocations: 0 / 386.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.94e-05, allocations: 9.625 kB / 386.6 MB, free: 5.352 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01578/0.01581, allocations: 17.44 MB / 404 MB, free: 3.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.03091, allocations: 8.705 MB / 412.7 MB, free: 11.1 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/0.03486, allocations: 131.1 kB / 412.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.03797, allocations: 1.162 MB / 414 MB, free: 9.801 MB / 394.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.005228/0.0432, allocations: 1.731 MB / 415.7 MB, free: 8.059 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:113:3-113: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.006344/0.04954, allocations: 4.118 MB / 419.8 MB, free: 3.934 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008127/0.05767, allocations: 7.21 MB / 427.1 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.06063, allocations: 1.701 MB / 428.8 MB, free: 10.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.06365, allocations: 2.43 MB / 431.2 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.06606, allocations: 2.106 MB / 433.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009698/0.06703, allocations: 0.7734 MB / 434.1 MB, free: 5.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.06835, allocations: 1.093 MB / 435.2 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008249/0.06917, allocations: 1.6 MB / 436.8 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.07116, allocations: 1.92 MB / 438.7 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.07653, allocations: 4.962 MB / 443.6 MB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.07654, allocations: 4 kB / 443.6 MB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07654, allocations: 0 / 443.6 MB, free: 11.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.695e-05/0.07663, allocations: 0 / 443.6 MB, free: 11.99 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 973 * Number of variables: 973 Notification: Performance of Generate backend data structure: time 0.009428/0.08606, allocations: 7.102 MB / 450.8 MB, free: 4.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.08609, allocations: 8.031 kB / 450.8 MB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.08922, allocations: 1.546 MB / 452.3 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.09249, allocations: 2.235 MB / 454.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005784/0.09307, allocations: 1.361 MB / 455.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/0.09344, allocations: 419.9 kB / 456.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.09704, allocations: 3.784 MB / 460.1 MB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/0.09709, allocations: 7.938 kB / 460.1 MB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.0973, allocations: 164 kB / 460.3 MB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.09734, allocations: 96 kB / 460.4 MB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.09914, allocations: 1.178 MB / 461.5 MB, free: 9.312 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.1823/0.2815, allocations: 10.58 MB / 472.1 MB, free: 63.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.2845, allocations: 1.744 MB / 473.9 MB, free: 63.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008401/0.2853, allocations: 489.8 kB / 474.3 MB, free: 63.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.2856, allocations: 72.48 kB / 474.4 MB, free: 63.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.2872, allocations: 1.23 MB / 475.6 MB, free: 63.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=312): time 8.416e-06/0.2872, allocations: 0 / 475.6 MB, free: 63.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=312): time 0.004334/0.2915, allocations: 2.084 MB / 477.7 MB, free: 62.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.2916, allocations: 0.6808 MB / 478.4 MB, free: 62.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003019/0.2946, allocations: 3.104 MB / 481.5 MB, free: 61.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.2949, allocations: 105 kB / 481.6 MB, free: 61.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009281/0.2958, allocations: 1.529 MB / 483.1 MB, free: 61.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006852/0.2965, allocations: 1.112 MB / 484.2 MB, free: 61.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009103/0.2974, allocations: 0.8739 MB / 485.1 MB, free: 60.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.2974, allocations: 304.7 kB / 485.4 MB, free: 60.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.2987, allocations: 0.7897 MB / 486.2 MB, free: 60.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.3003, allocations: 2.11 MB / 488.3 MB, free: 59.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.3043, allocations: 3.514 MB / 491.8 MB, free: 58.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/0.3044, allocations: 3.969 kB / 491.8 MB, free: 58.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.004256/0.3086, allocations: 3.028 MB / 494.9 MB, free: 58.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.982e-05/0.3087, allocations: 75.16 kB / 494.9 MB, free: 58.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3087, allocations: 14.09 kB / 495 MB, free: 58.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.3093, allocations: 328.9 kB / 495.3 MB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.3116, allocations: 1.122 MB / 496.4 MB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.3133, allocations: 1.861 MB / 498.3 MB, free: 56.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.3152, allocations: 483.7 kB / 498.7 MB, free: 56.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.3153, allocations: 120.8 kB / 498.8 MB, free: 56.66 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.002137/0.3175, allocations: 1.101 MB / 499.9 MB, free: 55.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001393/0.3188, allocations: 2.106 MB / 0.4903 GB, free: 53.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003285/0.3221, allocations: 3.479 MB / 0.4937 GB, free: 50.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.168e-05/0.3221, allocations: 4 kB / 0.4937 GB, free: 50.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=606) (initialization_lambda0): time 0.003652/0.3258, allocations: 3.029 MB / 0.4966 GB, free: 47.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.3258, allocations: 69.53 kB / 0.4967 GB, free: 47.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3259, allocations: 16 kB / 0.4967 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.3264, allocations: 322 kB / 0.497 GB, free: 47.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.3285, allocations: 1.114 MB / 0.4981 GB, free: 46.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.3301, allocations: 1.846 MB / 0.4999 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.3319, allocations: 473.1 kB / 0.5004 GB, free: 44.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.3321, allocations: 123.7 kB / 0.5005 GB, free: 44.31 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.pll.integrator.local_reset,WTG3.pll.limIntegrator.local_reset,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_wtgp.antiWindupIntegrator.integrator.local_reset,WTG3.wecc_wtgp.antiWindupIntegrator1.integrator.local_reset,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.integrator.local_reset,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG3.injector.switchOffSignal1,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal3,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuPos.k,WTG3.wecc_regc.QConv0PuNeg.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater3.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater2.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.greater.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMin,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreezeLimDetection.fMax,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (568): * Single equations (assignments): 566 * 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.0007668/0.3328, allocations: 0.5986 MB / 0.5011 GB, free: 43.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/0.3333, allocations: 377.3 kB / 0.5014 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.3358, allocations: 1.845 MB / 0.5032 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.3358, allocations: 28 kB / 0.5033 GB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3358, allocations: 4 kB / 0.5033 GB, free: 41.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.3358, allocations: 15.94 kB / 0.5033 GB, free: 41.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.3413, allocations: 4.338 MB / 0.5075 GB, free: 38.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3413, allocations: 11.28 kB / 0.5075 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.3432, allocations: 0.7702 MB / 0.5083 GB, free: 37.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.3437, allocations: 316.8 kB / 0.5086 GB, free: 37.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.3439, allocations: 79.28 kB / 0.5087 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.3453, allocations: 1.814 MB / 0.5104 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3453, allocations: 11.28 kB / 0.5104 GB, free: 35.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.3483, allocations: 2.727 MB / 0.5131 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009822/0.3493, allocations: 494.5 kB / 0.5136 GB, free: 32.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.3496, allocations: 85.61 kB / 0.5137 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/0.3506, allocations: 222.2 kB / 0.5139 GB, free: 32.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.351, allocations: 297.4 kB / 0.5142 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.3512, allocations: 77.78 kB / 0.5142 GB, free: 32.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00128/0.3525, allocations: 1.622 MB / 0.5158 GB, free: 30.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3525, allocations: 0 / 0.5158 GB, free: 30.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003603/0.3561, allocations: 2.089 MB / 0.5179 GB, free: 28.82 MB / 442.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 (309): * Single equations (assignments): 295 * 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.001723/0.3578, allocations: 0.6222 MB / 0.5185 GB, free: 28.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008522/0.3663, allocations: 4.473 MB / 0.5228 GB, free: 24.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-05/0.3664, allocations: 45.81 kB / 0.5229 GB, free: 24.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.3685, allocations: 1.101 MB / 0.524 GB, free: 23.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/0.3719, allocations: 0.7834 MB / 0.5247 GB, free: 23.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.3865, allocations: 7.912 MB / 0.5324 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009177/0.3874, allocations: 0.7527 MB / 0.5332 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003736/0.3912, allocations: 0.6098 MB / 0.5338 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002361/0.3935, allocations: 0.7547 MB / 0.5345 GB, free: 13.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/0.3935, allocations: 0 / 0.5345 GB, free: 13.19 MB / 442.7 MB Notification: Performance of Templates: time 0.07576/0.4693, allocations: 61.03 MB / 0.5941 GB, free: 0.6602 MB / 490.7 MB " [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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.34723708499223]