Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.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.001825/0.001825, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001942/0.001942, allocations: 217.2 kB / 23.02 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.7 MB / 233.9 MB, free: 11.46 MB / 186.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.7329/0.7329, allocations: 122.7 MB / 408.8 MB, free: 15.36 MB / 346.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.SheetI2Xcca,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003909/0.003909, allocations: 72.45 kB / 0.5756 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3257, allocations: 80.91 MB / 0.6546 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca): time 0.0152/0.3409, allocations: 16.37 MB / 0.6706 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.3535, allocations: 7.83 MB / 0.6783 GB, free: 144 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003912/0.3575, allocations: 113.6 kB / 0.6784 GB, free: 96 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.3605, allocations: 1.095 MB / 0.6794 GB, free: 15.21 MB / 0.5105 GB [/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.006412/0.3669, allocations: 1.657 MB / 0.6811 GB, free: 13.83 MB / 0.5105 GB [/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 numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.008841/0.3758, allocations: 3.746 MB / 0.6847 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00995/0.3857, allocations: 6.68 MB / 0.6912 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003023/0.3888, allocations: 1.515 MB / 0.6927 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.3923, allocations: 2.47 MB / 0.6951 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.3957, allocations: 2.396 MB / 0.6975 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.3971, allocations: 0.7059 MB / 0.6982 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.3991, allocations: 1.027 MB / 0.6992 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.4006, allocations: 1.472 MB / 0.7006 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.4031, allocations: 2.195 MB / 0.7027 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.4139, allocations: 8.651 MB / 0.7112 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4139, allocations: 4 kB / 0.7112 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4139, allocations: 0 / 0.7112 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001236/0.414, allocations: 0 / 0.7112 GB, free: 4.211 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01926/0.4333, allocations: 6.977 MB / 0.718 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4333, allocations: 20.02 kB / 0.718 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.4395, allocations: 1.223 MB / 0.7192 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/0.4458, allocations: 3.385 MB / 0.7225 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001249/0.4471, allocations: 1.191 MB / 0.7237 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006433/0.4477, allocations: 363.9 kB / 0.724 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4578, allocations: 4.93 MB / 0.7288 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.422e-05/0.4578, allocations: 11.92 kB / 0.7289 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003883/0.4582, allocations: 152 kB / 0.729 GB, free: 1.273 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.681e-05/0.4583, allocations: 87.98 kB / 0.7291 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00921/0.4675, allocations: 3.755 MB / 0.7328 GB, free: 13.43 MB / 0.5573 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.02503/0.4926, allocations: 13.02 MB / 0.7455 GB, free: 176 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009466/0.502, allocations: 3.435 MB / 0.7488 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003873/0.5059, allocations: 1.566 MB / 0.7504 GB, free: 11.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.5062, allocations: 53.98 kB / 0.7504 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005144/0.5113, allocations: 2.214 MB / 0.7526 GB, free: 8.82 MB / 0.573 GB Notification: Performance of pre-optimization done (n=293): time 5.39e-06/0.5113, allocations: 0 / 0.7526 GB, free: 8.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=293): time 0.01615/0.5275, allocations: 5.566 MB / 0.758 GB, free: 3.203 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004151/0.5279, allocations: 0.5839 MB / 0.7586 GB, free: 2.488 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007055/0.5349, allocations: 3.971 MB / 0.7624 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003857/0.5353, allocations: 97.7 kB / 0.7625 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002454/0.5378, allocations: 2.085 MB / 0.7646 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001343/0.5391, allocations: 1.054 MB / 0.7656 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/0.5407, allocations: 0.8352 MB / 0.7664 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5409, allocations: 301.1 kB / 0.7667 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004916/0.5458, allocations: 1.981 MB / 0.7686 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/0.5518, allocations: 3.16 MB / 0.7717 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03531/0.5871, allocations: 9.974 MB / 0.7815 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.5871, allocations: 7.938 kB / 0.7815 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01414/0.6013, allocations: 5.718 MB / 0.7871 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.6014, allocations: 65.67 kB / 0.7871 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/0.6014, allocations: 19.92 kB / 0.7871 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009499/0.6023, allocations: 385.1 kB / 0.7875 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007121/0.6095, allocations: 1.428 MB / 0.7889 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/0.6152, allocations: 2.972 MB / 0.7918 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/0.6191, allocations: 0.5054 MB / 0.7923 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/0.6195, allocations: 156 kB / 0.7925 GB, free: 14.87 MB / 0.6198 GB Warning: Assuming fixed start value for the following 37 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) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" 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.006628/0.6261, allocations: 2.825 MB / 0.7952 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005847/0.6319, allocations: 3.105 MB / 0.7982 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03432/0.6662, allocations: 9.826 MB / 0.8078 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.866e-05/0.6663, allocations: 11.98 kB / 0.8078 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.01398/0.6802, allocations: 5.621 MB / 0.8133 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/0.6803, allocations: 69.66 kB / 0.8134 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.6804, allocations: 12 kB / 0.8134 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009036/0.6813, allocations: 380.7 kB / 0.8138 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007007/0.6883, allocations: 1.408 MB / 0.8152 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.694, allocations: 2.983 MB / 0.8181 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/0.6979, allocations: 493.8 kB / 0.8185 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/0.6983, allocations: 156 kB / 0.8187 GB, free: 3.164 MB / 0.6355 GB Warning: Assuming fixed start value for the following 37 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) Xcc_a.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Xcc_a.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Xcc_a.running:DISCRETE(flow=false start = Xcc_a.Running0 fixed = true ) \"Indicates if the component is running or not\" 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: 53 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.Xcc_a.state,Xcc_a.state,Xcc_a.switchOffSignal2,Xcc_a.switchOffSignal1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$PRE.Xcc_a.running,$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,Xcc_a.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition17,$whenCondition16,$whenCondition19,$whenCondition18,$whenCondition20,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 (547): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.6996, allocations: 0.5876 MB / 0.8193 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/0.7009, allocations: 465 kB / 0.8197 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.7124, allocations: 4.194 MB / 0.8238 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/0.7125, allocations: 32 kB / 0.8238 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7125, allocations: 4 kB / 0.8238 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.7125, allocations: 19.88 kB / 0.8239 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.7315, allocations: 8.232 MB / 0.8319 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.7315, allocations: 4 kB / 0.8319 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006436/0.738, allocations: 1.081 MB / 0.833 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000905/0.7389, allocations: 371.7 kB / 0.8333 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002811/0.7392, allocations: 79.97 kB / 0.8334 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.7448, allocations: 2.947 MB / 0.8363 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.7449, allocations: 12.03 kB / 0.8363 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.7614, allocations: 6.638 MB / 0.8428 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/0.7639, allocations: 0.8906 MB / 0.8436 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009771/0.7649, allocations: 87.98 kB / 0.8437 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/0.768, allocations: 271.7 kB / 0.844 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007166/0.7687, allocations: 297.6 kB / 0.8443 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/0.769, allocations: 95.95 kB / 0.8443 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.005253/0.7742, allocations: 2.593 MB / 0.8469 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7742, allocations: 0 / 0.8469 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005244/0.7795, allocations: 1.995 MB / 0.8488 GB, free: 3.777 MB / 0.6667 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: 40 ($whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,Xcc_a.running,Xcc_a.state,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: 10 (Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,Xcc_a.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 (290): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002896/0.7823, allocations: 0.5436 MB / 0.8494 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01806/0.8004, allocations: 7.447 MB / 0.8566 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/0.8004, allocations: 0 / 0.8566 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006669/0.8071, allocations: 2.554 MB / 0.8591 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.8107, allocations: 0.6359 MB / 0.8597 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2639/1.075, allocations: 9.01 MB / 0.8685 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.077, allocations: 1.891 MB / 0.8704 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003279/1.08, allocations: 0.6387 MB / 0.871 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.081, allocations: 269 kB / 0.8713 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.82e-07/1.081, allocations: 3.656 kB / 0.8713 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.08581/1.167, allocations: 57.04 MB / 0.927 GB, free: 149.8 MB / 0.6823 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; mkfifo Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe >> ../files/Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.sim & ./Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI2Xcca.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.913222686387599]