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.001185/0.001185, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001808/0.002993, 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.001219/0.001219, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002734, 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.8623/0.8623, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.134/0.9964, allocations: 49.5 MB / 220.5 MB, free: 1.453 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.4151/0.4151, allocations: 90.82 MB / 312.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04415/0.4593, allocations: 32.13 MB / 344.2 MB, free: 14.41 MB / 346.7 MB " [Timeout remaining time 180] 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.233e-06/1.233e-06, allocations: 0 / 345.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.118e-05, allocations: 5.688 kB / 345.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG3CurrentSource1): time 0.01335/0.01338, allocations: 16.88 MB / 362.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.02479, allocations: 8.25 MB / 370.9 MB, free: 3.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.02679, allocations: 111.2 kB / 371 MB, free: 3.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.02842, allocations: 1.128 MB / 372.1 MB, free: 2.406 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.002376/0.0308, allocations: 1.68 MB / 373.8 MB, free: 0.7148 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.004378/0.03517, allocations: 3.739 MB / 377.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004414/0.03959, allocations: 6.551 MB / 384.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.0411, allocations: 1.549 MB / 385.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.04429, allocations: 4.335 MB / 390 MB, free: 356 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.04581, allocations: 2.001 MB / 392 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005453/0.04635, allocations: 0.7031 MB / 392.7 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/0.04734, allocations: 1.046 MB / 393.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006415/0.04798, allocations: 1.137 MB / 394.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009915/0.04897, allocations: 1.411 MB / 396.3 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.05254, allocations: 4.273 MB / 400.6 MB, free: 5.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.05256, allocations: 0 / 400.6 MB, free: 5.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.05256, allocations: 0 / 400.6 MB, free: 5.742 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.05259, allocations: 0 / 400.6 MB, free: 5.742 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.008065/0.06066, allocations: 7.746 MB / 408.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.06069, allocations: 12.03 kB / 408.3 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.06348, allocations: 1.488 MB / 409.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.06598, allocations: 2.103 MB / 411.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004854/0.06646, allocations: 1.19 MB / 413.1 MB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/0.06677, allocations: 371.9 kB / 413.5 MB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.06978, allocations: 3.412 MB / 416.9 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.856e-05/0.06983, allocations: 7.938 kB / 416.9 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.07001, allocations: 152 kB / 417 MB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.07006, allocations: 88 kB / 417.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.0716, allocations: 1.093 MB / 418.2 MB, free: 3.359 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.009528/0.08112, allocations: 9.445 MB / 427.7 MB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.08332, allocations: 1.681 MB / 429.3 MB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.08388, allocations: 471.9 kB / 429.8 MB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.08406, allocations: 65.97 kB / 429.9 MB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.08518, allocations: 1.175 MB / 431 MB, free: 6.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 3.817e-06/0.08518, allocations: 7.938 kB / 431.1 MB, free: 6.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.003416/0.0886, allocations: 2.006 MB / 433.1 MB, free: 4.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.08865, allocations: 119.2 kB / 433.2 MB, free: 4.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.09071, allocations: 2.975 MB / 436.1 MB, free: 1.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.09084, allocations: 97.7 kB / 436.2 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/0.09152, allocations: 1.419 MB / 437.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/0.09204, allocations: 1.058 MB / 438.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007822/0.09282, allocations: 0.8385 MB / 439.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.09288, allocations: 301.1 kB / 439.9 MB, free: 13.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.09427, allocations: 0.7938 MB / 440.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.09583, allocations: 1.925 MB / 442.6 MB, free: 10.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.0995, allocations: 3.42 MB / 446 MB, free: 6.496 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.09951, allocations: 4 kB / 446 MB, free: 6.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization): time 0.003842/0.1034, allocations: 2.978 MB / 449 MB, free: 3.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.1034, allocations: 69.66 kB / 449 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.1034, allocations: 16 kB / 449.1 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.104, allocations: 324 kB / 449.4 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.107, allocations: 1.412 MB / 450.8 MB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.149/0.256, allocations: 1.841 MB / 452.6 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.2583, allocations: 447.5 kB / 453.1 MB, free: 63.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.2585, allocations: 120.6 kB / 453.2 MB, free: 63.43 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.002268/0.2608, allocations: 1.103 MB / 454.3 MB, free: 63.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001547/0.2623, allocations: 1.919 MB / 456.2 MB, free: 62.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003994/0.2663, allocations: 3.393 MB / 459.6 MB, free: 61.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.379e-05/0.2663, allocations: 3.219 kB / 459.6 MB, free: 61.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=584) (initialization_lambda0): time 0.00368/0.27, allocations: 2.966 MB / 462.6 MB, free: 61.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.2701, allocations: 74.45 kB / 462.6 MB, free: 61.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2701, allocations: 14.03 kB / 462.7 MB, free: 61.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.2706, allocations: 328.5 kB / 463 MB, free: 61.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.2735, allocations: 1.409 MB / 464.4 MB, free: 61.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.2751, allocations: 1.85 MB / 466.2 MB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.2764, allocations: 431.3 kB / 466.7 MB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.2766, allocations: 111.7 kB / 466.8 MB, free: 59.96 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.0006434/0.2772, allocations: 0.6014 MB / 467.4 MB, free: 59.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/0.2776, allocations: 353.3 kB / 467.7 MB, free: 59.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.2799, allocations: 1.769 MB / 469.5 MB, free: 59.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.2799, allocations: 33.72 kB / 469.5 MB, free: 59.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2799, allocations: 6.516 kB / 469.5 MB, free: 59.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.2799, allocations: 14.84 kB / 469.5 MB, free: 59.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004925/0.2848, allocations: 4.138 MB / 473.7 MB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2849, allocations: 7.344 kB / 473.7 MB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/0.2874, allocations: 0.9996 MB / 474.7 MB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/0.2882, allocations: 467.6 kB / 475.1 MB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000513/0.2887, allocations: 313.6 kB / 475.4 MB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.2888, allocations: 73.48 kB / 475.5 MB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.2903, allocations: 1.834 MB / 477.3 MB, free: 57.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2903, allocations: 11.47 kB / 477.4 MB, free: 57.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.2931, allocations: 2.624 MB / 480 MB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/0.2934, allocations: 91.84 kB / 480.1 MB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/0.2943, allocations: 194.8 kB / 480.3 MB, free: 57.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.2946, allocations: 279.7 kB / 480.5 MB, free: 57.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.2947, allocations: 75.59 kB / 480.6 MB, free: 57.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001145/0.2959, allocations: 1.558 MB / 482.2 MB, free: 56.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2959, allocations: 4 kB / 482.2 MB, free: 56.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002297/0.2982, allocations: 1.982 MB / 484.2 MB, free: 55.1 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.001186/0.2994, allocations: 0.654 MB / 484.8 MB, free: 54.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004659/0.304, allocations: 4.389 MB / 489.2 MB, free: 51.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-05/0.3041, allocations: 65.38 kB / 489.3 MB, free: 51.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.3052, allocations: 1.051 MB / 490.3 MB, free: 50.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.3068, allocations: 0.9454 MB / 491.3 MB, free: 49.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008746/0.3155, allocations: 7.814 MB / 499.1 MB, free: 42.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.316, allocations: 0.7306 MB / 499.8 MB, free: 41.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001579/0.3176, allocations: 0.5965 MB / 0.4887 GB, free: 41.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.3189, allocations: 0.7021 MB / 0.4894 GB, free: 40.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3189, allocations: 0 / 0.4894 GB, free: 40.38 MB / 442.7 MB Notification: Performance of Templates: time 0.05935/0.3782, allocations: 59 MB / 0.547 GB, free: 15.05 MB / 474.7 MB " [Timeout remaining time 660] 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: 4.733558245003223]