Stability of flat-core pinned p-elasticae | Synapse