Step_out

connector Step_out "Output port of a step"
    output Boolean available "true, if step is active"
        annotation (HideResult = true);
    input Boolean reset "true, if transition fires and step is deactivated"
        annotation (HideResult = true);

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-100, 100}, 
                        {100, -100}},
                    fillColor = {255, 255, 255},
                    fillPattern = FillPattern.Solid)}),
        Diagram(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Rectangle(
                    extent = {
                        {-100, 50}, 
                        {0, -50}},
                    fillColor = {255, 255, 255},
                    fillPattern = FillPattern.Solid), 
                Text(
                    extent = {
                        {-100, 100}, 
                        {186, 58}},
                    textString = "%name")}));
end Step_out;