Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.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.0008856/0.0008856, allocations: 80.83 kB / 21.61 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 171.5 kB / 25.04 MB, free: 8.699 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8881/0.8881, allocations: 158.6 MB / 186.9 MB, free: 2.73 MB / 170.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.4338/0.4338, allocations: 90.83 MB / 330.1 MB, free: 14.23 MB / 314.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) Running command: translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5,tolerance=0.001,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5,tolerance=0.001,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 381.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.177e-05, allocations: 2.312 kB / 381.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5): time 0.01643/0.01645, allocations: 17.71 MB / 399.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.03058, allocations: 8.456 MB / 408 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.03314, allocations: 123.2 kB / 408.1 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.03484, allocations: 1.17 MB / 409.3 MB, free: 15.41 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002643/0.03748, allocations: 1.742 MB / 411 MB, free: 13.65 MB / 394.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 deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.0421, allocations: 3.872 MB / 414.9 MB, free: 9.773 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005204/0.0473, allocations: 6.986 MB / 421.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.04913, allocations: 1.6 MB / 423.5 MB, free: 1.078 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.05143, allocations: 2.395 MB / 425.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.05287, allocations: 2.126 MB / 428 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007066/0.05358, allocations: 0.7305 MB / 428.7 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.05469, allocations: 1.07 MB / 429.8 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.05543, allocations: 1.557 MB / 431.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.05653, allocations: 1.885 MB / 433.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004284/0.06082, allocations: 4.865 MB / 438.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.06082, allocations: 0 / 438.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.06082, allocations: 0 / 438.1 MB, free: 2.406 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.06e-05/0.06085, allocations: 4 kB / 438.1 MB, free: 2.402 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 936 * Number of variables: 936 Notification: Performance of Generate backend data structure: time 0.008695/0.06955, allocations: 7.406 MB / 445.5 MB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.06958, allocations: 12.03 kB / 445.5 MB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/0.07338, allocations: 1.831 MB / 447.3 MB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.07574, allocations: 2.156 MB / 449.5 MB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006727/0.07641, allocations: 1.353 MB / 450.9 MB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.07675, allocations: 395.9 kB / 451.2 MB, free: 4.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.07988, allocations: 3.602 MB / 454.8 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.07993, allocations: 7.938 kB / 454.9 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.08013, allocations: 160 kB / 455 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.08017, allocations: 88 kB / 455.1 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.08177, allocations: 1.19 MB / 456.3 MB, free: 15.47 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009674/0.09145, allocations: 9.823 MB / 466.1 MB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.09383, allocations: 1.873 MB / 468 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.09449, allocations: 0.5408 MB / 468.5 MB, free: 2.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.0947, allocations: 82.19 kB / 468.6 MB, free: 2.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.09602, allocations: 1.413 MB / 470 MB, free: 1.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=340): time 4.228e-06/0.09602, allocations: 4 kB / 470 MB, free: 1.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1975/0.2935, allocations: 3.017 MB / 473 MB, free: 68.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.2937, allocations: 0.5898 MB / 473.6 MB, free: 67.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.2969, allocations: 3.093 MB / 476.7 MB, free: 67.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.2971, allocations: 107 kB / 476.8 MB, free: 67.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009025/0.298, allocations: 1.449 MB / 478.3 MB, free: 67.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006981/0.2987, allocations: 1.187 MB / 479.5 MB, free: 66.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009955/0.2997, allocations: 0.8929 MB / 480.4 MB, free: 66.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.2998, allocations: 302.4 kB / 480.6 MB, free: 66.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3012, allocations: 0.8751 MB / 481.5 MB, free: 66.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.3028, allocations: 2.056 MB / 483.6 MB, free: 64.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.3068, allocations: 3.785 MB / 487.4 MB, free: 63.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.3068, allocations: 5.969 kB / 487.4 MB, free: 63.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=637) (initialization): time 0.004864/0.3117, allocations: 3.46 MB / 490.8 MB, free: 63.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.3118, allocations: 70.17 kB / 490.9 MB, free: 63.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.3118, allocations: 11.38 kB / 490.9 MB, free: 63.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3129, allocations: 0.6299 MB / 491.5 MB, free: 63.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.3157, allocations: 1.393 MB / 492.9 MB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.3184, allocations: 2.567 MB / 495.5 MB, free: 62.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.3199, allocations: 472.5 kB / 496 MB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.32, allocations: 129.8 kB / 496.1 MB, free: 62.24 MB / 442.7 MB Warning: Assuming fixed start value for the following 42 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line22.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line22.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line21.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line21.State0 fixed = true ) \"Line 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 line21.running:DISCRETE(flow=false start = line21.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line22.running:DISCRETE(flow=false start = line22.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001926/0.322, allocations: 1.22 MB / 497.3 MB, free: 62.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/0.3235, allocations: 2.047 MB / 499.4 MB, free: 60.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003608/0.3271, allocations: 3.752 MB / 0.4913 GB, free: 57.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/0.3271, allocations: 4 kB / 0.4913 GB, free: 57.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.00422/0.3313, allocations: 3.459 MB / 0.4947 GB, free: 55.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.3313, allocations: 70.66 kB / 0.4948 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.3314, allocations: 20 kB / 0.4948 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008772/0.3322, allocations: 0.6391 MB / 0.4954 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.3348, allocations: 1.372 MB / 0.4967 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.3372, allocations: 2.56 MB / 0.4992 GB, free: 50.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.3386, allocations: 454 kB / 0.4997 GB, free: 50.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.3388, allocations: 127.8 kB / 0.4998 GB, free: 50.5 MB / 442.7 MB Warning: Assuming fixed start value for the following 42 variables: Unit.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.LvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Unit.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Unit.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line22.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line22.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line21.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line21.State0 fixed = true ) \"Line 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 line21.running:DISCRETE(flow=false start = line21.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line22.running:DISCRETE(flow=false start = line22.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean Unit.HvTfo.running:DISCRETE(flow=false start = Unit.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_wtgp.limitedIntegrator.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgp.limitedIntegrator1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.limitedIntegrator1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_wtgq.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_wtgp.omegaRefWTGQ0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_wtgq.limitedIntegratorFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgq.limitedIntegratorFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean Unit.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real Unit.wecc_repc.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = Unit.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = Unit.wecc_repc.leadLag.X0[1] * Unit.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Unit.injector.running:DISCRETE(flow=false start = Unit.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.wecc_reec.firstOrder.y:VARIABLE(flow=false start = Unit.wecc_reec.UConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = Unit.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = Unit.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = Unit.wecc_wtgp.PConv0Pu fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = Unit.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real Unit.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real Unit.LvTfo.running:DISCRETE(flow=false start = Unit.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Unit.Pm0Pu:VARIABLE(unit = \"1\" fixed = true ) \"Initial mechanical power in pu (base SNom)\" type: Real Unit.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Unit.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: 57 * Number of states: 0 () * Number of discrete variables: 99 ($PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.line22.state,line22.state,$PRE.line21.state,line21.state,$PRE.line.state,line.state,$whenCondition12,$whenCondition13,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.pll.integrator.local_reset,Unit.pll.limIntegrator.local_reset,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.injector.switchOffSignal1,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal3,line.switchOffSignal1,line.switchOffSignal2,$PRE.line.running,$PRE.line21.running,$PRE.line22.running,$PRE.nodeFault.nodeFault,$PRE.Unit.HvTfo.running,$PRE.Unit.wecc_regc.offDelay.delaySignal,$PRE.Unit.wecc_regc.offDelay.tNext,$PRE.Unit.injector.running,$PRE.Unit.wecc_reec.iqInjectionLogic.vDip,$PRE.Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.Unit.LvTfo.running,Unit.wecc_regc.QConv0PuPos.k,Unit.wecc_regc.QConv0PuNeg.k,$PRE.Unit.wecc_reec.currentLimitsCalculation1.vDip,$PRE.Unit.wecc_regc.offDelay.u,Unit.LvTfo.running,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.injector.running,Unit.wecc_repc.freeze,Unit.wecc_regc.and2.y,Unit.wecc_regc.and1.y,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.u,Unit.HvTfo.running,nodeFault.nodeFault,line22.running,line22.switchOffSignal2,line22.switchOffSignal1,line21.running,line21.switchOffSignal2,line21.switchOffSignal1,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition11,$whenCondition10,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition18,$whenCondition17,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition25,$whenCondition24,$whenCondition27,$whenCondition26,$whenCondition29,$whenCondition28,$whenCondition30) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (585): * Single equations (assignments): 583 * 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 {(22,6,21.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006091/0.3394, allocations: 0.6503 MB / 0.5004 GB, free: 50.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/0.3398, allocations: 392.7 kB / 0.5008 GB, free: 49.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.3426, allocations: 2.241 MB / 0.503 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3426, allocations: 32.77 kB / 0.503 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3426, allocations: 4 kB / 0.503 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.3426, allocations: 23.92 kB / 0.5031 GB, free: 47.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.3481, allocations: 4.796 MB / 0.5077 GB, free: 43.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3481, allocations: 8 kB / 0.5077 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002346/0.3504, allocations: 0.9918 MB / 0.5087 GB, free: 42.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/0.3513, allocations: 0.6134 MB / 0.5093 GB, free: 42.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.3515, allocations: 89.89 kB / 0.5094 GB, free: 42.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.354, allocations: 2.556 MB / 0.5119 GB, free: 39.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.354, allocations: 11.47 kB / 0.5119 GB, free: 39.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.3575, allocations: 3.198 MB / 0.515 GB, free: 36.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007838/0.3583, allocations: 0.4892 MB / 0.5155 GB, free: 36.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.3586, allocations: 95.98 kB / 0.5156 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.3595, allocations: 215.8 kB / 0.5158 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.3599, allocations: 321.1 kB / 0.5161 GB, free: 35.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.36, allocations: 91.94 kB / 0.5162 GB, free: 35.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.3611, allocations: 1.622 MB / 0.5178 GB, free: 34.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 0 / 0.5178 GB, free: 34.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002731/0.3638, allocations: 2.167 MB / 0.5199 GB, free: 31.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 28 (Unit.wecc_wtgp.limitedIntegrator.y,Unit.wecc_wtgp.limitedIntegrator1.y,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.y,Unit.wecc_wtgq.firstOrder.y,Unit.wecc_wtgq.firstOrder1.y,Unit.wecc_wtgq.limitedIntegratorFreeze.y,Unit.wecc_wtgt.dPhi.y,Unit.wecc_wtgt.dOmegaTurbine.y,Unit.wecc_wtgt.dOmegaGenerator.y,Unit.wecc_regc.rateLimFirstOrderFreeze2.y,Unit.wecc_regc.rateLimFirstOrderFreeze1.y,Unit.wecc_regc.firstOrder.y,Unit.wecc_repc.firstOrder.y,Unit.wecc_repc.limPID.I.y,Unit.wecc_repc.firstOrder1.y,Unit.wecc_repc.firstOrder2.y,Unit.wecc_repc.firstOrder3.y,Unit.wecc_repc.limPIDFreeze.I.y,Unit.wecc_repc.leadLag.x_scaled[1],Unit.pll.integrator.y,Unit.pll.limIntegrator.y,Unit.wecc_reec.firstOrder.y,Unit.wecc_reec.firstOrder1.y,Unit.wecc_reec.limPIDFreeze.I.y,Unit.wecc_reec.rateLimFirstOrderFreeze1.y,Unit.wecc_reec.slewRateLimiter.y,Unit.wecc_reec.rateLimFirstOrderFreeze.y,Unit.wecc_reec.varLimPIDFreeze.I.y) * Number of discrete variables: 59 ($whenCondition30,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition24,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition21,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,line21.switchOffSignal1,line21.switchOffSignal2,line21.running,line21.state,line22.switchOffSignal1,line22.switchOffSignal2,line22.running,line22.state,nodeFault.nodeFault,Unit.HvTfo.running,Unit.HvTfo.state,Unit.wecc_regc.offDelay.u,Unit.wecc_regc.offDelay.delaySignal,Unit.wecc_regc.offDelay.tNext,Unit.wecc_regc.and1.u[2],Unit.wecc_regc.and1.y,Unit.wecc_regc.and2.y,Unit.wecc_repc.freeze,Unit.injector.running,Unit.injector.state,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.LvTfo.running,Unit.LvTfo.state) * Number of discrete states: 12 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,line.running,line21.running,line22.running,Unit.wecc_regc.offDelay.u,Unit.wecc_reec.currentLimitsCalculation1.vDip,Unit.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,Unit.wecc_reec.currentLimitsCalculation1.ipMaxPu,Unit.wecc_reec.iqInjectionLogic.vDip,Unit.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (323): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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 {(21,7,24.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.365, allocations: 0.6331 MB / 0.5205 GB, free: 31.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005349/0.3703, allocations: 5.062 MB / 0.5255 GB, free: 26.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.912e-05/0.3703, allocations: 44.5 kB / 0.5255 GB, free: 26.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.3717, allocations: 1.315 MB / 0.5268 GB, free: 25.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3733, allocations: 0.805 MB / 0.5276 GB, free: 24.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/0.3812, allocations: 8.029 MB / 0.5354 GB, free: 16.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.3817, allocations: 0.7774 MB / 0.5362 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001656/0.3834, allocations: 0.622 MB / 0.5368 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.3847, allocations: 0.7508 MB / 0.5375 GB, free: 14.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/0.3847, allocations: 0 / 0.5375 GB, free: 14.34 MB / 442.7 MB Notification: Performance of Templates: time 0.07422/0.4589, allocations: 69.42 MB / 0.6053 GB, free: 9.41 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.pipe >> ../files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.sim & ./Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.992465334013104]