Connecting Functional with Structural Architecture with SysML v2

I'm learning SysML v2 with CATIA Magic Systems and am trying to create a model with functional and structural elements and a connection between those. I'm trying two approaches (1. actions own actions - 2. parts own actions) and with both approaches I would like to see a diagram of the system function showing how the subsystem functions are connected and allocated to the subsystem parts. It's working well with approach 1. - with approach 2. it does not show the swimlanes.. What am I doing wrong?

Thanks in Advance!

Tom

package 'Approach 1' {

	// Structural Architecture
    part def System {
        part subsystemA {
            perform systemFunction.subsystemFunctionA;
        }
        part subsystemB {
            perform systemFunction.subsystemFunctionB;
        }
        perform systemFunction;
    }
    
    // Functional Architecture
    action systemFunction {
        action subsystemFunctionA {
            in item item1;
            out item item2;
        }
        action subsystemFunctionB {
            in item item1;
            out item item2;
        }
        in item item1;
        out item item2;
        binding bind item1 = subsystemFunctionA.item1;
        binding bind subsystemFunctionB.item2 = item2;
        flow from subsystemFunctionA.item2 to subsystemFunctionB.item1;
    }
}

 

package 'Approach 2' {

    part def System {

        part subsystemA {
            perform action subsystemFunctionA {
                in item item1;
                out item item2;
            }
        }
        
        part subsystemB {
            perform action subsystemFunctionB {
                in item item1;
                out item item2;
            }
        }
        
        perform action systemFunction {
            in item item1;
            out item item2;
            perform action pSysA ::> subsystemA.subsystemFunctionA;
            perform action pSysB ::> subsystemB.subsystemFunctionB;
            binding bind item1 = pSysA.item1;
            binding bind pSysB.item2 = item2;
            flow from pSysA.item2 to pSysB.item1;
        }
    }
}

 

Approach 2
Approach 2
Approach 1
Approach 1