Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
niklwors committed Jul 2, 2015
2 parents bf98442 + a5ea4c9 commit ff50eb2
Show file tree
Hide file tree
Showing 74 changed files with 7,875 additions and 7,551 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -141,6 +141,7 @@ Compiler/boot/LoadCompilerInterface.mos
Compiler/boot/Makefile
Compiler/boot/Makefile.depends
Compiler/boot/Makefile.sources
Compiler/boot/patches/*.patch
Compiler/runtime/Makefile
Compiler/runtime/config.unix.h
Compiler/runtime/omc_communication.cc
Expand Down
146 changes: 71 additions & 75 deletions Compiler/BackEnd/HpcOmScheduler.mo

Large diffs are not rendered by default.

263 changes: 206 additions & 57 deletions Compiler/BackEnd/HpcOmTaskGraph.mo

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions Compiler/BackEnd/OpenTURNS.mo
Expand Up @@ -54,6 +54,7 @@ import BackendEquation;
import BackendVariable;
import ClockIndexes;
import CevalScript;
import CevalScriptBackend;
import ComponentReference;
import DAEUtil;
import Expression;
Expand Down Expand Up @@ -96,8 +97,8 @@ algorithm
cname_last_str := Absyn.pathLastIdent(inPath);
fileNamePrefix := cname_str;

simSettings := CevalScript.convertSimulationOptionsToSimCode(
CevalScript.buildSimulationOptionsFromModelExperimentAnnotation(
simSettings := CevalScriptBackend.convertSimulationOptionsToSimCode(
CevalScriptBackend.buildSimulationOptionsFromModelExperimentAnnotation(
GlobalScriptUtil.setSymbolTableAST(GlobalScript.emptySymboltable,inProgram),inPath,fileNamePrefix,NONE())
);
// correlation matrix form (vector of records) currently not supported by OpenModelica backend, remove it .
Expand Down
3 changes: 2 additions & 1 deletion Compiler/Main/Main.mo
Expand Up @@ -47,6 +47,7 @@ import BackendDAE;
import BackendDAECreate;
import BackendDAEUtil;
import CevalScript;
import CevalScriptBackend;
import ClockIndexes;
import Config;
import Corba;
Expand Down Expand Up @@ -579,7 +580,7 @@ algorithm
// program. Otherwise, instantiate the given class name.
cname := if stringLength(cls) == 0 then Absyn.lastClassname(program) else Absyn.stringPath(cls);
st := GlobalScriptUtil.setSymbolTableAST(GlobalScript.emptySymboltable, program);
(cache, env, dae) := CevalScript.runFrontEnd(FCore.emptyCache(), FGraph.empty(), cname, st, true);
(cache, env, dae) := CevalScriptBackend.runFrontEnd(FCore.emptyCache(), FGraph.empty(), cname, st, true);
end instantiate;

protected function optimizeDae
Expand Down

0 comments on commit ff50eb2

Please sign in to comment.