Directory c_runtime/interactive/

Directory Created:
2010-04-28 09:38
Directory Deleted:
2012-02-23 08:08
Total Files:
0
Deleted Files:
21
Lines of Code:
0

[root]/c_runtime/interactive
            Folder removed from repo SampleClient (0 files, 0 lines)

Lines of Code

c_runtime/interactive/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 171 (100.0%) 12322 (100.0%) 72.0
sjoelund.se 64 (37.4%) 5280 (42.9%) 82.5
perost 22 (12.9%) 3895 (31.6%) 177.0
vasaie_p 34 (19.9%) 2482 (20.1%) 73.0
adrpo 48 (28.1%) 661 (5.4%) 13.7
lochel 1 (0.6%) 3 (0.0%) 3.0
wbraun 2 (1.2%) 1 (0.0%) 0.5

Most Recent Commits

adrpo 2012-02-23 08:08 Rev.: 11174

- GOT RID OF the old trunk/c_runtime and old templates SimCodeC.tpl/SimCodeFMU.tpl
- HIGHLY RECOMMENDED make clean
- renamed SimCodeXXX.tpl CodegenXXX.tpl
- merged the needed things from SimCodeC.tpl into CodegenQSS.tpl.
- all tests except the usual mishaps go.
- targeted all trunk/c_runtime references used in
Makefiles / C (Qt OMPlot) / Other files to their SimulationRuntime/ counterparts.

0 lines of code changed in 21 files:

  • c_runtime/interactive: Makefile (del), Makefile.in (del), README.txt (del), client.cpp (del), makefile.mingw (del), omi_Calculation.cpp (del), omi_Calculation.h (del), omi_Control.cpp (del), omi_Control.h (del), omi_ResultManager.cpp (del), omi_ResultManager.h (del), omi_ServiceInterface.cpp (del), omi_ServiceInterface.h (del), omi_Transfer.cpp (del), omi_Transfer.h (del), socket.cpp (del), socket.h (del), socket_unix.cpp (del), socket_win.cpp (del), thread.cpp (del), thread.h (del)
adrpo 2011-11-19 14:21 Rev.: 10555

- update a bit the omi_Calculation.cpp with things that are done before callSolver.

9 lines of code changed in 1 file:

  • c_runtime/interactive: omi_Calculation.cpp (+9 -3)
adrpo 2011-09-16 13:03 Rev.: 9831

- added stdio.h for gcc 4.4 compilation.

1 lines of code changed in 1 file:

  • c_runtime/interactive: socket_win.cpp (+1)
sjoelund.se 2011-06-11 00:33 Rev.: 9270

- Use configured flags

2 lines of code changed in 1 file:

  • c_runtime/interactive: Makefile.in (+2 -2)
adrpo 2011-06-01 00:42 Rev.: 9222

- BIG CHANGE!
- generate Model_init.xml instead of Model_init.txt
- clean objects in Model.makefile before compiling (Make doesn't seem to get that
Model.c is newer than Model.o if we issue two simulate commands for the same model,
even if the model changed via loadFile.)
- check the result of fflush in systemimpl.c and printimpl.c
- fflush in c_runtime/linearize.cpp
- added c_runtime/simulation_input_xml.h and cpp to read the Model_init.xml file.
- link the generated code with the XML parser library -lexpat as libc_runtime needs it now
- Model.c and Model_init.xml will now contain a GUID which is used in c_runtime/simulation_input_xml.cpp
to check if the Model_init.xml is matched with Model.c (Model.exe)
- The Model_init.xml is based on FMI but with much more information that we need for OMC.
- The Model_init.xml file it has no schema yet as it may change in the near future to include
more things that are now static in the generated code (Model.c). This will make compilation
of generated code faster.
- disabled testsuite/interactive-simulation/runInteractiveSimulation.mos and added only a
compilation test (more work is needed to make the run test more robust).
- updated tests and compiler files with the name change from _init.txt to _init.xml.

4 lines of code changed in 2 files:

  • c_runtime/interactive: omi_ServiceInterface.cpp (+3 -3), omi_ServiceInterface.h (+1 -1)
lochel 2011-05-27 11:34 Rev.: 9141

reorder include files to avoid unknown references

3 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ServiceInterface.cpp (+3 -3)
vasaie_p 2011-05-23 20:29 Rev.: 9079

fix: changeParameterValues
fix: changeSimulationTime

update: interactive simulation performance
update: debug options

196 lines of code changed in 5 files:

  • c_runtime/interactive: omi_Calculation.cpp (+3 -3), omi_Control.cpp (+69 -36), omi_ResultManager.cpp (+108 -46), omi_ResultManager.h (+13 -2), omi_Transfer.cpp (+3 -3)
vasaie_p 2011-05-23 01:00 Rev.: 9071

fix: reinitialization after stopSimulation
fix: wrong references on ssdArray
update: setResultData and getResultData
update: resetSSDArrayWithNullSSD
update: initializeSSD_AND_SRDF

400 lines of code changed in 5 files:

  • c_runtime/interactive: omi_Calculation.cpp (+5 -20), omi_Control.cpp (+10 -2), omi_ResultManager.cpp (+380 -347), omi_ResultManager.h (+2 -2), omi_Transfer.cpp (+3 -8)
vasaie_p 2011-05-20 13:59 Rev.: 9055

fixed stopSimulation

223 lines of code changed in 5 files:

  • c_runtime/interactive: omi_Calculation.cpp (+180 -140), omi_Control.cpp (+5 -8), omi_Control.h (+5), omi_ResultManager.cpp (+1 -1), omi_Transfer.cpp (+32 -34)
vasaie_p 2011-05-20 09:45 Rev.: 9050

Debug stopSimulation function and changeSimulationTime v2

1 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ResultManager.cpp (+1)
sjoelund.se 2011-05-20 08:32 Rev.: 9049

- Fix compilation (merge conflict that was ignored instead of resolved)

0 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ResultManager.cpp (-8)
vasaie_p 2011-05-19 18:41

Debug stopSimulation function and changeSimulationTime v2

158 lines of code changed in 5 files:

  • c_runtime/interactive: omi_Calculation.cpp (+94 -77), omi_Control.cpp (+27 -24), omi_Control.h (+2 -1), omi_ResultManager.cpp (+26 -14), omi_Transfer.cpp (+9 -3)
sjoelund.se 2011-05-19 08:11 Rev.: 9040

- Fix compilation

1 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ResultManager.cpp (+1 -1)
vasaie_p 2011-05-18 17:26 Rev.: 9039

Debug stopSimulation function and changeSimulationTime

231 lines of code changed in 3 files:

  • c_runtime/interactive: omi_Calculation.cpp (+6 -6), omi_Control.cpp (+146 -151), omi_ResultManager.cpp (+79 -80)
sjoelund.se 2011-04-13 15:38 Rev.: 8625

- Remove the crap known as tabs from C sources

1411 lines of code changed in 13 files:

  • c_runtime/interactive: client.cpp (+113 -113), omi_Calculation.cpp (+81 -81), omi_Control.cpp (+679 -679), omi_Control.h (+3 -3), omi_ResultManager.cpp (+317 -317), omi_ResultManager.h (+14 -14), omi_ServiceInterface.cpp (+13 -13), omi_ServiceInterface.h (+1 -1), omi_Transfer.cpp (+125 -125), socket.h (+7 -7), socket_unix.cpp (+19 -19), thread.cpp (+14 -14), thread.h (+25 -25)
sjoelund.se 2011-03-31 13:22 Rev.: 8434

- Accept CC/CXX flags in more files

2 lines of code changed in 1 file:

  • c_runtime/interactive: Makefile.in (+2 -1)
vasaie_p 2011-03-19 07:14 Rev.: 8314

update support for dassl2
update communication algorithm between runtime server and environment client
update English comments

fix communication between runtime server and environment client
fix done message after set filter

1154 lines of code changed in 8 files:

  • c_runtime/interactive: omi_Calculation.cpp (+33 -10), omi_Control.cpp (+693 -657), omi_ResultManager.cpp (+334 -324), omi_ResultManager.h (+22 -18), omi_ServiceInterface.cpp (+27 -5), omi_ServiceInterface.h (+2 -1), socket.h (+22 -22), socket_win.cpp (+21 -25)
adrpo 2011-03-19 03:49 Rev.: 8312

- possible fix to OMI interactive simulation.
- use timeValue instead of lastEmittedTime.

3 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ServiceInterface.cpp (+3 -3)
adrpo 2011-03-18 10:26 Rev.: 8290

- improvements to mmc GC (still disabled for now as is still slow)
+ added roots management to SimCodeC.tpl
- make VS happy by
+ having an array of 1 records without fields (Unparsing.tpl)
+ moving includes around
- new file SCodeCheck.mo (more will come here)
- better display of elements in SCode.mo
- added RCS lines to some files.

5 lines of code changed in 1 file:

  • c_runtime/interactive: thread.h (+5 -2)
wbraun 2011-03-10 16:37 Rev.: 8166

- removed old dassl solver
- adjust testsuite

0 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ServiceInterface.cpp (-1)
sjoelund.se 2011-03-07 11:03 Rev.: 8121

- Made it a simulation error to an output-format that is not known instead of defaulting to plt
- Updated the measureTime option to print outputFormat and data sizes
- Improved handling of simulate() errors (now prints the contents of output.log when the simulation executable signals an error)

1 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ServiceInterface.cpp (+1 -1)
sjoelund.se 2011-03-04 10:22 Rev.: 8077

- Fixed line endings of several files

1540 lines of code changed in 10 files:

  • c_runtime/interactive: client.cpp (+1), omi_Calculation.cpp (+1), omi_Control.cpp (+1074 -1073), omi_ResultManager.cpp (+1), omi_ServiceInterface.cpp (+1), omi_Transfer.cpp (+1), socket.cpp (+1), socket_unix.cpp (+1), socket_win.cpp (+239 -238), thread.cpp (+220 -219)
sjoelund.se 2011-02-16 16:33 Rev.: 7947

- Added option variableFilter to translate/buildModel/simulate commands/simulation runtime
- This argument is a regular expression; any variable that matches this expression is present in the result file
- The default value is ".*", which matches _any_ variable
- The regex provided is treated as: ^(%regex%)$, i.e. you are forced to write regular expressions that match the complete name (no substring matches)
- Currently only implemented for plt/csv formats with mat coming in the near future

- Added an error message when a uniontype record contains a field that has the type of a uniontype record instead of a uniontype (this is more specific than the type mismatch error that used to be provided)

2 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ServiceInterface.cpp (+2 -1)
sjoelund.se 2011-01-07 10:33 Rev.: 7662

- Replaced tab characters with 2 spaces (mostly in C sources since Eclipse/MDT usually manages to avoid using tabs)
$ svn diff Compiler/ | grep ^- | grep -v ^--- | wc -l
4771
$ svn diff c_runtime/ | grep ^- | grep -v ^--- | wc -l
13365
$ svn diff OMNotebook/ | grep ^- | grep -v ^--- | wc -l
17341
$ svn diff OMShell/ | grep ^- | grep -v ^--- | wc -l
582

1686 lines of code changed in 13 files:

  • c_runtime/interactive: client.cpp (+164 -164), omi_Calculation.cpp (+114 -114), omi_Control.cpp (+651 -651), omi_Control.h (+6 -6), omi_ResultManager.cpp (+317 -317), omi_ResultManager.h (+14 -14), omi_ServiceInterface.h (+1 -1), omi_Transfer.cpp (+211 -211), socket.cpp (+2 -2), socket.h (+7 -7), socket_unix.cpp (+85 -85), thread.cpp (+66 -66), thread.h (+48 -48)
sjoelund.se 2010-12-19 14:10 Rev.: 7497

- Rewrote the simulation runtime slightly
- names and comments of a variable is now stored in a record instead of different arrays
- This record also contains the Absyn.Info information (filename, line/column start/end)
- Removed sendDataHumbug. It has been replaced with preprocessor macros that disable sendData

17 lines of code changed in 4 files:

  • c_runtime/interactive: omi_Control.cpp (-1), omi_ServiceInterface.cpp (+15 -16), socket_unix.cpp (+1), thread.cpp (+1 -2)
sjoelund.se 2010-12-19 12:26 Rev.: 7496

- Removed some tabs from omi
- Added some dependencies for omi_ServiceInterface.o

248 lines of code changed in 3 files:

  • c_runtime/interactive: Makefile.in (+8 -1), makefile.mingw (+4), omi_ServiceInterface.cpp (+236 -236)
adrpo 2010-12-19 06:55 Rev.: 7490

- fixes for DynamicSelect in annotations (return the first and constant part)
- faster retrieval of annotations.
- fixes for the interactive simulation test and small fixes to the client.

9 lines of code changed in 1 file:

  • c_runtime/interactive: client.cpp (+9 -2)
adrpo 2010-12-17 20:30 Rev.: 7483

- exit if we cannot connect after we retry 5 times with 2 seconds delay.

5 lines of code changed in 1 file:

  • c_runtime/interactive: client.cpp (+5 -3)
perost 2010-12-17 19:53 Rev.: 7481

- Fixes to make the interactive client also compile on Linux.

2 lines of code changed in 2 files:

  • c_runtime/interactive: Makefile.in (+1 -1), client.cpp (+1)
adrpo 2010-12-17 19:28 Rev.: 7478

- build also the client for interactive simulation so we don't break it:
c_runtime/interactive/client.cpp

11 lines of code changed in 2 files:

  • c_runtime/interactive: Makefile.in (+5 -1), makefile.mingw (+6 -2)
adrpo 2010-12-17 19:19 Rev.: 7477

- get rid of warnings, fixes for Linux.

3 lines of code changed in 3 files:

  • c_runtime/interactive: omi_Calculation.cpp (+1 -1), omi_Control.cpp (+1 -1), thread.h (+1)
adrpo 2010-12-17 19:07 Rev.: 7475

- updates to readmes and interactive-simulation test
- added the interactive-simulation to be run with the testsuite
- updated SimulationApplicationExample_TwoTanks.zip

8 lines of code changed in 1 file:

  • c_runtime/interactive: README.txt (+8 -1)
adrpo 2010-12-17 18:50 Rev.: 7472

- finished the interactive-simulation test.

1 lines of code changed in 1 file:

  • c_runtime/interactive: client.cpp (+1 -2)
adrpo 2010-12-17 18:44 Rev.: 7471

- more work on testsuite for interactive-simulation
- made a better client.cpp that knows also how to read commands from a file.
- fflush(stdout) everywhere where we have cout!
- got rid of some warnings.
- still more work is needed for testing the test.
- translated *german* (duh!) messages to English.

583 lines of code changed in 9 files:

  • c_runtime/interactive: README.txt (+7 -2), client.cpp (+111 -38), omi_Calculation.cpp (+29 -29), omi_Control.cpp (+193 -107), omi_ResultManager.cpp (+91 -57), omi_ServiceInterface.cpp (+32 -28), omi_Transfer.cpp (+89 -59), socket_win.cpp (+30 -21), thread.h (+1)
adrpo 2010-12-17 15:15 Rev.: 7463

- make it portable

16 lines of code changed in 1 file:

  • c_runtime/interactive: client.cpp (+16 -5)
adrpo 2010-12-17 12:21 Rev.: 7453

- added a README.txt for interactive simulation.

2 lines of code changed in 1 file:

  • c_runtime/interactive: README.txt (new 2)
sjoelund.se 2010-09-21 12:34 Rev.: 6159

- Fix svn-eol-style on Makefiles

1 lines of code changed in 1 file:

  • c_runtime/interactive: Makefile.in (+1)
sjoelund.se 2010-09-21 08:54 Rev.: 6153

- Ran make fix-svn-eol-style

353 lines of code changed in 7 files:

  • c_runtime/interactive: omi_Calculation.h (+23 -22), omi_Control.h (+43 -42), omi_ResultManager.h (+68 -67), omi_ServiceInterface.h (+115 -114), omi_Transfer.h (+31 -30), socket.h (+72 -71), thread.h (+1)
adrpo 2010-06-30 09:39 Rev.: 5750

- get rid of the warning.

1 lines of code changed in 1 file:

  • c_runtime/interactive: omi_Transfer.cpp (+1 -1)
sjoelund.se 2010-06-29 11:43 Rev.: 5745

- Changed code generation for when external object constructors are called
- It is now done after the input file has been read
- Ext.objs can now depend on (fixed) parameters, including strings
- Added code to support string parameters
- Added testcase ExtObjStringParam.mos based on bug https://openmodelica.org:8443/cb/issue/1163

1 lines of code changed in 1 file:

  • c_runtime/interactive: omi_ServiceInterface.cpp (+1)

(6 more)

Generated by StatSVN 0.7.0