Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007062/0.0007062, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002048, allocations: 440 kB / 10.41 MB, free: 284 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.0009506/0.0009506, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002196, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9081/0.9081, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1633/1.071, allocations: 49.5 MB / 220.7 MB, free: 1.348 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4796/0.4796, allocations: 90.84 MB / 312.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06417/0.5438, allocations: 32.15 MB / 344.4 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 346 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.981e-05, allocations: 5.406 kB / 346 MB, free: 12.76 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.02247/0.0225, allocations: 16.89 MB / 362.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02244/0.04494, allocations: 8.257 MB / 371.1 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006972/0.05191, allocations: 115.2 kB / 371.2 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004971/0.05689, allocations: 1.124 MB / 372.3 MB, free: 2.281 MB / 362.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.006021/0.06291, allocations: 1.672 MB / 374 MB, free: 0.5977 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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 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.00659/0.0695, allocations: 3.747 MB / 377.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008771/0.07827, allocations: 6.544 MB / 384.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.08166, allocations: 1.556 MB / 385.9 MB, free: 4.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007318/0.08898, allocations: 4.34 MB / 390.2 MB, free: 228 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.09179, allocations: 1.997 MB / 392.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.09331, allocations: 0.7031 MB / 392.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.0954, allocations: 1.039 MB / 393.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.09653, allocations: 1.141 MB / 395.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.09835, allocations: 1.419 MB / 396.5 MB, free: 9.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00581/0.1042, allocations: 4.269 MB / 400.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-05/0.1042, allocations: 0 / 400.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1042, allocations: 0 / 400.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.107e-05/0.1043, allocations: 3.984 kB / 400.8 MB, free: 5.621 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01023/0.1145, allocations: 7.742 MB / 408.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1145, allocations: 8.031 kB / 408.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.1177, allocations: 1.492 MB / 410 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.1207, allocations: 2.103 MB / 412.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/0.1213, allocations: 1.179 MB / 413.3 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.1216, allocations: 379.9 kB / 413.7 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.125, allocations: 3.416 MB / 417.1 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.1251, allocations: 7.938 kB / 417.1 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.1253, allocations: 152 kB / 417.2 MB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.1253, allocations: 88 kB / 417.3 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.127, allocations: 1.089 MB / 418.4 MB, free: 3.242 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.01222/0.1392, allocations: 9.433 MB / 427.9 MB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.1416, allocations: 1.694 MB / 429.5 MB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/0.1422, allocations: 471.5 kB / 430 MB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.1424, allocations: 65.97 kB / 430.1 MB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.1437, allocations: 1.175 MB / 431.2 MB, free: 6.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 4.428e-06/0.1437, allocations: 0 / 431.2 MB, free: 6.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.003723/0.1474, allocations: 2.01 MB / 433.3 MB, free: 4.062 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1474, allocations: 123.2 kB / 433.4 MB, free: 3.922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.1501, allocations: 2.971 MB / 436.3 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.1503, allocations: 97.7 kB / 436.4 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008651/0.1512, allocations: 1.423 MB / 437.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000726/0.1519, allocations: 1.058 MB / 438.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008629/0.1528, allocations: 0.8346 MB / 439.8 MB, free: 13.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.1528, allocations: 305.1 kB / 440.1 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.154, allocations: 0.7899 MB / 440.8 MB, free: 12.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.1557, allocations: 1.925 MB / 442.8 MB, free: 10.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/0.1597, allocations: 3.588 MB / 446.4 MB, free: 6.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.1597, allocations: 0 / 446.4 MB, free: 6.207 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization): time 0.004376/0.1641, allocations: 2.982 MB / 449.3 MB, free: 3.156 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.1642, allocations: 73.66 kB / 449.4 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.1642, allocations: 12 kB / 449.4 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007365/0.1649, allocations: 320.5 kB / 449.7 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.168, allocations: 1.416 MB / 451.2 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2096/0.3777, allocations: 1.84 MB / 453 MB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.3807, allocations: 450.7 kB / 453.4 MB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/0.3811, allocations: 116.9 kB / 453.6 MB, free: 63.61 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003062/0.3842, allocations: 1.102 MB / 454.7 MB, free: 63.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001952/0.3862, allocations: 1.921 MB / 456.6 MB, free: 62.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005625/0.3918, allocations: 3.563 MB / 460.1 MB, free: 61.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.304e-05/0.3918, allocations: 3.062 kB / 460.1 MB, free: 61.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization_lambda0): time 0.00477/0.3966, allocations: 2.972 MB / 463.1 MB, free: 61.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.3966, allocations: 73.02 kB / 463.2 MB, free: 61.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3967, allocations: 9.25 kB / 463.2 MB, free: 61.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/0.3973, allocations: 329.3 kB / 463.5 MB, free: 61.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/0.4004, allocations: 1.407 MB / 464.9 MB, free: 61.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.4022, allocations: 1.852 MB / 466.8 MB, free: 60.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.4046, allocations: 434.3 kB / 467.2 MB, free: 60.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.4048, allocations: 116.2 kB / 467.3 MB, free: 60.11 MB / 442.7 MB Warning: Assuming fixed start value for the following 36 variables: WTG3.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG3.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG3.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.HvTfo.running:DISCRETE(flow=false start = WTG3.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG3.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real WTG3.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG3.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG3.wecc_repc.leadLag.X0[1] * WTG3.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG3.injector.running:DISCRETE(flow=false start = WTG3.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG3.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG3.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG3.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG3.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG3.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG3.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG3.LvTfo.running:DISCRETE(flow=false start = WTG3.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean WTG3.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG3.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.WTG3.LvTfo.state,WTG3.LvTfo.state,$PRE.WTG3.injector.state,WTG3.injector.state,$PRE.WTG3.HvTfo.state,WTG3.HvTfo.state,$PRE.line.state,line.state,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,WTG3.wecc_wtgt.dPhi.local_reset,WTG3.wecc_wtgt.dOmegaTurbine.local_reset,WTG3.wecc_wtgt.dOmegaGenerator.local_reset,WTG3.wecc_repc.limPID.I.local_reset,WTG3.wecc_repc.limPIDFreeze.I.resetLocal,WTG3.pll.integrator.local_reset,WTG3.pll.limIntegrator.local_reset,WTG3.wecc_reec.limPIDFreeze.I.resetLocal,WTG3.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG3.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,WTG3.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,line.switchOffSignal1,line.switchOffSignal2,WTG3.injector.switchOffSignal1,WTG3.injector.switchOffSignal2,WTG3.injector.switchOffSignal3,$PRE.line.running,$PRE.WTG3.HvTfo.running,$PRE.WTG3.wecc_regc.offDelay.delaySignal,$PRE.WTG3.wecc_regc.offDelay.tNext,$PRE.WTG3.injector.running,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG3.LvTfo.running,WTG3.wecc_regc.QConv0PuPos.k,WTG3.wecc_regc.QConv0PuNeg.k,$PRE.WTG3.wecc_reec.currentLimitsCalculation1.vDip,$PRE.WTG3.wecc_regc.offDelay.u,WTG3.LvTfo.running,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.injector.running,WTG3.wecc_repc.freeze,WTG3.wecc_regc.and2.y,WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.u,WTG3.HvTfo.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (545): * Single equations (assignments): 543 * 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.0009693/0.4058, allocations: 0.5905 MB / 467.9 MB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/0.4065, allocations: 357.5 kB / 468.2 MB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.4092, allocations: 1.769 MB / 470 MB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4092, allocations: 28.25 kB / 470 MB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.4092, allocations: 3.969 kB / 470.1 MB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.4092, allocations: 16.83 kB / 470.1 MB, free: 59.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006543/0.4157, allocations: 4.143 MB / 474.2 MB, free: 59.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.4158, allocations: 4.328 kB / 474.2 MB, free: 59.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/0.4183, allocations: 0.997 MB / 475.2 MB, free: 59.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.4196, allocations: 468.7 kB / 475.7 MB, free: 59.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000635/0.4203, allocations: 315 kB / 476 MB, free: 59.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.4204, allocations: 74.08 kB / 476 MB, free: 59.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.4221, allocations: 1.827 MB / 477.9 MB, free: 57.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4222, allocations: 14.7 kB / 477.9 MB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.4256, allocations: 2.633 MB / 480.5 MB, free: 57.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00063/0.4262, allocations: 86.36 kB / 480.6 MB, free: 57.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.4274, allocations: 193.6 kB / 480.8 MB, free: 57.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.4278, allocations: 287.4 kB / 481.1 MB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4279, allocations: 74.75 kB / 481.2 MB, free: 57.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00177/0.4297, allocations: 1.558 MB / 482.7 MB, free: 56.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4297, allocations: 8 kB / 482.7 MB, free: 56.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00358/0.4333, allocations: 1.977 MB / 484.7 MB, free: 54.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 28 (WTG3.wecc_wtgp.limitedIntegrator.y,WTG3.wecc_wtgp.limitedIntegrator1.y,WTG3.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,WTG3.wecc_wtgq.firstOrder.y,WTG3.wecc_wtgq.firstOrder1.y,WTG3.wecc_wtgq.limitedIntegratorFreeze.y,WTG3.wecc_wtgt.dPhi.y,WTG3.wecc_wtgt.dOmegaTurbine.y,WTG3.wecc_wtgt.dOmegaGenerator.y,WTG3.wecc_regc.rateLimFirstOrderFreeze2.y,WTG3.wecc_regc.rateLimFirstOrderFreeze1.y,WTG3.wecc_regc.firstOrder.y,WTG3.wecc_repc.firstOrder.y,WTG3.wecc_repc.limPID.I.y,WTG3.wecc_repc.firstOrder1.y,WTG3.wecc_repc.firstOrder2.y,WTG3.wecc_repc.firstOrder3.y,WTG3.wecc_repc.limPIDFreeze.I.y,WTG3.wecc_repc.leadLag.x_scaled[1],WTG3.pll.integrator.y,WTG3.pll.limIntegrator.y,WTG3.wecc_reec.firstOrder.y,WTG3.wecc_reec.firstOrder1.y,WTG3.wecc_reec.limPIDFreeze.I.y,WTG3.wecc_reec.rateLimFirstOrderFreeze1.y,WTG3.wecc_reec.slewRateLimiter.y,WTG3.wecc_reec.rateLimFirstOrderFreeze.y,WTG3.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,WTG3.HvTfo.running,WTG3.HvTfo.state,WTG3.wecc_regc.offDelay.u,WTG3.wecc_regc.offDelay.delaySignal,WTG3.wecc_regc.offDelay.tNext,WTG3.wecc_regc.and1.u[2],WTG3.wecc_regc.and1.y,WTG3.wecc_regc.and2.y,WTG3.wecc_repc.freeze,WTG3.injector.running,WTG3.injector.state,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.LvTfo.running,WTG3.LvTfo.state) * Number of discrete states: 10 (WTG3.LvTfo.running,WTG3.injector.running,WTG3.HvTfo.running,line.running,WTG3.wecc_regc.offDelay.u,WTG3.wecc_reec.currentLimitsCalculation1.vDip,WTG3.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG3.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG3.wecc_reec.iqInjectionLogic.vDip,WTG3.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 276 * 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.001383/0.4346, allocations: 0.6606 MB / 485.4 MB, free: 54.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006215/0.4409, allocations: 4.477 MB / 489.8 MB, free: 51.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001095/0.441, allocations: 64.38 kB / 489.9 MB, free: 51.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.4427, allocations: 1.207 MB / 491.1 MB, free: 50.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.4459, allocations: 3.225 MB / 494.3 MB, free: 46.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4565, allocations: 7.816 MB / 0.4904 GB, free: 39.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.4571, allocations: 0.7358 MB / 0.4911 GB, free: 38.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002303/0.4594, allocations: 0.5851 MB / 0.4917 GB, free: 38.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.4609, allocations: 0.7231 MB / 0.4924 GB, free: 37.33 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/0.4609, allocations: 0 / 0.4924 GB, free: 37.33 MB / 442.7 MB Notification: Performance of Templates: time 0.0711/0.532, allocations: 60.04 MB / 0.551 GB, free: 10.67 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG3CurrentSource1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.106457395479083]