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.001026/0.001026, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001061/0.001061, allocations: 163.7 kB / 24.86 MB, free: 8.656 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.8152/0.8152, allocations: 158.6 MB / 186.8 MB, free: 2.797 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.4532/0.4532, allocations: 90.57 MB / 329.7 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.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.543e-06/1.543e-06, allocations: 0 / 436 MB, free: 4.723 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.719e-05, allocations: 2.312 kB / 436 MB, free: 4.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01235/0.01238, allocations: 14.83 MB / 450.8 MB, free: 5.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.0224, allocations: 7.065 MB / 457.9 MB, free: 14.73 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.02468, allocations: 95.38 kB / 458 MB, free: 14.63 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.02631, allocations: 0.965 MB / 458.9 MB, free: 13.66 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.002952/0.02926, allocations: 1.58 MB / 460.5 MB, free: 12.07 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.004157/0.03342, allocations: 3.139 MB / 463.6 MB, free: 8.926 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004954/0.03838, allocations: 5.724 MB / 469.4 MB, free: 3.188 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.04, allocations: 1.286 MB / 470.7 MB, free: 1.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1887/0.2287, allocations: 1.948 MB / 472.6 MB, free: 56.44 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.2312, allocations: 1.728 MB / 474.3 MB, free: 56.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001853/0.2331, allocations: 0.5965 MB / 474.9 MB, free: 56.44 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.2343, allocations: 0.9238 MB / 475.9 MB, free: 56.44 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007113/0.2351, allocations: 1.269 MB / 477.1 MB, free: 56.44 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.2369, allocations: 1.529 MB / 478.6 MB, free: 56.39 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.2413, allocations: 4.026 MB / 482.7 MB, free: 55.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2413, allocations: 0 / 482.7 MB, free: 55.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.2413, allocations: 3 kB / 482.7 MB, free: 55.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.2414, allocations: 3.312 kB / 482.7 MB, free: 55.84 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.008763/0.2502, allocations: 6.175 MB / 488.9 MB, free: 53.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2502, allocations: 10.47 kB / 488.9 MB, free: 53.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/0.2533, allocations: 1.487 MB / 490.4 MB, free: 53.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.2558, allocations: 2.728 MB / 493.1 MB, free: 52.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.2561, allocations: 1.018 MB / 494.1 MB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.2565, allocations: 330.1 kB / 494.4 MB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.2595, allocations: 2.948 MB / 497.4 MB, free: 50.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.2596, allocations: 5.812 kB / 497.4 MB, free: 50.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.2598, allocations: 133 kB / 497.5 MB, free: 50.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/0.2598, allocations: 77.81 kB / 497.6 MB, free: 50.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.2615, allocations: 1.062 MB / 498.6 MB, free: 50.2 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.009886/0.2714, allocations: 11.53 MB / 0.4982 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.2738, allocations: 1.468 MB / 0.4996 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.2746, allocations: 462 kB / 0.5001 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.2747, allocations: 51.44 kB / 0.5001 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.2761, allocations: 1.06 MB / 0.5012 GB, free: 42.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=257): time 4.779e-06/0.2761, allocations: 3.75 kB / 0.5012 GB, free: 42.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=257): time 0.005224/0.2814, allocations: 2.472 MB / 0.5036 GB, free: 42.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.2815, allocations: 481.3 kB / 0.504 GB, free: 41.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.2849, allocations: 2.713 MB / 0.5067 GB, free: 41.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.2851, allocations: 88.86 kB / 0.5068 GB, free: 41.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.2863, allocations: 1.85 MB / 0.5086 GB, free: 39.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007025/0.287, allocations: 0.9182 MB / 0.5095 GB, free: 39.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.288, allocations: 0.7862 MB / 0.5103 GB, free: 38.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.2881, allocations: 482.1 kB / 0.5107 GB, free: 38.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.2894, allocations: 0.7207 MB / 0.5114 GB, free: 38.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.2911, allocations: 1.856 MB / 0.5132 GB, free: 36.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/0.2946, allocations: 3.092 MB / 0.5162 GB, free: 35.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.2946, allocations: 7.25 kB / 0.5163 GB, free: 35.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization): time 0.004178/0.2988, allocations: 3.231 MB / 0.5194 GB, free: 34.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.2989, allocations: 72.45 kB / 0.5195 GB, free: 34.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.2989, allocations: 15.47 kB / 0.5195 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006589/0.2995, allocations: 331.1 kB / 0.5198 GB, free: 34.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.3014, allocations: 0.7953 MB / 0.5206 GB, free: 34.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.3033, allocations: 2.47 MB / 0.523 GB, free: 32.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.3049, allocations: 387.6 kB / 0.5234 GB, free: 32.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.305, allocations: 115.5 kB / 0.5235 GB, free: 32.14 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.001897/0.3069, allocations: 1.038 MB / 0.5245 GB, free: 31.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001407/0.3083, allocations: 1.851 MB / 0.5263 GB, free: 30.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003196/0.3115, allocations: 3.074 MB / 0.5293 GB, free: 28.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.516e-06/0.3115, allocations: 8 kB / 0.5293 GB, free: 28.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=521) (initialization_lambda0): time 0.004063/0.3156, allocations: 3.222 MB / 0.5325 GB, free: 25.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.3156, allocations: 69.42 kB / 0.5325 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3157, allocations: 12 kB / 0.5325 GB, free: 25.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.3162, allocations: 338 kB / 0.5329 GB, free: 25.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.318, allocations: 0.786 MB / 0.5336 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.3199, allocations: 2.472 MB / 0.536 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3214, allocations: 361.4 kB / 0.5364 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.3215, allocations: 109.3 kB / 0.5365 GB, free: 21.71 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 (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.0007438/0.3223, allocations: 0.6247 MB / 0.5371 GB, free: 21.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.3227, allocations: 481.5 kB / 0.5376 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.3255, allocations: 1.946 MB / 0.5395 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.3255, allocations: 28 kB / 0.5395 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3255, allocations: 4 kB / 0.5395 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.3255, allocations: 11.95 kB / 0.5395 GB, free: 18.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.3317, allocations: 4.723 MB / 0.5441 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3317, allocations: 7.938 kB / 0.5441 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.3331, allocations: 483.5 kB / 0.5446 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005699/0.3337, allocations: 319.5 kB / 0.5449 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.3338, allocations: 71.97 kB / 0.545 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.3357, allocations: 2.464 MB / 0.5474 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3357, allocations: 7.375 kB / 0.5474 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.3389, allocations: 2.967 MB / 0.5503 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008411/0.3398, allocations: 0.7732 MB / 0.551 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/0.3401, allocations: 75.92 kB / 0.5511 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.341, allocations: 163.9 kB / 0.5512 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.3413, allocations: 248.5 kB / 0.5515 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.3414, allocations: 71.97 kB / 0.5516 GB, free: 6.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.3425, allocations: 1.46 MB / 0.553 GB, free: 5.203 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3425, allocations: 0 / 0.553 GB, free: 5.203 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002636/0.3451, allocations: 1.742 MB / 0.5547 GB, free: 3.457 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 (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.000912/0.346, allocations: 0.5088 MB / 0.5552 GB, free: 3.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005007/0.351, allocations: 4.225 MB / 0.5593 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.351, allocations: 4 kB / 0.5593 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.3524, allocations: 1.075 MB / 0.5604 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.3541, allocations: 0.636 MB / 0.561 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008715/0.3628, allocations: 6.475 MB / 0.5673 GB, free: 6.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.3634, allocations: 0.6236 MB / 0.5679 GB, free: 6.199 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001573/0.365, allocations: 467.1 kB / 0.5684 GB, free: 5.738 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.3664, allocations: 0.6814 MB / 0.569 GB, free: 5.055 MB / 458.7 MB Notification: Performance of SimCode: time 1.924e-06/0.3664, allocations: 0 / 0.569 GB, free: 5.055 MB / 458.7 MB Notification: Performance of Templates: time 0.06564/0.4321, allocations: 55.74 MB / 0.6235 GB, free: 13.71 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.152015286963433]