Guido,
The reason you don't use Romex is because it is a solid wire, but if your wire is getting warm using either shore power or a generator, then there is something else wrong - Size, heavy load, etc...
The standard is stranded wire in vehicles, boats and planes for a reason - it holds up...