IfcRelConnectsPortToElement

If your reading software needs ifcRelConnectsPortToElement, have you tried to add additional ifcRelConnectsPortToElement-entities at the end of file (before the footer) like the following lines?

#NewLine=IFCRELCONNECTSPORTTOELEMENT(’…’,,,,#5908,#524); #NewLine=IFCRELCONNECTSPORTTOELEMENT('...',,,,#6636,#524);