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.001939/0.001939, allocations: 92.91 kB / 20.23 MB, free: 4.195 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.002441/0.002441, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.268/1.268, allocations: 158.6 MB / 185.4 MB, free: 2.902 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.6855/0.6855, allocations: 90.62 MB / 328.3 MB, free: 14.59 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 2.124e-06/2.124e-06, allocations: 0 / 433.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.193e-05, allocations: 2.312 kB / 433.8 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.04398/0.04401, allocations: 17.04 MB / 450.9 MB, free: 4.305 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.0635, allocations: 7.886 MB / 458.7 MB, free: 12.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.06701, allocations: 115.2 kB / 458.9 MB, free: 12.28 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.06987, allocations: 1.093 MB / 460 MB, free: 11.18 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.005034/0.07491, allocations: 1.68 MB / 461.6 MB, free: 9.488 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG3.HvTfo.terminal1.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:66:5-70:11:writable] Warning: In relation WTG3.HvTfo.terminal1.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation WTG3.HvTfo.terminal2.V.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersFixedTap/TransformerFixedRatio.mo:71:5-75:11:writable] Warning: In relation WTG3.HvTfo.terminal2.V.im == 0.0, == on Real operands is deprecated in non-function contexts. [/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.008171/0.08308, allocations: 3.743 MB / 465.4 MB, free: 5.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1729/0.2559, allocations: 6.683 MB / 472.1 MB, free: 55.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.2588, allocations: 1.509 MB / 473.6 MB, free: 55.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.2614, allocations: 2.255 MB / 475.8 MB, free: 55.2 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2633, allocations: 1.988 MB / 477.8 MB, free: 55.11 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008424/0.2642, allocations: 0.703 MB / 478.5 MB, free: 55.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.2655, allocations: 1.034 MB / 479.5 MB, free: 55.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008273/0.2663, allocations: 1.484 MB / 481 MB, free: 54.85 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.2678, allocations: 1.785 MB / 482.8 MB, free: 54.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007699/0.2755, allocations: 8.817 MB / 491.6 MB, free: 53.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2755, allocations: 0 / 491.6 MB, free: 53.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2755, allocations: 2.75 kB / 491.6 MB, free: 53.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000178/0.2757, allocations: 0 / 491.6 MB, free: 53.55 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.0177/0.2934, allocations: 7.529 MB / 499.2 MB, free: 49.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2934, allocations: 7.875 kB / 499.2 MB, free: 49.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.2994, allocations: 1.623 MB / 0.4891 GB, free: 48.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.3055, allocations: 3.458 MB / 0.4924 GB, free: 47.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006997/0.3062, allocations: 1.285 MB / 0.4937 GB, free: 45.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/0.3069, allocations: 383.6 kB / 0.4941 GB, free: 45.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00855/0.3155, allocations: 5.218 MB / 0.4992 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-05/0.3155, allocations: 5.812 kB / 0.4992 GB, free: 42.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003456/0.3159, allocations: 150.6 kB / 0.4993 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/0.316, allocations: 85.78 kB / 0.4994 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007495/0.3235, allocations: 3.412 MB / 0.5027 GB, free: 41.45 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.02864/0.3521, allocations: 25.34 MB / 0.5275 GB, free: 26.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/0.3591, allocations: 3.249 MB / 0.5306 GB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002661/0.3618, allocations: 1.45 MB / 0.5321 GB, free: 23.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.362, allocations: 61.94 kB / 0.5321 GB, free: 22.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003526/0.3655, allocations: 2.25 MB / 0.5343 GB, free: 20.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=291): time 5.19e-06/0.3655, allocations: 4 kB / 0.5343 GB, free: 20.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=291): time 0.01226/0.3778, allocations: 5.278 MB / 0.5395 GB, free: 15.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.3779, allocations: 0.576 MB / 0.54 GB, free: 14.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005834/0.3838, allocations: 4.907 MB / 0.5448 GB, free: 9.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004165/0.3842, allocations: 93.7 kB / 0.5449 GB, free: 9.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.3859, allocations: 2.448 MB / 0.5473 GB, free: 7.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009362/0.3868, allocations: 1.173 MB / 0.5484 GB, free: 6.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.3883, allocations: 1.149 MB / 0.5496 GB, free: 4.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.3884, allocations: 480.8 kB / 0.55 GB, free: 4.375 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/0.3915, allocations: 1.765 MB / 0.5517 GB, free: 2.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/0.3959, allocations: 3.344 MB / 0.555 GB, free: 14.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/0.4092, allocations: 6.218 MB / 0.5611 GB, free: 8.316 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.4092, allocations: 0 / 0.5611 GB, free: 8.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01403/0.4233, allocations: 5.574 MB / 0.5665 GB, free: 2.734 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.4234, allocations: 69.84 kB / 0.5666 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.4234, allocations: 16 kB / 0.5666 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.4249, allocations: 457.8 kB / 0.567 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006892/0.4317, allocations: 1.245 MB / 0.5683 GB, free: 1.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.4379, allocations: 3.564 MB / 0.5717 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.4422, allocations: 453.5 kB / 0.5722 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/0.4426, allocations: 160 kB / 0.5723 GB, free: 12.75 MB / 474.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.006561/0.4492, allocations: 2.585 MB / 0.5749 GB, free: 10.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005807/0.455, allocations: 3.292 MB / 0.5781 GB, free: 6.473 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01306/0.4681, allocations: 6.121 MB / 0.584 GB, free: 88 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.115e-05/0.4681, allocations: 4 kB / 0.5841 GB, free: 84 kB / 474.7 MB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.01371/0.4818, allocations: 5.486 MB / 0.5894 GB, free: 10.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.4819, allocations: 73.59 kB / 0.5895 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.4819, allocations: 12 kB / 0.5895 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.4833, allocations: 460.5 kB / 0.5899 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/0.4897, allocations: 1.24 MB / 0.5911 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4956, allocations: 3.561 MB / 0.5946 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004533/0.5001, allocations: 437.9 kB / 0.595 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005357/0.5007, allocations: 152 kB / 0.5952 GB, free: 4.621 MB / 490.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.001417/0.5021, allocations: 0.6763 MB / 0.5958 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/0.5036, allocations: 0.5284 MB / 0.5964 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.5143, allocations: 3.932 MB / 0.6002 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.5143, allocations: 28 kB / 0.6002 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5143, allocations: 4 kB / 0.6002 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.582e-05/0.5143, allocations: 15.94 kB / 0.6002 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/0.5354, allocations: 9.405 MB / 0.6094 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.5354, allocations: 4 kB / 0.6094 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005952/0.5413, allocations: 0.9051 MB / 0.6103 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.5427, allocations: 435.4 kB / 0.6107 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/0.543, allocations: 75.97 kB / 0.6108 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/0.549, allocations: 3.556 MB / 0.6143 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.549, allocations: 8 kB / 0.6143 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.5648, allocations: 6.501 MB / 0.6206 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002888/0.5676, allocations: 0.8895 MB / 0.6215 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/0.5683, allocations: 87.98 kB / 0.6216 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.5706, allocations: 199.8 kB / 0.6218 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007615/0.5714, allocations: 328.8 kB / 0.6221 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/0.5717, allocations: 99.95 kB / 0.6222 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005198/0.5769, allocations: 2.751 MB / 0.6249 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5769, allocations: 0 / 0.6249 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006336/0.5832, allocations: 1.968 MB / 0.6268 GB, free: 3.887 MB / 0.5105 GB 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.002984/0.5862, allocations: 0.5522 MB / 0.6273 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01841/0.6046, allocations: 8.055 MB / 0.6352 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/0.6046, allocations: 4 kB / 0.6352 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005317/0.6099, allocations: 2.162 MB / 0.6373 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/0.6141, allocations: 0.7315 MB / 0.638 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/0.634, allocations: 8.637 MB / 0.6465 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/0.6364, allocations: 1.872 MB / 0.6483 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00328/0.6397, allocations: 0.5536 MB / 0.6488 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.6408, allocations: 268.5 kB / 0.6491 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of SimCode: time 1.422e-06/0.6408, allocations: 0 / 0.6491 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.2515/0.8923, allocations: 52.85 MB / 0.7007 GB, free: 159 MB / 0.5417 GB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.946202527033165]