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.001485/0.001485, allocations: 79.69 kB / 21.73 MB, free: 2.531 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.001656/0.001656, allocations: 164.2 kB / 25.17 MB, free: 9.109 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.8495/0.8495, allocations: 158.6 MB / 187.1 MB, free: 2.656 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.3482/0.3482, allocations: 90.83 MB / 330.3 MB, free: 7.734 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 1.723e-06/1.723e-06, allocations: 0 / 377.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.265e-05, allocations: 2.312 kB / 377.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5): time 0.01492/0.01494, allocations: 17.7 MB / 395.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.03047, allocations: 8.471 MB / 404.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.03362, allocations: 119.2 kB / 404.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.03577, allocations: 1.168 MB / 405.4 MB, free: 5.207 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003021/0.03879, allocations: 1.741 MB / 407.1 MB, free: 3.469 MB / 378.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.004491/0.04329, allocations: 3.869 MB / 411 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005437/0.04872, allocations: 6.986 MB / 417.9 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.05068, allocations: 1.608 MB / 419.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.05255, allocations: 2.393 MB / 421.9 MB, free: 4.527 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.05396, allocations: 2.122 MB / 424.1 MB, free: 2.398 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005758/0.05454, allocations: 0.7272 MB / 424.8 MB, free: 1.672 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.05563, allocations: 1.078 MB / 425.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.05667, allocations: 1.562 MB / 427.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.05776, allocations: 1.881 MB / 429.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.06178, allocations: 4.861 MB / 434.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.06178, allocations: 1.875 kB / 434.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.06178, allocations: 0 / 434.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.06181, allocations: 4 kB / 434.2 MB, free: 8.258 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.009292/0.0711, allocations: 7.407 MB / 441.6 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.07114, allocations: 8.594 kB / 441.6 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.07486, allocations: 1.825 MB / 443.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.07739, allocations: 2.157 MB / 445.6 MB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006023/0.07799, allocations: 1.365 MB / 446.9 MB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.07833, allocations: 391.9 kB / 447.3 MB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.08185, allocations: 3.598 MB / 450.9 MB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.08189, allocations: 3.938 kB / 450.9 MB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.0821, allocations: 164 kB / 451.1 MB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.08214, allocations: 88 kB / 451.2 MB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.08385, allocations: 1.182 MB / 452.4 MB, free: 5.391 MB / 426.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.01012/0.09397, allocations: 9.815 MB / 462.2 MB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.09669, allocations: 1.897 MB / 464.1 MB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.09737, allocations: 0.5462 MB / 464.6 MB, free: 8.902 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.09758, allocations: 66.27 kB / 464.7 MB, free: 8.836 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.09896, allocations: 1.417 MB / 466.1 MB, free: 7.367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=340): time 4.478e-06/0.09896, allocations: 0 / 466.1 MB, free: 7.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.00578/0.1047, allocations: 3.033 MB / 469.1 MB, free: 4.305 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004472/0.1052, allocations: 0.5803 MB / 469.7 MB, free: 3.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.1075, allocations: 3.094 MB / 472.8 MB, free: 480 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.1076, allocations: 105.7 kB / 472.9 MB, free: 368 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/0.1083, allocations: 1.445 MB / 474.4 MB, free: 14.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006359/0.109, allocations: 1.193 MB / 475.5 MB, free: 13.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/0.1099, allocations: 0.8907 MB / 476.4 MB, free: 12.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004129/0.1103, allocations: 301.1 kB / 476.7 MB, free: 12.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.1116, allocations: 0.8777 MB / 477.6 MB, free: 11.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.1134, allocations: 2.047 MB / 479.7 MB, free: 9.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.1177, allocations: 3.791 MB / 483.5 MB, free: 5.082 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.1177, allocations: 8 kB / 483.5 MB, free: 5.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=637) (initialization): time 0.004661/0.1224, allocations: 3.457 MB / 486.9 MB, free: 1.539 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.1225, allocations: 69.61 kB / 487 MB, free: 1.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.1225, allocations: 15.98 kB / 487 MB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.1235, allocations: 0.6422 MB / 487.6 MB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.1264, allocations: 1.389 MB / 489 MB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.1295, allocations: 2.556 MB / 491.6 MB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.1309, allocations: 481.3 kB / 492.1 MB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.1311, allocations: 124 kB / 492.2 MB, free: 12.18 MB / 474.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.002/0.1331, allocations: 1.222 MB / 493.4 MB, free: 10.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001713/0.1348, allocations: 2.043 MB / 495.4 MB, free: 8.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004309/0.1391, allocations: 3.765 MB / 499.2 MB, free: 4.484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/0.1391, allocations: 4 kB / 499.2 MB, free: 4.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.004656/0.1438, allocations: 3.457 MB / 0.4909 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.1438, allocations: 69.66 kB / 0.491 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.1438, allocations: 16 kB / 0.491 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009898/0.1448, allocations: 0.6372 MB / 0.4916 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/0.148, allocations: 1.369 MB / 0.4929 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.1509, allocations: 2.56 MB / 0.4954 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.1524, allocations: 457.8 kB / 0.4959 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.1526, allocations: 124 kB / 0.496 GB, free: 11.62 MB / 490.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.0008217/0.1534, allocations: 0.6583 MB / 0.4966 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/0.1539, allocations: 391.5 kB / 0.497 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/0.1573, allocations: 2.253 MB / 0.4992 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.1573, allocations: 32 kB / 0.4992 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1573, allocations: 4 kB / 0.4992 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.1573, allocations: 27.86 kB / 0.4993 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006694/0.164, allocations: 4.795 MB / 0.5039 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.164, allocations: 8 kB / 0.5039 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/0.1666, allocations: 0.9954 MB / 0.5049 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009879/0.1676, allocations: 0.6019 MB / 0.5055 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.1678, allocations: 91.95 kB / 0.5056 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.171, allocations: 2.555 MB / 0.5081 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.171, allocations: 15.88 kB / 0.5081 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00415/0.1751, allocations: 3.185 MB / 0.5112 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009127/0.1761, allocations: 0.4923 MB / 0.5117 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.1764, allocations: 95.98 kB / 0.5118 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.1774, allocations: 215.8 kB / 0.512 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/0.1778, allocations: 325.8 kB / 0.5123 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.1779, allocations: 87.95 kB / 0.5124 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001602/0.1795, allocations: 1.618 MB / 0.514 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.1795, allocations: 0 / 0.514 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00307/0.1826, allocations: 2.175 MB / 0.5161 GB, free: 6.602 MB / 0.4948 GB 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.001167/0.1838, allocations: 0.6287 MB / 0.5167 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006578/0.1904, allocations: 5.042 MB / 0.5216 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.503e-05/0.1904, allocations: 45 kB / 0.5217 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.192, allocations: 1.321 MB / 0.523 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.1939, allocations: 0.7923 MB / 0.5237 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009862/0.2037, allocations: 8.145 MB / 0.5317 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.2052, allocations: 1.987 MB / 0.5336 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.207, allocations: 0.7899 MB / 0.5344 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.207, allocations: 0 / 0.5344 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of Templates: time 0.2399/0.4469, allocations: 88.87 MB / 0.6212 GB, free: 70.54 MB / 0.5105 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 > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.552530781365931]