Skip to content

Commit

Permalink
removed some unnecessary comments.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13638 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Oct 26, 2012
1 parent 8a78a62 commit 6cfd21c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Compiler/Template/CodegenFMU.tpl
Expand Up @@ -1244,7 +1244,6 @@ case FMIIMPORT(fmiInfo=INFO(__),fmiExperimentAnnotation=EXPERIMENTANNOTATION(__)
constant Integer fmiPending=5;
end fmiStatus;
initial algorithm
// ensure that all initialization functions are called only once!
if not initializationDone then
fmiFunctions.fmiInstantiateModel(fmi, "<%fmiInfo.fmiModelIdentifier%>");
fmiFunctions.fmiSetDebugLogging(fmi, debugLogging);
Expand Down Expand Up @@ -1277,7 +1276,6 @@ case FMIIMPORT(fmiInfo=INFO(__),fmiExperimentAnnotation=EXPERIMENTANNOTATION(__)
when not initial() then
>>
%>
//eventInfo := fmiFunctions.fmiEventUpdate(fmi, callEventUpdate, eventInfo);
fmiFunctions.fmiEventUpdate(fmi, callEventUpdate, eventInfo);
fmi_x_new := fmiFunctions.fmiGetContinuousStates(fmi, numberOfContinuousStates, flowControlEvent);
<%fmiInfo.fmiNumberOfContinuousStates |> continuousStates => "reinit(fmi_x["+continuousStates+"], fmi_x_new["+continuousStates+"]);" ;separator="\n"%>
Expand Down Expand Up @@ -1376,7 +1374,6 @@ case FMIIMPORT(fmiInfo=INFO(__),fmiExperimentAnnotation=EXPERIMENTANNOTATION(__)
constant Integer fmiPending=5;
end fmiStatus;
initial algorithm
// ensure that all initialization functions are called only once!
if not initializationDone then
fmiFunctions.fmiInstantiateSlave(fmi, "<%fmiInfo.fmiModelIdentifier%>", fmuFile, mimeType, timeout, visible, interactive);
fmiFunctions.fmiSetDebugLogging(fmi, debugLogging);
Expand Down

0 comments on commit 6cfd21c

Please sign in to comment.