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.001356/0.001356, allocations: 87.55 kB / 20.45 MB, free: 4.121 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.0009954/0.0009954, allocations: 165 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8038/0.8038, allocations: 158.6 MB / 185.7 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.4447/0.4447, allocations: 90.57 MB / 328.6 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.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 3.767e-06/3.767e-06, allocations: 4 kB / 434.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.286e-05/4.663e-05, allocations: 6.25 kB / 434.7 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01602/0.01606, allocations: 17.16 MB / 451.8 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.02754, allocations: 7.894 MB / 459.7 MB, free: 11.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.02951, allocations: 111.2 kB / 459.8 MB, free: 11.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.0315, allocations: 1.1 MB / 460.9 MB, free: 10.64 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.002962/0.03446, allocations: 1.684 MB / 462.6 MB, free: 8.945 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.005362/0.03983, allocations: 3.735 MB / 466.3 MB, free: 5.199 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.2083/0.2481, allocations: 6.672 MB / 473 MB, free: 55.87 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.2506, allocations: 1.5 MB / 474.5 MB, free: 55.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.2528, allocations: 2.254 MB / 476.8 MB, free: 55.63 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.2543, allocations: 1.987 MB / 478.8 MB, free: 55.47 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00069/0.255, allocations: 0.698 MB / 479.5 MB, free: 55.47 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.256, allocations: 1.031 MB / 480.5 MB, free: 55.46 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005636/0.2565, allocations: 1.483 MB / 482 MB, free: 55.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008409/0.2574, allocations: 1.782 MB / 483.8 MB, free: 54.93 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.2606, allocations: 4.626 MB / 488.4 MB, free: 54.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2606, allocations: 0 / 488.4 MB, free: 54.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2606, allocations: 3.531 kB / 488.4 MB, free: 54.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.795e-05/0.2606, allocations: 0 / 488.4 MB, free: 54.3 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.007112/0.2677, allocations: 6.887 MB / 495.3 MB, free: 50.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2678, allocations: 10.5 kB / 495.3 MB, free: 50.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.2706, allocations: 1.624 MB / 496.9 MB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.2733, allocations: 3.301 MB / 0.4885 GB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.2736, allocations: 1.176 MB / 0.4896 GB, free: 47.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.274, allocations: 384.9 kB / 0.49 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.2778, allocations: 3.734 MB / 0.4936 GB, free: 44.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.619e-05/0.2779, allocations: 9.812 kB / 0.4937 GB, free: 44.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.2781, allocations: 150.2 kB / 0.4938 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.2781, allocations: 87 kB / 0.4939 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.2809, allocations: 1.513 MB / 0.4954 GB, free: 44.59 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.01235/0.2932, allocations: 13.96 MB / 0.509 GB, free: 35.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/0.2969, allocations: 1.899 MB / 0.5108 GB, free: 34.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.2979, allocations: 0.6293 MB / 0.5115 GB, free: 34.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.2981, allocations: 62.64 kB / 0.5115 GB, free: 34.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/0.2998, allocations: 1.275 MB / 0.5128 GB, free: 34.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 4.469e-06/0.2998, allocations: 1.375 kB / 0.5128 GB, free: 34.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.00524/0.305, allocations: 2.952 MB / 0.5157 GB, free: 33.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3051, allocations: 0.5715 MB / 0.5162 GB, free: 32.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.3079, allocations: 3.275 MB / 0.5194 GB, free: 31.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.3081, allocations: 93.38 kB / 0.5195 GB, free: 31.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009964/0.3091, allocations: 2.124 MB / 0.5216 GB, free: 29.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/0.3096, allocations: 1.041 MB / 0.5226 GB, free: 29.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008644/0.3105, allocations: 0.8442 MB / 0.5234 GB, free: 28.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.3105, allocations: 480.8 kB / 0.5239 GB, free: 28.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3118, allocations: 0.8694 MB / 0.5247 GB, free: 27.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.3134, allocations: 2.191 MB / 0.5269 GB, free: 26.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.3172, allocations: 3.549 MB / 0.5303 GB, free: 24.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3172, allocations: 7.094 kB / 0.5303 GB, free: 24.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.004706/0.3219, allocations: 3.727 MB / 0.534 GB, free: 21.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.3219, allocations: 68.53 kB / 0.534 GB, free: 21.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3219, allocations: 12 kB / 0.534 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006878/0.3226, allocations: 347.4 kB / 0.5344 GB, free: 21.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.3254, allocations: 1.257 MB / 0.5356 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.3277, allocations: 2.537 MB / 0.5381 GB, free: 17.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.3294, allocations: 445.5 kB / 0.5385 GB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.3296, allocations: 156 kB / 0.5387 GB, free: 16.77 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.002207/0.3318, allocations: 1.211 MB / 0.5398 GB, free: 15.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001531/0.3333, allocations: 2.184 MB / 0.542 GB, free: 12.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003592/0.3369, allocations: 3.527 MB / 0.5454 GB, free: 9.168 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.107e-06/0.3369, allocations: 4 kB / 0.5454 GB, free: 9.164 MB / 442.7 MB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.004482/0.3414, allocations: 3.716 MB / 0.5491 GB, free: 5.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.3415, allocations: 73.59 kB / 0.5491 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3415, allocations: 12 kB / 0.5491 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/0.3421, allocations: 347.2 kB / 0.5495 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/0.3448, allocations: 1.244 MB / 0.5507 GB, free: 3.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.3468, allocations: 2.533 MB / 0.5532 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.3484, allocations: 429.9 kB / 0.5536 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.3486, allocations: 160 kB / 0.5537 GB, free: 0.6094 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.0007297/0.3493, allocations: 0.6654 MB / 0.5544 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/0.35, allocations: 0.5362 MB / 0.5549 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.354, allocations: 2.385 MB / 0.5572 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.354, allocations: 28 kB / 0.5572 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.354, allocations: 4 kB / 0.5572 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.354, allocations: 11.95 kB / 0.5573 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008239/0.3622, allocations: 6.035 MB / 0.5632 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3622, allocations: 4 kB / 0.5632 GB, free: 6.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/0.3649, allocations: 0.9053 MB / 0.564 GB, free: 5.984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/0.3656, allocations: 325.7 kB / 0.5644 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.3657, allocations: 83.95 kB / 0.5644 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.3681, allocations: 2.522 MB / 0.5669 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3681, allocations: 7.281 kB / 0.5669 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005472/0.3736, allocations: 3.624 MB / 0.5704 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.3749, allocations: 0.8829 MB / 0.5713 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.3752, allocations: 91.44 kB / 0.5714 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.3763, allocations: 203.8 kB / 0.5716 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/0.3767, allocations: 289 kB / 0.5719 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.3769, allocations: 95.95 kB / 0.572 GB, free: 13.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002101/0.379, allocations: 1.881 MB / 0.5738 GB, free: 11.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.379, allocations: 0 / 0.5738 GB, free: 11.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003338/0.3823, allocations: 1.976 MB / 0.5757 GB, free: 9.707 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.001025/0.3833, allocations: 0.5028 MB / 0.5762 GB, free: 9.391 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006812/0.3901, allocations: 4.833 MB / 0.5809 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3901, allocations: 4 kB / 0.5809 GB, free: 4.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.3919, allocations: 1.274 MB / 0.5822 GB, free: 3.359 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.3937, allocations: 0.7441 MB / 0.5829 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/0.403, allocations: 7.639 MB / 0.5904 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.4035, allocations: 0.7149 MB / 0.5911 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001505/0.405, allocations: 0.5536 MB / 0.5916 GB, free: 9.559 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/0.4058, allocations: 268.5 kB / 0.5919 GB, free: 9.297 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4058, allocations: 0 / 0.5919 GB, free: 9.297 MB / 490.7 MB Notification: Performance of Templates: time 0.06462/0.4704, allocations: 52.75 MB / 0.6434 GB, free: 5.008 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.7009846842847764]