Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.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.001356/0.001356, allocations: 91.55 kB / 20.97 MB, free: 3.574 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.001482/0.001482, allocations: 177 kB / 24.28 MB, free: 272 kB / 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.9379/0.9379, allocations: 158.6 MB / 186.1 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4746/0.4746, allocations: 90.56 MB / 328.9 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.SheetI7QMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax") translateModel(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Unit.HvMeasurements.PPu|Unit.HvMeasurements.QPu|Unit.HvMeasurements.UPu|Unit.LvMeasurements.PPu|Unit.LvMeasurements.QPu|Unit.LvMeasurements.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 428.9 MB, free: 11.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.543e-05/6.725e-05, allocations: 2.312 kB / 428.9 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax): time 0.01727/0.01734, allocations: 17.59 MB / 446.5 MB, free: 9.43 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.03198, allocations: 8.259 MB / 454.8 MB, free: 1.145 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/0.03646, allocations: 115.2 kB / 454.9 MB, free: 1.031 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.04001, allocations: 1.28 MB / 456.2 MB, free: 15.74 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.006344/0.04635, allocations: 1.844 MB / 458 MB, free: 13.89 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:112:3-112:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.007261/0.05362, allocations: 3.872 MB / 461.9 MB, free: 10.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009716/0.06333, allocations: 6.962 MB / 468.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.0666, allocations: 1.493 MB / 470.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2311/0.2977, allocations: 2.366 MB / 472.7 MB, free: 51.15 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.3009, allocations: 2.119 MB / 474.8 MB, free: 51.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.3028, allocations: 0.7089 MB / 475.5 MB, free: 51.15 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.3049, allocations: 1.074 MB / 476.6 MB, free: 51.15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.3062, allocations: 1.57 MB / 478.2 MB, free: 51.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.308, allocations: 1.83 MB / 480 MB, free: 51.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.3139, allocations: 4.798 MB / 484.8 MB, free: 50.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.314, allocations: 0 / 484.8 MB, free: 50.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.314, allocations: 0.9375 kB / 484.8 MB, free: 50.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001257/0.3141, allocations: 0 / 484.8 MB, free: 50.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01081/0.3249, allocations: 7.069 MB / 491.9 MB, free: 47.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3249, allocations: 11.06 kB / 491.9 MB, free: 47.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.328, allocations: 1.461 MB / 493.3 MB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.3321, allocations: 3.469 MB / 496.8 MB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.3325, allocations: 0.9867 MB / 497.8 MB, free: 45.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/0.3329, allocations: 381.9 kB / 498.2 MB, free: 45.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/0.3374, allocations: 3.716 MB / 0.4901 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.965e-05/0.3375, allocations: 5.719 kB / 0.4901 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.3377, allocations: 155.1 kB / 0.4903 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.911e-05/0.3378, allocations: 90.12 kB / 0.4904 GB, free: 43.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/0.3408, allocations: 1.495 MB / 0.4918 GB, free: 43.35 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.3559, allocations: 14.09 MB / 0.5056 GB, free: 33.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.3597, allocations: 1.917 MB / 0.5075 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.361, allocations: 0.6246 MB / 0.5081 GB, free: 33.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3612, allocations: 63.84 kB / 0.5081 GB, free: 33.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/0.3633, allocations: 1.254 MB / 0.5094 GB, free: 32.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 5.15e-06/0.3633, allocations: 0 / 0.5094 GB, free: 32.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.006115/0.3694, allocations: 2.805 MB / 0.5121 GB, free: 32.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.3696, allocations: 0.5989 MB / 0.5127 GB, free: 31.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/0.3739, allocations: 3.617 MB / 0.5162 GB, free: 30.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005002/0.3744, allocations: 98.69 kB / 0.5163 GB, free: 30 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.3758, allocations: 2.295 MB / 0.5186 GB, free: 28.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009895/0.3768, allocations: 1.033 MB / 0.5196 GB, free: 27.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.3778, allocations: 0.8485 MB / 0.5204 GB, free: 27.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.3779, allocations: 480.8 kB / 0.5208 GB, free: 26.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3793, allocations: 0.8487 MB / 0.5217 GB, free: 26.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.3812, allocations: 2.179 MB / 0.5238 GB, free: 24.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/0.3854, allocations: 3.464 MB / 0.5272 GB, free: 23.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.3854, allocations: 2.938 kB / 0.5272 GB, free: 23.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.005667/0.3911, allocations: 3.626 MB / 0.5307 GB, free: 21.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.3911, allocations: 69.11 kB / 0.5308 GB, free: 21.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.3912, allocations: 14.12 kB / 0.5308 GB, free: 21.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.3918, allocations: 240.3 kB / 0.531 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/0.3948, allocations: 1.267 MB / 0.5323 GB, free: 20.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.3967, allocations: 2.275 MB / 0.5345 GB, free: 18.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.3997, allocations: 452.6 kB / 0.5349 GB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/0.4, allocations: 150.6 kB / 0.5351 GB, free: 18.06 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 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) 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.omegaRefWTGQPu0 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.002916/0.403, allocations: 1.197 MB / 0.5362 GB, free: 17.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001789/0.4048, allocations: 2.172 MB / 0.5384 GB, free: 14.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004051/0.4088, allocations: 3.443 MB / 0.5417 GB, free: 11.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-05/0.4088, allocations: 4 kB / 0.5417 GB, free: 11.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.005529/0.4143, allocations: 3.611 MB / 0.5453 GB, free: 7.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.4144, allocations: 69.66 kB / 0.5453 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4144, allocations: 15.84 kB / 0.5453 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.415, allocations: 236.7 kB / 0.5456 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/0.4181, allocations: 1.258 MB / 0.5468 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.4198, allocations: 2.291 MB / 0.549 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.4226, allocations: 429.9 kB / 0.5494 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.4228, allocations: 160 kB / 0.5496 GB, free: 2.902 MB / 442.7 MB Warning: Assuming fixed start value for the following 35 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) 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.omegaRefWTGQPu0 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: 54 * Number of states: 0 () * Number of discrete variables: 81 ($PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,$PRE.Unit.LvTfo.state,Unit.LvTfo.state,$PRE.Unit.injector.state,Unit.injector.state,$PRE.Unit.HvTfo.state,Unit.HvTfo.state,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEvent,$whenCondition2,$PRE.infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition1,Unit.injector.switchOffSignal3,Unit.injector.switchOffSignal2,Unit.injector.switchOffSignal1,Unit.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,Unit.wecc_regc.rateLimFirstOrderFreeze2.local_freeze,$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,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,$PRE.infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition19,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 (548): * Single equations (assignments): 546 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.4238, allocations: 0.6651 MB / 0.5502 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009856/0.4248, allocations: 0.5634 MB / 0.5508 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.4285, allocations: 2.257 MB / 0.553 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.4286, allocations: 32 kB / 0.553 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4286, allocations: 4 kB / 0.553 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.4286, allocations: 11.95 kB / 0.553 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.4383, allocations: 5.913 MB / 0.5588 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.4383, allocations: 8 kB / 0.5588 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/0.4416, allocations: 0.9031 MB / 0.5597 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005654/0.4421, allocations: 221.1 kB / 0.5599 GB, free: 8.297 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.4423, allocations: 83.95 kB / 0.56 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.4443, allocations: 2.259 MB / 0.5622 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4443, allocations: 11.84 kB / 0.5622 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/0.4501, allocations: 3.51 MB / 0.5656 GB, free: 2.121 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.4518, allocations: 0.9061 MB / 0.5665 GB, free: 1.211 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.4523, allocations: 91.91 kB / 0.5666 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.4535, allocations: 199.8 kB / 0.5668 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007348/0.4542, allocations: 288.7 kB / 0.5671 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.4544, allocations: 99.97 kB / 0.5672 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002713/0.4571, allocations: 2.09 MB / 0.5692 GB, free: 14.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4571, allocations: 0 / 0.5692 GB, free: 14.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004237/0.4613, allocations: 2.003 MB / 0.5712 GB, free: 12.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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: 44 ($whenCondition19,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEventScaled,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,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,$whenCondition20,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled) * Number of discrete states: 15 (infiniteBusFromTable.tableOmegaRefPu.nextTimeEventScaled,infiniteBusFromTable.tableOmegaRefPu.nextTimeEvent,Unit.LvTfo.running,Unit.injector.running,Unit.HvTfo.running,infiniteBusFromTable.tableUPhase.nextTimeEvent,infiniteBusFromTable.tableUPu.nextTimeEvent,infiniteBusFromTable.tableUPhase.nextTimeEventScaled,infiniteBusFromTable.tableUPu.nextTimeEventScaled,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 (291): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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 {(6,4,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/0.4631, allocations: 0.8089 MB / 0.572 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008082/0.4712, allocations: 4.682 MB / 0.5765 GB, free: 7.383 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.4712, allocations: 4 kB / 0.5765 GB, free: 7.379 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.4733, allocations: 1.203 MB / 0.5777 GB, free: 6.215 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.4766, allocations: 0.8055 MB / 0.5785 GB, free: 5.438 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.4904, allocations: 7.985 MB / 0.5863 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007245/0.4912, allocations: 0.7662 MB / 0.587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002723/0.4939, allocations: 0.5942 MB / 0.5876 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.4948, allocations: 288.4 kB / 0.5879 GB, free: 11.64 MB / 490.7 MB Notification: Performance of SimCode: time 3.427e-06/0.4948, allocations: 4 kB / 0.5879 GB, free: 11.64 MB / 490.7 MB Notification: Performance of Templates: time 0.07333/0.5681, allocations: 52.81 MB / 0.6395 GB, free: 7.273 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe >> ../files/Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.sim & ./Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=ida -variableFilter=.* -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.GridCodeSimulations.SheetSimulations.SheetI7QMax_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.951187228085473]