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.0009258/0.0009258, allocations: 91.55 kB / 20.97 MB, free: 3.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 177.3 kB / 24.28 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8304/0.8304, allocations: 158.6 MB / 186.1 MB, free: 2.914 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.4504/0.4504, allocations: 90.57 MB / 328.9 MB, free: 14.7 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.402e-06/1.402e-06, allocations: 0 / 434.5 MB, free: 5.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.351e-05, allocations: 2.312 kB / 434.5 MB, free: 5.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource2): time 0.01502/0.01505, allocations: 17.88 MB / 452.4 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02526, allocations: 8.397 MB / 460.8 MB, free: 11.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.0268, allocations: 123.1 kB / 460.9 MB, free: 11.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.02827, allocations: 1.139 MB / 462 MB, free: 9.867 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.002253/0.03053, allocations: 1.719 MB / 463.7 MB, free: 8.137 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.0044/0.03493, allocations: 4.106 MB / 467.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1755/0.2104, allocations: 7.188 MB / 475 MB, free: 55.53 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/0.2134, allocations: 1.649 MB / 476.7 MB, free: 55.29 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.2158, allocations: 2.414 MB / 479.1 MB, free: 55.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.2174, allocations: 2.097 MB / 481.2 MB, free: 54.89 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009015/0.2183, allocations: 0.7636 MB / 481.9 MB, free: 54.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.2195, allocations: 1.095 MB / 483 MB, free: 54.89 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007671/0.2202, allocations: 1.597 MB / 484.6 MB, free: 54.61 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.222, allocations: 1.912 MB / 486.6 MB, free: 54.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004244/0.2262, allocations: 4.95 MB / 491.5 MB, free: 52.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2262, allocations: 0 / 491.5 MB, free: 52.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2262, allocations: 3.938 kB / 491.5 MB, free: 52.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001351/0.2264, allocations: 1.312 kB / 491.5 MB, free: 52.38 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.008674/0.2351, allocations: 7.25 MB / 498.8 MB, free: 48.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2351, allocations: 11.03 kB / 498.8 MB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.2385, allocations: 1.682 MB / 0.4887 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.2416, allocations: 3.589 MB / 0.4922 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/0.242, allocations: 1.353 MB / 0.4935 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.2424, allocations: 407.8 kB / 0.4939 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004325/0.2467, allocations: 4.151 MB / 0.498 GB, free: 42.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/0.2467, allocations: 7.438 kB / 0.498 GB, free: 42.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.247, allocations: 162.5 kB / 0.4982 GB, free: 41.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.2471, allocations: 93.75 kB / 0.4982 GB, free: 41.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.2504, allocations: 1.649 MB / 0.4999 GB, free: 41.64 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.01421/0.2646, allocations: 15.7 MB / 0.5152 GB, free: 30.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.2679, allocations: 1.97 MB / 0.5171 GB, free: 30.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.2689, allocations: 0.6654 MB / 0.5178 GB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.2691, allocations: 71.7 kB / 0.5178 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.2708, allocations: 1.319 MB / 0.5191 GB, free: 29.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=310): time 4.849e-06/0.2708, allocations: 0 / 0.5191 GB, free: 29.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=310): time 0.00538/0.2762, allocations: 3.084 MB / 0.5221 GB, free: 29.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.2763, allocations: 0.6852 MB / 0.5228 GB, free: 28.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.2793, allocations: 3.414 MB / 0.5261 GB, free: 26.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.2794, allocations: 97.2 kB / 0.5262 GB, free: 26.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.2805, allocations: 2.267 MB / 0.5284 GB, free: 25.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/0.281, allocations: 1.089 MB / 0.5295 GB, free: 24.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000911/0.282, allocations: 0.8902 MB / 0.5304 GB, free: 23.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.282, allocations: 476.8 kB / 0.5308 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.2833, allocations: 0.886 MB / 0.5317 GB, free: 23.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.2851, allocations: 2.443 MB / 0.5341 GB, free: 21.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003872/0.289, allocations: 3.689 MB / 0.5377 GB, free: 17.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.289, allocations: 4 kB / 0.5377 GB, free: 17.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization): time 0.00466/0.2936, allocations: 3.86 MB / 0.5414 GB, free: 13.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.2937, allocations: 69.66 kB / 0.5415 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2937, allocations: 16 kB / 0.5415 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/0.2944, allocations: 349.9 kB / 0.5419 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.2969, allocations: 1.129 MB / 0.543 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.299, allocations: 2.543 MB / 0.5455 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.3007, allocations: 477.5 kB / 0.5459 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.3009, allocations: 160 kB / 0.5461 GB, free: 8.914 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.002127/0.303, allocations: 1.231 MB / 0.5473 GB, free: 7.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001715/0.3047, allocations: 2.44 MB / 0.5496 GB, free: 4.766 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003892/0.3086, allocations: 3.664 MB / 0.5532 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.04e-05/0.3086, allocations: 4 kB / 0.5532 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of matching and sorting (n=601) (initialization_lambda0): time 0.005383/0.314, allocations: 3.844 MB / 0.557 GB, free: 12.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.3141, allocations: 73.66 kB / 0.5571 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3141, allocations: 16 kB / 0.5571 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.3147, allocations: 343.5 kB / 0.5574 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.3174, allocations: 1.117 MB / 0.5585 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.3199, allocations: 2.538 MB / 0.561 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.3217, allocations: 465.9 kB / 0.5614 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.3219, allocations: 164 kB / 0.5616 GB, free: 8.195 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.0009574/0.3229, allocations: 0.6864 MB / 0.5622 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/0.3236, allocations: 0.5634 MB / 0.5628 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.3278, allocations: 2.489 MB / 0.5652 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.3278, allocations: 28 kB / 0.5652 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3278, allocations: 8 kB / 0.5652 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.3278, allocations: 11.95 kB / 0.5653 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008719/0.3365, allocations: 6.32 MB / 0.5714 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3365, allocations: 11.94 kB / 0.5714 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/0.3389, allocations: 0.7691 MB / 0.5722 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006406/0.3395, allocations: 330.9 kB / 0.5725 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.3397, allocations: 79.97 kB / 0.5726 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.3422, allocations: 2.526 MB / 0.5751 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3422, allocations: 11.56 kB / 0.5751 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/0.3477, allocations: 3.76 MB / 0.5787 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.349, allocations: 0.949 MB / 0.5797 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.3493, allocations: 87.98 kB / 0.5797 GB, free: 5.258 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.3505, allocations: 215.8 kB / 0.58 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004332/0.3509, allocations: 300.3 kB / 0.5802 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.3511, allocations: 107.9 kB / 0.5803 GB, free: 4.652 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002076/0.3531, allocations: 1.956 MB / 0.5823 GB, free: 2.695 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3531, allocations: 0 / 0.5823 GB, free: 2.695 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003242/0.3564, allocations: 2.073 MB / 0.5843 GB, free: 0.6172 MB / 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.3574, allocations: 0.5174 MB / 0.5848 GB, free: 288 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007159/0.3646, allocations: 4.984 MB / 0.5897 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3646, allocations: 4 kB / 0.5897 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.3664, allocations: 1.34 MB / 0.591 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.3684, allocations: 0.8056 MB / 0.5917 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.3788, allocations: 7.987 MB / 0.5995 GB, free: 1.129 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.3794, allocations: 0.7524 MB / 0.6003 GB, free: 356 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001864/0.3813, allocations: 0.5784 MB / 0.6008 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007556/0.382, allocations: 280.4 kB / 0.6011 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/0.382, allocations: 4 kB / 0.6011 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.06538/0.4474, allocations: 55.43 MB / 0.6553 GB, free: 8.504 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.847700359998271]