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.002653/0.002653, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.003121/0.003121, allocations: 173.2 kB / 23.23 MB, free: 1.328 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 1.384/1.384, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 178] 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.6926/0.6926, allocations: 90.82 MB / 328.1 MB, free: 14.53 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.733e-06/1.733e-06, allocations: 0 / 0.4969 GB, free: 18.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.356e-05, allocations: 3.625 kB / 0.4969 GB, free: 18.89 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI5): time 0.01763/0.01765, allocations: 17.08 MB / 0.5136 GB, free: 7.441 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.0325, allocations: 8.084 MB / 0.5215 GB, free: 1.578 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.03708, allocations: 120.1 kB / 0.5216 GB, free: 1.527 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.04035, allocations: 1.158 MB / 0.5227 GB, free: 0.6758 MB / 442.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.006592/0.04694, allocations: 1.729 MB / 0.5244 GB, free: 15.23 MB / 458.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.009459/0.0564, allocations: 3.908 MB / 0.5282 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.06772, allocations: 7 MB / 0.535 GB, free: 7.539 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004413/0.07213, allocations: 1.545 MB / 0.5366 GB, free: 6.398 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.07672, allocations: 2.391 MB / 0.5389 GB, free: 4.801 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/0.08083, allocations: 2.117 MB / 0.541 GB, free: 2.902 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001925/0.08276, allocations: 0.7266 MB / 0.5417 GB, free: 2.176 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.08558, allocations: 1.05 MB / 0.5427 GB, free: 1.125 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.08799, allocations: 1.565 MB / 0.5442 GB, free: 15.55 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003078/0.09107, allocations: 1.873 MB / 0.546 GB, free: 13.68 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.1033, allocations: 9.14 MB / 0.555 GB, free: 4.508 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1033, allocations: 0 / 0.555 GB, free: 4.508 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1033, allocations: 0 / 0.555 GB, free: 4.508 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.1035, allocations: 0 / 0.555 GB, free: 4.508 MB / 474.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.02185/0.1253, allocations: 7.53 MB / 0.5623 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1254, allocations: 8.031 kB / 0.5623 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007602/0.133, allocations: 1.473 MB / 0.5638 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/0.1398, allocations: 3.492 MB / 0.5672 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00133/0.1412, allocations: 1.365 MB / 0.5685 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000701/0.1419, allocations: 379.9 kB / 0.5689 GB, free: 5.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.1529, allocations: 5.225 MB / 0.574 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.161e-05/0.153, allocations: 3.938 kB / 0.574 GB, free: 320 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.1534, allocations: 168 kB / 0.5741 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/0.1535, allocations: 88 kB / 0.5742 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.1641, allocations: 4.022 MB / 0.5782 GB, free: 12.04 MB / 0.4948 GB 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.03009/0.1942, allocations: 13.8 MB / 0.5916 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.2051, allocations: 3.749 MB / 0.5953 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.2098, allocations: 1.773 MB / 0.597 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.2102, allocations: 54.25 kB / 0.5971 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006326/0.2165, allocations: 2.551 MB / 0.5996 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=340): time 6.793e-06/0.2165, allocations: 3.938 kB / 0.5996 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=340): time 0.02403/0.2405, allocations: 7.123 MB / 0.6065 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004407/0.241, allocations: 0.5764 MB / 0.6071 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009098/0.2501, allocations: 4.083 MB / 0.6111 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008354/0.2509, allocations: 105.7 kB / 0.6112 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002866/0.2538, allocations: 2.129 MB / 0.6133 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002103/0.2559, allocations: 1.17 MB / 0.6144 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003163/0.259, allocations: 0.8757 MB / 0.6153 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2592, allocations: 305.1 kB / 0.6155 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006345/0.2655, allocations: 2.175 MB / 0.6177 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007504/0.2731, allocations: 3.398 MB / 0.621 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04052/0.3136, allocations: 10.99 MB / 0.6317 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.869e-05/0.3136, allocations: 4 kB / 0.6317 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.02046/0.3341, allocations: 6.542 MB / 0.6381 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.3342, allocations: 73.84 kB / 0.6382 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.3343, allocations: 16 kB / 0.6382 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.336, allocations: 0.7566 MB / 0.6389 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008119/0.3442, allocations: 1.455 MB / 0.6404 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.3549, allocations: 4.91 MB / 0.6452 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/0.3599, allocations: 0.5325 MB / 0.6457 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/0.361, allocations: 176 kB / 0.6458 GB, free: 5.227 MB / 0.5573 GB 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.008888/0.3698, allocations: 3.059 MB / 0.6488 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007304/0.3772, allocations: 3.344 MB / 0.6521 GB, free: 14.46 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0394/0.4165, allocations: 10.84 MB / 0.6627 GB, free: 3.297 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.408e-05/0.4166, allocations: 4 kB / 0.6627 GB, free: 3.293 MB / 0.573 GB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.01848/0.4351, allocations: 6.432 MB / 0.669 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.4352, allocations: 77.59 kB / 0.669 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.4352, allocations: 12 kB / 0.669 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.4369, allocations: 0.7553 MB / 0.6698 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007559/0.4444, allocations: 1.44 MB / 0.6712 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4548, allocations: 4.911 MB / 0.676 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/0.4593, allocations: 0.5134 MB / 0.6765 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/0.46, allocations: 168 kB / 0.6767 GB, free: 4.766 MB / 0.5886 GB 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,line.switchOffSignal2,line.switchOffSignal1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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.QConv0PuNeg.k,Unit.wecc_regc.QConv0PuPos.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,Unit.wecc_reec.varLimPIDFreeze.I.resetLocal,Unit.wecc_reec.limPIDFreeze.I.resetLocal,Unit.pll.limIntegrator.local_reset,Unit.pll.integrator.local_reset,Unit.wecc_repc.limPIDFreeze.I.resetLocal,Unit.wecc_repc.limPID.I.local_reset,Unit.wecc_wtgt.dOmegaGenerator.local_reset,Unit.wecc_wtgt.dOmegaTurbine.local_reset,Unit.wecc_wtgt.dPhi.local_reset,Unit.wecc_wtgp.absLimRateLimFirstOrderFreeze.integrator.local_reset) * 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.001745/0.4617, allocations: 0.6447 MB / 0.6773 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/0.4632, allocations: 480.9 kB / 0.6777 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2324/0.6956, allocations: 5.055 MB / 0.6827 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/0.6956, allocations: 37.98 kB / 0.6827 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.6956, allocations: 11.16 kB / 0.6827 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.809e-05/0.6957, allocations: 17.86 kB / 0.6827 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/0.7179, allocations: 9.428 MB / 0.6919 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.7179, allocations: 9.5 kB / 0.692 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006583/0.7245, allocations: 1.109 MB / 0.693 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.7259, allocations: 0.7277 MB / 0.6937 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004397/0.7263, allocations: 85.84 kB / 0.6938 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/0.7345, allocations: 4.908 MB / 0.6986 GB, free: 154 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.7345, allocations: 10.78 kB / 0.6986 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/0.7558, allocations: 7.79 MB / 0.7062 GB, free: 150.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002922/0.7587, allocations: 0.9753 MB / 0.7072 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/0.76, allocations: 92.14 kB / 0.7073 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/0.7637, allocations: 290.7 kB / 0.7076 GB, free: 150 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/0.7647, allocations: 345.9 kB / 0.7079 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004612/0.7652, allocations: 115.2 kB / 0.708 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005687/0.7709, allocations: 2.661 MB / 0.7106 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7709, allocations: 0 / 0.7106 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007691/0.7786, allocations: 2.16 MB / 0.7127 GB, free: 148.3 MB / 0.5886 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.003194/0.7818, allocations: 0.5781 MB / 0.7133 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02057/0.8023, allocations: 8.432 MB / 0.7215 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/0.8024, allocations: 5.156 kB / 0.7215 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007229/0.8096, allocations: 2.933 MB / 0.7244 GB, free: 143.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/0.8148, allocations: 0.6794 MB / 0.725 GB, free: 143 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.8343, allocations: 9.409 MB / 0.7342 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.8366, allocations: 1.987 MB / 0.7362 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004133/0.8408, allocations: 0.6764 MB / 0.7368 GB, free: 133.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.8422, allocations: 284.4 kB / 0.7371 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.8422, allocations: 0 / 0.7371 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.08932/0.9315, allocations: 62.96 MB / 0.7986 GB, free: 70.73 MB / 0.5886 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: 9.369685515761375]