Skip to main content

Error 259 | [PSCAD™] | Build error


Relevant software:

PSCAD™


Emitted message:

PSCAD/EMTDC raised error - recommend opening stand-alone file and running PSCAD to help debug.

Description:

This error indicates that PSCAD™/EMTDC™ has encountered a build error. This is most commonly either:

  • An error in the PSCAD™ model itself, such as duplicate signal names or floating inputs; or
  • A mismatch between the Fortran compiler version configured in PSCAD™ compared to the Fortran compiler version configured in the gridmo Engine.
danger

This error indicates there may be a configuration issue with your PSCAD™ Fortran compiler setup which may prevent your simulation from running.

Possible impact:

  • PSCAD™ will open, but it will suddenly close when the gridmo Engine tries to launch the simulation.

Potential fixes:

To resolve this error, try the following:

1. Test PSCAD™ model manually using the Standalone folder:

  • Open the PSCAD™ standalone folder (in the 'all-temp' folder inside the output folder) and attempt to build your project.
  • Confirm it builds successfully outside of gridmo.
  • If PSCAD™ fails to build, there may be an issue with your PSCAD™ model and/or setup.

2. Refresh PSCAD™ compiler configuration for the gridmo Engine:

This issue can occur when the Fortran compilers listed in products_list.xml (used by gridmo) don't match what PSCAD™ has configured internally, causing PSCAD™ to attempt loading a Fortran compiler that no longer exists on the system.

  • Shut down the gridmo Engine
  • Open the gridmo Setup Wizard using the desktop shortcut
  • Press next until you see the power systems software interface screen
  • Click Configure on PSCAD™ and then Search on the next screen
  • The gridmo Engine will run Fortran Medic (provided by PSCAD™) to refresh the available compiler list
  • Accept the changes, then select the correct default Fortran compiler when you are back on the systems software interface screen.
  • Press next and complete the gridmo Engine Setup Wizard
  • rerun a PSCAD™ simulation to confirm the fix has been applied