FR 574 then FR 4545 at Barcelona
Bologna → Barcelona → Porto
Timetable, Barcelona time
21:10FR 574 from Bologna at the gate
09:20FR 4545 to Porto leaves the gate
12 h 10 apart on the timetable, overnight
FR 4545 leaves 12 h 10 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.