List[Null, Null, Null, Null, Null, Null, Null, Notebook[List[Cell[CellGroupData[List[Cell["Built-in Variable Time", "Title"], Cell[TextData[List["\nThe value of the start attribute of time is set to the time instant at which the simulation is started. This attribute can be used to trigger events a specific point in time after the start of simulation. In the example below an event is triggered 20 seconds after the beginning of simulated time. This doesn't work in the current version of Modelica.\n\nThe ", StyleBox["when", Rule[FontFamily, "Courier"]], "-statement is described in more detail ", ButtonBox["here", RuleDelayed[ButtonData, List[FrontEnd`FileName[List[ParentDirectory[], "Equations"], "WhenEq.nb", Rule[CharacterEncoding, "WindowsANSI"]], None]], Rule[ButtonStyle, "Hyperlink"]], "."]], "Text"], Cell["class TimeEventTest\n  Real a = 1;\n  parameter Real event_time = time.start + 20;\nalgorithm\n  when time >= event_time then \n    a := 2;\n  end when;\nend TimeEventTest;", "ModelicaInput"], Cell[CellGroupData[List[Cell["Simulation of TimeEventTest", "Section"], Cell["simulate( TimeEventTest );", "ModelicaInput"], Cell[BoxData[RowBox[List[RowBox[List["Simulate", "::", "insmd"]], RowBox[List[":", " "]], "\"Simulate failed to instantiate model.\""]]], "Message"], Cell[BoxData[RowBox[List[RowBox[List["ShowLog", "::", "shlg"]], RowBox[List[":", " "]], "\"\\!\\(\\\"Instantiation started\\\\nError: Component type specifier start not found\\\\n  Near file: c:\\\\\\\\cvsroot\\\\\\\\mathmo~1\\\\\\\\workdir\\\\\\\\model.mo, line 1\\\\n  Component context: Error\\\\n  Component declared as start Error in TimeEventTest\\\\n- savelog\\\\n\\\"\\).\""]]], "Message"], Cell[BoxData["$Failed"], "Output"]], Open]]], Open]]], Rule[FrontEndVersion, "5.1 for Microsoft Windows"], Rule[ScreenRectangle, List[List[0, 1280], List[0, 951]]], Rule[WindowSize, List[855, 892]], Rule[WindowMargins, List[List[0, Automatic], List[Automatic, 0]]], Rule[StyleDefinitions, "MathModelica.nb"]], Null, Null, Null, Null, Null]