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.001238/0.001238, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009745/0.0009745, allocations: 169 kB / 24.16 MB, free: 336 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.9372/0.9372, allocations: 158.6 MB / 186 MB, free: 2.746 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.4637/0.4637, allocations: 90.85 MB / 329.2 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.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 2.104e-06/2.104e-06, allocations: 0 / 386.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.011e-05, allocations: 2.312 kB / 386.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01885/0.01888, allocations: 17.51 MB / 404.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.03436, allocations: 8.724 MB / 412.8 MB, free: 11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.03848, allocations: 131.1 kB / 412.9 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003415/0.0419, allocations: 1.151 MB / 414.1 MB, free: 9.715 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.005523/0.04742, allocations: 1.719 MB / 415.8 MB, free: 7.984 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007615/0.05504, allocations: 4.118 MB / 419.9 MB, free: 3.859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009487/0.06453, allocations: 7.2 MB / 427.1 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004084/0.06861, allocations: 1.701 MB / 428.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003907/0.07252, allocations: 2.438 MB / 431.3 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.07598, allocations: 2.102 MB / 433.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002413/0.07839, allocations: 0.7734 MB / 434.1 MB, free: 5.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.08099, allocations: 1.113 MB / 435.3 MB, free: 4.406 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.08261, allocations: 1.596 MB / 436.9 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.08575, allocations: 1.928 MB / 438.8 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008474/0.09422, allocations: 4.958 MB / 443.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.09423, allocations: 0 / 443.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.09423, allocations: 0 / 443.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.09439, allocations: 0 / 443.7 MB, free: 11.89 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.01379/0.1082, allocations: 7.102 MB / 450.8 MB, free: 4.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1082, allocations: 8.031 kB / 450.9 MB, free: 4.688 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.1134, allocations: 1.542 MB / 452.4 MB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006784/0.1202, allocations: 2.239 MB / 454.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/0.1213, allocations: 1.357 MB / 456 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.1225, allocations: 415.8 kB / 456.4 MB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006331/0.1289, allocations: 3.784 MB / 460.2 MB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.622e-05/0.1289, allocations: 11.94 kB / 460.2 MB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003465/0.1293, allocations: 168 kB / 460.4 MB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.451e-05/0.1294, allocations: 92 kB / 460.4 MB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/0.1327, allocations: 1.182 MB / 461.6 MB, free: 9.219 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.2274/0.3601, allocations: 10.59 MB / 472.2 MB, free: 63.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.3645, allocations: 1.745 MB / 474 MB, free: 63.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.3655, allocations: 487.3 kB / 474.4 MB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.3658, allocations: 70.86 kB / 474.5 MB, free: 63.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00199/0.3678, allocations: 1.226 MB / 475.7 MB, free: 62.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=312): time 8.025e-06/0.3678, allocations: 1.188 kB / 475.7 MB, free: 62.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=312): time 0.005075/0.3728, allocations: 2.088 MB / 477.8 MB, free: 62.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.373, allocations: 0.6798 MB / 478.5 MB, free: 62.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.3767, allocations: 3.103 MB / 481.6 MB, free: 61.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004238/0.3772, allocations: 104.6 kB / 481.7 MB, free: 61.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3782, allocations: 1.527 MB / 483.2 MB, free: 61.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/0.3791, allocations: 1.112 MB / 484.3 MB, free: 60.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.3802, allocations: 0.8768 MB / 485.2 MB, free: 60.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.228e-05/0.3803, allocations: 303.4 kB / 485.5 MB, free: 60.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.3818, allocations: 0.7932 MB / 486.3 MB, free: 60.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.3835, allocations: 2.108 MB / 488.4 MB, free: 59.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/0.3879, allocations: 3.514 MB / 491.9 MB, free: 58.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.462e-05/0.3879, allocations: 3.75 kB / 491.9 MB, free: 58.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.004932/0.3929, allocations: 3.029 MB / 495 MB, free: 57.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.3929, allocations: 71.56 kB / 495 MB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.393, allocations: 13.59 kB / 495 MB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000895/0.3939, allocations: 330.7 kB / 495.4 MB, free: 57.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.3971, allocations: 1.214 MB / 496.6 MB, free: 57.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.3993, allocations: 1.861 MB / 498.4 MB, free: 56.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/0.403, allocations: 483.8 kB / 498.9 MB, free: 56.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009013/0.4039, allocations: 118.8 kB / 499 MB, free: 56.53 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.omegaRefWTGQ0Pu 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.004717/0.4086, allocations: 1.109 MB / 0.4884 GB, free: 55.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0019/0.4105, allocations: 2.108 MB / 0.4905 GB, free: 53.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005351/0.4158, allocations: 3.472 MB / 0.4939 GB, free: 50.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.931e-05/0.4159, allocations: 4 kB / 0.4939 GB, free: 50.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=606) (initialization_lambda0): time 0.006262/0.4221, allocations: 3.028 MB / 0.4968 GB, free: 47.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/0.4222, allocations: 73.78 kB / 0.4969 GB, free: 47.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.4223, allocations: 12 kB / 0.4969 GB, free: 47.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009004/0.4232, allocations: 332.8 kB / 0.4972 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.4275, allocations: 1.204 MB / 0.4984 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.43, allocations: 1.842 MB / 0.5002 GB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/0.4336, allocations: 481.8 kB / 0.5007 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/0.4341, allocations: 123 kB / 0.5008 GB, free: 44.03 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.omegaRefWTGQ0Pu 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.001181/0.4353, allocations: 0.5992 MB / 0.5014 GB, free: 43.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008998/0.4362, allocations: 368.5 kB / 0.5017 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.4398, allocations: 1.845 MB / 0.5035 GB, free: 41.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.4399, allocations: 33.75 kB / 0.5036 GB, free: 41.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.4399, allocations: 0 / 0.5036 GB, free: 41.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/0.4399, allocations: 19.94 kB / 0.5036 GB, free: 41.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008998/0.4489, allocations: 4.344 MB / 0.5078 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.4489, allocations: 4 kB / 0.5078 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002857/0.4518, allocations: 0.8233 MB / 0.5086 GB, free: 37.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005859/0.4524, allocations: 313.5 kB / 0.5089 GB, free: 37.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.4525, allocations: 74.47 kB / 0.509 GB, free: 37.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.4544, allocations: 1.834 MB / 0.5108 GB, free: 35.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4544, allocations: 11.84 kB / 0.5108 GB, free: 35.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.4578, allocations: 2.718 MB / 0.5134 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.4591, allocations: 496.9 kB / 0.5139 GB, free: 32.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.4594, allocations: 85.3 kB / 0.514 GB, free: 32.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/0.4604, allocations: 218.4 kB / 0.5142 GB, free: 32.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.4608, allocations: 300.1 kB / 0.5145 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.4609, allocations: 79.52 kB / 0.5146 GB, free: 31.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001462/0.4624, allocations: 1.62 MB / 0.5162 GB, free: 30.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4624, allocations: 0 / 0.5162 GB, free: 30.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003363/0.4658, allocations: 2.095 MB / 0.5182 GB, free: 28.47 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.00125/0.467, allocations: 0.6257 MB / 0.5188 GB, free: 28.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00568/0.4727, allocations: 4.468 MB / 0.5232 GB, free: 24.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.915e-05/0.4728, allocations: 50.83 kB / 0.5232 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.4741, allocations: 1.092 MB / 0.5243 GB, free: 23.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.4764, allocations: 0.7888 MB / 0.5251 GB, free: 22.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4865, allocations: 7.916 MB / 0.5328 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.4871, allocations: 0.7527 MB / 0.5335 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00243/0.4895, allocations: 0.617 MB / 0.5341 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/0.4912, allocations: 0.7493 MB / 0.5349 GB, free: 12.84 MB / 442.7 MB Notification: Performance of SimCode: time 2.675e-06/0.4912, allocations: 0 / 0.5349 GB, free: 12.84 MB / 442.7 MB Notification: Performance of Templates: time 0.07678/0.568, allocations: 61.02 MB / 0.5945 GB, free: 320 kB / 490.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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.7407123520970345]