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.0009623/0.0009623, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.0009648/0.0009648, allocations: 169 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8733/0.8733, allocations: 158.6 MB / 186 MB, free: 2.293 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.466/0.466, allocations: 90.86 MB / 329.2 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.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 1.152e-06/1.152e-06, allocations: 0 / 386.6 MB, free: 5.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.575e-05, allocations: 9.688 kB / 386.6 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.0127/0.01272, allocations: 14.98 MB / 401.6 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.02345, allocations: 7.364 MB / 408.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.02486, allocations: 103.3 kB / 409 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.02623, allocations: 0.9844 MB / 410 MB, free: 13.79 MB / 394.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.006109/0.03234, allocations: 1.587 MB / 411.6 MB, free: 12.19 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:90:3-90:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.03599, allocations: 3.154 MB / 414.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003951/0.03994, allocations: 5.751 MB / 420.5 MB, free: 3.266 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.04135, allocations: 1.345 MB / 421.9 MB, free: 1.824 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.04287, allocations: 1.959 MB / 423.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.04418, allocations: 1.744 MB / 425.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005218/0.0447, allocations: 0.5977 MB / 426.2 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009531/0.04566, allocations: 0.9409 MB / 427.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.04629, allocations: 1.269 MB / 428.4 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009909/0.04728, allocations: 1.542 MB / 429.9 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.05058, allocations: 4.044 MB / 434 MB, free: 5.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.05058, allocations: 4 kB / 434 MB, free: 5.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.05058, allocations: 0 / 434 MB, free: 5.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.491e-05/0.05062, allocations: 0 / 434 MB, free: 5.688 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 775 * Number of variables: 775 Notification: Performance of Generate backend data structure: time 0.007587/0.0582, allocations: 6.025 MB / 440 MB, free: 15.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.05825, allocations: 12.03 kB / 440 MB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.06153, allocations: 1.386 MB / 441.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.06386, allocations: 1.789 MB / 443.2 MB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004867/0.06435, allocations: 1.025 MB / 444.2 MB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.06465, allocations: 331.9 kB / 444.5 MB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.06746, allocations: 2.899 MB / 447.4 MB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.0675, allocations: 4 kB / 447.4 MB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.06767, allocations: 136 kB / 447.6 MB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.06771, allocations: 79.94 kB / 447.6 MB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.06915, allocations: 0.9535 MB / 448.6 MB, free: 6.457 MB / 426.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.008723/0.07787, allocations: 8.095 MB / 456.7 MB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.07981, allocations: 1.419 MB / 458.1 MB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.08032, allocations: 403.6 kB / 458.5 MB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.08051, allocations: 57.98 kB / 458.6 MB, free: 12.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.08159, allocations: 1.076 MB / 459.6 MB, free: 11.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 3.727e-06/0.0816, allocations: 0 / 459.6 MB, free: 11.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=259): time 0.003271/0.08487, allocations: 1.857 MB / 461.5 MB, free: 9.297 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.08502, allocations: 478.9 kB / 462 MB, free: 8.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.08706, allocations: 2.572 MB / 464.5 MB, free: 6.156 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.08719, allocations: 89.7 kB / 464.6 MB, free: 6.062 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006838/0.08788, allocations: 1.236 MB / 465.9 MB, free: 4.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005487/0.08843, allocations: 0.9375 MB / 466.8 MB, free: 3.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007692/0.0892, allocations: 0.7474 MB / 467.5 MB, free: 3.105 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.08927, allocations: 301.1 kB / 467.8 MB, free: 2.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.0904, allocations: 0.7074 MB / 468.5 MB, free: 2.082 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.09189, allocations: 1.658 MB / 470.2 MB, free: 136 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2168/0.3087, allocations: 3.067 MB / 473.3 MB, free: 71.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/0.3087, allocations: 4.781 kB / 473.3 MB, free: 71.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.004663/0.3134, allocations: 2.682 MB / 476 MB, free: 71.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.3135, allocations: 71.14 kB / 476 MB, free: 71.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.3135, allocations: 11.44 kB / 476 MB, free: 71.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000682/0.3142, allocations: 325.6 kB / 476.4 MB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.3161, allocations: 0.8671 MB / 477.2 MB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.3178, allocations: 1.84 MB / 479.1 MB, free: 70.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.3193, allocations: 384.9 kB / 479.4 MB, free: 70.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.3194, allocations: 108.2 kB / 479.5 MB, free: 70.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.001991/0.3214, allocations: 0.9967 MB / 480.5 MB, free: 70.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001287/0.3227, allocations: 1.64 MB / 482.2 MB, free: 69.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00329/0.326, allocations: 3.053 MB / 485.2 MB, free: 68.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.144e-05/0.326, allocations: 8.328 kB / 485.2 MB, free: 68.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=526) (initialization_lambda0): time 0.003515/0.3295, allocations: 2.673 MB / 487.9 MB, free: 68.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.3296, allocations: 75.38 kB / 488 MB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3296, allocations: 8.281 kB / 488 MB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.3301, allocations: 329.1 kB / 488.3 MB, free: 68.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.332, allocations: 0.8608 MB / 489.2 MB, free: 68.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.3336, allocations: 1.838 MB / 491 MB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3348, allocations: 364.5 kB / 491.4 MB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.335, allocations: 107.4 kB / 491.5 MB, free: 67.17 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.wecc_reec.limPIDFreeze.I.resetLocal,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.pll.integrator.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG4A.injector.switchOffSignal1,WTG4A.injector.switchOffSignal2,WTG4A.injector.switchOffSignal3,$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.QConv0PuPos.k,WTG4A.wecc_regc.QConv0PuNeg.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (488): * Single equations (assignments): 486 * 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.0006562/0.3356, allocations: 0.5543 MB / 492 MB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.336, allocations: 311.5 kB / 492.3 MB, free: 66.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.3382, allocations: 1.587 MB / 493.9 MB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.3383, allocations: 31.98 kB / 494 MB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3383, allocations: 4 kB / 494 MB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.3383, allocations: 12.66 kB / 494 MB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/0.3431, allocations: 3.686 MB / 497.7 MB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3431, allocations: 11.47 kB / 497.7 MB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.3445, allocations: 0.5133 MB / 498.2 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005028/0.345, allocations: 316.9 kB / 498.5 MB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.3452, allocations: 68.27 kB / 498.6 MB, free: 63.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.3467, allocations: 1.821 MB / 0.4886 GB, free: 61.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.3467, allocations: 12.45 kB / 0.4887 GB, free: 61.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.3494, allocations: 2.384 MB / 0.491 GB, free: 59.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007087/0.3501, allocations: 404 kB / 0.4914 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.3504, allocations: 81.16 kB / 0.4914 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.3512, allocations: 162.1 kB / 0.4916 GB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/0.3516, allocations: 247 kB / 0.4918 GB, free: 58.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.3517, allocations: 64.53 kB / 0.4919 GB, free: 58.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001105/0.3528, allocations: 1.34 MB / 0.4932 GB, free: 57.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3528, allocations: 3.375 kB / 0.4932 GB, free: 57.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002543/0.3553, allocations: 1.756 MB / 0.4949 GB, free: 56.29 MB / 442.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 (256): * Single equations (assignments): 242 * 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.001167/0.3565, allocations: 0.5895 MB / 0.4955 GB, free: 56.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004697/0.3612, allocations: 3.995 MB / 0.4994 GB, free: 52.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.626e-05/0.3612, allocations: 38.58 kB / 0.4994 GB, free: 52.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3622, allocations: 0.9554 MB / 0.5004 GB, free: 51.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.3637, allocations: 0.6373 MB / 0.501 GB, free: 51.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007153/0.3708, allocations: 6.449 MB / 0.5073 GB, free: 45.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.3712, allocations: 0.6201 MB / 0.5079 GB, free: 44.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001401/0.3726, allocations: 0.5144 MB / 0.5084 GB, free: 43.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.3738, allocations: 0.6094 MB / 0.509 GB, free: 43.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3738, allocations: 0 / 0.509 GB, free: 43.33 MB / 442.7 MB Notification: Performance of Templates: time 0.05555/0.4294, allocations: 53.03 MB / 0.5608 GB, free: 6.867 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 9.897793924901634]