Veda2.0 Released!


Error message
#1
Hi,

I have received some strange GAMS error code messages that I don't understand, see below and included file. Anyone that can support? 
 

153868  $LOADR MILESTONYR
****                    $579
**** LINE     65 INCLUDE     C:\VEDA\Veda\GAMS_WrkTIMES\_dd_.dd
**** LINE     55 BATINCLUDE  C:\VEDA\Veda\GAMS_SrcTIMES.v4.5.0\setglobs.gms
                             %1  1
**** LINE     23 BATINCLUDE  C:\VEDA\Veda\GAMS_SrcTIMES.v4.5.0\maindrv.mod
                             %1  mod
**** LINE     94 INPUT       C:\VEDA\Veda\GAMS_WrkTIMES\TempTest.RUN
**** 579  Cannot clear a set used as a domain or used in lag/ord operations
154179  $LOADR BLE
****             $579
**** LINE    376 INCLUDE     C:\VEDA\Veda\GAMS_WrkTIMES\_dd_.dd
**** LINE     55 BATINCLUDE  C:\VEDA\Veda\GAMS_SrcTIMES.v4.5.0\setglobs.gms
                             %1  1
**** LINE     23 BATINCLUDE  C:\VEDA\Veda\GAMS_SrcTIMES.v4.5.0\maindrv.mod
                             %1  mod
**** LINE     94 INPUT       C:\VEDA\Veda\GAMS_WrkTIMES\TempTest.RUN
**** 579  Cannot clear a set used as a domain or used in lag/ord operations

/Anna


Attached Files
.txt   Questions_TempTest.txt (Size: 12.18 KB / Downloads: 3)
Reply
#2
Good question, Anna!

The partial answer is that you have a GAMS domain violation, which triggers filtering all parameters via a GDX file.  But for some reason that does not seem to work correctly under your GAMS 34.2.0 (I guess this is brand new GAMS).

Therefore, the best solution for you now is to fix the domain violation in your model. It seems the commodity 'BFUKER' has not been defined as a commodity.  I hope you can find that error in your model.

But as for TIMES, the problem with the latest GAMS, causing the unexpected error, should also be fixed. I will try to see if I can find out why this error arises...  I have not seen such with earlier GAMS versions.
Reply
#3
Ok, I tested a bit with GAMS v34.2, and the cause of the problem is that they have changed the output from the GDXDUMP utility.  And that happens to be crucial for filtering out any domain violations.

This means that under GAMS v34.2 TIMES will not work with models having domain violations. At least until I can figure out how to fix this issue.

Therefore, if you can use an older GAMS system, I would suggest to use that instead, or make sure that you have no domain violations in your model (albeit often harmless, they may be considered modeling errors anyway).
Reply
#4
With the latest TIMES v4.5.2 the above-mentioned problem with GAMS v34.2 (under domain violations) should be fixed.
Reply
#5
Super many thanks!!

(As you described, with the previous version it works as long as I didn't have any domain violations)

Will I have the latest TIMES v4.5.2 per default next time I update VEDA? Or do I need to download this separate?

/Anna
Reply
#6
Have a look at Tools → Update TIMES Code.  I tried that and it worked: It created a new source code folder GAMS_SrcTIMES.v4.5.2.
   
Reply
#7
That worked, and the model is now running with TIMES v4.5.2.

I haven't tested with domain violations, yet, (but I am sure I will do so within the coming week, because we are merging two models...)

Thank you very much!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Sync error when including international trade [email protected] 4 630 03-02-2025, 08:01 PM
Last Post: [email protected]
  VEDA2 fatal error (unexpected case sensitivity) Antti-L 2 618 30-08-2024, 10:49 PM
Last Post: Antti-L
  Unexpected error in model run BSR 2 747 17-07-2024, 07:07 PM
Last Post: BSR
  An error when I read JRC-EU-TIMES Lee 7 2,649 03-06-2024, 05:28 PM
Last Post: Lee
  Error at line 904570: Equation infeasible due to rhs value frangb99 12 3,547 03-04-2024, 12:19 AM
Last Post: frangb99
Exclamation Error: Unexpected GAMSCMEX return code jskrzypek 4 2,457 13-12-2023, 09:54 PM
Last Post: jskrzypek
  Error with CAPACITY JozefO 1 1,039 03-02-2023, 12:22 AM
Last Post: Antti-L
  Getting an error while creating the model jskrzypek 7 4,713 25-01-2023, 01:04 AM
Last Post: Ravinder
  Error Messages JozefO 3 1,514 12-12-2022, 02:20 PM
Last Post: Ravinder
  Error in Batch Export YuFeng 5 3,547 26-08-2022, 07:32 AM
Last Post: YuFeng

Forum Jump:


Users browsing this thread: 1 Guest(s)