Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.001023/0.001023, allocations: 87.56 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.001193/0.001193, allocations: 165 kB / 23.82 MB, free: 0.75 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.8823/0.8823, allocations: 158.6 MB / 185.7 MB, free: 2.508 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.444/0.444, allocations: 90.57 MB / 328.6 MB, free: 14.69 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.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|WTG4A.injector.PInjPu|WTG4A.injector.QInjPu|WTG4A.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 434.6 MB, free: 5.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.184e-05, allocations: 5.828 kB / 434.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.02125/0.02128, allocations: 15.37 MB / 450 MB, free: 5.582 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01608/0.03736, allocations: 7.104 MB / 457.1 MB, free: 14.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004404/0.04177, allocations: 103.3 kB / 457.2 MB, free: 14.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003082/0.04485, allocations: 0.965 MB / 458.2 MB, free: 13.38 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.006284/0.05113, allocations: 1.576 MB / 459.8 MB, free: 11.79 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.007057/0.05819, allocations: 3.166 MB / 462.9 MB, free: 8.621 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009186/0.06738, allocations: 5.73 MB / 468.7 MB, free: 2.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003271/0.07065, allocations: 1.286 MB / 470 MB, free: 1.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1722/0.2428, allocations: 1.943 MB / 471.9 MB, free: 56.17 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.2449, allocations: 1.727 MB / 473.6 MB, free: 56.17 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.2461, allocations: 0.5976 MB / 474.2 MB, free: 56.17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.2471, allocations: 0.9231 MB / 475.1 MB, free: 56.17 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.2477, allocations: 1.267 MB / 476.4 MB, free: 56.17 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.249, allocations: 1.538 MB / 477.9 MB, free: 56.11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.2523, allocations: 4.019 MB / 482 MB, free: 55.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2523, allocations: 0 / 482 MB, free: 55.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2523, allocations: 1.125 kB / 482 MB, free: 55.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.763e-05/0.2523, allocations: 0 / 482 MB, free: 55.57 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.007211/0.2596, allocations: 6.142 MB / 488.1 MB, free: 53.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2596, allocations: 11.53 kB / 488.1 MB, free: 53.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.2625, allocations: 1.482 MB / 489.6 MB, free: 52.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.265, allocations: 2.8 MB / 492.4 MB, free: 52.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.2653, allocations: 1.024 MB / 493.4 MB, free: 51.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.2656, allocations: 327 kB / 493.7 MB, free: 51.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003329/0.269, allocations: 3.167 MB / 496.9 MB, free: 50.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.269, allocations: 6.062 kB / 496.9 MB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.2692, allocations: 133.4 kB / 497 MB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.2692, allocations: 76.28 kB / 497.1 MB, free: 50.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.2715, allocations: 1.339 MB / 498.5 MB, free: 49.9 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.009331/0.2808, allocations: 12 MB / 0.4985 GB, free: 41.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.2836, allocations: 1.619 MB / 0.5001 GB, free: 41.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.2845, allocations: 0.5493 MB / 0.5006 GB, free: 41.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.2847, allocations: 55.47 kB / 0.5007 GB, free: 41.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.2863, allocations: 1.153 MB / 0.5018 GB, free: 41.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 4.228e-06/0.2863, allocations: 0 / 0.5018 GB, free: 41.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=257): time 0.005694/0.292, allocations: 2.771 MB / 0.5045 GB, free: 40.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.2922, allocations: 477 kB / 0.505 GB, free: 39.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.296, allocations: 2.828 MB / 0.5077 GB, free: 38.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.2962, allocations: 88.39 kB / 0.5078 GB, free: 38.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2973, allocations: 1.824 MB / 0.5096 GB, free: 37.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.2979, allocations: 0.9075 MB / 0.5105 GB, free: 36.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009686/0.2988, allocations: 0.7639 MB / 0.5112 GB, free: 36.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.2989, allocations: 480.7 kB / 0.5117 GB, free: 35.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.3003, allocations: 0.7874 MB / 0.5124 GB, free: 35.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.302, allocations: 1.91 MB / 0.5143 GB, free: 34.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/0.3057, allocations: 3.227 MB / 0.5175 GB, free: 32.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.3057, allocations: 3.562 kB / 0.5175 GB, free: 32.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.00488/0.3106, allocations: 3.38 MB / 0.5208 GB, free: 31.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.3106, allocations: 69.92 kB / 0.5208 GB, free: 31.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3107, allocations: 16.44 kB / 0.5208 GB, free: 31.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007232/0.3114, allocations: 339.9 kB / 0.5212 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.3133, allocations: 0.7872 MB / 0.5219 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.3155, allocations: 2.533 MB / 0.5244 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.3175, allocations: 385.8 kB / 0.5248 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/0.3176, allocations: 145.6 kB / 0.5249 GB, free: 29.31 MB / 442.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002057/0.3197, allocations: 1.112 MB / 0.526 GB, free: 28.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001488/0.3212, allocations: 1.898 MB / 0.5279 GB, free: 27.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0035/0.3247, allocations: 3.202 MB / 0.531 GB, free: 24.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.187e-06/0.3247, allocations: 4 kB / 0.531 GB, free: 24.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization_lambda0): time 0.004464/0.3292, allocations: 3.366 MB / 0.5343 GB, free: 21.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.3292, allocations: 71.11 kB / 0.5343 GB, free: 21.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3292, allocations: 8 kB / 0.5344 GB, free: 21.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/0.3298, allocations: 351.8 kB / 0.5347 GB, free: 20.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.3316, allocations: 0.7807 MB / 0.5355 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.3337, allocations: 2.539 MB / 0.5379 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.3352, allocations: 362.2 kB / 0.5383 GB, free: 17.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.3354, allocations: 136 kB / 0.5384 GB, free: 17.05 MB / 442.7 MB Warning: Assuming fixed start value for the following 32 variables: WTG4A.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector 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 WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4A.injector.running:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.LvTfo.running:DISCRETE(flow=false start = WTG4A.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.HvTfo.running:DISCRETE(flow=false start = WTG4A.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.WTG4A.HvTfo.state,WTG4A.HvTfo.state,$PRE.WTG4A.LvTfo.state,WTG4A.LvTfo.state,$PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running,$PRE.WTG4A.LvTfo.running,$PRE.WTG4A.HvTfo.running,WTG4A.wecc_regc.QConv0PuNeg.k,WTG4A.wecc_regc.QConv0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition19,$whenCondition18,$whenCondition20,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 482 * 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.0006664/0.336, allocations: 0.6341 MB / 0.539 GB, free: 16.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/0.3365, allocations: 477.4 kB / 0.5395 GB, free: 16.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.3395, allocations: 2.142 MB / 0.5416 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3395, allocations: 31.94 kB / 0.5416 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3395, allocations: 4 kB / 0.5416 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3395, allocations: 11.95 kB / 0.5416 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006023/0.3455, allocations: 5.362 MB / 0.5469 GB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3456, allocations: 8 kB / 0.5469 GB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.347, allocations: 488.3 kB / 0.5473 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005649/0.3476, allocations: 333.5 kB / 0.5476 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.3477, allocations: 71.97 kB / 0.5477 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.3497, allocations: 2.519 MB / 0.5502 GB, free: 4.934 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3497, allocations: 4 kB / 0.5502 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.3536, allocations: 3.286 MB / 0.5534 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/0.3544, allocations: 0.774 MB / 0.5541 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.3547, allocations: 75.98 kB / 0.5542 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009252/0.3557, allocations: 159.9 kB / 0.5544 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.356, allocations: 248.1 kB / 0.5546 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.3561, allocations: 87.97 kB / 0.5547 GB, free: 140 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001718/0.3578, allocations: 1.63 MB / 0.5563 GB, free: 14.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 0.5563 GB, free: 14.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002719/0.3605, allocations: 1.742 MB / 0.558 GB, free: 12.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 23 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running,WTG4A.injector.state,WTG4A.LvTfo.running,WTG4A.LvTfo.state,WTG4A.HvTfo.running,WTG4A.HvTfo.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 10 (WTG4A.HvTfo.running,WTG4A.LvTfo.running,WTG4A.injector.running,line.running,WTG4A.wecc_regc.offDelay.u,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 240 * 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.0009849/0.3615, allocations: 0.506 MB / 0.5585 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006142/0.3676, allocations: 4.448 MB / 0.5628 GB, free: 8.047 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3676, allocations: 4 kB / 0.5628 GB, free: 8.043 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.3693, allocations: 1.164 MB / 0.564 GB, free: 6.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.3711, allocations: 0.6433 MB / 0.5646 GB, free: 6.297 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.3792, allocations: 6.528 MB / 0.571 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.3797, allocations: 0.6197 MB / 0.5716 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001414/0.3811, allocations: 491 kB / 0.572 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006452/0.3817, allocations: 228.5 kB / 0.5723 GB, free: 14.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/0.3817, allocations: 4 kB / 0.5723 GB, free: 14.29 MB / 474.7 MB Notification: Performance of Templates: time 0.05338/0.4351, allocations: 50.39 MB / 0.6215 GB, free: 12.26 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -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.WTG4ACurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 655] Reference file matches [Calling sys.exit(0), Time elapsed: 11.089051083661616]