Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.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.001457/0.001457, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.001488/0.001488, allocations: 177 kB / 24.28 MB, free: 276 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.8022/0.8022, 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.4246/0.4246, allocations: 90.57 MB / 328.9 MB, free: 14.72 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.WTG3CurrentSource1,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.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,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.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 434.5 MB, free: 5.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.544e-05, allocations: 6.25 kB / 434.5 MB, free: 5.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01401/0.01403, allocations: 17.09 MB / 451.6 MB, free: 4.375 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.02417, allocations: 7.878 MB / 459.4 MB, free: 12.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.02608, allocations: 115.2 kB / 459.6 MB, free: 12.36 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.02762, allocations: 1.089 MB / 460.6 MB, free: 11.26 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.002517/0.03014, allocations: 1.684 MB / 462.3 MB, free: 9.566 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.004884/0.03503, allocations: 3.743 MB / 466.1 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1757/0.2107, allocations: 6.665 MB / 472.7 MB, free: 55.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.2135, allocations: 1.505 MB / 474.2 MB, free: 55.09 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.2164, allocations: 2.257 MB / 476.5 MB, free: 55.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.2184, allocations: 1.984 MB / 478.5 MB, free: 55.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005832/0.219, allocations: 0.6973 MB / 479.2 MB, free: 55.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.2202, allocations: 1.031 MB / 480.2 MB, free: 55.01 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007136/0.2209, allocations: 1.48 MB / 481.7 MB, free: 54.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.222, allocations: 1.781 MB / 483.5 MB, free: 54.47 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004666/0.2266, allocations: 4.628 MB / 488.1 MB, free: 53.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2266, allocations: 0 / 488.1 MB, free: 53.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2266, allocations: 1.625 kB / 488.1 MB, free: 53.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.406e-05/0.2267, allocations: 0 / 488.1 MB, free: 53.84 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.008103/0.2348, allocations: 6.888 MB / 495 MB, free: 50.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2348, allocations: 10.66 kB / 495 MB, free: 50.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.2381, allocations: 1.618 MB / 496.6 MB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002797/0.2409, allocations: 3.299 MB / 499.9 MB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/0.2414, allocations: 1.183 MB / 0.4894 GB, free: 47.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.2418, allocations: 387.5 kB / 0.4897 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/0.2458, allocations: 3.73 MB / 0.4934 GB, free: 44.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.2459, allocations: 6.375 kB / 0.4934 GB, free: 44.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/0.2461, allocations: 154.5 kB / 0.4935 GB, free: 44.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/0.2462, allocations: 86.19 kB / 0.4936 GB, free: 44.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.249, allocations: 1.517 MB / 0.4951 GB, free: 44.57 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.0117/0.2607, allocations: 13.96 MB / 0.5087 GB, free: 35.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.2639, allocations: 1.895 MB / 0.5106 GB, free: 34.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.265, allocations: 0.6332 MB / 0.5112 GB, free: 34.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.2652, allocations: 65.92 kB / 0.5113 GB, free: 34.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.2669, allocations: 1.269 MB / 0.5125 GB, free: 34.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 4.188e-06/0.2669, allocations: 0 / 0.5125 GB, free: 34.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.005273/0.2721, allocations: 2.957 MB / 0.5154 GB, free: 33.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2722, allocations: 0.5749 MB / 0.5159 GB, free: 32.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.275, allocations: 3.272 MB / 0.5191 GB, free: 31.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.2752, allocations: 97.64 kB / 0.5192 GB, free: 31.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009697/0.2761, allocations: 2.126 MB / 0.5213 GB, free: 29.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/0.2766, allocations: 1.036 MB / 0.5223 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008749/0.2775, allocations: 0.8455 MB / 0.5231 GB, free: 28.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.2776, allocations: 476.8 kB / 0.5236 GB, free: 28.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.2788, allocations: 0.8648 MB / 0.5244 GB, free: 27.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.2805, allocations: 2.195 MB / 0.5266 GB, free: 26.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/0.2843, allocations: 3.545 MB / 0.5301 GB, free: 24.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.2843, allocations: 4.312 kB / 0.5301 GB, free: 24.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.004577/0.2889, allocations: 3.732 MB / 0.5337 GB, free: 21.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.2889, allocations: 68.62 kB / 0.5338 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.289, allocations: 12 kB / 0.5338 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/0.2896, allocations: 347.3 kB / 0.5341 GB, free: 21.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.2925, allocations: 1.247 MB / 0.5353 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.2947, allocations: 2.539 MB / 0.5378 GB, free: 17.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.2962, allocations: 445.5 kB / 0.5382 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.2964, allocations: 160 kB / 0.5384 GB, free: 17.2 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 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_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real 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.002218/0.2986, allocations: 1.211 MB / 0.5396 GB, free: 16.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001681/0.3003, allocations: 2.191 MB / 0.5417 GB, free: 13.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003888/0.3042, allocations: 3.521 MB / 0.5451 GB, free: 9.609 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.508e-06/0.3042, allocations: 4 kB / 0.5451 GB, free: 9.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.004707/0.3089, allocations: 3.712 MB / 0.5488 GB, free: 5.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.309, allocations: 81.34 kB / 0.5488 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.309, allocations: 8 kB / 0.5489 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.3096, allocations: 351.2 kB / 0.5492 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.3124, allocations: 1.243 MB / 0.5504 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.3144, allocations: 2.539 MB / 0.5529 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.3161, allocations: 429.9 kB / 0.5533 GB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.3163, allocations: 155.5 kB / 0.5534 GB, free: 1.055 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 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_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real 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: 53 * Number of states: 0 () * Number of discrete variables: 75 ($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_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_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,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 539 * 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.0008165/0.3171, allocations: 0.6661 MB / 0.5541 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.3177, allocations: 0.5324 MB / 0.5546 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.3216, allocations: 2.389 MB / 0.5569 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.3216, allocations: 28 kB / 0.557 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3216, allocations: 4 kB / 0.557 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.3217, allocations: 15.94 kB / 0.557 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008209/0.3299, allocations: 6.032 MB / 0.5629 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3299, allocations: 4.094 kB / 0.5629 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/0.3326, allocations: 0.9045 MB / 0.5638 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/0.3333, allocations: 325.4 kB / 0.5641 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.3335, allocations: 79.97 kB / 0.5642 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.3359, allocations: 2.525 MB / 0.5666 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3359, allocations: 7.562 kB / 0.5666 GB, free: 3.398 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.3409, allocations: 3.621 MB / 0.5702 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.3421, allocations: 0.8868 MB / 0.571 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/0.3424, allocations: 83.98 kB / 0.5711 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.3435, allocations: 203.8 kB / 0.5713 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/0.3439, allocations: 300.5 kB / 0.5716 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.3441, allocations: 91.97 kB / 0.5717 GB, free: 14.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001985/0.3461, allocations: 1.889 MB / 0.5735 GB, free: 12.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3461, allocations: 4 kB / 0.5735 GB, free: 12.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003123/0.3492, allocations: 1.968 MB / 0.5755 GB, free: 10.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,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) * Number of discrete variables: 40 ($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.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 (288): * Single equations (assignments): 274 * 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.00101/0.3502, allocations: 0.4992 MB / 0.5759 GB, free: 9.828 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006575/0.3568, allocations: 4.828 MB / 0.5807 GB, free: 5.043 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3568, allocations: 4 kB / 0.5807 GB, free: 5.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.3585, allocations: 1.279 MB / 0.5819 GB, free: 3.801 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.3605, allocations: 0.7482 MB / 0.5826 GB, free: 3.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3705, allocations: 7.634 MB / 0.5901 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.3711, allocations: 0.7149 MB / 0.5908 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00173/0.3728, allocations: 0.5535 MB / 0.5913 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.3735, allocations: 268.4 kB / 0.5916 GB, free: 9.738 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3735, allocations: 0 / 0.5916 GB, free: 9.738 MB / 490.7 MB Notification: Performance of Templates: time 0.06791/0.4414, allocations: 52.74 MB / 0.6431 GB, free: 5.461 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -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.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG3CurrentSource1_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.431057288078591]