% /*
%  * This file is part of OpenModelica.
%  *
%  * Copyright (c) 1998-2011, Linköpings University,
%  * Department of Computer and Information Science,
%  * SE-58183 Linköping, Sweden.
%  *
%  * All rights reserved.
%  *
%  * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THIS OSMC PUBLIC
%  * LICENSE (OSMC-PL). ANY USE, REPRODUCTION OR DISTRIBUTION OF
%  * THIS PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THE OSMC
%  * PUBLIC LICENSE.
%  *
%  * The OpenModelica software and the Open Source Modelica
%  * Consortium (OSMC) Public License (OSMC-PL) are obtained
%  * from Linköpings University, either from the above address,
%  * from the URL: http://www.ida.liu.se/projects/OpenModelica
%  * and in the OpenModelica distribution.
%  *
%  * This program is distributed  WITHOUT ANY WARRANTY; without
%  * even the implied warranty of  MERCHANTABILITY or FITNESS
%  * FOR A PARTICULAR PURPOSE, EXCEPT AS EXPRESSLY SET FORTH
%  * IN THE BY RECIPIENT SELECTED SUBSIDIARY LICENSE CONDITIONS
%  * OF OSMC-PL.
%  *
%  * See the full OSMC Public License conditions for more details.
%  *
%  */

% This is the main file for a simulation runtime draft in OpenModelica
%
% draft.tex
%    $LastChangedRevision: 1 $ $LastChangedDate: 2011-10-25  $
%

\documentclass
[
%draft,
12pt
]{scrartcl}

% Add some further packages
\usepackage{amsmath, amssymb, amsfonts, amsthm, amsbsy}
\usepackage{url}               % Handling of URL strings.

\usepackage{graphicx, color}
% uncomment according to your operating system:
% ------------------------------------------------
%\usepackage[latin1]{inputenc}    %% european characters can be used (Windows,
%old Linux)
\usepackage[utf8]{inputenc}     %% european characters can be used (Linux)
%\usepackage[applemac]{inputenc} %% european characters can be used (Mac OS)
% ------------------------------------------------
\usepackage[T1]{fontenc}   %% get hyphenation and accented letters right
%\usepackage{mathptmx}      %% use fitting times fonts also in formulas
% do not change these lines:
\pagestyle{empty}                %% no page numbers!

%****************** Modelica Listings **********************************
\usepackage{listings}
\lstdefinelanguage{modelica}
{morekeywords={model,package,equation,Real,Integer,String,Boolean,when,elsewhen,noEvent,der,sample,edge,pre,
               then,if,else,elseif,end,class,function,initial,discrete, reinit,extends,
               parameter, and, not, partial, flow, connector, connect, list,
               matchcontinue, true, false, smooth, uniontype, record, input, output,
               local, case, algorithm, type, time,assert,terminate},
  sensitive=true,
  morecomment=[l][\color{black}]{//},
  morecomment=[s]{/*}{*/},
  morestring=[b]",
}

\lstset{numbers=none, numberstyle=\tiny, numbersep=2pt} 
\lstset{language=modelica} 

\lstset{% general command to set parameter(s)
    basicstyle=\small,          % print whole listing small
    keywordstyle=\color{black}\bfseries,
                                % underlined bold black keywords
    identifierstyle=,           % nothing happens
    commentstyle=\color{white}, % white comments
    stringstyle=\ttfamily,      % typewriter type for strings
    extendedchars=true,         % deutsche Taste            
    showstringspaces=false,     % no special string spaces
    %frame=false,               % Rahmen um Listing einstellen 
    %numbers=none               % Keit Zeilennummern angeben
    %breaklines=true,           % Automatische ZeilenumbrÃ¼che?
    %breakautoindent=true,      % Automatisches EinrÃ¼cken umgebrochener Zeilen?
    %captionpos=b,              % Beschriftung unten setzen
    }     


% begin the document
\begin{document}
\thispagestyle{empty}
\title{\textbf{
Draft for a simulation runtime in OpenModelica 
}}
% contributers, please add here your name if you have 
% contribute to this draft.
\author{Willi Braun} 
\date{\today} % <--- leave date empty
\maketitle\thispagestyle{empty} %% <-- you need this for the first page

\abstract{
This draft describes the current state of the OpenModelica run-time and the
requirements of improvements for the current c-run-time. }

\emph{Keywords: Simulation, c-run-time, solver, OpenModelica}

\input{./src/content}

\begin{thebibliography}{00}
\addcontentsline{toc}{chapter}{References}

\bibitem{FMI10} MODELISAR: Functional Mock-up Interface
for Model Exchange,
\url{http://modelisar.org/specifications/FMI_for_ModelExchange_v1.0.pdf}, Januar
2010.

\bibitem{OMSystemDoku} Fritzson P., et. al.: OpenModelica System
Documentation, PELAB, Department of Computer and Information, Linköpings
universitet, 2010.

\bibitem{Pop2007} Pop, Adrian Dan Iosif and Fritzson, Peter (2007). Towards
Run-time Debugging of Equation-based Object-oriented Languages. The 48th
Conference on Simulation and Modeling SIMS,2007. s. 134-139

\end{thebibliography}


\end{document}