Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.0007105/0.0007105, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.001598, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006766/0.0006766, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008168/0.001493, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.7755/0.7755, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/0.9003, allocations: 49.5 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4533/0.4533, allocations: 100.5 MB / 321.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05479/0.5081, allocations: 35.69 MB / 357.5 MB, free: 1.312 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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.WTG4BCurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=0.0001,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|WTG4B.injector.PInjPu|WTG4B.injector.QInjPu|WTG4B.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 359 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.313e-05, allocations: 2.312 kB / 359 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01188/0.01191, allocations: 14.65 MB / 373.7 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009285/0.02119, allocations: 7.257 MB / 380.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.02235, allocations: 91.38 kB / 381 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.02372, allocations: 0.969 MB / 382 MB, free: 8.73 MB / 378.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.002851/0.02657, allocations: 1.693 MB / 383.7 MB, free: 7.027 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wtgCurrentSource_INIT.s0Pu) == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.03068, allocations: 2.948 MB / 386.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.0344, allocations: 5.422 MB / 392.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.0357, allocations: 1.275 MB / 393.3 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.03863, allocations: 3.649 MB / 397 MB, free: 9.523 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.03977, allocations: 1.701 MB / 398.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.04023, allocations: 0.5742 MB / 399.3 MB, free: 7.242 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.04122, allocations: 0.9174 MB / 400.2 MB, free: 6.324 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005658/0.04178, allocations: 0.9386 MB / 401.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008354/0.04262, allocations: 1.169 MB / 402.3 MB, free: 4.211 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.0455, allocations: 3.592 MB / 405.9 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.04552, allocations: 4 kB / 405.9 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.04552, allocations: 0 / 405.9 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.04555, allocations: 0 / 405.9 MB, free: 0.6016 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 734 * Number of variables: 734 Notification: Performance of Generate backend data structure: time 0.007136/0.05268, allocations: 6.653 MB / 412.5 MB, free: 9.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.05271, allocations: 12.03 kB / 412.6 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.05646, allocations: 1.714 MB / 414.3 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.05842, allocations: 1.708 MB / 416 MB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.05886, allocations: 1.065 MB / 417 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.05913, allocations: 315.9 kB / 417.3 MB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.06165, allocations: 2.785 MB / 420.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.06169, allocations: 7.938 kB / 420.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.06185, allocations: 128 kB / 420.3 MB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.06189, allocations: 72 kB / 420.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.0632, allocations: 0.9141 MB / 421.3 MB, free: 0.5977 MB / 410.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.007332/0.07054, allocations: 7.409 MB / 428.7 MB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.07228, allocations: 1.347 MB / 430 MB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.07278, allocations: 415.5 kB / 430.4 MB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.07295, allocations: 53.98 kB / 430.5 MB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.07398, allocations: 1.067 MB / 431.5 MB, free: 6.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=256): time 3.667e-06/0.07398, allocations: 0 / 431.5 MB, free: 6.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.002917/0.0769, allocations: 1.803 MB / 433.3 MB, free: 4.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.07696, allocations: 119 kB / 433.5 MB, free: 4.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.07869, allocations: 2.47 MB / 435.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.07881, allocations: 89.69 kB / 436 MB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.07939, allocations: 1.161 MB / 437.2 MB, free: 416 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.07987, allocations: 0.9106 MB / 438.1 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007107/0.08058, allocations: 0.7275 MB / 438.8 MB, free: 14.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.08065, allocations: 301.1 kB / 439.1 MB, free: 14.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.08173, allocations: 0.7222 MB / 439.8 MB, free: 13.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.08315, allocations: 1.636 MB / 441.5 MB, free: 11.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.08646, allocations: 3.043 MB / 444.5 MB, free: 8.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.08647, allocations: 4 kB / 444.5 MB, free: 8.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.003432/0.0899, allocations: 2.681 MB / 447.2 MB, free: 5.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.08996, allocations: 69.66 kB / 447.3 MB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.08998, allocations: 12 kB / 447.3 MB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.09057, allocations: 324.1 kB / 447.6 MB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.09254, allocations: 0.9167 MB / 448.5 MB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.09436, allocations: 1.847 MB / 450.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.09548, allocations: 385.9 kB / 450.7 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.09563, allocations: 108 kB / 450.8 MB, free: 2.141 MB / 442.7 MB Warning: Assuming fixed start value for the following 31 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001665/0.09729, allocations: 1.005 MB / 451.8 MB, free: 1.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.162/0.2592, allocations: 1.623 MB / 453.5 MB, free: 55.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004581/0.2638, allocations: 3.014 MB / 456.5 MB, free: 55.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.281e-05/0.2638, allocations: 4.438 kB / 456.5 MB, free: 55.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.003928/0.2678, allocations: 2.669 MB / 459.1 MB, free: 55.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.2678, allocations: 68.72 kB / 459.2 MB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.2678, allocations: 10.12 kB / 459.2 MB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.2684, allocations: 319.1 kB / 459.5 MB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.2704, allocations: 0.9052 MB / 460.4 MB, free: 55.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.2719, allocations: 1.85 MB / 462.3 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.2733, allocations: 359.9 kB / 462.6 MB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.2735, allocations: 103.6 kB / 462.7 MB, free: 53.99 MB / 442.7 MB Warning: Assuming fixed start value for the following 31 variables: WTG4B.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4B.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG4B.injector.running:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.LvTfo.running:DISCRETE(flow=false start = WTG4B.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.HvTfo.running:DISCRETE(flow=false start = WTG4B.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.X0[1] * WTG4B.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4B.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: 41 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.WTG4B.HvTfo.state,WTG4B.HvTfo.state,$PRE.WTG4B.LvTfo.state,WTG4B.LvTfo.state,$PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.line.state,line.state,WTG4B.wecc_reec.limPIDFreeze.I.resetLocal,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.pll.integrator.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG4B.switchOffSignal1,WTG4B.switchOffSignal2,WTG4B.switchOffSignal3,$PRE.line.running,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.wecc_regc.offDelay.delaySignal,$PRE.WTG4B.wecc_regc.offDelay.tNext,$PRE.WTG4B.injector.running,$PRE.WTG4B.LvTfo.running,$PRE.WTG4B.HvTfo.running,WTG4B.wecc_regc.QConv0PuPos.k,WTG4B.wecc_regc.QConv0PuNeg.k,$PRE.WTG4B.wecc_regc.offDelay.u,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,WTG4B.wecc_regc.and2.y,WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.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 (474): * Single equations (assignments): 472 * 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.0006496/0.2741, allocations: 0.5297 MB / 463.3 MB, free: 53.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.2745, allocations: 300.7 kB / 463.6 MB, free: 53.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.2767, allocations: 1.577 MB / 465.1 MB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2767, allocations: 24.91 kB / 465.2 MB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2767, allocations: 3.188 kB / 465.2 MB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.2767, allocations: 18.14 kB / 465.2 MB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.2815, allocations: 3.727 MB / 468.9 MB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2815, allocations: 6.625 kB / 468.9 MB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.2829, allocations: 0.5489 MB / 469.5 MB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.2836, allocations: 397.6 kB / 469.9 MB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005329/0.2842, allocations: 314.4 kB / 470.2 MB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-05/0.2843, allocations: 66.61 kB / 470.2 MB, free: 53.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.2858, allocations: 1.824 MB / 472.1 MB, free: 51.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.2858, allocations: 11.06 kB / 472.1 MB, free: 51.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.2883, allocations: 2.358 MB / 474.4 MB, free: 51.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/0.2885, allocations: 78.92 kB / 474.5 MB, free: 51.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.2893, allocations: 168.9 kB / 474.7 MB, free: 51.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.2896, allocations: 249.2 kB / 474.9 MB, free: 51.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.581e-05/0.2897, allocations: 67.22 kB / 475 MB, free: 51.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.2908, allocations: 1.284 MB / 476.3 MB, free: 51.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2908, allocations: 0 / 476.3 MB, free: 51.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002401/0.2932, allocations: 1.734 MB / 478 MB, free: 51.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze2.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.wecc_repc.leadLag.x_scaled[1]) * 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,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.and1.u[2],WTG4B.wecc_regc.and1.y,WTG4B.wecc_regc.and2.y,WTG4B.injector.running,WTG4B.injector.state,WTG4B.LvTfo.running,WTG4B.LvTfo.state,WTG4B.HvTfo.running,WTG4B.HvTfo.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 10 (WTG4B.HvTfo.running,WTG4B.LvTfo.running,WTG4B.injector.running,line.running,WTG4B.wecc_regc.offDelay.u,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 239 * 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.001314/0.2945, allocations: 0.6335 MB / 478.6 MB, free: 51.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.2989, allocations: 3.983 MB / 482.6 MB, free: 48.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.603e-05/0.299, allocations: 62.48 kB / 482.7 MB, free: 48.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.2999, allocations: 0.9559 MB / 483.6 MB, free: 47.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.3014, allocations: 0.8091 MB / 484.4 MB, free: 47.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/0.3079, allocations: 6.376 MB / 490.8 MB, free: 41.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3083, allocations: 0.61 MB / 491.4 MB, free: 40.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.3096, allocations: 0.5024 MB / 491.9 MB, free: 40.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.3106, allocations: 0.6058 MB / 492.5 MB, free: 39.87 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3106, allocations: 0 / 492.5 MB, free: 39.87 MB / 442.7 MB Notification: Performance of Templates: time 0.05027/0.3609, allocations: 54.88 MB / 0.5346 GB, free: 3.023 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.31960250902921]