This title of the article is misleading. Spain is one of the cheapest power generation markets, but In the article it states "Spanish households pay above the EU average". Then the reason is stated "Other system costs are rising. The flip side of getting energy cheap is paying more elsewhere to keep the system stable.".
Spain of course also had a blackout and the article states "every country in Europe needs to modernise how it handles voltage stability". I believe that's code for "its harder to manager power transmission grids with renewables". I have been told by a power engineer that read the report on the blackout that the authors are going out of their way not to explicitly blame renewables, but these things that caused the blackout are bigger issues now due to the switch to renewables.
But it makes sense for Spain to continue down this path and not pollute with coal or rely on other countries for gas imports.