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.0008973/0.0008973, allocations: 83.75 kB / 20.94 MB, free: 3.336 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.00351/0.00351, allocations: 152.8 kB / 24.36 MB, free: 8.5 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.846/0.846, allocations: 158.6 MB / 186.3 MB, free: 2.648 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.4694/0.4694, allocations: 90.83 MB / 329.5 MB, free: 14.15 MB / 314.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) 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 2.003e-06/2.003e-06, allocations: 0 / 381.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.148e-05, allocations: 6.312 kB / 381.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5): time 0.01503/0.01506, allocations: 17.71 MB / 399 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.02864, allocations: 8.468 MB / 407.4 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.03203, allocations: 115.2 kB / 407.5 MB, free: 460 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.03436, allocations: 1.166 MB / 408.7 MB, free: 15.27 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.003694/0.03805, allocations: 1.742 MB / 410.4 MB, free: 13.52 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.005289/0.04334, allocations: 3.876 MB / 414.3 MB, free: 9.637 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006528/0.04987, allocations: 6.978 MB / 421.3 MB, free: 2.641 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.05212, allocations: 1.612 MB / 422.9 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.05467, allocations: 2.388 MB / 425.3 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.05641, allocations: 2.126 MB / 427.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006693/0.05708, allocations: 0.7266 MB / 428.2 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.05821, allocations: 1.074 MB / 429.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008068/0.05902, allocations: 1.565 MB / 430.8 MB, free: 9.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.06034, allocations: 1.881 MB / 432.7 MB, free: 7.152 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004496/0.06484, allocations: 4.861 MB / 437.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.06485, allocations: 8 kB / 437.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.06485, allocations: 0 / 437.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.945e-05/0.06492, allocations: 0 / 437.5 MB, free: 2.266 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.01002/0.07494, allocations: 7.405 MB / 444.9 MB, free: 10.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.07498, allocations: 12.03 kB / 445 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.07891, allocations: 1.819 MB / 446.8 MB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002826/0.08174, allocations: 2.161 MB / 448.9 MB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006032/0.08234, allocations: 1.365 MB / 450.3 MB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/0.08271, allocations: 399.9 kB / 450.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.08612, allocations: 3.594 MB / 454.3 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.08617, allocations: 3.938 kB / 454.3 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.08638, allocations: 164 kB / 454.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/0.08642, allocations: 92 kB / 454.5 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.08819, allocations: 1.183 MB / 455.7 MB, free: 15.34 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.01048/0.09867, allocations: 9.827 MB / 465.6 MB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/0.1012, allocations: 1.876 MB / 467.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.102, allocations: 0.5447 MB / 468 MB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.1022, allocations: 66.27 kB / 468 MB, free: 2.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/0.1038, allocations: 1.421 MB / 469.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=340): time 6.873e-06/0.1038, allocations: 0 / 469.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1808/0.2846, allocations: 3.02 MB / 472.5 MB, free: 68.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.2847, allocations: 0.5834 MB / 473.1 MB, free: 67.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.2876, allocations: 3.092 MB / 476.2 MB, free: 67.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.2878, allocations: 111 kB / 476.3 MB, free: 67.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.2885, allocations: 1.442 MB / 477.7 MB, free: 67.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.2891, allocations: 1.192 MB / 478.9 MB, free: 66.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000955/0.2901, allocations: 0.8893 MB / 479.8 MB, free: 66.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.2901, allocations: 302.5 kB / 480.1 MB, free: 66.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.2914, allocations: 0.8775 MB / 481 MB, free: 65.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.293, allocations: 2.049 MB / 483 MB, free: 64.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/0.297, allocations: 3.783 MB / 486.8 MB, free: 63.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.297, allocations: 3.031 kB / 486.8 MB, free: 63.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=637) (initialization): time 0.004835/0.3019, allocations: 3.465 MB / 490.3 MB, free: 63.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.3019, allocations: 76.27 kB / 490.3 MB, free: 63.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.3019, allocations: 14.91 kB / 490.3 MB, free: 63.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.3031, allocations: 0.6311 MB / 491 MB, free: 63.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.3062, allocations: 1.387 MB / 492.4 MB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.309, allocations: 2.57 MB / 494.9 MB, free: 62.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.3106, allocations: 473.4 kB / 495.4 MB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.3108, allocations: 127.6 kB / 495.5 MB, free: 62.16 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.002046/0.3128, allocations: 1.225 MB / 496.7 MB, free: 61.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001467/0.3143, allocations: 2.047 MB / 498.8 MB, free: 60.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003766/0.3181, allocations: 3.758 MB / 0.4908 GB, free: 57.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.217e-05/0.3181, allocations: 4 kB / 0.4908 GB, free: 57.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.004328/0.3224, allocations: 3.455 MB / 0.4942 GB, free: 54.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.3224, allocations: 68.98 kB / 0.4942 GB, free: 54.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3225, allocations: 12 kB / 0.4942 GB, free: 54.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009181/0.3234, allocations: 0.6334 MB / 0.4948 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/0.3262, allocations: 1.381 MB / 0.4962 GB, free: 52.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.3288, allocations: 2.561 MB / 0.4987 GB, free: 50.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.3303, allocations: 456.8 kB / 0.4991 GB, free: 50.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.3305, allocations: 128.1 kB / 0.4993 GB, free: 50.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: 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.0007315/0.3312, allocations: 0.6464 MB / 0.4999 GB, free: 49.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.3317, allocations: 391.2 kB / 0.5003 GB, free: 49.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.3348, allocations: 2.237 MB / 0.5024 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3348, allocations: 36 kB / 0.5025 GB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3348, allocations: 4 kB / 0.5025 GB, free: 47.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.3348, allocations: 19.92 kB / 0.5025 GB, free: 47.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/0.341, allocations: 4.802 MB / 0.5072 GB, free: 43.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.341, allocations: 15.17 kB / 0.5072 GB, free: 43.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/0.3435, allocations: 0.9964 MB / 0.5082 GB, free: 42.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.3447, allocations: 0.6108 MB / 0.5088 GB, free: 42.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/0.3449, allocations: 84.77 kB / 0.5089 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003455/0.3484, allocations: 2.55 MB / 0.5113 GB, free: 39.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3484, allocations: 11.41 kB / 0.5114 GB, free: 39.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/0.3532, allocations: 3.199 MB / 0.5145 GB, free: 36.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.3543, allocations: 0.4922 MB / 0.515 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.3547, allocations: 95.98 kB / 0.5151 GB, free: 35.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.3561, allocations: 215.8 kB / 0.5153 GB, free: 35.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005425/0.3567, allocations: 328.8 kB / 0.5156 GB, free: 35.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/0.3568, allocations: 87.95 kB / 0.5157 GB, free: 35.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.3584, allocations: 1.618 MB / 0.5172 GB, free: 33.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3584, allocations: 4 kB / 0.5172 GB, free: 33.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003492/0.3619, allocations: 2.163 MB / 0.5194 GB, free: 31.66 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.001365/0.3632, allocations: 0.6403 MB / 0.52 GB, free: 31.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01054/0.3738, allocations: 5.059 MB / 0.5249 GB, free: 26.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.106e-05/0.3738, allocations: 44.5 kB / 0.525 GB, free: 26.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.3758, allocations: 1.319 MB / 0.5262 GB, free: 25.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/0.3813, allocations: 0.7825 MB / 0.527 GB, free: 24.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/0.405, allocations: 8.038 MB / 0.5349 GB, free: 16.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.4057, allocations: 0.7812 MB / 0.5356 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005024/0.4107, allocations: 0.6192 MB / 0.5362 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/0.4135, allocations: 0.747 MB / 0.537 GB, free: 14.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4135, allocations: 4 kB / 0.537 GB, free: 14.13 MB / 442.7 MB Notification: Performance of Templates: time 0.08209/0.4955, allocations: 69.5 MB / 0.6048 GB, free: 9.121 MB / 0.4948 GB " [Timeout remaining time 659] 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: 5.629464951343834]