Due to a problem in the Quartus® Prime Software version 18.0, the compiler caused wrong file references in the database on Windows, and you may see the following critical warning in addition to the internal error:
Critical Warning (127003): Can't find Memory Initialization File or Hexadecimal File: <Quartus Working Project>/recalibration.mif -- setting all initial values to 0 File: <Quartus Working Project>/altera_syncram_impl_06l3.tdf Line: 35
To work around this problem, copy the memory initialization file (.hex) into the Quartus® working project directory, similar to the location of the critical warning.