OpenModelica newInst-daeMode from 2019-05-26 00:45:41 to 2019-05-29 09:30:31

Summary

OMC Commits26502
Libraries Changed7
Number of Improvements98
Number of Regressions30
Number of Performance Improvements30
Number of Performance Regressions0

OpenModelica Changes

CommitAuthorSummary
3e12ff23daAdeel AsgharBetter reading of visual xml file
767bbe4ce0Adeel AsgharAlways send utf-8 data from OMEdit to OMC
c8b2e0e0e6Martin SjölundUpdate ModelicaExternalC
04b5e7ae6cjohtiISSUE-5503: Focus set proper when changing the shape that we are activly drawing
a7237c207cjohtiRemovedOutCommentedCode: Removed code that was not used in Commands.cpp. They are still in the history so should be retrievable
4d4d80992fjohtienhancement-5444: Now possible to escape while drawing lines and polygons
c6b0e20c00Martin SjölundPrevent some memory leaks in KINSol
7d0026e3f1Martin SjölundAbort previous builds when PR has a new commit
6bcd564584Adeel AsgharDocumentation about DynamicSelect and state machine debugging
0468d6921fPer Östlund[NF] Avoid evaluating external functions.
a09c8abbb1Adrian Popfix MSVC build - handle MSVC that doesn't know how to handle array declarations with sizes set by local variables on the stack
dbe3960e81Martin SjölundRHEL6 requires libatomic_ops/m4 to exist
53f0fcbc8aAdeel AsgharAdapt to the new output format for text options
69a67b26e8Adeel AsgharSupport non-ascii characters on Windows
38bb5e0468arun3688set datarecon uncertain var unreplaceable
0e102be305Adrian Pop- more API using the NF - fix ticket:5482 handle getIconAnnotation and getDiagramAnnotation via the NF - cache results of the NF instantiation - better fix for ticket:5484 - change annotation Text record to have defaults for fontName and testStyle - update tests due to changes to Text annotation
ad11e888d3arun3688generate seperate c function for setting datarecon inputs
00057d265ejohtiRemoved duplicate code. Instead create a new method for LineAnnotation
dc9a2b2a30Per ÖstlundRemove pedantic option.
cef23d1b3aRuediger Franke[Cpp] Support assignment to vectorized discrete-time states in for loops
61686da507Per Östlund[NF] Implement sum-reduction of operator records.
52269bf531Per Östlund[NF] Add --strict flag.
8e39485c48Martin SjölundCreate m4 directory to please CentOS6
739106a9ffPer ÖstlundFix check of flags in Flags.loadFlags.
fcce7079d2Martin SjölundAdd the MidCode theses to the list
2ec8f35745Adrian Popupdate 3dParty
4f1956f242Martin SjölundMake a list of flaky tests for the compliance suite
24d90d7f31Martin SjölundUpdate compliance suite tests for newInst
0d019321fbAdeel AsgharUpdate the package.order file after the class rename Made it optional to delete file/folder once a model/package is deleted. Fixes ticket:4852 and ticket:5355
e851d0e3f7hudson* libraries d7daa7e...1f7f382 (1): > Bump libraries
f066cbaf99Adrian Pop* libraries 92788d8...d7daa7e (1): > update provided after AdvancedNoise version change
8581d04c0eAdrian Popfix ticket:5484 allow only -d=nfAPI to be set
89b42042fdAdeel Asgharticket:5481 Updated the parameter when the value is changed
41b846d665Adeel AsgharUpdated translations Thanks to LI Wenhui for Chinese translations
0b3c742c56Lennart Ochel* OMSimulator 5d63a37...83936fb (1): > Update .gitignore
e00938b54cLennart Ochel* OMSimulator 9e04b31...5d63a37 (1): > Emit events for strongly connected systems (#680)
555414b0aaAdeel AsgharCheck for the index out of bounds
2f2c9955b0Adeel AsgharUnify the getVersion output for all platforms Updated the OMEdit's about page.
f6f5727072hudson* libraries bf78c4b...92788d8 (1): > Bump libraries
efba4f83c8Martin SjölundThe doc repo is never used
75becfa81bMartin SjölundMerge pull request #182 from sjoelund/fix-common-version
c2d73c7677Martin SjölundFix version string used
b66fa07c24Martin SjölundAdd 'common/' from commit 'c9c90856e0875fc31ccc71f97114023dc640170b'
746f6d55e9Martin SjölundRemove common submodule (use subtree instead)
2ab97af9b9Martin SjölundUpdate to the actual latest 3rdParty
4b57428d24Martin SjölundMerge pull request #179 from sjoelund/omcompiler-subtree
8c0cb3f93eMartin SjölundAdd common and 3rdParty back
f2b058a41dMartin SjölundRemove 3rdParty and common submodules
83be5f2b79Martin SjölundAdd 'OMCompiler/' from commit '5dc61f678fe0ed388fc811fe2cea14c54a0a0b29'
7e93f6768aMartin SjölundAdd 'doc/' from commit 'f863b8c3d86223259fa53f7bf5acdbef04727792'
bfa656a788Martin SjölundRemove submodules (to be added as subtree)
5caf2a52a0hudson* OMCompiler c33af09...5dc61f6 (1): > any target starting with 'msvc' is msvc
5dc61f678fAdrian Popany target starting with 'msvc' is msvc
cf17a88b0dhudson* libraries 7a8c41b...bf78c4b (1): > Bump libraries
c33af0978ePer Östlund[NF] Check conditional component contexts.
9053eb0fe7hudson* OMCompiler 9a3a758...c33af09 (1): > [NF] Check conditional component contexts.
5116ef3893hudson* OMCompiler ad34730...9a3a758 (1): > [NF] Fix expandable connector lookup.
2f4840a5cfPer Östlund[NF] Add expandable connector test.
9a3a758228Per Östlund[NF] Fix expandable connector lookup.
3cd9411fc8Adeel Asgharticket:4475 write the simulation log to a file Added a customizable display limit for the simulation log. Only display until the limit is reached and then show a link to the log file. Doesn't freeze the OMEdit window so user can cancel the simulation if needed. Added a button in the simulation window to open the simulation log file. Copy the plain text so it could be used in other tools.
210774d028hudson* OMCompiler 92a4119...ad34730 (1): > [FE] new API and replaceable support - work in progress - to use, just add +d=nfAPI to the OMEdit simulation flags - handling of getComponentAnnotations via NF (some models are about 6x faster) - some crashes in OMEdit, not debugged yet, for example: Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater
4b18e23d88Adrian Pop- update tests due to #3087
ad34730536Adrian Pop[FE] new API and replaceable support - work in progress - to use, just add +d=nfAPI to the OMEdit simulation flags - handling of getComponentAnnotations via NF (some models are about 6x faster) - some crashes in OMEdit, not debugged yet, for example: Modelica.Fluid.Examples.AST_BatchPlant.BatchPlant_StandardWater
92034e2a10hudson* libraries aefdec1...7a8c41b (1): > Bump libraries
432add6607Lennart Ochel* OMSimulator b4f2530...9e04b31 (1): > Update OMTLMSimulator
bbf51fa827Lennart Ochel* OMSimulator 89a8623...b4f2530 (1): > Add documentation on how to use OMEdit
99eb5ee5a6hudson* libraries b563630...aefdec1 (1): > Bump libraries
27269d25c0hudson* libraries b24433c...b563630 (1): > Bump libraries
3e23ece3fbAdeel AsgharFix the broken TextAnnotation string update
2f616cf17ehudson* OMCompiler d9dbed6...92a4119 (1): > Handle complex equations in when statements.
92a4119475Andreas HeuermannHandle complex equations in when statements.
bdf4d9f8ffhudson* libraries c56853c...b24433c (1): > Bump libraries
d2cce7f75ahudson* OMCompiler a4e794b...d9dbed6 (1): > Fix rpath for OMSI FMU with gcc
11ea517bd6Andreas[OMSI] Adition test and cleaner tests.
d9dbed6b5eAndreasFix rpath for OMSI FMU with gcc
d2c1ff75fbLennart Ochel* OMSimulator 1b54304...89a8623 (2): > Add right limit of discrete changes to sub-sampled results > Prettify warnings
ebede8e706Lennart Ochel* OMSimulator 6408a01...1b54304 (1): > Catch filesystem exception
906a9641fdhudson* libraries b77e0c4...c56853c (1): > Bump libraries
8de386152fhudson* OMCompiler d2540cc...a4e794b (1): > Fix wrong linkage of expat lib for FMUs
a4e794b3fdAndreasFix wrong linkage of expat lib for FMUs
6e53e5c675Martin SjölundDo not link TLM with OMEdit
8a0ac68731hudson* OMCompiler 6cebda4...d2540cc (1): > [NF] Improve unit checking.
ae3d4c5654Per Östlund[NF] Update tests.
d2540cc708Per Östlund[NF] Improve unit checking.
5e85efc89bhudson* OMCompiler c8a95fd...6cebda4 (1): > [NF] Improve overconstrained connection handling.
6cebda4386Per Östlund[NF] Improve overconstrained connection handling.
60db07d6b0Andreas[OMSimulator] Made OMSimulator tests compatible with Windows
8d278e2875Martin SjölundCompile for Qt4
c42eac4f06hudson* libraries 89ea3f9...b77e0c4 (1): > Bump libraries
3b1af59276Adrian Popfix non-existent OMCompiler sumbmodule hash
ffb8d4e2d2kabdelhak[fixTest] ticket 4793 - OMC PR #3077
c8a95fdf0ckabdelhak[BE] Avoid records in remove simple equations - #4793
6c4f794e3eAdeel Asgharticket:5456 Set simCodeTarget and target flags before compilation
80f6ed2acbPer ÖstlundFix NFUnitCheck.getFunctionName for records.
b1e80b4128hudson* OMCompiler ee7aaab...80f6ed2 (1): > Fix NFUnitCheck.getFunctionName for records.
35dc9df529Francesco Casella* doc 3f37f1a...f863b8c (1): > Added Save Total description to OMEdit doc
f863b8c3d8Francesco CasellaAdded Save Total description to OMEdit doc
ee7aaabe65Adeel Asgharticket:5030 Fix the broken profiling for OMEdit
db4ed5b0f7hudson* OMCompiler 5daaf9b...ee7aaab (1): > ticket:5030 Fix the broken profiling for OMEdit
aab467cb82Martin Sjölund* OMSimulator 4d9d552...6408a01 (1): > Override OMTLM=OFF for MacOS platform
5174acb78chudson* libraries 8bd870c...89ea3f9 (1): > Bump libraries
1ebf928de7Lennart OchelAdd co-simulation test
04784f30c4Lennart Ochel* OMSimulator 6562003...4d9d552 (1): > Update doc/
b54f826e6cFrancesco Casella* doc 5d4eef3...3f37f1a (1): > Updated profiler manual
3f37f1a42bFrancesco CasellaUpdated profiler manual
97cd554d77Adeel AsgharUse MessageWidget instead of std::cout
ae82472ac7hudson* libraries cec7671...8bd870c (1): > Bump libraries
882fadfffaAdeel AsgharClear the DiagramWindow when the ModelWidget is deleted
b890c37936Adeel AsgharDeleted the unused file
5ebd90b4dfAdeel AsgharUpdated translations Thanks to LI Wenhui for Chinese translations
998ec879e4hudson* OMCompiler f6e1212...5daaf9b (1): > [BE] Remove dumping of empty sets from index reduction
5daaf9ba0dkabdelhak[BE] Remove dumping of empty sets from index reduction
b3569f0d6eAdeel AsgharUpdate the Diagram Window to support the dynamic select The variables browser slider can be used for dynamic select now. Only supports visible and textString attributes right now without expressions.
b38fd64685hudson* OMCompiler 364f80f...f6e1212 (1): > [NF] Fix redeclaration of enumerations.
773e45d67ePer Östlund[NF] Add enumeration redeclare tests.
f6e1212442Per Östlund[NF] Fix redeclaration of enumerations.
db98c65416hudson* OMCompiler 0baa066...364f80f (1): > fix dataReconciliation top level inputs
364f80f3dfarun3688fix dataReconciliation top level inputs
6f46e9074ahudson* libraries 431293b...cec7671 (1): > Bump libraries
8b0c5d69f2hudson* libraries 589cbcd...431293b (1): > Bump libraries
f50739fcd8hudson* OMCompiler 10081da...0baa066 (1): > Fix detection of setlocale using -O0
0baa0669f6Martin SjölundFix detection of setlocale using -O0
0abe106025hudson* OMCompiler 67b8802...10081da (1): > Fix bug introduced by PR #3067
10081da2c8AndreasFix bug introduced by PR #3067
0dba921b19hudson* libraries bf99b97...589cbcd (1): > Bump libraries
d27cc3e0e3hudson* OMCompiler 84b5f7e...67b8802 (2): > [OMSI] Added buildModelFMU for simCodeTarget=omsic > [OMSI] Fixed wrong header guard and warnings in OMSIBase and OMSIC
2a6cb1c866Andreas[OMSI] Added first OMSIC test
67b8802451Andreas[OMSI] Added buildModelFMU for simCodeTarget=omsic
10a0a9df6aAndreas Heuermann[OMSI] Fixed wrong header guard and warnings in OMSIBase and OMSIC
228978df25hudson* OMCompiler 8b33074...84b5f7e (2): > Update 3rdParty > Fixes for latest MacOS release
84b5f7ec38Martin SjölundUpdate 3rdParty
fafb07605dMartin SjölundFixes for latest MacOS release
85b17c5874hudson* libraries fe0d6a7...bf99b97 (1): > Bump libraries
8b33074dd5arun3688generate dataReconc-csvInputs when not exists
9038a09a9ahudson* OMCompiler a5eccba...8b33074 (1): > generate dataReconc-csvInputs when not exists
a5eccbadb6Per ÖstlundAdd dumping of external declaration annotations.
63453e4755hudson* OMCompiler bdf89c3...a5eccba (1): > Add dumping of external declaration annotations.
8eb0d6f80aAdeel Asgharticket:5443 Use the doubleClick SIGNAL instead of event
18c7db839ahudson* OMCompiler b7a2c69...bdf89c3 (1): > Load libraries case insensitive on case sensitive OS
bdf89c36abMartin SjölundLoad libraries case insensitive on case sensitive OS
3777215849hudson* libraries c83e829...fe0d6a7 (1): > Bump libraries
b7a2c69139Volker Waurichcatch crash in visualXML
0b92bbe2b2hudson* OMCompiler eef9c24...b7a2c69 (1): > catch crash in visualXML
a2165e34e9hudson* OMCompiler c252b04...eef9c24 (1): > Update the connection instead of deleting and adding it Moved the updateConnection API to ModelicaBuiltin.mo Added a new API updateConnectionNames which updates the connection connectors.
0ec37933f3Adeel Asgharticket:2395 Handle the connectorSizing annotation Updated tests to expected output
eef9c24ac5Adeel AsgharUpdate the connection instead of deleting and adding it Moved the updateConnection API to ModelicaBuiltin.mo Added a new API updateConnectionNames which updates the connection connectors.
58040af890hudson* OMCompiler 047112f...c252b04 (1): > [OMSI] Add OMSI C library
c252b047bfAndreas Heuermann[OMSI] Add OMSI C library
5365af1e47hudson* OMCompiler 2da4cb3...047112f (1): > [NF] stream connector improvements.
fa080aea4dPer Östlund[NF] Update actualStream/inStream tests.
047112f289Per Östlund[NF] stream connector improvements.
dfa536280ahudson* OMCompiler 22a570f...2da4cb3 (1): > [NF] Fix structural analysis of if-condition.
5e43ef817dPer Östlund[NF] Test if equation with impure condition.
2da4cb3758Per Östlund[NF] Fix structural analysis of if-condition.
614f67c1eaLennart Ochel* OMSimulator 5bb909d...6562003 (1): > Fix loading of msvc/mingw library in OMSimulatorPython
b7f1b627d8Lennart Ochel* OMSimulator b6d531e...5bb909d (3): > Fix doc/omsimulator-help.inc > Fix doc/addTLMBus > Update doc/setTolerance
a72ff35d80hudson* libraries 142cf0a...c83e829 (1): > Bump libraries
1341337f07hudson* libraries a322705...142cf0a (1): > Bump libraries
8c8c2160b2hudson* OMCompiler 8e0f7c5...22a570f (1): > [NF] Disable checks for actualStream/inStream.
3ef8a0b916Per Östlund[NF] Update tests.
22a570fa36Per Östlund[NF] Disable checks for actualStream/inStream.
9265cb20c2hudson* libraries df309fc...a322705 (1): > Bump libraries
c70c4564a9hudson* OMCompiler e9f8330...8e0f7c5 (1): > [NF] inStream/actualStream improvements.
c399c91a5cPer Östlund[NF] Add more actualStream/inStream tests.
8e0f7c517cPer Östlund[NF] inStream/actualStream improvements.
e098bf749dLennart Ochel* OMSimulator 2561eda...b6d531e (1): > Fix mac build
39e26ad4a3hudson* OMCompiler dd336f9...e9f8330 (1): > [SimCode] Remove unnecessary verbose SimCode dump - Repeats the same information - Dump size grows factorially with number of elsewhen statements
e9f83304e4kabdelhak[SimCode] Remove unnecessary verbose SimCode dump - Repeats the same information - Dump size grows factorially with number of elsewhen statements
ba1db80f76hudson* libraries c75ad66...df309fc (1): > Bump libraries
fa8cdd1438Lennart Ochel* OMSimulator a3b8542...2561eda (2): > Create tasks for subsystems > Move thread pool to model
ab7571796bhudson* OMCompiler b423c40...dd336f9 (1): > Allow parsing the Text(textColor = ...) annotation
1add3237cdAnatoly TrosinenkoFix the Text(textColor = ...) annotation & re-enable it on icons
dd336f954eAnatoly TrosinenkoAllow parsing the Text(textColor = ...) annotation
d8044194c8hudson* libraries cbe12d8...c75ad66 (1): > Bump libraries
dbc07c832fhudsonUpdating submodules
bb5274d1daadrpoupdate tests due to library updates
5d4eef3d1barun3688add search functionality to OMEdit documentation
43dbf0d4c7Adeel AsgharRestrict key binding on system libraries
7d31839f0cAdeel AsgharUpdated the translation flag text
f1f591f8a5Adeel Asgharticket:5132 Don't enable the evaluation of parameters by default
2ad607cd60arun3688add dataReconciliation documentation
b423c40434kabdelhak[BE,daeMode] Fix: add removed (simple) eqns to dae system
646bc9b891hudson* OMCompiler d6957d5...b423c40 (1): > [BE,daeMode] Fix: add removed (simple) eqns to dae system
d3932f418bhudson* OMCompiler 5ef43cc...d6957d5 (1): > [BE] Add initial state selection - available with flag "--initialStateSelection" - implemented for C runtime - has still some bugs
d6957d571bkabdelhak[BE] Add initial state selection - available with flag "--initialStateSelection" - implemented for C runtime - has still some bugs
20862b7bf7Adeel AsgharUse options instead of settings
e5a0c3a325Adeel AsgharMake the class name relative if possible
2e3b0aecbfMartin SjölundAlso upload the html folder for the documentation
1c19033ac7Martin SjölundUpdate compliance suite failure list
13e61863bbAdeel Asgharticket:5337 Sync the documentation view with ModelWidget
52e77f788eAdeel Asgharticket:5128 Added drag and drop for text layer
18533fb0bfhudson* OMCompiler 9a506ce...5ef43cc (1): > Handle uses-annotation according to the standard.
74d015370aPer ÖstlundAdded uses-annotation test case.
5ef43cce81Per ÖstlundHandle uses-annotation according to the standard.
d2226ca145hudson* OMCompiler 963b33e...9a506ce (1): > Initial implementation of String vars in the Cpp runtime
9a506ce9bfAnatoly TrosinenkoInitial implementation of String vars in the Cpp runtime
7f1a15dedaLennart Ochel* OMSimulator 2ca4025...66fe6fe (1): > Update README.md
d49bfd0e89Lennart Ochel* OMSimulator 51a79b6...2ca4025 (1): > Update stale bot configuration
685b27f39bLennart Ochel* OMSimulator 917fc35...51a79b6 (1): > Add option to disabled --fetchAllVars
724d792190hudson* OMCompiler 3006b8a...963b33e (1): > [BE] Add jacobian dependencies - Preparation for initial state selection, used for matching - The dependencies of a jacobian are all unknowns contained in it
48a1cca9d0kabdelhak[fixTest] For OMCompiler PR#3048
963b33e136kabdelhak[BE] Add jacobian dependencies - Preparation for initial state selection, used for matching - The dependencies of a jacobian are all unknowns contained in it
6a4c0f4da9Adeel AsgharFixes ticket:5422 Use the root component
44507d2e8bhudson* libraries 787ce2b...3606a9e (1): > Bump libraries
d02e5e7063hudson* OMCompiler ee4deab...3006b8a (1): > [NF] Fix Typing.typeCrefDim for array types.
65ae273819Per Östlund[NF] Update tests.
3006b8aee0Per Östlund[NF] Fix Typing.typeCrefDim for array types.
6527a58935hudson* OMCompiler 3f5cb68...ee4deab (1): > [BE] Add unique index of stateSets as attribute
ee4deabd83kabdelhak[BE] Add unique index of stateSets as attribute
8d7cca52ebhudson* OMCompiler f2e6265...3f5cb68 (1): > [C] update inline documentation of stateSelection
3f5cb6832ekabdelhak[C] update inline documentation of stateSelection
50b0b1a5ecMartin SjölundUpdated mechanism to skip building omc
8f90dd6a27hudson* OMCompiler 2ee23a6...f2e6265 (2): > [NF] Don't evaluate external objects. > [NF] Various fixes.
f2e6265d09Per Östlund[NF] Don't evaluate external objects.
e732ccf14dPer Östlund[NF] Update tests.
4f5cf17a34Martin SjölundFix path of .html.tar.xz
d82185e196Per Östlund[NF] Various fixes.
081db194eehudson* OMCompiler 1997057...2ee23a6 (1): > [C] split up sets for state selection
2ee23a6f58kabdelhak[C] split up sets for state selection
f461d84952Adeel AsgharRead the default value Fixed the annotation completer icon path Made the auto complete case insensitive
fdc07bf6deAnatoly TrosinenkoDon't show keyword, etc. completions when in annotation.
0116bcc0dcAdeel AsgharDon't try to fetch the components of root LibraryTreeItem Use the current cursor position instead of end of word in PlainTextEdit::insertCompletionItem Some other minor improvements
69bdc32e53Anatoly TrosinenkoImplement simple completer for Modelica annotations (task#5333)
5ea05e7a42Lennart Ochel* OMSimulator 1919978...917fc35 (1): > Fix writing results
457e10e5acMartin SjölundFix string substitution for documentation publishing
a062fb5d53hudson* libraries b7af01f...787ce2b (1): > Bump libraries
9488e89e65hudson* libraries a0e88d4...b7af01f (1): > Bump libraries
333b05aca4hudson* libraries ca09a28...a0e88d4 (1): > Bump libraries
28aafe6df1hudson* OMCompiler 8a2def5...1997057 (1): > [NF] Various fixes.
3538629616Per Östlund[NF] Updated tests.
199705757bPer Östlund[NF] Various fixes.
d89db2fcb1Lennart Ochel* OMSimulator 13c7b5c...1919978 (1): > Handle derivatives that are NAN or INF
b17ab4a46carun3688* OMCompiler 0a7961e...8a2def5 (1): > fix csv file inputs and LOG_STATS for dataReconciliation
d1ca88cdf3arun3688update DataReconciliationOpenCpsTests
8a2def5adaarun3688fix csv file inputs and LOG_STATS for dataReconciliation
e93b2eb3f0Andreas* OMCompiler 45edd24...0a7961e (1): > Fixed error with install_name_tool for OMSI
0a7961e9a5AndreasFixed error with install_name_tool for OMSI
e3a228f348Lennart Ochel* OMSimulator dafde86...13c7b5c (1): > Configure stale bot
8fe2e10484Lennart Ochel* OMSimulator 180daf0...dafde86 (2): > Return right-hand limit for derivatives of lookup tables > Fix input derivatives for the first step
6a7d8da895Martin Sjölund* OMCompiler b694f3f...45edd24 (1): > Add a warning if FMU is generated without compile-time URI
96e0644dccMartin SjölundAdd spelling for URI
45edd24a9eMartin SjölundAdd a warning if FMU is generated without compile-time URI
c60eac3639hudson* libraries 56d8431...ca09a28 (1): > Bump libraries
b694f3f03eAndreasFix linking shared libs on mac os
06614510d9Andreas* OMCompiler 9cb23bc...b694f3f (1): > Fix linking shared libs on mac os
aff96d67b1Lennart Ochel* OMSimulator aa2c500...180daf0 (2): > Update pull_request_template.md > Update README.md
a7a7beb400Martin Sjölund* OMCompiler 30afa79...9cb23bc (1): > Move cJSON to Compiler runtime as simulations do not use it
72a8af7a21Martin SjölundUpdate expected output; fewer files in source-code FMU
9cb23bc220Martin SjölundMove cJSON to Compiler runtime as simulations do not use it
d51d900e1aLennart Ochel* OMSimulator 0be281f...aa2c500 (1): > Refactoring of signal derivatives
666b4afef6Adeel Asghar* doc 6eaa1a8...0c638e3 (1): > Added documentation about OMEdit menus.
0c638e30a2Adeel AsgharAdded documentation about OMEdit menus.
30afa79d31Martin SjölundDisable mmap in FMUs
dbbf201793hudson* OMCompiler 0839b2f...30afa79 (1): > Disable mmap in FMUs
c0bb00db4dhudson* OMSimulator bde4da4...0be281f (4): > Run hostname for Windows agent > Provide first order derivatives for lookup-tables > Fix reading time > Refactoring of signal derivatives
516aa19173Adeel Asgharticket:5413 Show a custom warning instead of error message When diff algorithm fails show a warning
6c9b69ce84Martin SjölundUpload generated documentation
c1d8a523f9Adeel AsgharAllow simulation with data reconciliation
3b5ce5b211Martin SjölundExpected output for newInst compliance suite
3bb27436a6hudson* libraries b5c5422...56d8431 (1): > Bump libraries
6d4ea79190Martin SjölundAdd OMSimulator to default build since testsuite uses it
3cd1488702hudson* libraries 5847e5e...b5c5422 (1): > Bump libraries
875d4f4d0eMartin Sjölund* libraries 30b8e8a...5847e5e (1): > Force Inline annotation for loadResource
0839b2fe17Per Östlund[NF] Add component prefix checks for records.
26f6fc37f0hudson* OMCompiler 450104a...0839b2f (1): > [NF] Add component prefix checks for records.
8fc9c9161cAdeel AsgharFixes ticket:5359 Read the modified simulation settings
450104a6cePer Östlund[NF] Fix Expression.typeOf for size(x).
2dc8a1098fhudson* OMCompiler 8676697...450104a (1): > [NF] Fix Expression.typeOf for size(x).
e4d287055cAdeel AsgharInstall the pre-commit hook for clients Killed tabs Fixed OMPlot link
a9c9afa597hudsonMerge remote-tracking branch 'origin/master' into pullrequest
3868c48817Lennart Ochel* OMSimulator c11f942...bde4da4 (1): > Make 'bufferSize' optional in Python API (setResultFile) (#644)
f55d4f11caMartin Sjölund[CI] Configure gcc build without hwloc
83ebb9bc52Martin SjölundAdd 'testsuite/' from commit 'cabd6f22a34e3402ec62426f92475b945e3d977b'
9469788a66Martin SjölundRemove testsuite (will be re-added as git subtree)
8676697867Martin SjölundAllow to configure without hwloc
eebd629408Martin Sjölund* OMCompiler 73c7be8...8676697 (1): > Allow to configure without hwloc
f7c386b926Martin SjölundUpdate compliance failure list
469f281b4dMartin Sjölund* OMCompiler 7984f74...73c7be8 (1): > Fix path that the FMU binary is copied back into
73c7be8391Martin SjölundFix path that the FMU binary is copied back into
f995093212hudsonUpdating submodules
7984f74f84Martin SjölundCopy source-code FMU to a docker volume before compiling
acb2653612hudson* libraries 9b559a1...30b8e8a (1): > Bump libraries
24f4ca4193vwaurichincrease animation slider imcrements
2bce6be4e7Lennart OchelUpdate OMPlot/.gitignore
cabd6f22a3Adeel AsgharUpdated getClassNames test to new output
1983c2f144Anatoly TrosinenkoAdd some example auto-completion information for use by OMEdit
9d23be0a49Martin Sjölund* OMCompiler 304f353...a2024ab (1): > Fix path used to debug docker run in FMI cross-compile
a2024ab5ccMartin SjölundFix path used to debug docker run in FMI cross-compile
3823fc8e26Adeel AsgharFixes ticket:4842 Export the values with the actual unit
db70cfa50eMartin SjölundGenerate Autoconf.mo for Matlab test
707735d92dAdeel AsgharFixes ticket:4955 Make sure name doesn't contain any space
304f3536adMartin SjölundFixes for crashes in dynamic FMUs
a18a19d561Martin Sjölund* OMCompiler ed7a206...304f353 (1): > Fixes for crashes in dynamic FMUs
ed7a206ba8Martin SjölundMore debugging for cross-compilation of FMUs
d192d2ccc0Martin Sjölund* OMCompiler 5de59c3...ed7a206 (1): > More debugging for cross-compilation of FMUs
a16c8c1c60Martin Sjölund* OMCompiler 17ca1ee...5de59c3 (1): > Fix runtime CFLAGS detection
5de59c3df0Martin SjölundFix runtime CFLAGS detection
48ed322b5fMartin Sjölund* OMCompiler 384c6f8...17ca1ee (1): > Fix configure of ModelicaExternalC
17ca1eee86Martin SjölundFix configure of ModelicaExternalC
f6573dbc6cMartin Sjölund* OMCompiler 0464950...384c6f8 (1): > Show files visible in docker before failing
384c6f8e70Martin SjölundShow files visible in docker before failing
f6fc0abe3dMartin SjölundAlso fix SCRIPT.mos to load Autoconf.mo
441e394c45Martin Sjölund* testsuite 34d4ab0...f6fc0ab (1): > Also fix SCRIPT.mos to load Autoconf.mo
0464950120Martin SjölundFix include path for docker FMI builds
e7d8266805Martin Sjölund* OMCompiler ccf8c89...0464950 (1): > Fix include path for docker FMI builds
ca8d2de59fMartin Sjölund* testsuite b827193...34d4ab0 (1): > Load Autoconf for the matlab translator
34d4ab036fMartin SjölundLoad Autoconf for the matlab translator
616fed6611Adrian Popno hooks are needed for OMShell, OMEdit, OMPlot, OMNotebook anymore
6cde39315eAdeel AsgharUpdated the links
da42c1c59ahudson* libraries 0f6241c...9b559a1 (1): > Bump libraries
15dfaa7afahudsonMerge remote-tracking branch 'origin/master' into pullrequest
46bc05c52cMartin SjölundChange commit from submodule to symlink
ccf8c899a6Martin SjölundLink libzlib explicitly since gcc fails bootstrapping
348afac56fMartin Sjölund* OMCompiler f12151c...ccf8c89 (1): > Link libzlib explicitly since gcc fails bootstrapping
a900aeab35Martin SjölundAdd 'OMShell/' from commit 'cf210ceb0fe1d26744b0d62eaee0daa39c9169f5'
0824d635e3Martin SjölundRemove OMShell (will be re-added as git subtree)
e55eab08d7Martin SjölundAdd 'OMNotebook/' from commit '3671c8f5065aff8145a01a70f941931caf3c07e2'
9277a51f88Martin SjölundRemove OMNotebook (will be re-added as git subtree)
cb7e493ddbMartin SjölundAdd 'OMEdit/' from commit '21f82a33bf74193b96a90a473999778440c87380'
1c89139953Martin SjölundRemove OMEdit (will be re-added as git subtree)
4df0afb015Martin SjölundAdd 'OMPlot/' from commit '4b15019d19e127c61fed45ce9148add4fc3fe81e'
b4966f89f0Martin SjölundRemove OMPlot (will be re-added as git subtree)
f12151ccadAdeel AsgharMake sure file is not modified before using the cache
c394834f02Adeel Asghar* OMCompiler b9d5e4a...f12151c (1): > Make sure file is not modified before using the cache
2c38819c8bMartin Sjölund* OMCompiler 09f079c...b9d5e4a (1): > Clear the extra memory pools on each iteration
b9d5e4a5bdMartin SjölundClear the extra memory pools on each iteration
586d36e523Adrian Pop* OMCompiler db4e230...09f079c (1): > [BUILD] - add missing = in Autoconf.mo.omdev.mingw
09f079c675Adrian Pop[BUILD] - add missing = in Autoconf.mo.omdev.mingw
4034105c44Adrian Pop* OMCompiler 81d8a03...db4e230 (1): > [BUILD] - fix System.c external interface for bootstrapping on Windows
db4e230f0fAdrian Pop[BUILD] - fix System.c external interface for bootstrapping on Windows
851d1574a2hudson* libraries 0efd5c9...0f6241c (1): > Bump libraries
81d8a03651Adrian Pop[BUILD] - fix generation of Autoconf.mo on msys/mingw
9bc3c9b8e3Adrian Pop* OMCompiler 02027be...81d8a03 (1): > [BUILD] - fix generation of Autoconf.mo on msys/mingw
295a9d50e2Adrian Pop* libraries 501c5f9...0efd5c9 (1): > add provides for NcDataReader2
2984c96932Adeel Asghar* OMEdit a95655f...21f82a3 (1): > Only show documentation for LibraryTreeItem::Modelica
21f82a33bfAdeel AsgharOnly show documentation for LibraryTreeItem::Modelica
02027beef5Martin SjölundMove more constants from System.mo to Autoconf.mo
ef4b26a03aMartin Sjölund* OMCompiler 5db7684...02027be (1): > Move more constants from System.mo to Autoconf.mo
f6f094852aAdeel Asghar* OMEdit 03aae16...a95655f (1): > Added `oms_solver_wc_mav2` solver
a95655f008Adeel AsgharAdded `oms_solver_wc_mav2` solver
8738681860Adeel Asghar* OMEdit 0bc9db2...03aae16 (1): > Fixes ticket:5412 Close the simulation result file properly
03aae16a22Adeel AsgharFixes ticket:5412 Close the simulation result file properly
ea4c085eb3frape315* OMSimulator 8908238...c11f942 (1): > Adaptive step-size solver for Co-simulation (#602)
b827193b13Martin SjölundLoad Autoconf.mo in bootstrapping tests
42dffbd99cMartin SjölundUpdating submodules
5db7684885Martin SjölundUse Autoconf.mo instead of external C functions
c5f6f6c835Adeel Asghar* doc 2c7fbf9...6eaa1a8 (1): > Fix indentation
6eaa1a86a6Adeel AsgharFix indentation
bd53a7ee63Adeel Asghar* OMEdit 888930a...0bc9db2 (1): > Set the ModelWidget before setting the class text
0bc9db2d1bAdeel AsgharSet the ModelWidget before setting the class text
c97542d2cdMartin SjölundUpdate work-around for MSL 3.2.1 tables
6ddf108a81Martin Sjölund* OMCompiler c84e407...c97542d (3): > Update work-around for MSL 3.2.1 tables > Compile ModelicaExternalC static lib > Use -Wl,-Bstatic for user libraries in FMUs
13eb1f39e6Martin SjölundCompile ModelicaExternalC static lib
4a2a554eb6Martin SjölundUse -Wl,-Bstatic for user libraries in FMUs
b75f3413eaAdrian Pop* OMCompiler 3997aa3...c84e407 (1): > [RUNTIME] the usual evening fix for Windows builds
c84e407b45Adrian Pop[RUNTIME] the usual evening fix for Windows builds
a69a410145Per Östlund[NF] Add external object connection test.
772fbf0806Per ÖstlundUpdating submodules
3997aa3fdbPer Östlund[NF] Don't split external objects in connectors.
018430674aPer Östlund[NF] Add more when tests.
1e744a3452Per ÖstlundUpdating submodules
72c947e42aPer Östlund[NF] Fix ExpOrigin.isSingleExpression.
f193e07a08Per Östlund[NF] Add more when tests.
0c6c63a5f6Per ÖstlundUpdating submodules
b8d7e26fcdPer Östlund[NF] More fixes for checking when-clauses.
473d479180Martin Sjölund* OMCompiler fc29404...adba422 (1): > Call the correct Makefile target on OMDev
adba422fe1Martin SjölundCall the correct Makefile target on OMDev
3c401647a4Per Östlund[NF] Add more when tests.
5427f3e5e9Per ÖstlundUpdating submodules
fc29404a7ePer Östlund[NF] Fix when-branch cref set check.
36d36230ffMartin Sjölund* OMCompiler 53c7613...ec459e7 (1): > Add more timers for solvers
ec459e7babMartin SjölundAdd more timers for solvers
1d88e8a7ccMartin Sjölund* OMCompiler e9616ab...53c7613 (1): > Try even harder to fix Windows builds
53c7613a63Martin SjölundTry even harder to fix Windows builds
a8698a50cbMartin Sjölund* OMCompiler f337f6d...e9616ab (1): > Fix for Windows builds
e9616abe96Martin SjölundFix for Windows builds
26ce2d8e9dAdrian Pop* OMCompiler 9c7d828...f337f6d (1): > [OMSI] link with expat on non Windows
f337f6da5fAdrian Pop[OMSI] link with expat on non Windows
a514dc3b7bAdrian Pop* OMCompiler a356daf...9c7d828 (1): > [OMSI] fix the search lib path for sundial
9c7d828b1dAdrian Pop[OMSI] fix the search lib path for sundial
8a00eba931Adeel Asghar* doc 09c7fa1...2c7fbf9 (1): > Documentation of translation flags in OMEdit
2c7fbf9f31Adeel AsgharDocumentation of translation flags in OMEdit
b900c7ed1bMartin SjölundUpdating submodules
cd7e516923Martin SjölundExpected output when listing files in source FMUs
a356daf4bfMartin SjölundDo not include the standard FMI headers in the FMU
03a4ab6fe1Martin SjölundUpdates for source-code FMUs
7e86472ea9Adrian Pop* OMCompiler ab4e3e6...e13c1c3 (1): > attempt to fix MacOS builds - depend OMSI on fmil as well
e13c1c325bAdrian Popattempt to fix MacOS builds - depend OMSI on fmil as well
4e96c49fabPer Östlund[NF] Add more when-tests.
abc4efe619Per ÖstlundUpdating submodules
ab4e3e6234Per Östlund[NF] Improve error checking of when-clauses.
b1dd04d8e8hudsonUpdating submodules * OMEdit f000581...888930a (1): > Set setSaveContentsType to SaveInOneFile when creating non-existing classes Fixed a typo
e3fab539cfAndreas[OMSI] Add OMSIBase library with solvers
1d7487d431Andreas* OMCompiler f881685...e3fab53 (1): > [OMSI] Add OMSIBase library with solvers
f881685f6cPer Östlund[NF] Fix visualization (ticket:5319).
96f619012ePer Östlund* OMCompiler b70342a...f881685 (1): > [NF] Fix visualization (ticket:5319).
888930a5c4Adeel AsgharSet setSaveContentsType to SaveInOneFile when creating non-existing classes Fixed a typo
fa52b47634Adeel Asghar* OMEdit e76522f...f000581 (1): > Set the save contents type when creating non existing classes
f000581199Adeel AsgharSet the save contents type when creating non existing classes
b110bb1606Martin SjölundUpdating submodules
b14fc7d6c9Martin SjölundAdd testcase for ticket 5360
b70342a5e2Martin SjölundMake the diff algorithm handle within in new code
48e0b21721Per Östlund* OMCompiler 417604f...759292c (1): > [NF] Remove workaround for ticket:4904.
759292c242Per Östlund[NF] Remove workaround for ticket:4904.
a1b491d5a7Lennart Ochel* OMSimulator afc407f...6f471e6 (1): > Re-add adaptive step-size control (#614)
417604fee9Martin SjölundExtend LOG_STATS_V with more timers
9de0bfe33eMartin Sjölund* OMCompiler 2305d75...417604f (1): > Extend LOG_STATS_V with more timers
30e9e67d70Adeel AsgharUpdated the moveClass API test Check for all the loaded classes before and after the `moveClass` API call.
03eb7d62e8hudsonUpdating submodules
2305d7585aPer ÖstlundFix Interactive.transformClassInProgram.
e537dbc7fbhudson* libraries 424050d...501c5f9 (1): > Bump libraries
89078f5d62Per ÖstlundFix integer packing in C code generation.
6ab08f22b9Per Östlund* OMCompiler 72fdfb4...89078f5 (1): > Fix integer packing in C code generation.
72fdfb4f88Martin SjölundDo not run both event and output timers at the same time
3965509b42Martin Sjölund* OMCompiler d85a258...72fdfb4 (1): > Do not run both event and output timers at the same time
4a84aaad6ahudson* libraries 161233d...424050d (1): > Bump libraries
16b02564bbhudson* libraries 55f9bfc...161233d (1): > Bump libraries
13c7f7a2cbPer Östlund[NF] Disable final parameter tests.
bf578f09acPer ÖstlundUpdating submodules
d85a258495Per Östlund[NF] Disable evaluation of final parameters.
416ac23a4dhudson* libraries d78d477...55f9bfc (1): > Bump libraries
3f3f13ab30Per Östlund[NF] Update tests.
3073eb1434Per ÖstlundUpdating submodules
3b38d7b821Per Östlund[NF] Improved parameter evaluation analysis.
38ba20a570hudson* libraries 6dca805...d78d477 (1): > Bump libraries
d8e33dd57bAdeel Asghar* OMEdit df3d8f4...e76522f (1): > Check if the bitmap file exists or not
e76522f2d1Adeel AsgharCheck if the bitmap file exists or not
b9ff5e13a5Adeel Asghar* OMEdit f84bf47...df3d8f4 (1): > Set the editor text via setClassText
050a820628Adrian Popuse fabs for doubles
d2a971e71aAdrian Pop* OMCompiler f350041...050a820 (1): > use fabs for doubles
df3d8f427bAdeel AsgharSet the editor text via setClassText
3aee092895Adrian Pop* OMCompiler 570e9f0...f350041 (1): > fix MacOS builds
f3500415c7Adrian Popfix MacOS builds
b0224f97c5Adeel Asghar* OMEdit ed41047...f84bf47 (1): > Only return true from operator< when item is really less than
f84bf474ddAdeel AsgharOnly return true from operator< when item is really less than
4b7d2c2ae0arun3688* OMNotebook da5e18f...3671c8f (1): > Fix some typos in OMNotebookHelp.onb
3671c8f506arun3688Fix some typos in OMNotebookHelp.onb
cd88809282Adrian Popfix tests after update of MSL 3.2.3
7bf714645ehudsonUpdating submodules
570e9f077aAdeel AsgharOption to filter the nested classes when dumping the class via listFile
ed4104717cAdeel AsgharFixes ticket:4799, ticket:4875, ticket:5191 and ticket:5393 Better duplicate functionality.
7dd33ff4acPer Östlund[NF] Update tests.
e9bb8d6169Per ÖstlundUpdating submodules
04df807f5ePer Östlund[NF] Function scoping improvements.
8a7ebb7b65kabdelhak[fixTest] ticket4793
314b7e3f39kabdelhakUpdating submodules
f63f7ac403kabdelhak[BE] Consider complex as impure for removeSimpleEquations
8de30392b1Lennart OchelUpdate doc/
f44020770aPer Östlund[NF] Real range fixes.
1ca31320e1Per Östlund* OMCompiler 2f5968b...f440207 (1): > [NF] Real range fixes.
5a9953276dPer Östlund[NF] Update tests.
d5f8767990Per ÖstlundUpdating submodules
2f5968bdb3Per Östlund[NF] Minor type casting fixes.
09c7fa1406Lennart OchelFix link to OMSimulator documentation
9e5561383fPer Östlund[NF] Add tests.
d32907bb32Per ÖstlundUpdating submodules
0c79e1c5f0Per Östlund[NF] Try to detect instantiation loops.
73d7366f2eAdrian Pop* OMCompiler 113e9da...9a49909 (1): > Fix windows build after linking with tables
9a49909f06Adrian PopFix windows build after linking with tables
63cc0598d4Martin Sjölund* libraries c97f5db...49acef0 (1): > More libraries changed to BSD3
113e9da816Martin SjölundUpdating 3rdParty
2c626d1a25Martin SjölundUpdating OMCompiler
fe66efcafdMartin Sjölund* libraries e218231...c97f5db (1): > Add BSD3 license option for libraries
5e38dd5ec5hkiel* OMEdit 94ae17d...e4f00d9 (1): > fix includes
e4f00d95bbhkielfix includes
27b1fa1f81hudson* libraries 70b9949...e218231 (1): > Bump libraries
1b0c515075Per Östlund* OMCompiler 9656261...a5562cc (1): > [NF] Improve ModelicaIO support.
a5562ccab4Per Östlund[NF] Improve ModelicaIO support.
36558dcd3cPer Östlund* OMCompiler fe78a6d...9656261 (1): > [NF] Implement ModelicaIO_readMatrixSizes.
965626166cPer Östlund[NF] Implement ModelicaIO_readMatrixSizes.
e8f547afb3hudson* libraries d066e21...70b9949 (1): > Bump libraries
fe78a6da21Per Östlund[NF] Implement ElementSource.getElementSourceTypes.
62f7a1c334Per Östlund* OMCompiler fe6fd31...fe78a6d (1): > [NF] Implement ElementSource.getElementSourceTypes.
df234ac476Martin SjölundUpdating submodules
37bcdd644fMartin SjölundUpdate tests (not BackendDump of empty sections)
fe6fd3174dMartin SjölundDo not BackendDump empty sections
3f5243a8d8Per ÖstlundUpdating submodules
0c072d16e1Per Östlund[NF] Add constraining class tests.
61571e834aPer Östlund[NF] Merge constraining class modifiers.
8d00236253hudson* OMEdit 67fe5ce...94ae17d (2): > Fix case of include. > Better handling of command line options/flags Fixes ticket:5132, ticket:5310 and ticket:5329 We now have global flags in `Tools->Options->Simulation` and the same flags are also available locally in `Simulation Setup` window under `Translations Flags` tab. The global flags uses the default values of the flags. The local flags have the following order default, gloabl, model specific via the `__OpenModelica_commandLineOptions` annotation and then it preserves any changes done by the user.
94ae17d609Per ÖstlundFix case of include.
f818ba8ae0Adeel AsgharBetter handling of command line options/flags Fixes ticket:5132, ticket:5310 and ticket:5329 We now have global flags in `Tools->Options->Simulation` and the same flags are also available locally in `Simulation Setup` window under `Translations Flags` tab. The global flags uses the default values of the flags. The local flags have the following order default, gloabl, model specific via the `__OpenModelica_commandLineOptions` annotation and then it preserves any changes done by the user.
3e59d5b453Adeel Asghar* OMEdit 43ebf04...67fe5ce (1): > Read the activate access annotations setting only at loading
67fe5ced31Adeel AsgharRead the activate access annotations setting only at loading
d61da534b3hudson* libraries dfea231...d066e21 (1): > Bump libraries
4a303b3cd4hudson* libraries 28952b5...dfea231 (1): > Bump libraries
7912862cb2hudson* libraries 8ca1fa2...28952b5 (1): > Bump libraries
04f106144eAdeel AsgharMake buildEncryptedPackage export read-only packages
6b821a8a99Adeel AsgharUpdating submodules
43ebf040ccAdeel AsgharBundled all import and export actions under File menu Update to new interface of `buildEncryptedPackage` setSaveContentsType whenever we update the class information.
2de609cb36hudson* libraries df1f2a3...8ca1fa2 (1): > Bump libraries
d6785fed88Per ÖstlundUpdating submodules
a10b1953ecPer Östlund[NF] Add redeclare test.
56f218af8dPer Östlund[NF] Merge redeclared attributes in correct order.
45fd35456bAndreas* OMCompiler ea6c155...cfee592 (1): > [OMSI] Preparing Code generation for C
cfee59268fAndreas[OMSI] Preparing Code generation for C
0ee8017d12Per Östlund* OMCompiler a0d3cc1...ea6c155 (1): > [NF] Fix ComponentRef.transferSubscripts.
ea6c15501fPer Östlund[NF] Fix ComponentRef.transferSubscripts.
d9b6b45b1ehudson* libraries 46e6094...df1f2a3 (1): > Bump libraries
cc9f361a6aPer ÖstlundUpdating submodules
b11b5d545cPer Östlund[NF] Add redeclare test.
a0d3cc1b67Per Östlund[NF] Reuse pointer when redeclaring component.
338c594840Per Östlund* OMCompiler 68d87aa...1cc697e (1): > Add referencePointerString debug function.
1cc697e0e5Per ÖstlundAdd referencePointerString debug function.
1e237d2f62Per Östlund* OMCompiler 50bc1b1...68d87aa (1): > [NF] Use explicit scope in InstNode.scopeName.
68d87aa246Per Östlund[NF] Use explicit scope in InstNode.scopeName.
1d1289f364hudson* libraries 17e826b...46e6094 (1): > Bump libraries
9e044ea4e6Per ÖstlundUpdating submodules
5a2e7ef25dPer Östlund[NF] Update tests.
50bc1b1364Per Östlund[NF] Split TUPLE() := TUPLE() assigments.
20e11b521dAnHeuermann* OMCompiler f211539...5c656ca (1): > Add comment for parameters in generated code
5c656ca74eAnHeuermannAdd comment for parameters in generated code
239e57ff24Adrian Popadd OMEncryption to .gitignore
f211539ebdPer Östlund[NF] Hack to fix some array conditions.
6b4efb7b7aPer Östlund* OMCompiler ae2ddcb...f211539 (1): > [NF] Hack to fix some array conditions.
645efde67aPer Östlund[NF] Add inner/outer test.
3e2cc37004Per ÖstlundUpdating submodules
ae2ddcb40bPer Östlund[NF] Inner/outer fixes.
1229c9332fPer Östlund* OMCompiler f0376d4...b55fb1b (1): > [NF] Collect functions in array dimensions.
b55fb1b3d0Per Östlund[NF] Collect functions in array dimensions.
ee328a996aPer Östlund* OMCompiler b691eb1...f0376d4 (1): > [NF] Fix equation counting for _.
f0376d4b66Per Östlund[NF] Fix equation counting for _.
7e05f69559hudson* libraries 2c53690...17e826b (1): > Bump libraries
4e226ae049hudson* libraries 29a50fc...2c53690 (1): > Bump libraries
31dd020a4cPer Östlund[NF] Update tests.
78afa1eb6cPer ÖstlundUpdating submodules
b691eb147dPer Östlund[NF] Improve errors for binding type mismatches.
8a674c2369Per Östlund* OMCompiler 69a3ec4...2ba9e4b (1): > [NF] Update the call type when type casting.
2ba9e4bf60Per Östlund[NF] Update the call type when type casting.
0372b6d339Per Östlund* OMCompiler 0470a5b...69a3ec4 (1): > Fix : subscripting in Ceval.cevalSubscriptValue.
69a3ec4fa0Per ÖstlundFix : subscripting in Ceval.cevalSubscriptValue.
f64db19040Per Östlund* OMCompiler cc9ae78...0470a5b (1): > Improve runtime implementation of 'diagonal'.
0470a5b383Per ÖstlundImprove runtime implementation of 'diagonal'.
15a7e24ad2Per Östlund* OMCompiler 482cb0e...cc9ae78 (1): > [NF] Improve type casting of some builtins.
cc9ae78813Per Östlund[NF] Improve type casting of some builtins.
7049f30133Per Östlund* OMCompiler ba58857...482cb0e (1): > [NF] Fix function vectorization with type casting.
482cb0e7ebPer Östlund[NF] Fix function vectorization with type casting.
1c477aa8d1Per Östlund[NF] Add more function vectorization tests.
ba60f65189Per ÖstlundUpdating submodules
ba58857214Per Östlund[NF] Improve function vectorization.
5bf89f0922hudson* libraries 7ddab42...29a50fc (1): > Bump libraries
06df31c77cPer ÖstlundUpdating submodules
76b2ef35dbPer ÖstlundAdd cardinality to spellcheck.
426974a526Per Östlund[NF] Update cardinality tests.
46fdf1a5a8Per Östlund[NF] Restrict cardinality usage.
220cd16ea2hudson* libraries 2064866...7ddab42 (1): > Bump libraries
4961b36539Per Östlund[NF] Fix Call.reductionDefaultValue.
2e48f65612Per Östlund* OMCompiler c4e03c8...4961b36 (1): > [NF] Fix Call.reductionDefaultValue.
f15fcea196Per Östlund* OMCompiler a44d71c...c4e03c8 (1): > [NF] Fix tuple calls in builtins and reductions.
c4e03c808ePer Östlund[NF] Fix tuple calls in builtins and reductions.
cfe3263acbPer Östlund* OMCompiler 1784812...a44d71c (1): > [NF] Fix scope in Inst.instConnectorCref.
a44d71c006Per Östlund[NF] Fix scope in Inst.instConnectorCref.
a5473164ddhudson* libraries 6c1b6a1...2064866 (1): > Bump libraries
08742a3c5aMartin SjölundAdd total model for changed ClosedLoop example
f6fbeafca5Martin SjölundUpdating submodules
1e3bbbcd41Per Östlund[NF] Update tests.
35b3d414c2Per ÖstlundUpdating submodules
178481276dPer Östlund[NF] Improve replaceable base class error message.
31b563012carun3688* OMCompiler 57fb8ee...7c64e95 (1): > generate HTML report and debug log for dataReconciliation
7c64e955fbarun3688generate HTML report and debug log for dataReconciliation
b37f982b9aPer Östlund* OMCompiler 0eec718...57fb8ee (1): > Rename System.stringHashDjb2Mod alias.
57fb8ee7d2Per ÖstlundRename System.stringHashDjb2Mod alias.
7d264e89a2Per Östlund[NF] Add expandable connector tests.
fa2169b2eehudsonUpdating submodules
0eec718df0Per Östlund[NF] Implementation of expandable connectors.
3d734cf3c8Martin SjölundAdded Modelica 2018 US paper
9d9cee99e6Martin SjölundAdd some Modelica'2019 papers
f51840c192Adeel Asghar* OMCompiler 5c5d5ad...a385b60 (1): > Added new API parseEncryptedPackage Works similar to `parseFile`. Added support for creating .mol packages without encryption which means they only contains the .mo files and also updated `loadEncryptedPackage` to be able to load such packages.
9658c55ef2Adeel Asgharbump OMEdit
a385b605dbAdeel AsgharAdded new API parseEncryptedPackage Works similar to `parseFile`. Added support for creating .mol packages without encryption which means they only contains the .mo files and also updated `loadEncryptedPackage` to be able to load such packages.
29420dd9f9Adeel AsgharSupport for exporting/importing .mol without encryption/decryption
d09c7c7d89hudson* libraries 9d8c132...a00049d (1): > Bump libraries
2acecddf08Martin Sjölund* OMSimulator 7154469...afc407f (1): > Build CentOS7
98bcb48605Martin Sjölund* OMSimulator 678e5cd...7154469 (2): > Add retry 2 times for MSVC64 target > Fix building on systems using Boost
5c5d5ade87Adeel AsgharCheck if .mol contains .mo files If it does then load them normally
9609be776aAdeel Asghar* OMCompiler 61b21df...5c5d5ad (1): > Check if .mol contains .mo files If it does then load them normally
a5d752a91ehudson* libraries 4b4cd17...9d8c132 (1): > Bump libraries
4ed92480b0Martin SjölundUpdates for newest ThermoPower
a6021ff32fMartin SjölundUpdating submodules
5fb237721eAdeel Asghar* OMEdit 9f3d0f7...775b6d5 (1): > Fixed OMSimulator documentation link
775b6d575bAdeel AsgharFixed OMSimulator documentation link
63783be7a0hudson* libraries c5c9afe...c8bfed1 (1): > Bump libraries
64e532c246AnHeuermannNeede one more change of ordering
996d2153bchudsonUpdating submodules
e210825829AnHeuermannChanged order of cse variables in jacobian for dynamicTearing2.mos
61b21dfdaaAndreasChanged string documentation, removed unused variables, changed name for omsiAllEquations.
2a07fcece6wibraundon't remove DAE_AUX_VAR case in BackendDump
2f1a098461Lennart OchelChanged more comments to documentation strings
f281bdb8d4AndreasChanged comments to string documentation in BackEnd/BackendDAE.mo
7e91156677wibraunfix index of jacobian variable in function createJacSimVarsColumn
9b98e73e36wibraunfix added jacobian vars also to HT (#1)
af50f26e46AnHeuermann[OMSI] Preparing data structure for code generation in SimCode
575806cbc8Adeel Asghar* OMCompiler e32846a...91743ce (1): > ticket:5343 set the isReadOnly attribute to false When copying the class make sure we make set `isReadOnly` attribute to false.
91743cecb4Adeel Asgharticket:5343 set the isReadOnly attribute to false When copying the class make sure we make set `isReadOnly` attribute to false.
221cfcd17ehudson* libraries 98ee3a0...c5c9afe (1): > Bump libraries
eb9b5cb794Martin Sjölund* libraries f4899c1...98ee3a0 (1): > Fix 3.2.3 patching
4f5354dd74hudson* libraries 7b754d4...f4899c1 (1): > Bump libraries
a0627421achudson* libraries 3d1a422...7b754d4 (1): > Bump libraries
d48e821449hudson* libraries 796760d...3d1a422 (1): > Bump libraries
fb0112831dMartin Sjölund* OMSimulator 31da4d4...678e5cd (1): > Update OMTLMSimulator
1e9d59d51cAdrian Pop* OMCompiler 0c02427...e32846a (1): > more fixes to ticket:5305
e32846a8c7Adrian Popmore fixes to ticket:5305
581d9b7c7eAdrian Pop* testsuite a6d7282...70e6d3a (1): > add test for ticket:5340
70e6d3af98Adrian Popadd test for ticket:5340
0c02427c10Adrian Popfix for ticket:5340 - handle DAE.INITIAL_TERMINATE in BackendDAECreatelowerEq - correctly add DAE.TERMINATE to the regular equations, not the initial equations
3900745683Adrian Pop* OMCompiler b5e109e...0c02427 (1): > fix for ticket:5340 - handle DAE.INITIAL_TERMINATE in BackendDAECreatelowerEq - correctly add DAE.TERMINATE to the regular equations, not the initial equations
02540072eaLennart Ochel* OMSimulator 063b29a...31da4d4 (1): > Test MSVC64 builds
21221e4e1fhudson* libraries f54fc08...796760d (1): > Bump libraries
b5e109e1b0Adrian Popfix ticket:5305 - handle ModelicaStandardTables in SimCodeFunctionUtil.getLibraryStringInMSVCFormat - fix some msvc C codegen issues (some linker issues stil remain) - now models with tables work fine with --target=msvc --simCodeTarget=Cpp
eea5ec294cAdrian Pop* OMCompiler 33c5dba...b5e109e (1): > fix ticket:5305 - handle ModelicaStandardTables in SimCodeFunctionUtil.getLibraryStringInMSVCFormat - fix some msvc C codegen issues (some linker issues stil remain) - now models with tables work fine with --target=msvc --simCodeTarget=Cpp
0c4e65392cMartin Sjölund* OMSimulator 15b31e2...063b29a (1): > [Jenkins] Check if submodule was updated unexpectedly
a0daf5f8c9hudsonUpdating submodules * OMSimulator 9b58085...15b31e2 (7): > Make the detection of libstdc++fs more robust > Update OMTLMSimulator > Fix compilation with MSVC > Fix nested namespaces > Fix flag --resultFile > Strip prefix model.root.fmu. for isolated FMUs > Add support for C++17, replacing Boost
22352d406aPer Östlund* OMCompiler 1afef5f...33c5dba (1): > [NF] Fix checkConnectorType for derived nodes.
33c5dbaabcPer Östlund[NF] Fix checkConnectorType for derived nodes.
adc135768aPer Östlund* OMCompiler a154b44...1afef5f (1): > [NF] Fix default connector type for discrete types.
1afef5fbdePer Östlund[NF] Fix default connector type for discrete types.
a6d7282b3eAdrian Popupdate test due to changes in ticket:5336
270177bbd3Adrian PopUpdating submodules
a154b44114Adrian Popfix ticket:5336, set non connector instead of potential
223eec8800Adrian Popupdate OMCompiler/3rdParty
cea3023604Adrian Popupdate 3rdParty
6c58cb89f5Per Östlund* OMCompiler 89e4fb8...19e82ea (1): > [NF] Inherit annotations in functions.
19e82eab74Per Östlund[NF] Inherit annotations in functions.
ede3a43723Lennart Ochel* OMSimulator 9015f14...9b58085 (2): > Update OMTLMSimulator > Enable tlm tests again
189f35e994Robert Braun* OMSimulator e923b2a...9015f14 (1): > Sequential initialization of TLM submodels
68e2774872Lennart Ochel* OMSimulator 2cb1242...e923b2a (2): > Emit results before stepping WC systems > Improve error messages of setRealInputDerivative
e277dd4f2fhudsonUpdating submodules * OMEdit d66d325...9f3d0f7 (1): > Update e-mail address
9f3d0f7c66Lennart OchelUpdate e-mail address
353170ebbcLennart Ochel* OMSimulator 827b45e...74ab875 (2): > Make working dir a canonical path > Make working dir the default tmp dir
5eca2c82c6Adrian Pop* OMSimulator 6d1a547...827b45e (1): > update OMTLMSimulator
9d3928c68ahkiel* OMCompiler a55f71c...89e4fb8 (2): > update documentation of some functions > fix compile warnings
89e4fb8e69hkielupdate documentation of some functions
dfeebf26e7hkielfix compile warnings
d64206942ahudson* libraries d6f226b...bf186f6 (1): > Bump libraries
fb37f9539eLennart Ochel* OMSimulator 5b18fb2...6d1a547 (1): > Sort API calls in the documentation
ab8a437033Per Östlund* OMCompiler 2de3e75...a55f71c (1): > [NF] Fix type when casting arrays.
a55f71c863Per Östlund[NF] Fix type when casting arrays.
f1702248b3Lennart Ochel* OMSimulator 2f8dd7a...5b18fb2 (1): > Update OMTLMSimulator
fb4a3775eeRobert Braun* OMSimulator dc6caf6...2f8dd7a (1): > Update TLM submodule
a4239907d1Lennart Ochel* OMSimulator aca92db...dc6caf6 (1): > Add oms_setRealInputDerivative to the API
17e8dc1272Lennart Ochel* OMSimulator 0eb72f6...aca92db (2): > Disable tlm tests for now. Revert this ASAP. > Implement soft real-time for co-simulation
00839f2f9cLennart Ochel* OMSimulator 13a80b7...0eb72f6 (1): > Fix command-line option --solver
2de3e75827AnHeuermannRemoved unused makefile rule mkbuilddir
72c250fb69AnHeuermann* OMCompiler b3d5248...2de3e75 (1): > Removed unused makefile rule mkbuilddir
b3d524855darun3688fix Fstar Computation for dataReconciliation
4a9c3a2b20arun3688* OMCompiler ce469c3...b3d5248 (1): > fix Fstar Computation for dataReconciliation
d09ba73ad5hudson* libraries 0f55607...d6f226b (3): > Bump libraries > update MSL hash > update version in patches to 4.0.0-dev
185f648012Lennart Ochel* OMSimulator 85af15f...13a80b7 (1): > Update links in the README file
75b8c942b2Adeel Asghar* OMEdit b09a4f0...d66d325 (2): > Set the default compiler and allow resetting back to default > ticket:5044 Allow setting the compiler `--target=gcc` only set the makefile build system and not the compiler. Use `setCompiler` and `setCXXCompiler` to set the compiler.
f9f54cc240Adeel Asghar* OMEdit 51d7b1e...b09a4f0 (1): > ticket:5274 Added a button to open the transformational debugger directly
d66d325c03Adeel AsgharSet the default compiler and allow resetting back to default
f38b366f9bAdeel Asgharticket:5044 Allow setting the compiler `--target=gcc` only set the makefile build system and not the compiler. Use `setCompiler` and `setCXXCompiler` to set the compiler.
b09a4f003cAdeel Asgharticket:5274 Added a button to open the transformational debugger directly
3a8709612eAdeel Asghar* OMEdit f0fa107...51d7b1e (1): > Fix OSX build
51d7b1ef5eAdeel AsgharFix OSX build
ce469c3e2aKarim Abdelhak[BE] Fix mixed-determined dump and raise index to 10
f5ddcb5582Karim Abdelhak* OMCompiler 5c4124c...ce469c3 (1): > [BE] Fix mixed-determined dump and raise index to 10
b58799a809Karim Abdelhak[aspell] added overdetermined underdetermined underconstrained
a28c3f9760Lennart Ochel* OMSimulator 32ebddd...85af15f (1): > Remove unused includes
6481cab703Lennart Ochel* OMSimulator a0df12c...32ebddd (2): > Disable concurrent OMSimulator builds > New flag --stripRoot
510ff8cee4Adrian Popupdate OMCompiler with correct 3rdParty
5c4124cc24Adrian Popre-update 3rdParty to latest
23a6c4733dAdeel Asghar* OMEdit 9fe7631...f0fa107 (1): > ticket:5048 use the class name for listFile instead of file name
f0fa10751eAdeel Asgharticket:5048 use the class name for listFile instead of file name
77305f95b0Adeel Asghar* OMEdit 8db5bf7...9fe7631 (1): > ticket:5048 suppress the unnecessary qt warning messages
9fe763165fAdeel Asgharticket:5048 suppress the unnecessary qt warning messages
086fe63ba4arun3688add debug log and fix jacobian transpose for dataReconciliation
c142f68caaarun3688* OMCompiler d45128c...086fe63 (1): > add debug log and fix jacobian transpose for dataReconciliation
299f6fd84aMartin Sjölund* OMSimulator 75b0296...a0df12c (3): > Get latest OMTLMSimulator > Fix Python C interface > [Jenkins] Fix tests
d45128c2beAdeel AsgharExpose the functions required by OMEncryption
20363b8ab1Adeel Asghar* OMCompiler c0983d2...d45128c (1): > Expose the functions required by OMEncryption
8c3a23d5a7Per Östlund[NF] Update tests.
e212d4da56Per ÖstlundUpdating submodules
c0983d2a88Per Östlund[NF] Fix equation order for branch selection.
106cb58a42Lennart Ochel* OMSimulator 3a00dbf...75b0296 (2): > Re-add testsuite > Remove testsuite submodule
45d68bffa5hudson* libraries 442de86...0f55607 (1): > Bump libraries
e13c41a265Adrian Popfix ticket:5048, lookup starting in the class, not the parents - only do this if the class is not derived
3bee91c1d7Adrian Pop* OMCompiler 8017c67...e13c41a (1): > fix ticket:5048, lookup starting in the class, not the parents - only do this if the class is not derived
89143c1270Adeel Asghar* OMEdit 3e4797e...8db5bf7 (1): > ticket:4369 set the time unit so it doesn't become invalid. Only use the time conversion for time and interactive plot types.
8db5bf7eb6Adeel Asgharticket:4369 set the time unit so it doesn't become invalid. Only use the time conversion for time and interactive plot types.
39b77241a5hudson* libraries 9bd9478...442de86 (1): > Bump libraries
f44d943bdePer Östlund[NF] Update tests.
6b26f03eecPer ÖstlundUpdating submodules
8017c67f8cPer Östlund[NF] Expand complex array crefs.
ba4a3e231ePer Östlund* OMCompiler 2fee2f0...71414e4 (1): > [NF] Add execStat för Absyn->SCode.
71414e449ePer Östlund[NF] Add execStat för Absyn->SCode.
7981963c12hudson* libraries d48f031...9bd9478 (1): > Bump libraries
b145b55228Adeel Asghar* OMPlot af5c4a6...4b15019 (1): > Clean up resources
2fee2f0643Per ÖstlundFix code generation for function outputs.
fd9bf81a0fPer Östlund* OMCompiler 4b0bcc2...2fee2f0 (1): > Fix code generation for function outputs.
4b15019d19Adeel AsgharClean up resources
8c828b7e03Adeel Asghar* OMEdit 91189d4...3e4797e (1): > Clean the SVGs
3e4797e934Adeel AsgharClean the SVGs
4b0bcc210cPer Östlund[NF] Improve Typing.typeExpDim.
b0a3645908Per Östlund* OMCompiler 68cc738...4b0bcc2 (1): > [NF] Improve Typing.typeExpDim.
be9c750c67arun3688fix DataReconciliationOpenCpsTests.mos baseline results
53450f865barun3688Updating submodules
68cc738538arun3688fix datareconciliation jacobians var ordering
262caf127ehkiel* OMEdit 7353b63...91189d4 (1): > fix for Qt4.8: do not use QStringRef.left() or right()
91189d4fa8hkielfix for Qt4.8: do not use QStringRef.left() or right()
8558faee44Anatoly Trosinenko* OMEdit ce509a3...7353b63 (2): > Use different icons for autocompleted class and component names > Show meaningful descriptions for autocompleted classes and components
7353b630fdAnatoly TrosinenkoUse different icons for autocompleted class and component names
502f86fd76Anatoly TrosinenkoShow meaningful descriptions for autocompleted classes and components
2fe61a6fc1hudson* libraries 91c7cc3...d48f031 (1): > Bump libraries
aa92d03d8fhudson* libraries 8c04a0a...91c7cc3 (1): > Bump libraries
1a1d3db324hudson* libraries 1541c34...8c04a0a (1): > Bump libraries
cd01b362f9Lennart Ochel* OMSimulator f1611fc...3a00dbf (1): > Fix documentation of oms_importString
ae77dd6edeAdeel Asghar* OMEdit bef7e4f...ce509a3 (1): > Fixes ticket:5050 Use `Qt::ElideRight` if the value is a double in non-scientific notation. If the value is in scientific notation then use `Qt::ElideMiddle`.
ce509a36c2Adeel AsgharFixes ticket:5050 Use `Qt::ElideRight` if the value is a double in non-scientific notation. If the value is in scientific notation then use `Qt::ElideMiddle`.
a0d438c299Martin Sjölund* OMCompiler bbc721e...05c8b02 (1): > Unroll the patch commands
05c8b026daMartin SjölundUnroll the patch commands
0da1f65643Martin SjölundUpdates for MSL 3.2.3 being added
8e643e8862Martin SjölundUpdating submodules
bbc721e3bbPer Östlund[NF] Use System.setUsesCardinality.
ddc484b2e4Per Östlund* OMCompiler d255b3a...bbc721e (1): > [NF] Use System.setUsesCardinality.
d255b3a735Martin SjölundUpdating 3rdParty
1d6c04a4c6Martin SjölundUpdating OMCompiler
acff4fc141Martin Sjölund* OMCompiler 554ce08...a6a2406 (1): > Remove svn-clean.py
a6a240619bMartin SjölundRemove svn-clean.py
8b4fc4efe6Martin Sjölund* OMCompiler a27fbae...554ce08 (1): > Unify BSD/OSX and GNU sed syntax to one
554ce08ab4Martin SjölundUnify BSD/OSX and GNU sed syntax to one
d803f6750cMartin SjölundUpdating OMCompiler
a27fbae91aMartin SjölundUpdating 3rdParty
bef7e4f632Adeel Asgharticket:5050 Use Qt::ElideRight for value column. Other columns use Qt::ElideMiddle
53121856e3Martin Sjölund* OMCompiler fbc944f...e10d5e4 (1): > Use $(MAKE) in Makefile
e10d5e4f56Martin SjölundUse $(MAKE) in Makefile
21d2cf187bMartin SjölundUpdating OMCompiler
fbc944f68dMartin SjölundUpdating 3rdParty
c8fa40216bAdeel Asgharticket#5190 Save the class when saving the documentation
72b57be7fdAdeel Asgharticket#5207 Preserve the jacobian type between simulations
acf3692098Per Östlund* OMCompiler 0f5c4be...2f863d0 (1): > [NF] Make Real range generation more robust.
2f863d03e8Per Östlund[NF] Make Real range generation more robust.
de55ec3770Anatoly TrosinenkoDo not pass platform triplets with '&' when compiling FMUs
008aaf86ecPer Östlund* OMCompiler 58af603...0f5c4be (1): > [NF] Handle inner/outer in records.
0f5c4be90cPer Östlund[NF] Handle inner/outer in records.
0c09579285Anatoly TrosinenkoRefactor GitCommands.{h,cpp}
52aaba44e4Per Östlund* OMCompiler 38fd61a...58af603 (1): > [NF] Allow Fortran 77 as external language.
58af603f17Per Östlund[NF] Allow Fortran 77 as external language.
d1d87566faPer Östlund[NF] Update tests.
9531ac33d6Per ÖstlundUpdating submodules
a3987d2f8bPer Östlund[NF] Add Complex subtraction test.
38fd61a5fePer Östlund[NF] Various fixes.
fa58684ecdAdeel Asghar* doc c7d4997...8b616b2 (1): > Improved the OMPython's setXXX functions explanation
8b616b2cf1Adeel AsgharImproved the OMPython's setXXX functions explanation
789da9f744Adeel Asghar* doc 50403cf...c7d4997 (1): > Fix heading style
9a35199581Martin SjölundUpdating 3rdParty
06c68c1efaMartin SjölundUpdating OMCompiler
c7d4997de4Adeel AsgharFix heading style
646c9d059cMartin Sjölund* libraries 7061218...5abf33d (1): > Add MSL 3.2.3
29765f5482hudson* libraries 582ceb7...7061218 (1): > Bump libraries
8167b9d2bbPer Östlund[NF] Partially revert 8fcf925.
a974fed698Per Östlund* OMCompiler be0943f...8167b9d (1): > [NF] Partially revert 8fcf925.
40501effcdarun3688* doc 2ef337a...50403cf (1): > fix OMJulia introduction
50403cfa6aarun3688fix OMJulia introduction
a0238987d9hudson* doc bbccbd9...2ef337a (2): > Merge remote-tracking branch 'origin/master' > users guide doc for FMU animation
2ef337a4e8Adeel AsgharMerge remote-tracking branch 'origin/master'
970471d854Volker Waurichusers guide doc for FMU animation
be0943f3aePer Östlund[NF] Fix scoping of redeclared components.
7e3b0eaa7dPer Östlund* OMCompiler 247f185...be0943f (1): > [NF] Fix scoping of redeclared components.
247f185a62Per Östlund[NF] Handle importing and inheriting the same name.
2078fcba08Per Östlund* OMCompiler 852d89e...247f185 (1): > [NF] Handle importing and inheriting the same name.
852d89ec56Per Östlund[NF] Fix operator overloading.
96385720e3Per Östlund* OMCompiler 8fcf925...852d89e (1): > [NF] Fix operator overloading.
8fcf925f21Per Östlund[NF] Various improvements.
fbf72a40dfPer Östlund* OMCompiler fcedc05...8fcf925 (1): > [NF] Various improvements.
fa64771d52Lennart Ochel* OMSimulator 6bfac9a...f1611fc (2): > Updating testsuite > Step me-system also if it doesn't contain any FMU
53bb83a9deWilli BraunUpdating submodules
d97b893746Willi Braunadded test for ticket5294
fcedc05ffcWilli Braun[BE] added support for INITIAL_ASSERT in BackendCreate
a36ff7228dhudsonUpdating submodules
35ce3fd871Willi Braunadjust test
db18f0d5b1Karim Abdelhak[BE]apply simplifyIfEquations on initial equations
21a25349a5Lennart Ochel* OMSimulator 5fcd6f3...6bfac9a (1): > Revert "Fix bug in oms_compareSimulationResults"
eb421e8aa8Per Östlund[NF] Evaluate bindings of complex final parameters.
3f09a75612Per Östlund* OMCompiler bf2e0a4...eb421e8 (1): > [NF] Evaluate bindings of complex final parameters.
bc3ef81387Lennart Ochel* OMSimulator d2a0e99...5fcd6f3 (1): > Fix bug in oms_compareSimulationResults
597b6c86bcLennart Ochel* OMSimulator 5ee8cb1...d2a0e99 (1): > New flag --wallTime
5ce87e80f2Lennart Ochel* OMSimulator 4a05af7...5ee8cb1 (1): > Updating testsuite
6727d600edLennart OchelTest output-states
d164e66abcLennart OchelUpdating submodules
c3b5ebb235Lennart OchelExpected output
bf2e0a4e49Lennart OchelDon't rename outputs
2d94743e5dhudson* libraries ce198e2...582ceb7 (1): > Bump libraries
f643f5b5a4Lennart Ochel* OMCompiler e3d42ec...7eaf6bc (1): > Replace BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate
7eaf6bce73Lennart OchelReplace BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate
885713e535Per ÖstlundUpdating submodules
0082843b05Per ÖstlundAdd test for --showStructuralAnnotations.
e3d42ecdd1Per ÖstlundImplement --showStructuralAnnotations flag.
8e4b477fcbPer Östlund* OMCompiler 2128334...547468f (1): > Expand crefs when simplifying cat.
547468f7b9Per ÖstlundExpand crefs when simplifying cat.
20243de701Lennart Ochel* OMSimulator 3ddb45c...4a05af7 (1): > Fix tables and time in wc-systems
6cc245e7caLennart Ochel* OMSimulator 9890d0f...3ddb45c (2): > Updating testsuite > Fix deletion of associated connections
3534b10ab2Lennart Ochel* OMShell 43edc61...cf210ce (1): > Update .gitignore
cf210ceb0fLennart OchelUpdate .gitignore
4824a887d7Lennart Ochel* OMSimulator 7d7e812...9890d0f (1): > Remove Identifier.h/cpp
c2b1c9a018hudson* libraries 277c9e5...ce198e2 (1): > Bump libraries
6772ad32a8Lennart Ochel* OMSimulator 14b8f2b...7d7e812 (2): > Test if regex is valid > Fix result filter for tables
f02df9f015Adeel Asghar* doc 27c9045...bbccbd9 (2): > Document the variable filter option > ModelicaSystem can load dependent Modelica files
bbccbd95b9Adeel AsgharDocument the variable filter option
0b6f0159acAdeel AsgharModelicaSystem can load dependent Modelica files
e52a2d854aAdeel Asghar* doc 9c99416...27c9045 (1): > Updated examples
27c90450f3Adeel AsgharUpdated examples
91daed6d25hudson* libraries 3867ee4...277c9e5 (2): > Bump libraries > update MSL patches due to version changes - update master revision to the lastest in repos.json
88ec3b611chudsonUpdating submodules * OMEdit e519aa1...5016e9c (2): > Update .gitignore > Make oms_system_wc the default system choice
5016e9c73aLennart OchelUpdate .gitignore
31578c0838Lennart OchelMake oms_system_wc the default system choice
21283341fdAdrian PopUpdating 3rdParty
90ac577e48Adrian PopUpdating OMCompiler
158c497a45Adrian Popon mingw C runtime link statically with sundials - on mingw define LINK_SUNDIALS_STATIC before including sundials headers - fix rule for dataReconcilation.cpp (was overwritten before)
87023ab543Lennart Ochel* OMPlot c25c2a7...af5c4a6 (1): > Update .gitignore
af5c4a6ad3Lennart OchelUpdate .gitignore
825f1f0f1eLennart OchelUpdating submodules * OMOptim 6cc37d7...794e92d (1): > Update common
43edc6161bLennart OchelUpdate common
9d9580f5baLennart Ochel* OMNotebook bc948d8...da5e18f (1): > Update common
da5e18f2edLennart OchelUpdate common
e60d0de056Lennart OchelUpdate .gitignore
02d3df86d8Lennart Ochel* OMSimulator c8b9900...470808f (3): > Updating testsuite > Dump error if setReal failed > Dump error if getReal failed
43044cb559Adrian Pop[FMU] static link sundials, ticket:5293
99820f8bd9Adrian Pop* OMCompiler e2dbad2...43044cb (1): > [FMU] static link sundials, ticket:5293
e29c9e2cfchudsonUpdating submodules * OMEdit d21bc7d...e519aa1 (1): > ticket#5282 Added a customizable delay in variable filter
e2dbad235fAdrian Popmore execstat: at the end of frontend and for checkmodel
9ba78919c7Adrian Pop* OMCompiler 5e72f06...e2dbad2 (1): > more execstat: at the end of frontend and for checkmodel
e519aa1121Adeel Asgharticket#5282 Added a customizable delay in variable filter
3d550e416aMartin Sjölund* OMSimulator a200e03...02399ec (1): > Make a static build using Alpine Linux
de0b3ad996Per ÖstlundUpdating submodules
5c577d75d6Per Östlund[NF] Add when test.
5e72f06ed7Per Östlund[NF] Fix ordering of when-branches.
9e91387fe3Adeel Asghar* OMEdit 0ce89e2...d21bc7d (1): > Check against the actual stop time Rename for OMSimulator models is not implemented yet.
d21bc7d100Adeel AsgharCheck against the actual stop time Rename for OMSimulator models is not implemented yet.
5290514e76Adeel Asghar* OMEdit 712d903...0ce89e2 (1): > Compare against LibraryType
0ce89e2f06Adeel AsgharCompare against LibraryType
2a10dd5f3eAdeel Asghar* OMEdit 5297e5b...712d903 (1): > ticket#5285 Implemented "save as" for OMSimulator models
712d903b2bAdeel Asgharticket#5285 Implemented "save as" for OMSimulator models
9d1baa9714Adeel Asghar* OMEdit 35a006c...5297e5b (1): > Better handling of system simulation information Allow instantiation and simulation from system and submodel level as well.
5297e5ba08Adeel AsgharBetter handling of system simulation information Allow instantiation and simulation from system and submodel level as well.
b9a78f02c5Lennart Ochel* OMSimulator 08e3bf9...a200e03 (1): > Fix asynchronous simulation
cd6134b315hudson* OMSimulator 8c8c521...08e3bf9 (2): > Remove obsolete references to OMSimulatorLib.png > Re-add dummy TLM interface
26b40ffe7bLennart Ochel* OMSimulator d573c46...8c8c521 (1): > Add some missing lua and python bindings
785efe1788Lennart Ochel* OMSimulator d90764d...d573c46 (1): > Implement oms_getFixedStepSize
470837dba3Lennart Ochel* OMSimulator 29991f2...d90764d (1): > v2.1.0-dev
64def7ab00hudsonUpdating submodules * OMEdit 55dabec...35a006c (1): > Do not place autogenerated commands to OMC window command line history
fd4e040b50Per Östlund[NF] Update tests.
5a980e9963Per ÖstlundUpdating submodules
8a20ce05c2Per Östlund[NF] Propagate structuralness via modifications.
35a006cfc8Anatoly TrosinenkoDo not place autogenerated commands to OMC window command line history
2534649017Lennart Ochel* OMSimulator 8cec050...3c0c27c (1): > Read version string from file if git is not available
25cfbd504dWilli Braunremoved misleading fScalings labels in kinsol dump
0dacf2aba0Willi Braun* OMCompiler 8cd9743...25cfbd5 (1): > removed misleading fScalings labels in kinsol dump
dd3ff330e8Adeel Asghar* OMEdit 18e18bd...55dabec (1): > ticket#5273 Reset the filters before inserting new items to Variables Browser The filters are applied back after insertion.
55dabec31aAdeel Asgharticket#5273 Reset the filters before inserting new items to Variables Browser The filters are applied back after insertion.
b610dde480Adeel Asghar* OMEdit 2b48418...18e18bd (1): > OMSimulator binaries are in bin folder for Windows
18e18bdfacAdeel AsgharOMSimulator binaries are in bin folder for Windows
8cd974325dPer Östlund[NF] Fix root class modifiers.
bbf16cdeaePer Östlund* OMCompiler 683050e...8cd9743 (1): > [NF] Fix root class modifiers.
580dd2bb5aLennart Ochel* OMSimulator 29e2dae...8cec050 (1): > Allow setting start values before an FMU is instantiated
080a4a03d7Lennart Ochel* OMSimulator 1552061...29e2dae (2): > Updating testsuite > Make model->getSystem("") returning the root system
2d5a7feefcLennart Ochel* OMSimulator 628d249...1552061 (1): > Update Python bindings
e8dc4c0b9dAdrian Pop* libraries dc6dc70...3867ee4 (1): > add .git ending
6f8f24c0f8Lennart Ochel* OMSimulator 54741bf...628d249 (2): > Update oms_freeMemory > Add more Python bindings
79d048cbbehudsonUpdating submodules * OMSimulator 5efb12d...54741bf (1): > Remove idle bat-files
2bbce90589David Polak* OMCompiler 0ef03fc...683050e (1): > Fix FMU hybrj_ function signature
683050ef1fDavid PolakFix FMU hybrj_ function signature
cc4354dedfAnatoly Trosinenko* OMCompiler 23d8d26...0ef03fc (1): > Use the stack bottom value from the old threadData, if available
0ef03fcc64Anatoly TrosinenkoUse the stack bottom value from the old threadData, if available
e290872bffLennart Ochel* OMSimulator 34bf83d...5efb12d (1): > Fix some issues with SSP import for SC systems
db3cabe345hudson* libraries 720a5ce...c8881a0 (1): > Bump libraries
23d8d265b9Adrian Popfix metis build on mac
7261151137Adrian Pop* OMCompiler 0861aa3...23d8d26 (1): > fix metis build on mac
2f561db069Adrian Pop* OMSimulator d32a5f4...34bf83d (1): > Use curly instead of normal
2fb0879aceAdeel Asghar* OMEdit 0bae201...2b48418 (1): > Adapt to oms_setTolerance
2b48418df5Adeel AsgharAdapt to oms_setTolerance
ed8efa22bchudsonUpdating submodules * OMEdit d04b21f...0bae201 (2): > Fix call of oms_setTolerance > Text view for OMSimulator components
0bae201f4aLennart OchelFix call of oms_setTolerance
0861aa3309Per Östlund[NF] Fix Typing.typeCrefDim.
585e397281Per Östlund* OMCompiler ea40561...0861aa3 (1): > [NF] Fix Typing.typeCrefDim.
9a352e40bbAdeel AsgharText view for OMSimulator components
32f2c4511aPer ÖstlundUpdating submodules
6307dbc48aPer Östlund[NF] Add reduction tests.
ea40561489Per Östlund[NF] Add type checking for reductions.
78b742bfbdLennart OchelUpdating submodules
84a90a33fcLennart OchelUpdate tests
d04b21f89cLennart OchelFix oms model state
5cdb13db13Lennart OchelAdapt to OMSimulator API changes
bbc01270d7Per Östlund[NF] Record binding fixes.
6717298e9aPer Östlund* OMCompiler ef2d3b4...bbc0127 (1): > [NF] Record binding fixes.
ebc2b0f30aAdeel Asghar* OMEdit 6bcab54...5ab86e2 (1): > System simulation information for strongly coupled systems
5ab86e2444Adeel AsgharSystem simulation information for strongly coupled systems
1002d7bc9bhudsonUpdating submodules * OMEdit b3b2c54...6bcab54 (1): > Allow setting OMSimulator flags Removed the oms2 references
6bcab54400Adeel AsgharAllow setting OMSimulator flags Removed the oms2 references
fb6797a73cAnatoly Trosinenko* OMEdit 8a25d73...b3b2c54 (1): > Basic implementation of completion for Modelica
b3b2c54c2bAnatoly TrosinenkoBasic implementation of completion for Modelica
c14d0527f5hudson* libraries bb7703b...2f5b752 (1): > Bump libraries
1ff576939dAnatoly Trosinenko* OMEdit 4f53a8a...8a25d73 (1): > Implement feature to move FMU after build
8a25d733f2Anatoly TrosinenkoImplement feature to move FMU after build
1a51d290d0Lennart Ochel* OMSimulator 9bf31c4...724b23a (1): > Updating testsuite
ef2d3b4584Per Östlund[NF] Element-wise overloaded operator support.
efa44fb5e3Per Östlund* OMCompiler 1f8adde...ef2d3b4 (1): > [NF] Element-wise overloaded operator support.
d663c40d82Per ÖstlundUpdate tests.
164a5ffe75Per ÖstlundUpdating submodules
1f8addeb06Per ÖstlundError message improvements.
7df2771384Lennart OchelUpdate DualMassOscillator.mo
2bf67ee957Lennart Ochel* testsuite a5b0f22...7df2771 (1): > Update DualMassOscillator.mo
1f99d4a854Per Östlund[NF] Add case for MUTABLE in Typing.typeExp.
25020e4e4ePer Östlund* OMCompiler 5e47a15...1f99d4a (1): > [NF] Add case for MUTABLE in Typing.typeExp.
5e47a157eaPer Östlund[NF] Flatten for-loop ranges when unrolling.
df139e6a8aPer Östlund* OMCompiler 158a345...5e47a15 (1): > [NF] Flatten for-loop ranges when unrolling.
158a345b4cPer Östlund[NF] Fix TypeCheck.getRangeTypeReal.
a2a6189283Per Östlund* OMCompiler c0d2c57...158a345 (1): > [NF] Fix TypeCheck.getRangeTypeReal.
c0d2c57291Per Östlund[NF] Improve Ceval.evalArrayConstructor.
749025cd81Per Östlund* OMCompiler 973bab3...c0d2c57 (1): > [NF] Improve Ceval.evalArrayConstructor.
92fe820984Adrian Pop* OMSimulator 0ca3a87...9bf31c4 (1): > link with -latomic on i386
793eed3be8hudson* libraries b229cc9...bb7703b (1): > Bump libraries
973bab372fPer Östlund[NF] Cleanup some toString functions.
12b8cb95ffPer Östlund* OMCompiler d681d71...973bab3 (1): > [NF] Cleanup some toString functions.
dc548f0ecdLennart Ochel* testsuite 539eebd...a5b0f22 (1): > Test case for coupled ME-FMUs
a5b0f2221aLennart OchelTest case for coupled ME-FMUs
b714080405Lennart Ochel* OMCompiler 8481cc5...d681d71 (1): > Trigger internal computation in initialization mode
d681d71113Lennart OchelTrigger internal computation in initialization mode
114dd97fceLennart Ochel* OMSimulator 25b7058...0ca3a87 (1): > Fix linking boost
8481cc556fPer Östlund[NF] Fix type in Ceval.evalArrayConstructor.
fc1361e67ePer Östlund* OMCompiler 3c1d34e...8481cc5 (1): > [NF] Fix type in Ceval.evalArrayConstructor.
539eebd8efLennart OchelExpected output
576e64c1ceLennart OchelUpdating submodules
2d54278593Lennart Ochel* OMSimulator a8590e0...0d9a538 (1): > Flag to avoid using (wrong) InitialUnknowns from OpenModelica
3c1d34e456Per Östlund[NF] Collect functions in builtin attributes.
ec10172a78Per Östlund* OMCompiler 0fb5b98...3c1d34e (1): > [NF] Collect functions in builtin attributes.
0fb5b980a1Per Östlund[NF] Fix Flatten.collectTypeFuncs for arrays.
fbfc3fad87Per Östlund* OMCompiler 2be04fd...0fb5b98 (1): > [NF] Fix Flatten.collectTypeFuncs for arrays.
f17c7f84d5hudson* libraries a7b173c...b229cc9 (1): > Bump libraries
2be04fdfceAdrian Pop[NF] support range based on enumeration type
30417ae50fAdrian Pop* OMCompiler 1871ad3...2be04fd (1): > [NF] support range based on enumeration type
1871ad3007Adrian Popadd more operators and builtin functions to the embedded codegen
0d9909d968Adrian Pop* OMCompiler da97141...1871ad3 (1): > add more operators and builtin functions to the embedded codegen
643bfada5aLennart Ochel* OMSimulator dc81b66...a8590e0 (1): > Fix multiline log messages on Windows
ab601ab7a3hudson* libraries 97e5b18...a7b173c (1): > Bump libraries
c15ea990a5Lennart OchelInitialization of a simple composite model
aa775798beLennart Ochel* testsuite 6c01304...c15ea99 (1): > Initialization of a simple composite model
fb97934cc4Lennart Ochel* OMSimulator 8198634...dc81b66 (1): > Fix initialization of composite models
bd5825906cLennart Ochel* OMSimulator 26f4f93...8198634 (1): > Fix debug configuration
9f86e33d3eLennart Ochel* OMSimulator 49c2b46...26f4f93 (2): > Check if it is not allowed to set a start value > Check if FMU exists
7cdbd01693hudson* libraries f99d436...97e5b18 (1): > Bump libraries
da97141980Per ÖstlundHandle record better in lowerArrayEqn.
d4af0bd408Per Östlund* OMCompiler c8cc40e...da97141 (1): > Handle record better in lowerArrayEqn.
6c0130470cLennart OchelMove OMSimulator tests to its own folder
135b7b1cb8Lennart Ochel* testsuite bde3269...6c01304 (1): > Move OMSimulator tests to its own folder
c8cc40e45cPer Östlund[NF] Fix Ceval.makeRecordBindingExp.
0c338ceb28Per Östlund* OMCompiler c68f433...c8cc40e (1): > [NF] Fix Ceval.makeRecordBindingExp.
8894598e36hudson* libraries c563d2e...f99d436 (1): > Bump libraries
d5c9d7abb8Adeel Asghar* OMEdit 7074e48...4f53a8a (1): > More FMU capability flags Added `canInterpolateInputs` and `maxOutputDerivativeOrder`
4f53a8a7aaAdeel AsgharMore FMU capability flags Added `canInterpolateInputs` and `maxOutputDerivativeOrder`
75b75d444aPer Östlund* OMCompiler ef2fed9...c68f433 (1): > [NF] Ceval/SimplifyExp improvements.
c68f4330c3Per Östlund[NF] Ceval/SimplifyExp improvements.
bde3269e14Lennart OchelTest case for initialization of an FMU
0987149f69Lennart OchelUpdating submodules
ef2fed95faLennart OchelFix more initialization issues with FMUs
8ee41fb4fbPer Östlund* OMCompiler 82a256a...2f4f72e (1): > [NF] Fix connection graph.
2f4f72e3f7Per Östlund[NF] Fix connection graph.
48530199c6Martin SjölundAdd missing depends line
25a996e946hudsonUpdating submodules
43cc0a2a46arun3688add tests for computing reconciled x and sx
82a256a7b3arun3688add runtime support to dataReconciliation module
0492dfd185Lennart Ochel* OMCompiler 5c68648...a4086ba (1): > Fix initialization of parameters and attributes for FMUs
a4086ba132Lennart OchelFix initialization of parameters and attributes for FMUs
2a93e3e52ahudson* libraries 7ad0ed5...c563d2e (1): > Bump libraries
868ae7cbd5Adeel Asghar* OMEdit e6e83ea...7074e48 (1): > ticket:5187 Fixed the indentation issue Preserve user formatting where entire sub-packages are kept as single files
7074e48876Adeel Asgharticket:5187 Fixed the indentation issue Preserve user formatting where entire sub-packages are kept as single files
5c686487ebPer Östlund[NF] Retype array constructors after ceval.
79fb9fca0bPer Östlund* OMCompiler 15e62b7...5c68648 (1): > [NF] Retype array constructors after ceval.
15e62b72c6Per Östlund[NF] Improve toString functions.
6b5a2cc2ccPer Östlund* OMCompiler 8311f26...15e62b7 (1): > [NF] Improve toString functions.
8311f2653cLennart OchelFix capability flag maxOutputDerivativeOrder
22b81040dcLennart Ochel* OMCompiler 0695240...8311f26 (1): > Fix capability flag maxOutputDerivativeOrder
c47a20db44Lennart Ochel* OMSimulator 7196c9a...49c2b46 (1): > Move add_rpath to cmake
0695240364Per Östlund[NF] Various fixes.
0fa2410569Per Östlund* OMCompiler 43bdde4...0695240 (1): > [NF] Various fixes.
8d6a86bbcfMartin Sjölund* OMCompiler 17e1186...43bdde4 (1): > Add the trigonometric functions to EmbeddedC
43bdde4e31Martin SjölundAdd the trigonometric functions to EmbeddedC
5f74dae9f7hudsonUpdating submodules * OMSimulator 49fa246...7196c9a (3): > Generate dynamic version of OMSysIdentLib > Misc warning fixes > New implementation of command line flags
17e11864e8Per Östlund[NF] Improve Expression.splitRecordCref.
f3830b7fd3Per Östlund* OMCompiler cf3c2d4...17e1186 (1): > [NF] Improve Expression.splitRecordCref.
c69acb4a90hudson* libraries 0f44e9f...04efb7e (1): > Bump libraries
cf3c2d4445Per Östlund[NF] Fix DAE conversion of ^ operator.
06230fdef2Per Östlund* OMCompiler b839fa1...cf3c2d4 (1): > [NF] Fix DAE conversion of ^ operator.
b839fa14f2Per Östlund[NF] Fix DAE conversion of / operator.
5ddf5fe2cfPer Östlund* OMCompiler 8ad5de1...b839fa1 (1): > [NF] Fix DAE conversion of / operator.
3a416d669ePer ÖstlundAdd moveClass test.
6508c93fa4Per ÖstlundUpdating submodules
8ad5de13b6Per ÖstlundImplement Interactive.transformPathedClassInClass.
94854f254aMartin Sjölund* doc d08d562...9c99416 (1): > Add DOI for Eurosim 2016
9c994164fdMartin SjölundAdd DOI for Eurosim 2016
5f35ad2e2bhudson* libraries dba5111...0f44e9f (1): > Bump libraries
0ef3ef7c29Anatoly Trosinenko* OMSimulator e9e1403...49fa246 (1): > Logging: do not call vsnprintf for disabled debug messages
57ef0b1960hudson* libraries 174a4f0...dba5111 (1): > Bump libraries
dd401ea20fhudson* libraries 6147311...174a4f0 (1): > Bump libraries
1e836b6e7fAnatoly TrosinenkoImplement *_get_5D(...) array accessors
df0452cb68Anatoly Trosinenko* OMCompiler 1b6a960...1e836b6 (1): > Implement *_get_5D(...) array accessors
134d5852aaLennart Ochel* OMSimulator b865951...e9e1403 (2): > Support input derivatives > Add maxOutputDerivativeOrder to FMUInfo
ce88c16c2dLennart Ochel* OMSimulator 557cbb7...b865951 (1): > Add bat files to run config and build process
88b1ed64e1hudson* libraries 14714c1...6147311 (1): > Bump libraries
1b6a960acaAnatoly TrosinenkoDo not complain on NULL returned when allocating 0 objects
ed2cbce38fAnatoly Trosinenko* OMCompiler 52cd129...1b6a960 (1): > Do not complain on NULL returned when allocating 0 objects
cd71f416e2hudson* libraries a0ef68d...14714c1 (1): > Bump libraries
f05c7c3878Adrian Popcheck if common directory exists
c31d49b1fbhudson* libraries f22b5e7...a0ef68d (1): > Bump libraries
52cd12972eMartin SjölundAdditional debug messages for overdetermined systems
0821045bb1Martin Sjölund* OMCompiler 2b1c2bf...52cd129 (1): > Additional debug messages for overdetermined systems
9be213254cadrpodisplay the commands during run
ae7259ae40adrpomake it executable
3a1ea1703ehudson* libraries 48137c7...f22b5e7 (1): > Bump libraries
a74939d1d7Adrian Pop* doc 79083ae...d08d562 (1): > fix sed expression for changing svg to pdf in .tex
d08d5620bcAdrian Popfix sed expression for changing svg to pdf in .tex
5c04f7b565Robert Braun* OMSimulator 36f810b...557cbb7 (1): > Enabled oms3_setLoggingLevel for TLM simulations
7e364deda7hkiel* OMCompiler 802d9c8...2b1c2bf (1): > fix copy&paste error
2b1c2bf5c0hkielfix copy&paste error
e4c4f8f73fAdrian Pop* doc 4593658...79083ae (1): > proper literal quote for function comments
802d9c8f52Dietmar WinklerBeautifulSoup 3 is no longer maintained, switch to bs4
f026e43179Dietmar Winkler* OMCompiler 4eda4f7...802d9c8 (1): > BeautifulSoup 3 is no longer maintained, switch to bs4
79083ae241Adrian Popproper literal quote for function comments
2c2276b3b0Adrian Pop* doc c6431a4...4593658 (1): > fix missing backquote, remove space in literal
4eda4f7827Adrian Popmore fixes for ticket:5030 - fix variable cross reference for equations in modelinfo.c - fix equation display in html in default_profiling.xsl - fix a bad string comparison (str == "") in systemimpl.c
43508c1e26Adrian Pop* OMCompiler 434838c...4eda4f7 (1): > more fixes for ticket:5030 - fix variable cross reference for equations in modelinfo.c - fix equation display in html in default_profiling.xsl - fix a bad string comparison (str == "") in systemimpl.c
4593658c79Adrian Popfix missing backquote, remove space in literal
9d0d1a98cfAdrian Pop* doc a596ebd...c6431a4 (1): > never ending story
c6431a4218Adrian Popnever ending story
3e83e69591Adrian Pop* doc 2ab3862...a596ebd (1): > attempt verbatim escaping
a596ebda99Adrian Popattempt verbatim escaping
5b3e6726dehudson* libraries fbd1815...48137c7 (1): > Bump libraries
3fdcbf2e46hkiel* OMNotebook bec0c66...bc948d8 (2): > fix notebook documents being trashed, trac:5255 > also ask before deleting cell when using keyboard short cut
bc948d82c6hkielfix notebook documents being trashed, trac:5255
d52fbfc996hkielalso ask before deleting cell when using keyboard short cut
ebb51a350eAdrian Pop* doc db03d43...2ab3862 (1): > attempt to fix rst warnings, make class comment verbose
2ab38620a8Adrian Popattempt to fix rst warnings, make class comment verbose
d6ee3b73deAdrian Pop* doc a448030...db03d43 (1): > activate the profiling again
db03d43cdfAdrian Popactivate the profiling again
df494c231ahudson* libraries d697be9...fbd1815 (1): > Bump libraries
771345a742Martin Sjölund* libraries c7a1ffc...d697be9 (1): > M_LS2 2.3.4 provides 2.3.2 functionality
434838c38dhkielfix SVG generation script for Python3
d80495aea2hkiel* OMCompiler 7140453...434838c (1): > fix SVG generation script for Python3
49f2729f28hudson* libraries 23d1fa6...c7a1ffc (1): > Bump libraries
1696e2d008Lennart Ochel* OMSimulator 6ca3f79...36f810b (1): > Fix performance issue of writing the simulation results
4ff0ebd88ehudson* libraries bb717a9...23d1fa6 (1): > Bump libraries
bc6d808639Adeel Asghar* OMEdit 19b718f...e6e83ea (1): > Removed unnecessary debugging/helping code.
e6e83ea334Adrian Popfix ticket:5251, use secsTo instead of direct comparison
1e137dfbcbAdrian Pop* OMEdit 4a8d97d...19b718f (1): > fix ticket:5251, use secsTo instead of direct comparision
7140453447Adrian Popfix ticket:5250 handle '<' and '>' the way GenerateDoc.mos does
f887699899Adrian Pop* OMCompiler d090ace...7140453 (1): > fix ticket:5250 handle '<' and '>' the way GenerateDoc.mos does
6965af0296wibraun* doc d5eccd3...a448030 (1): > added section for DAE mode
a44803077awibraunadded section for DAE mode
dee1ffbad5Per Östlund[NF] Add operator overloading array tests.
d1a04bc77bPer ÖstlundUpdating submodules
d090ace87fPer Östlund[NF] Improve operator overloading.
a8243f5541hudson* libraries 9bd3ed5...bb717a9 (1): > Bump libraries
b8ddb69cdfAndreasAdded dependency for CPP runtime on Windows mingw build
0823da75b8Andreas* OMCompiler 3fa798f...b8ddb69 (1): > Added dependency for CPP runtime on Windows mingw build
3fa798f48eniklwors[cppruntime] Adapted zero function tolerance
c0bc3ccc6aniklwors* OMCompiler 7a31ea6...3fa798f (1): > [cppruntime] Adapted zero function tolerance
1cabdc1f83Adrian PopUpdating submodules
24f22591beAdrian Popadd test for ticket:5249
7a31ea6b65Adrian Popfix ticket:5249 - add a flag to typed binding to signal if it was flattened - do not flatten again already flattened typed binding
50a0bb93fchudson* libraries 2ba74b0...9bd3ed5 (1): > Bump libraries
83d5105013wibraunadded UsersGuide ref ticket:4246
a7a556e821wibraun* OMCompiler 8255622...83d5105 (1): > added UsersGuide ref ticket:4246
8255622635Lennart OchelFix typos
cb76bb3342Lennart Ochel* OMCompiler 35cf6f8...8255622 (1): > Fix typos
03f4fb32e9niklwors* testsuite edc48e4...b7a3f0c (3): > temporary deactivated cpp test > temporary deactivates cpp test > adapted cpp test
b7a3f0cedeniklworstemporary deactivated cpp test
e9f8ac1598niklworstemporary deactivates cpp test
4329bd6a8aniklworsadapted cpp test
4e495f466dhudson* libraries 52ea1e6...2ba74b0 (1): > Bump libraries
edc48e43fdPer Östlund[NF] Update tests.
94a8f6b558Per ÖstlundUpdating submodules
35cf6f80a7Per Östlund[NF] Move overconstrained equation generation.
f327e1776eWilli BraunUpdating submodules
918a5f78e8Willi Braunupdate daeMode examples
53a0dfdf81Willi Braun[BE] adjust daeMode flag
a5a441c442Per Östlund* OMCompiler 7b01c95...23e4c45 (1): > Improve code generation for ADD/SUB_ARRAY_SCALAR.
23e4c45083Per ÖstlundImprove code generation for ADD/SUB_ARRAY_SCALAR.
1c44f86a16Adeel Asghar* OMEdit 14a8e7b...4a8d97d (1): > ticket:5244 Fix plotting array derivatives
4a8d97dc9bAdeel Asgharticket:5244 Fix plotting array derivatives
ebdece43b2Lennart Ochel* OMSimulator 6bc7844...6ca3f79 (1): > Add --progressBar to CLI
4ce9d1d2d3Adrian Pop* libraries f5eaab2...52ea1e6 (1): > add text on how to add a new library
e6fbb61b1ehudson* libraries d1c8830...f5eaab2 (1): > Bump libraries
7b01c957bePer Östlund[NF] Fix Record.collectRecordParam.
6383b5954bPer Östlund* OMCompiler 32d10a9...7b01c95 (1): > [NF] Fix Record.collectRecordParam.
968a6f7cf0Adrian Pop* libraries 6d6603f...d1c8830 (1): > add ThermalSeparation library
de8057ec16hudson* libraries b34a8b8...6d6603f (5): > Bump libraries > update Complex and ModelicaTest trunk patches > Update ModelicaServices trunk patch > update MSL master > update Modelica trunk patch
be84cd68daPer Östlund* OMCompiler d8ca873...32d10a9 (1): > [NF] Record fixes.
32d10a91dbPer Östlund[NF] Record fixes.
2a3f35c408Lennart Ochel* OMSimulator ed6d9f8...6bc7844 (1): > Implement a progress bar for stepUntil
50c759882dPer Östlund[NF] Add record constructor tests.
37ff3e6db4Per ÖstlundUpdating submodules
d8ca87311cPer Östlund[NF] Record constructor fixes.
598960397dPer Östlund* OMCompiler c257574...a16d2aa (1): > Fix lowerEqn for initial complex equations.
a16d2aa3fcPer ÖstlundFix lowerEqn for initial complex equations.
728409e52cAdeel Asghar* OMEdit 2310bb3...14a8e7b (1): > ticket:5187 preserve user formatting
14a8e7bb8bAdeel Asgharticket:5187 preserve user formatting
e971eca79dLennart Ochel* OMSimulator eb3cec2...ed6d9f8 (1): > Implement oms3_setLoggingLevel
c257574c6cPer Östlund[NF] Collect constructors from record expressions.
8d7f6f8c00Per Östlund* OMCompiler b641911...c257574 (1): > [NF] Collect constructors from record expressions.
b60ef14b17Robert Braun* OMSimulator 1db7789...eb3cec2 (3): > Updating testsuite > Use number of log samples for TLM logging > Log all variables with TLM simulations
8a4a6d9d0ehudsonUpdating submodules * OMEdit b7e072e...2310bb3 (1): > Fix OSX build
2310bb3c83Adeel AsgharFix OSX build
2c111aa2c7adrpoupdate README.md
9eb6d39f39Lennart Ochel* OMSimulator 7d3831b...9d2f1cc (1): > Add wallTime to systems and components
3856d3c939hudson* libraries b29a005...b34a8b8 (1): > Bump libraries
454cc0f4b5Per Östlund* OMCompiler a1f95a6...b641911 (1): > Handle DAE.REDUCTION in differentiateExp.
b641911211Per ÖstlundHandle DAE.REDUCTION in differentiateExp.
db3e5dacdePer Östlund[NF] Add type input/output tests.
64bf6c5e96Per ÖstlundUpdating submodules
a1f95a6990Per Östlund[NF] Relax restriction on input/output prefixes.
7e723a6ae1Lennart Ochel* OMSimulator 0936825...7d3831b (1): > Updating testsuite
aac088eccdAdeel Asghar* OMEdit 5866cd2...b7e072e (1): > ticket:5234 Make sure we always set the MainWindow as active after the simulation
b7e072e578Adeel Asgharticket:5234 Make sure we always set the MainWindow as active after the simulation
856ae3fd61Adeel Asghar* OMEdit e9b53fa...5866cd2 (1): > Make sure we log the messages in the same thread Read the standard output and error files when using the OMSimulator API
5866cd268aAdeel AsgharMake sure we log the messages in the same thread Read the standard output and error files when using the OMSimulator API
dbcd0a4386hudson* libraries c5d6e2b...b29a005 (1): > Bump libraries
5e99d5ae7eAdrian Popv1.14.0-dev
e9b53fa5abAdrian Popv1.14.0-dev
e1d80fc271Adrian Popv1.14.0-dev
42a18c2efeAdrian Popupdate the tagging script
c7cfe9ead6Adrian Popadd a script to tag the release
e861b96d55Per Östlund[NF] Update tests.
f4aa462e4dPer Östlund[NF] Fix Expression.compare for arrays.
c1a48de423Per Östlund[NF] Add missing cases to Expression.compare.
3693a2765aPer Östlund[NF] Update tests.
cb2f4d4df8Per Östlund[NF] Various fixes.
c7c9c712a8Per Östlund[NF] Clone derived nodes.
9fc7ba2af1Per Östlund[NF] Improve evaluation of record fields.
60f7012181Per Östlund[NF] Update tests.
8ffc95a47ePer Östlund[NF] Improve functions called through components.
a8fad2e176Adeel AsgharCancel the composite model simulation properly Set the default result file buffer to 100
6abfbe4e9bAdeel AsgharCopy the simulation output without HTML formatting
36d1c9e24fWilli BraunadjustTests
e7d386dfb5Willi Braun[Backend] symbolic jacobian remove defines in generates code
3ab3f3d2ffAdeel AsgharDelete the Algloop* files generated by cpp runtime
1ff9da8188Adeel AsgharMake sure the result file is new
de1221967fRüdiger Franke[Cpp] Normalize paths for simple concatenation of file names
6770e63000Rüdiger FrankeRename --solver-threads option to confirm with Cpp naming
c842427a67Rüdiger Franke[Cpp] Don't use outputPath for results file, ticket:4773
aa64ed4c64Per Östlund[NF] Constant evaluation optimizations.
a0782120c0Adeel AsgharInteractive simulation is only implemented for c-runtime
8b10a6696aPer Östlund[NF] Include root name when creating complex DAE types.
99e1c39547Per Östlund[NF] Improve Expression.hasArrayCall.
809abfcb3fPer Östlund[NF] Collect more record constructors.
bccd64c5acPer Östlund[NF] Record fixes.
2661fa9b04Rüdiger Franke[Cpp] Implement flags for input and output path, ticket:4773
9bcafd67aaRüdiger Franke[Cpp] Fix derivative vars in XmlPropertyReader, ticket:4773
8caab614aeAdeel AsgharSet the tolerance for WC systems
d0f02ca1dcWilli Braunupdate tests
6f93d97a8aWilliScalarize differentiated exp RSUB and TSUB equations
0a46029abaWillipartial differentiation of function with record outputs
bcad33063aAdeel AsgharSSD text view for systems.
a907340220Adeel AsgharSet the signal filter when instantiating the model.
210af859fbRüdiger FrankeRe-add local ModelicaExternalC to Cpp runtime, ticket:5227
2f21e5acdfPer Östlund[NF] Add record inheritance tests.
7f7fb53898Per Östlund[NF] Clone inherited classes.
11caab2a3dAdeel AsgharAllow adding TLM connector to the component
b753795398Adeel AsgharHighlight oms:TlmMaster keyword
2a71c2e9f8Adeel AsgharDon't change the filename
46cf236700Adeel AsgharConnectors are not allowed on a TLM system
96dfd76e28Per Östlund[NF] Evaluate more constants in functions.
12ee163a54Per Östlund[NF] Minor fixes.
6ac3d327c5Per Östlund[NF] Fix type checking of tuple expressions.
83bdb3db9dPer Östlund[NF] Fix subscripting of ranges.
e49f7dc199Rüdiger FrankeUpdate test with array of overconstrained connectors
eeb0df6ceeRüdiger Franke[NF] Treat arrays of overconstrained connectors
2e1519928aAdeel AsgharMore structuring of OMSimulator files
e980f70a5bPer Östlund[NF] Added partial function application tests.
17cf378aecPer Östlund[NF] Initial partial function application support.
0fa8007989Per ÖstlundFix anyString for SOME().
f5cbc6bd01Lennart OchelFix CS-FMU doStep function - Fix event handling - Fix integration method (euler)
e8953bb7f1Adeel AsgharTLM system simulation information interface
0545fc6501Adeel AsgharBetter structuring of OMSimulator related files
dc05202e2eAdrian Popfix linearization file generation in Windows (ticket:5223)
b0ea5fef25Adeel AsgharAllow setting the logging interval via oms3_setLoggingInterval
287d131b1cAdeel AsgharUse oms3_getTLMVariableTypes to build a drop down list
9fe9b419b2Adeel AsgharDifferent colors for tlm connectors based on the domain
a3d1babfd6Rüdiger FrankeUpdate tests for improved treatment of array equations
19f18d6522Rüdiger Franke[BE] Improve inlining and solution of array equations
f80c21e1a9Rüdiger Franke[Cpp] Use array assign in for loops
6d42c9da96Adeel AsgharVisual difference between system, fmu and table Also added extra visual information on system like system type and on fmu like fmukind and fmuversion.
3ee0acce83Adeel AsgharElementPropertiesDialog to set the parameters and inputs
4b5e4db90bRüdiger FrankeAdd test VectorizedSolarSystem
cb53a44ef9Rüdiger Franke[Cpp] Implement array fill assignments
e2321aef7fRüdiger Franke[BE] Create array equations for array bindings
7603f209daPer ÖstlundUpdate tests.
a581f29091Per ÖstlundImprove parsing of function partial applications.
74a1cd4dacAdrian Popfix GC stats
59a2937ab5Lennart OchelExpected output
d5e13f9293Lennart OchelSmall changes to Modelica export of linearized models
2621afe56bAdeel AsgharTimeManager is not dependent on OSG now.
14969127e8Martin SjölundUse OpenModelica rtclock.h for timers
c25c2a74fcLennart OchelUpdate common
0e17c70e58Adeel AsgharState machines debugging supports all result file formats Diagram window for visualization Visualization controls in VariablesWidget States and transitions are visualized as active or inactive
a616890f6dLennart OchelMake dummy states derivatives bidirectional
8fe98ae958hkielremove superfluous matchcontinue
565b72f5dehkielimprove doc generation speed
7322a4331cRüdiger FrankeExpected result when placing iter subs appropriately
789a1ecd90Rüdiger FrankeVectorize equations with iter at appropriate position
c308368c88Per Östlund[NF] Fix Ceval.evalComponentBinding.
42eeda4524Per ÖstlundFix inline type checking.
7905e37cf5Per Östlund[NF] Fix NFFunction.mapExpParameter.
a2b203f300Per Östlund[NF] Evaluate more package constants in functions.
aa7e9c177dPer Östlund[NF] Add another when test.
13a4ae4fa6Per Östlund[NF] Fix typing of when statements too.
87201bfbf5Per Östlund[NF] Add when test.
088d435241Per Östlund[NF] Fix typing of when conditions.
144493f247Rüdiger Franke[Cpp] Fix reduce_array, usub_array and in-situ access to array slice
4125b19e2dhkielfix for Python3 remove redundant code optimize string compare
f67148ed7dRüdiger FrankeExpected result treating array flows as array equations
83d21165d8Rüdiger FrankeTreat array flows as array equations and solve them for code generation
e8bea85971Per Östlund[NF] Improve simplification of functions.
eb5a8a2336Adeel AsgharLoad the connections when start/end element is empty
52bf40229chkielincrease performance of file name case sensitivity fix
01e433a520Willi Braunadded test for ticket-5206
5c466368f9Willi Braun[BE] add support for if equations as residual equations
8f7c38acb6Adeel AsgharSimulate OMSimulator models
19ec6d1a77Per Östlund[NF] Evaluate >= as >=, not as >.
2492d601adPer Östlund[NF] Improve typing of vector().
223798abb1Per Östlund[NF] Evaluate parameter subscripts.
87420c2d6cRüdiger FrankeAdd test for vectorized flow connectors
98896ae5cfRüdiger Franke[Cpp] Skip array subscripts in cref names if not NF_SCALARIZE
9188bd56e7Rüdiger Franke[Cpp] Implement operator= for ArraySlice to avoid call to crefIsScalar
648de42647Rüdiger Franke[Cpp] Consider array slices with less subscripts than dimensions
47d8ecf261Rüdiger Franke[Cpp] Fix code generation for array dimensions and slices
d4e9036c79Rüdiger FrankeApply inline to for-equations as well
2b8ffc95b1Rüdiger FrankeConsider ADD_ARR and SUB_ARR when solving equations
3e8df38ec1Rüdiger Franke[NF] Treat vectorized connectors with flow variables
023c904a11Williadd RSUB dump to ExpressionDump
4c9b181224Adeel Asgharset text for few commands
1185761b22Adeel AsgharUse `oms3_setConnectionGeometry` instead of `oms3_updateConnection` Edit the TLM connection using `oms3_setTLMConnectionParameters`
41d943353bAdeel AsgharFix a typo
5f917a680aAdeel AsgharUse --suppressPath flag
0e4d8eed0fPer Östlund[NF] Remove bad NFCeval optimization.
c54cb4b24aAdrian Popsupport cycles in anyString (ticket:5205)
7493133552Adeel AsgharFix Qt4 compilation
804c58ed3bPer Östlund[NF] Fix inStream/actualStream on arrays.
ba17bb1793Anatoly TrosinenkoPrint a warning when no platforms are specified when generating an FMU
b1cb26e4c0Adeel AsgharOnly show input/output connectors on the view Fixed few minor bugs
ef02fddca6Adeel AsgharAllow connections directly from the connectors
fdf0ab1517Adeel AsgharHandle the connection if FMU port contains dot
7e08313a8cAdeel AsgharAllow creating TLM connection between TLM buses
b2e6536251Adeel AsgharTLM buses and connectors
fb6277fec3Adeel AsgharEdit bus connection
e8247c90abAdeel AsgharAdd/Load the co-simulation FMUs
63faf7e9caAdeel AsgharRestrict sub systems creation based on the current system type.
eff759e9adAdeel AsgharBus connection dialog
f8d500ad91Adeel AsgharUse `GraphicsView::roundPoint` instead of `GraphicsView::snapPointToGrid` for OMS connections
510f80ce8fAdeel AsgharUpdate the component instance when connector/bus is added/updated
6d04063f90Adeel AsgharAllow editing a bus connectors Re-implement redo function only in UndoCommand and use redoInternal in all child commands
1f3978fa31Adeel AsgharExport SSP instead of SSD
5b7ef1e0a9Adeel AsgharDon't push the failed commands to UndoStack
6697f70d9aAdeel AsgharAtomic connections omscommunication.log file for OMSimulator called APIs
f492eeb34bAdeel AsgharSet the logging callback after settings
3344d0e27dAdeel AsgharSet the TLM bus geometry Added new OMSimulator tags for syntax highlighting
416a83b3ecAdeel AsgharImplemented AddTLMBusDialog Add and load the TLM bus
0072563b4eAdeel AsgharAdd bus to the system Green icon for the bus
59832c1925Adeel AsgharUse oms3_import to load a model Built-in icons for the connectors Draw the systems and connectors in the ModelWidget
b85412548aAdeel AsgharAdd connectors to the system
03ab7794ecAdeel AsgharRemoved New FMI model menu item.
b40b971c2bAdeel AsgharEnable/disable toolbar buttons based on the active view
98cff3bcc1Adeel AsgharUpdated add/edit/delete icon commands to support system Use oms3_setElementGeomtry
0b6c0ed4bdAdeel AsgharUse oms3_export for saving a model
99d3ba8338Adeel AsgharAdd systems and sub systems Icon view for systems with shapes Use oms3_getElements
3b94ba5001Adeel AsgharCreate a new model with a root system
a3c597a1e7Adeel AsgharUpdate to new oms3_element_type_enu_t Fixed usage of oms3_addSystem
bdd3e2a9b9Adeel AsgharAdded oms3_getElement
6cee4f33a2Adeel AsgharAdd system dialog
f47adba5e8Adeel AsgharCreate/delete model
ac8e7b9f32Adeel AsgharAllow adding connectors to the system Don't draw ModelWidget for signals Added an interface for creating buses
6da90a04e5Per Östlund[NF] Generate fold expression for reductions.
2726ae48eePer Östlund[NF] Improve Expression.recordElement.
ba472c6777Per Östlund[NF] Add functional argument tests.
fbe0a66755Per Östlund[NF] Initial support for functional arguments.
c6038ff000hkielfix creation of zip file use dominant_baseline instead of alignment_baseline to circumvent SVG display flaw in Firefox
88e51f6844Martin Sjölund[fmuChecker] Fix version number
dd78c0858chkielarchive Icons as well clean working dir before creating docs
08c3710b3eAdrian Popcopy values of fmi2CallbackFunctions in fmi2Instantiate - copy fmi2CallbackFunctions* functions in fmi2Instantate as it could be freed by the caller environment after the call
ec5dfe941cPer Östlund[NF] Add -d=evaluateAllParameters test.
06d58cd7fePer Östlund[NF] Implement -d=evaluateAllParameters.
c77f81ef74hkielsmall fix for GenerateDoc.mos
d129e47b8bPer Östlund[NF] Various fixes.
e073cfc206Per Östlund[NF] Fixes for Modelica tables.
d39b07be94Per Östlund[NF] Optimize cref evaluation.
9a925117daPer Östlund[NF] Optimize evaluation of for loops.
7e237d3711hkielfix GenerateDoc.mos
fb27486eeePer Östlund[NF] Update tests.
ad7bdaf987Per Östlund[NF] Improve handling of Evaluate=true.
ff431bde68hkieltry to fix some "Argument list too long" errors
898f94d471Per Östlund[NF] Simplify trivial array constructors.
084b9e4c07Martin SjölundSet permissions of installed headers
ad14159dd6Adrian Popbetter explain where to change directory
3fd3624227hkielmake subdirs for hashed SVGs optional
6571fe8922Martin SjölundUpgrade libgc to 8.0 release
d5b4c5dfe6Rüdiger FrankeExpected result
a588c55bc8Rüdiger FrankeGeneralize FOR_EQUATION in backend from left=right to any equation
54551a332dMartin SjölundIgnore GC warnings in rtest
55185a1365Rüdiger FrankeUpdate test with more consistent treatment of array equations
01a2928633Rüdiger FrankeUse crefToExp when creating backend DAE with arrays
76f3cebd41Rüdiger Franke[NF] Convert equality of array type to DAE.ARRAY_EQUATION
3f575006b5Per Östlund[NF] Add conditional component binding tests.
8a234f06ddPer Östlund[NF] Allow invalid bindings on deleted components.
993f292ab9Willi Braunadded testcase for ticket:5185
7a86b4c7eaWilli Braun[daeMode] fix decision when use pure algebraic solver
f73af463cahkielfix link to svg
aadf3f352aRüdiger FrankeExpected result for size of for-equations
743eec1b1aRüdiger FrankeAdd equation size to vectorized equalities and for loops
8e8393f573Rüdiger Franke[NF] Skip empty array variables and equations
aa010e9814Per Östlund[NF] Add Clock constructor tests.
a08ef7bf24Per Östlund[NF] Fix typing of Clock constructors.
5e591840b0Per Östlund[NF] Expand transpose during simplification.
56d43b764aPer Östlund[NF] Update tests.
f66e5ac112Per Östlund[NF] Disable expansion of function arguments.
b1694bcd60Rüdiger FrankeExpected result avoiding -(-a)
14ec88946dRüdiger FrankeAdapt test to improved treatment of vectorized models
13e5b32c4bRüdiger FrankeAvoid conversion of of a = b to b = -(-a), ticket:5144
e57c4cc10bRüdiger FrankeDisable inlineArrayEqn in vectorized models
58cae62e02wibraun[cRuntime] add some jacobian statistics
13d784af55Per Östlund[NF] Update tests.
75c4b3ecaaPer Östlund[NF] Expand function call arguments.
be5254a735wibraunfix SimCodeDump, dump also bool variables
54b3544da9Per Östlund[NF] Add if-equation branch selection tests.
88c0b81bc3Per Östlund[NF] Do more branch selection during flattening.
3753d6d745hkielremove ulimit from call, it hangs the script
4654c86baePer Östlund[NF] Add record binding test.
18e327174cPer Östlund[NF] Split record crefs in binding equations.
9f2d99a48cPer Östlund[NF] Add if-equation test.
e14b054320Per Östlund[NF] Improve handling of if-equations.
970357b9bdWilli Braunupdate result file with expected results
12ad189cbfWilli Braunadded test for ticket:4254
9595dac0e3Willi Braun[BE] replace zeroCrossings in jacobian matrices
ecd1fed3ecWilli Braun[cRuntime] fix total simulation time measurement
fb2861e8c3hkieldump model name and start time in generate_icons.py for debugging purpose
bf49d96b05Per ÖstlundOptimize EvaluateFunctions.getStatementLHSScalar
f5699c980fRüdiger FrankeExpected result after evaluation of constants in for-equations
ca41844c37Rüdiger Franke[NF] Evaluate constants in for-equations as well
78191053e3Rüdiger FrankeRename sub-methods for initialization from define... to init...
1619f730c8hkielfix race condition on concurrent call
c303e6d32ePer ÖstlundOptimize EvaluateFunctions.
1b3bb4d5dcRüdiger FrankeAdd test for vectorized blocks
d996466532Rüdiger FrankeSimplify treatment of trivial array equations cref=exp and exp=cref
e645dd7914Per ÖstlundAdd missing dgelsy to Lapack functions.
b23d97a76cAdeel AsgharFix OMEdit compilation
29048075a1Rüdiger FrankeRemove separate memberVariableDefinePreVariables
dcd7c9ef5fRüdiger FrankeSeparate init of StatArray from assign with operator=
095844b397hudsonUpdating 3rdParty
a5a404e28ehkielclose opened files again
a83744b8daAdeel AsgharUse italic font for parameter textbox in Variables Browser
3f512db30dAdeel AsgharUpdate the connection when component transformation is changed Avoid adding extra line to Modelica text Preserve the text position with undo/redo
b7aefa70echkielDo not crash when Bitmap file is not found
89692f53d7Per Östlund[NF] Fix Expression.applySubscriptArray.
65065879c1Rüdiger FrankeDetect enumeration type in arrays as well
d7274ca925Rüdiger Franke[NF] Keep vectors in connect equations
0dbda2b3b4Rüdiger Franke[NF] Vectorize arrays of components, ticket:5144
b11ba5911ePer Östlund[NF] Add record binding test.
bac7d12e38Per Östlund[NF] Improve typing of record field dimensions.
521d55e98fhkielgenerate hashed SVGs in subdirs
7961fdb4d8Per Östlund[NF] Improve array assignment in EvalFunction.
00d75285f7Per Östlund[NF] Fix typing of dimensions.
6127ec966dPer Östlund[NF] Various improvements.
0283b33babPer Östlund[NF] Improve DAE conversion of reductions.
c7d9e16dcfPer Östlund[NF] Fix Call.typeCall.
1d6f8f5e57Per Östlund[NF] Update tests.
f34bf81fbaPer Östlund[NF] Improve handling of reductions.
63c9d14014Per Östlund[NF] Make inStream evaluation properly recursive.
9f88584b81Per Östlund[NF] Update tests.
9b06327d04Per Östlund[NF] Fix handling of Evaluate annotation.
09a79cbaebhkieldo not generate json with icon annotations
976a9966f8Rüdiger FrankeTreat sample with clock constructor in array equations as well
10a2b69426Rüdiger FrankeAdapt array tests to enhanced backend
ec7f7412e8Rüdiger FrankeMake inline integration for synchronous models work with arrays
eda1ea2dadRüdiger FrankeChange size of array equations to 1 if -nfScalarize
dad3995e5fPer Östlund[NF] Use correct origin in Typing.typeCref.
d59074e77chkielembed image data from URI into svg
e6854b5043hkielput base64 data into svg image
09d7769b65Per Östlund[NF] Add ceval handlers for Clock constructors.
53e32ce355Adeel AsgharFixes ticket:4956 Use end connector color in case of connection from expandable or array connector to normal connector.
2e84817805Per Östlund[NF] Fix Ceval.evalComponentBinding with 'each'.
7fd4fbc3feAdeel AsgharAllow only the valid FMI versions. ticket:5146
069a6113c5Rüdiger FrankeAdd tests for array variables and for loops, ticket:5110
3f4c043b56Rüdiger FrankeReactivate Cpp code generation for SimCode.SES_FOR_LOOP
6952465e4eRüdiger FrankeConvert BackendDAE.FOR_EQUATION to SimCode.SES_FOR_LOOP (simplified)
d2c673dcb6Rüdiger FrankeOptionally strip loop subscript from clocked states
e37e5cc072Rüdiger FrankeExtend treatment of for-equations in backend
9220d77b38Rüdiger FrankeConvert DAE.FOR_EQUATION to BackendDAE.FOR_EQUATION, ticket:5110
0641eaf32fRüdiger FrankeGenerate FMI model structure without dependencies for array vars
dd5a6fd765Rüdiger FrankeTreat variable index for array elements in FMI model description
efe296fac1Rüdiger FrankeRoll out arrays for FMI model description and Cpp init XML files
098c4ec2fdRüdiger FrankeTreat array variables during Cpp code generation, ticket:5110
0880a6c600Rüdiger FrankeAssume simple array equations solved and count scalars for ModelInfo
8b160f9d2aRüdiger FrankeLet simple array equations pass the backend, ticket:5110
cc4c1bf6abDietmar WinklerMake sed greedy since there are two links per line to fix
3638716391Adrian Pop[NF] don't try to evaluate external functions in the backend
8dd29ae12cAdeel AsgharCheck for NULL pointers Avoids crashing Make sure to close the result file in case of error
99f57b4549Per Östlund[NF] Update tests.
5468d69debPer Östlund[NF] Move general evaluation to separate phase.
6f85ead02fMartin SjölundDo not add weird GCC CFLAGS when using ccc-analyzer
317fb48548Martin SjölundPrint the TRY_FLAGS accepted
1f1ae50941Anatoly TrosinenkoChange FMI version type from double to QString
7ebe12bc50hkieladjust text height to extent height if no text size is specified add option to create only a warning if a files already exists accept floats for any decimal number
b144bb400cAdeel AsgharList OMSimulator dependency in the readme
5bf01fd89dDietmar Winklerformat expects string and encode not needed
62c7358febRüdiger FrankeExpected result for preservation of for loops
b102b48472Rüdiger Franke[NF] Preserve for loops with -d=-nfScalarize, ticket:5110, ticket:5144
84d4820dd1Adrian Popincrease the timeout 600s is not enough for MSL icons
43ad2678acAdrian Popticket:5144 do not expand complex array components
d5eccd3e7eArunkumar Palanisamyfix omjulia typos
542669c7f1Arunkumar Palanisamyupdate omjulia doc
b9307fbc48hkielfix svg generation - Add correct opacity value to svg objects - ignore empty icons - support DynamicSelect strings - encode unicode strings - handle *(use Support,...) - recognize 1e-1 numbers in Polygon
a4010f6886Willi Braunadded test for ticket5114
d4d60596c7Willi Braun[CG] stip subs before copy array
b860115532Willi Braun[cRuntime] fix minor outpur issue in kinsol
ff4a735499Willi BraunAdjust expected output
16e11dfcbdWilli Braunadded test for ticket:4985
090346b01fWilli Braun[BE] added debug flag to enable error asserts from min/max attributes
4b2bcb8357Adrian Poptests for ticket:5134
0cdd3ea6a5Adrian Popfix ticket:5134, pass by reference
4ad0cdf5e4Adrian Popupdate tests
d671df53dfAdrian Popfix to handle array variables attributes if we dont do scalarization - the each qualifier will be lost as we cannot represent it yet in DAE.Var
9646ce4418Per Östlund[NF] Don't evaluate impure funcs in if-conditions.
b0af930c0bAdrian Popfix for ticket:5133, make impure function calls be parameter expressions
e941483d36Adrian Popfix for ticket:5130 and ticket:5131 - do not free memory on fmi2Terminate as it should be possible to call fmi2GetXXX after it, just set the modelTerminated status - move memory free from fmi2Terminate to fmi2FreeInstance
2708d45b1dAdrian Popactivate the needed flags when -d=-nfScalarize is on
aa6173bbd4Adrian Popmake impure functions be of variability continuous (ticket:5127) - remove the check for impure in NFFrontEnd/NFCeval.mo - add check for impure in NFFrontEnd/NFCall.mo
3048851a8fAdrian Popall synchronous features except state machines should work (ticket:5127) - do not constant evaluate impure functions - better fix for sample that requires no patching of NFModelicaBuiltin.mo
ee04b9f674Adrian Popadd a test for sample when --std < 3.3
0f7d6b9972Adrian Poppatch sample overload if --std < 3.3 (ticket:5127) - reparse builtin for each language standard, associate the builtin file with both grammar and language standard - change sample definition if --std < 3.3
8ccbc7ed6aAdrian Popsome tests for synchronous features (ticket:5127)
f7f06a216fAdrian Popadd more synchronous features (ticket:5127): interval, firstTick, overload sample - firstTick and interval are specified in NFModelicaBuiltin.mo - sample is handled specially in NFBuiltinCall.mo
09518b9e2cAdrian Popadd Clock synchronous features to the new front-end (NF), ticket:5127 - currently only Clock operators are supported, no clock variables - change the ugly intGe(Flags.getConfigEnum(Flags.LANGUAGE_STANDARD), 33); to Config.synchronousFeaturesAllowed(); - unbox external function arguments if __OpenModelica_UnboxArguments is present so that previous polymorphic definition in NFModelicaBuiltin.mo works fine - do not simplify sum and other builtin operators if nfScalarize flag is disabled
629c139eedPer ÖstlundUpdate tests.
92b7fbb1dePer ÖstlundCheck named arguments of API calls like simulate.
95e1e12572Willi Braun[BE] fix order of jacobian equation of a dynamic stateSet
03101bd0b4Per Östlund[NF] Variability fixes.
0bcaee03bcPer Östlund[NF] Expand tranpose better.
232b213467Per Östlund[NF] Fix simplification of transpose.
049ab69342Rüdiger FrankeSupport array equation with der(v) on left hand side
66e7ec84bdAdrian Poptest for ticket:5129
18752c9b4fAdrian Popfix for ticket:5129
358f0dcc97Adrian Popimprove the build process - remove mkbuilddirs target - create directories before runing the first target if OMBUILDDIR is not empty - avoid build of some dependencies if they are already built
eb75cbe888Rüdiger FrankeRestrict to previous with Cpp runtime too, ticket:5110
66ceece9bfRüdiger FrankeSupport more vectorized calls for Cpp runtime only, ticket:5110
bfccc5f2d5Adrian Popfix MetaModelica examples on mingw - this is until we fix PR: https://github.com/OpenModelica/OMCompiler/pull/2138 - compile also with -fno-ipa-pure-const - link functions with -lOpenModelicaCompiler if MetaModelica flag is on
4aca4b4cebWilli Braun[FMI] added unit test for debug flag "disableFMIDependency"
5b5cfe87b3Willi Braun[FMI] added debug flag "disableFMIDependencies"
cadc72bc23Adrian Popremove the output from cleaning, it might change
9e884a5b46Adrian Popremove the output from cleaning, it might change
c3a6587d8fAdrian Popdon't propagate command line arguments of make to Ipopt - this allows to compile everything in Windows with: make -f Makefile.omdev.mingw CFLAGS=-g
b0370a25ebPer Östlund[NF] Add default argument test.
dfb7517be7Per Östlund[NF] Do substitution of default function arguments.
3f9ecccd2cAdrian Popfix library linking order
db34e7f126Per Östlund[NF] Update min/max tests.
2f395d31aaPer Östlund[NF] Fix typing of min/max.
22bbcbbc91Adrian PopFixes for ticket:5117 and ticket:5119 - link in static libs (even for Modelica tables) for FMU and for the generated executable (all except sundials) - on 32bit, pass gcc flag -mstackrealign to reallign SSE functions (so they can be used from other Windows processes, such as fmuChecker) - build SimulationRuntime/c/ with -mstackrealign
f9edf2817dRüdiger FrankeRestrict collapse of arrays with same call on each element to previous
1fd1dd9e67Rüdiger FrankeCollapse arrays with same call on each element, ticket:5110
df1914c203Per Östlund[NF] Fix ConnectEquations.associatedFlowCref.
7a6d06bafdPer Östlund[NF] Update tests.
2fa8c5ec98Per Östlund[NF] Evaluate actualStream.
661b5958f7Per Östlund[NF] Improve evaluation of some external functions.
33aa19d188Adrian Popuse LONG_MAX for integer in FMU min/max
eefcdcc54bAnatoly TrosinenkoFix String inputs/outputs handling for FMUs
540aa9ca1aPer ÖstlundAdd enum equation test.
baf7ba404cPer ÖstlundFix for #5111.
32ad2f523eAdrian Popfix checkAllModelsRecursive reporting and add a flag - add the nfAPI flag so we don't get conflicts on changes to this file - report the number of failing models for checkAllModelsRecursive
ba6ffa58e4Per Östlund[NF] Update tests.
1eeffa0d0bPer Östlund[NF] Evaluate functions with constant arguments.
03dba6ee69vrugeupdate test packages
989052ea1fPer Östlund[NF] Add function vectorization test.
eb0909d923Per Östlund[NF] Fix function vectorization/cast conflict.
ee8a23cdbbPer Östlund[NF] Update tests.
cbc69f9e9ePer Östlund[NF] SimplifyExp improvements.
151c704b46Martin SjölundPass linker to qwt
7b82c41312Adrian PopUpdating 3rdParty
f3bd6828c9Per Östlund[NF] Update tests.
dd340df3fbPer Östlund[NF] Fix nfExpandOperations with unary ops.
ad208503e5Per Östlund[NF] Update tests.
b8a07779d5Per Östlund[NF] Add flag to expand binary operations.
609455ac25Adrian Popof course windows doesn't like it
852216723eAdrian Popadapt to latest msys2 and mingw clang - set prefix on all configure (msys2 sets it to default /mingw64 or mingw32) - override the needed cflags - remove -fPIC on windows
df8e38bd64Adrian Popfix centos compilation and adapt to clang on msys2/mingw - add -std=c++11 if Qt5 cmake macro doesn't do it - check for clang on mingw in backtrace.h
576f198375vrugeadded tests for inStream
5ce059386fPer Östlund[NF] Fix ExpandExp.expandRange.
7d0f654ca0Per Östlund[NF] Fix Expression.makeSubscriptedExp.
9aaad999bbPer Östlund[NF] Fix Subscript.mergeList.
6e03b386a3Per Östlund[NF] Improve subscripting of expressions.
88c3453839Adeel AsgharUse beginMacro from ModelWidget Use the .ssd extension for OMSimulator models
33b800de6cvruge[BE] fixes for inStream
a2d00efc49vrugeenable tests
2e9a88f3cevrugeadded some tests for inStream
67189f385avruge[BE] improved inStream
4d29aced1bvrugeadded some tests for inStream
6ded654f03arun3688Test cases for DataReconciliation algorithm
2f78a66acaarun3688implement DataReconciliation algorithm
65f0077e64Adrian Poptest to find out if we need to link with -lboost_regex
e8f50b197aAdrian Popfix 32bit architecture detection
134ecffd47Martin SjölundThe OMSimulator library is now called OMSimulator
46d9c5b683vruge[BE] fixes for inStream
13b403fe53vruge[BE] fixes for inStream
49624efbcaAdrian Popbetter Qt log
e29273e9f1Adrian Popfilter omcommunication.log on #s# to get a csv that you can check for performance
9a25be444dAdrian Poplink with boost_atomic for i386 linux
dd0494623dAdrian Poplink with -latomic on i386 needed by libOMSimulatorLib.so
51e9b19dafniklwors[cppruntime] fixed division by zero during setting start values
9aae697e12Lennart OchelFix volume and number
956eafc1f9Lennart OchelAdd pages to openmodelica.org:fritzson:sne:2005
17d07dae4aAdeel AsgharSave the output format in the simulation flags annotation.
d81695e047Adeel AsgharAllow modifying the SSD of the composite models Load the updated text back when user switches to diagram view.
8eb75ba3e0Adeel AsgharAdded a text view for OMSimulator models
94992759d3Per Östlund[NF] Relax connector check for e.g. isRoot.
6d27fdff20Per Östlund[NF] Fix SimplifyExp.simplifySubscriptedExp.
62dcbfd132Per Östlund[NF] Fix access violation check for Lookup.
4e5b4c7b33Per Östlund[NF] Ignore some funcs in Expression.hasArrayCall.
6a4d8d1be9Per Östlund[NF] Make protected class lookup possible.
ffd939195dPer Östlund[NF] Update matrix() test.
f558b3b83aPer Östlund[NF] Improve handling of matrix().
07b398de6bAdrian Popuse 'start' attribute if parameter has no binding (ticket:5065) - better Component.getFixedAttribute implementation - use start attribute if the component has no binding and has fixed=true (or has no fixed and is a parameter or structural parameter)
11eaca39aaPer Östlund[NF] Inline the skew operator.
72fc673787Per Östlund[NF] Add subscripting tests.
2bfa83f618Per Östlund[NF] Fix expansion of cref slices.
2e978c5e8cAdrian Pop[NF] Expandable Connectors [ticket:5015] - partial implementation - during lookup create virtual crefs - during typing, type virtual crefs
9199a1a691Adeel AsgharUse oms2_getSubModelPath for tables
5698726b66Adrian Popmake sure people git clone OMDev properly
6920ca99c9Adeel AsgharUpdated the copyright text year.
a9375863d5Adeel AsgharFew minor fixes Removed LibraryTreeItem::callFunction as is not needed. Added copyright text to FunctionArgumentDialog files. Use Label instead of QLabel. Do not fetch the components again and again. Just load the class and get the components from it. Read the class comment from LibraryTreeItem. FunctionArgumentDialog formatting.
717eccdb3fAnatoly TrosinenkoImplement detailed function arguments dialog
7606bd6c87Anatoly TrosinenkoAdd "Call function" context menu item
390f239b2dAdeel Asgharticket:4956 Fixed color and width of connecting lines Use the color of the icon layer first shape for connection line. Use the thickness 0.5 when both connectors are expandable otherwise 0.25
444fbec682Per Östlund[NF] Fix parent in Inst.instComponentExpressions.
f2acbf58a8Per ÖstlundFix InstUtil.splitInnerAndOtherTplLstElementMod.
9840114c9dPer Östlund[NF] Potential fix for #5063.
a40caf2103Per Östlund[NF] Add test for derived root class.
01f7068288Per Östlund[NF] Fix instantiation of derived classes.
9533d859c7Adrian Popupdate tests due to error message change
363af9f137Adrian Popinclude function name in the error message for clarity
ceb595ee24Adrian Pop[NF] do not set structural parameter variability for constants if they have annotation(Evaluate=true)
e0316423eaAdrian Popupdate tests
11bce5ace0Adrian Pop[NF] better error messages and more evaluation of parameters - evaluate parameters with annotation(Evaluate=true), make them structural parameters - give the deduced variability of the expression that doesn't match the expected variability - fix ticket:5062, add an warning message for parameter Type p(fixed=true) annotation(Evaluate=true); with no binding - handle ticket:5061 by accepting parameters in the public section of the functions and issue a warning
4c3f85511eMartin SjölundIgnore hwloc warnings
4182336588Martin SjölundFix use before define
47f3ecb05aMartin SjölundAllow the compliance suite tests to crash
52b1693338Willi Braunexpected output
8423437c40Karim Abdelhak[Backend] do not hide $-variables in result file
d199cb75cdMartin SjölundUse `chmod a-w` instead of `-w`
fabb954c4cMartin SjölundImprove stack overflow detection for compliance suite
f3ff4025f2Martin SjölundDisable crane C++ FMU test
9489b472f2Martin SjölundHandle stack overflow for compliance suite test
6bfa734e18Martin SjölundAvoid backslashes in JSON strings
63848be39fJulien SchuellerAdd cp -r option to ${builddir_share}/omc/runtime/
80b06e9a4cMartin SjölundTest all of the compliance suite
fa11a5b6beAdrian Poptest fix for ticket:5054
8c3db214b0Adrian Popfix for ticket:5054 - proper prefixing (subscript transfer) of condition in Equation.IF
9ebd34b9d3Martin SjölundCompliance-Suite: Fix crash when simulation fails
7d6cb6d476Martin SjölundSort results of compliance suite testing
1c58f5def0Adeel Asgharticket:4640 Categorized OMEdit messages Added 4 tabs i.e., All, Notifications, Warnings and Error. The `All` tab becomes active whenever a new message is added.
d86a2f08a0Adeel AsgharUpdate according to OMSimulator signal format
51c079c5d2Adeel AsgharOMSimulator rename functionality
94cae26a15Volker WaurichcopyFile call for scripting api
bab4ecd2f0Volker Waurichfix evalOutputOnly
9d2a05f37cAdrian Popbetter handling of builtin and extern C functions (ticket:5057) - check if the non fullyqualified name of the function is the same as the name of the external function - if the non fullyqualified name is not the same, generate the function and call the extern definition - fix definition of builtin integerMax and numBits
500aa79757Willi Braunadjust dump warnings
fc9be10d43Willi Braun[cRuntime] fix nonlinear value extrapolation
4892660150Adrian Pop ticket:5054 - add an warning message about missing rooted branch and continue
7eb47d602cWilli Braun[cRuntime] adjust tests with nonlinear dumps
bb8f3d85e2Willi Braun[cRuntime] improve dump of the non-linear system solution
8fd8d3e213Willi Braun[Backend] fix text of algebraic loops jacobian
44cd6d2634adrpofix line endings
70e5adaed6Adrian Pop[NF] tests for ticket:4966 overconstrained connection graph
a9fc037cd4Adrian Pop[NF] fixes to overconstrained connection graph (OCG) - strip subscripts from the overconstrained components when used in the graph or the equalityConstraint function - lookup "fill" in top - add flag (no)nfScalarize to be able to disable scalarization in NF
b28062c188Adrian Pop[NF] finalize overconstrained connection graph (OCG) - generate zeros(:) = OverconstrainedType.equalityConstraint(A, B) equations - replace broken connects with the generated equalityConstraint equation - also run the Connections.* operator evaluation on initial equations - do not delete inner outer nodes as it will fail miserably
2bfa701399Adeel AsgharActivate access annotations documentation
445f370dfbAdeel AsgharAdded a new option `Activate Access Annotations` Enables the access annotations for non-encrypted libraries.
d49d6ff0abAdeel Asgharticket:5044 Show platform specific compiler options
67ee5996a7Adeel AsgharCheck for the access annotation before calling `listFile` and `getIconAnnotation` avoids unnecessary messages from OMC. Allow opening *.mol files from regular open dialog.
532f7bbca9Adeel AsgharCall `numProcessors` once
15177bd51dAdrian Pop[NF] overconstrained connection graph (OCG) - creating and breaking of the OCG is working - replacement of broken connect equation with the equalityConstraint call is missing - update common
c5bc6e5193niklworsRemoved code generation for algebraic loop variables and added it to algebraic loop default solver implementation
353b409dddAdeel AsgharFixed indentation Pick the logo from _images folder.
626796c9d3Adeel AsgharStart the bullet list from new line.
ebbeebbffaAdeel AsgharFixed some warnings
df994567aaAdeel AsgharMoved the logo back to source directory The theme wants a relative path for logo from $PROJCET/_static. Lets see if ../logo.svg will work or not.
f127f11e55Adeel AsgharUpdated `OMC Flags` to `OMC Command Line Options`
63cdd5e1cbAdeel AsgharUpdated OMEdit documentation
4f95c4f900Adeel AsgharShow the OpenModelica logo in the left navigation
a0c6d7b5c5Adeel Asgharticket:5047 Return after setting the top window active
9f68fc36d1Adeel AsgharFixed heading
185f11c1b8Adeel AsgharAdded menu item for OMSimulator users guide.
65a53ae5edAdeel Asgharticket:5046 Added link to OMSimulator documentation.
83e3e92949Adrian Popupdate common
c9c90856e0Adeel AsgharInclude lib folder in RPATH_QMAKE
e6b1adb6e7Adeel AsgharLink with libomtlmsimulator
01356fff4dAdeel AsgharMerge branch 'adeas31-oms'
ebbf3d04afAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
0e9c2ff82aAdeel AsgharSplit the log stream checkboxes to 3 columns
857e886b46Adeel Asgharticket:4975 Fixed handling of simulation options. Start with the default simulation options, then apply the experiment and __OpenModelica_simulationFlags annotation. After that all the user changes of simulation options are stored inside OMEdit.
04d541f514Per Östlund[NF] Fix type when expanding unary expressions.
06e511fcaaPer Östlund[NF] Array equation fixes.
65d13903b4niklworsAdded flag to use only one instance of algebraic loop solver in cpp runtime
23656fa585Adrian Popallow disabling of 'stdout' and 'assert' streams
578550f20fMartin SjölundFix path names for compliance suite
66b19e05fbMartin SjölundMore options for ModelicaCompliance testing
c44a5382dcAdrian Popbetter fix for Windows compilation - use gcc instead of g++ - use -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic instead of -static-stdc++
f251a60435Adrian Popfix simulation code compilation on Windows - use g++ to link the executable on Windows with -static-libstc++ - remove c++ includes from the SimulationRuntime/c/simulation/simulation_runtime.h - guard some files with extern "C" so we can always use g++ to compile the generated code
a32b6223f2Adrian PopFix FMU build on Windows and other FMU fixes - use fmuTargetName instead of fileNamePrefix to remove the fmu - use rm -f if System.removeDirectory doesn't work on Windows - compile with static libstdc++ and pthreads - don't add extra dlls to the binary directory - fix resource copy on Windows
8089bfdf47Per Östlund[NF] Fix package constant detection.
bcacb27ea8Adeel Asgharticket:4959 Generate a new directory for importing a FMU If we import different FMUs on the same path then the files mix up and create a mess. Generating new directories for each FMU solves this issue. Added an option `Delete FMU directory and generated model when OMEdit is closed`. If that option is true then the new directories are deleted when OMEdit is closed.
52c826aba7Per Östlund[NF] Handle SUBSCRIPTED_EXP in Typing.typeExp.
7f60f82938Per Östlund[NF] Don't evaluate local constants in functions.
ba22c5afb4Adeel Asgharticket:4983 Update the documentation browser when a new ModelWidget is selected
008d2d22c9Willi Braun[FMI] fix directional derivatives in c fmu
2d1ed04ac8Adeel AsgharAdd quotes around the full command
0eac6626afPer Östlund[NF] Fix lookup error message.
b5ddaa63a5Per Östlund[NF] Add ceval tests.
c3159ae3e1Per Östlund[NF] Change cref evaluation strategy.
d4dad558e3Adeel Asgharticket:4987 Only add the top level model/package to recent files list
862a324516Adeel Asgharticket:4840 Handle the array unit conversion of array modifiers
69d6869ce2Martin SjölundFix typo
fee18148d2Martin SjölundUpdate expected output for steady state simulation
5ae39b9763Martin SjölundReturn success for found steady state simulation
6ca0d8173aPer Östlund[NF] Update tests.
53c7b2549ePer Östlund[NF] Collect more functions during flattening.
25d5df2bb7Per Östlund[NF] Simplification improvements.
fd178e184dPer Östlund[NF] Fix simplification of sum/product.
412a02353dPer Östlund[NF] Revert to first base class lookup fix.
08b4169011Martin SjölundDisabled the C++ static linking test
ab2c84c9c7Martin SjölundProperly disable the Motor_mcp test
e3f55e4c6dMartin SjölundFix the FMU resource path on Win32
73619c7ed9Per Östlund[NF] Update delay test.
d870b3b918Per Östlund[NF] Fix `delay` definition.
647ef1079ePer Östlund[NF] Fix Ceval error reporting.
7d0153e3ffPer Östlund[NF] Simplification improvements.
299bfbc503Per Östlund[NF] Add cardinality tests.
582a03819cPer Östlund[NF] Implement evaluation of cardinality.
6ec2d31b34Per Östlund[NF] Better fix for base class lookup issue.
bfcb3895ccPer Östlund[NF] Add extends test.
e9a73b9e85Per Östlund[NF] Fix base class lookup.
c9217b3085Pierre Haessigfix typos in OMMatlab doc
8654f34d4fAdeel AsgharFix indentation
bb446cd7dbAdeel AsgharA bit of documentation about encryption support
5b2ac558f9Martin SjölundStop testing testBug3902
605c99bb32Martin SjölundDisable HPCOM test Motor_mcp_omp
276bf6fefaMartin SjölundChange tested cross-compiled+run platforms
a34b659b0aMartin SjölundFix for Windows paths in URIs
6f6611995eMartin SjölundAdd script to run FMUs through Jenkins
bcaffcb5f2Martin SjölundMove creation of the tar.xz to the Jenkinsfile
a1214cb0a2Martin SjölundAlso build x86 in docker
b4d738da10Martin SjölundCross-compile FMUs using docker or the local machine
7cd71ba5f3Martin SjölundCheck if file can be opened before using dup2
7660aa0433Martin SjölundAdd support for compiling FMUs using docker
3f36b04dd6Adrian Popsmall readme update
991c06b4e8Adeel AsgharUse listFile when file is encrypted
1257694a0dAdeel AsgharlistFile should work for Access.nonPackageText and higher
75c94ec6deAdeel AsgharRestrict instantiateModel based on the access annotation If the class is encrypted then check the access level for instantiateModel
ba2ec98853Per Östlund[NF] Update tests.
bc961b4f70Per Östlund[NF] Expand sum/product in equations/bindings.
94bcd989faMartin SjölundAdded more preprocessor checks for OSG
80bc25f323Adeel AsgharRestrict instantiateModel based on the access annotation.
ad9df37e14Adrian Popadd a readme about using own compiled OpenModelica
863cf13416Per Östlund[NF] Add scalar() test.
facb5c9db2Per Östlund[NF] Improve handling of scalar().
5615485840Per Östlund[NF] Improve expression expansion.
3609d875d0Per Östlund[NF] Add unknown dim test.
592a4a4695Per Östlund[NF] Make array constructors structural in bindings.
891aab58daMartin SjölundDo not point directly into OMCompiler.git
f761280108Martin SjölundThe FMIL includes are necessary to compile OMEdit
1c8bb86deaLennart OchelFix copyright header
dfa7337c57Adeel AsgharUse the correct working directory
fb766b3f4dPer ÖstlundHandle : in ComponentReference.compareSubs.
dba6b173aaPer Östlund[NF] Update tests.
cce54d9070Per Östlund[NF] Tuple and array equation improvements.
37e717734cPer Östlund[NF] Fix issue with conditional components.
f9bcda0ca0Per Östlund[NF] Fix scope in Inst.instExpressions.
4eaab01e8ePer Östlund[NF] Added conditional connector test.
72ee12239dPer Östlund[NF] Improve handling of conditional components.
b74a2f1184Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
0fb948cd0ePer Östlund[NF] Fix moving of parameter binding to equation.
6fe40c2e97Per Östlund[NF] Remove empty arrays equations.
20dc212eabPer Östlund[NF] Update tests.
24b68a2275Per Östlund[NF] Handle initial complex equations better.
27740e16f9Martin SjölundUse the FMI 2.0 resources directory for info.json
e3fba96fbbMartin SjölundDo not enforce -flto when building FMUs
7f3aeefb4ePer Östlund[NF] Update NFModelicaBuiltin.
a107bb4b6dPer Östlund[NF] Fix handling of 'each' in Ceval.
d262d0a53fAdrian Popsome readme updates after feedback from DING Ni, thanks
c0e48477d1Adrian Popsmall readme update
97ad0bf479Adrian Popcheck if the file is valid
d023d7a5b2Per Östlund[NF] Add if-equation test.
5e99170543Per Östlund[NF] Evaluate if-conditions in more cases.
fb8371207fPer Östlund[NF] Add record array evaluation tests.
05b35777d3Per Östlund[NF] Handle evaluation of some record arrays.
23a584f7a3Martin SjölundIncrease the colour palette of check.png to 8-bit
8f36866bc0Adeel AsgharPass the correct number of arguments.
ab5e5eef5cAdeel AsgharKill the library vendor executable after load
def3e2eb6bAdeel AsgharStart the library vendor executable separately For each `loadEncryptedPackage` call create only one instance of library vendor executable.
bede77897fPer Östlund[NF] Update operator overloading tests.
af928ab2b0Per Östlund[NF] Operator overloading fixes.
8dca89a955Per Östlund[NF] Try harder.
71716621c7Per Östlund[NF] Update tests.
b5921938b6Per Östlund[NF] Try not evaluating complex parameter bindings.
11fdfba1bfPer Östlund[NF] Add function evaluation test.
5e365bfc47Per Östlund[NF] Function output type fixes.
e179064587Adrian Popfix include path for SEMLA
7ee060b8b8Adrian Pophandle list and listFile if we have encryption
8c6ff4182aAdeel AsgharBuild SEMLA from OMEncryption
b9da8d025ePer Östlund[NF] Update function vectorization tests.
b96cf7167fPer Östlund[NF] Fix function vectorization with type casting.
1761f6d0b7Dietmar WinklerPy3 fix.
fd86471cb0Dietmar WinklerUse ZMQ only since testing for CORBA did not really work out.
383f8207f6Dietmar WinklerRef: #4622 Making the icon generator compatible with ZMQ
7ad3a17b98Per Östlund[NF] Make record constructors work again.
546f250708Per Östlund[NF] Update and add operator overloading tests.
dc81059a37Per Östlund[NF] Operator overloading improvements.
ee2d623d08Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
50faa877a6Adeel AsgharAllow creating and loading encrypted package
e076b38dbaAdeel AsgharAvoid the NULL pointer exception.
9419b55f75Adeel AsgharMake sure to clean SEMLA
1f361bb09bAdeel AsgharRestrict the API based on the access annotation of the encrypted class Show error message when user can't access contents
91cd77d842Rüdiger FrankeFix type of firstTick operator
3cc7e9dc56Per Östlund[NF] Add function derivative tests.
6533bcd6eaPer Östlund[NF] Handle function derivative annotations.
82c85da6fcPer Östlund[NF] Update tests.
82c686da72Per Östlund[NF] Evaluation improvements.
11f71a367dAdeel AsgharAllow adding table as submodel FMU properties context menu
ce21b10699Adeel AsgharFMU inputs via FMU properties dialog
58dca932a7Per Östlund[NF] Minor optimization for fold/map of crefs.
f42c0a917bPer Östlund[NF] Add more function evaluation tests.
9d7f5d5ed2Per Östlund[NF] Improve subscripting in EvalFunction.
f4308839c7Per Östlund[NF] Expression evaluation fixes.
391deb85b3Per Östlund[NF] Add function evaluation test.
15644b5c8fPer Östlund[NF] Handle unassigned record field better.
030f499452Per ÖstlundAdd code generation for 'product'.
df6ecef0e5Per Östlund[NF] Use correct call attributes everywhere.
2166555251Adrian Poptry to not use the new dtags also for shared objects
e8a302419fAdrian Pop- handle -Wl,--no-as-needed via configure
cc5bf4bb30Adrian Pophandle -Wl,--disable-new-dtags via configure
cf3746a7b7Adrian Popuse RPATH not RUNPATH via -Wl,--disable-new-dtags
4c949e125cAdrian Popuse -Wl,--no-as-needed as otherwise the klu test fails
3afa6f7ee3Volker Waurichremove duplicated relation checking for cpp codegen, fixes relations using iterators
50fc6a26dfAdeel AsgharDisable the renaming feature until its fixed completely
61b04277bcPer Östlund[NF] Add nested 'end' test.
84be5a9517Per Östlund[NF] Fix variability issues.
2fffc2075dPer ÖstlundHandle "()" for __OpenModelica_simulationFlags.
0b2fd737bdPer Östlund[NF] Update tests.
c3468c05aePer Östlund[NF] Various fixes.
9d25b38687Adeel AsgharUse oms2_setConnectorGeometry for connectors Bit of code cleanup.
891adba85fPer ÖstlundUpdate tests.
afc94ce2e3Per ÖstlundUse __OpenModelica_simulationFlags in buildModel
5f26126398Per Östlund[NF] Update tests.
66094846e6Per Östlund[NF] Function improvements/cleanup.
7e8c5265f5Per Östlund[NF] Add more 'when' tests.
6f42885b43Per Östlund[NF] Improvements to handling of 'when'.
9b09552c32Per ÖstlundAdd evaluation of intBit*.
9878b52ae3Per Östlund[NF] Fill in field names when converting records.
12e54e083cPer Östlund[NF] Fix Package.collectVariableConstants.
a44441915dPer Östlund[NF] Allow both types to be unknown in matchTypes.
14022bc06fAdeel AsgharAdapt to the changes of asynchronous simulate Added support for get start and stop time APIs.
debb491d88Per Östlund[NF] Apply scope fixes to records constructors too.
f545a43d3cAdeel AsgharAllow deleting the submodel icon Restrict few actions on the submodel signals. Respective context menus
fedcaa24dfPer Östlund[NF] Update tests.
0fd679ded8Per Östlund[NF] Fix scoping issues.
434849110aPer Östlund[NF] Update tests.
14c51e072bPer Östlund[NF] Pad cref subscripts with :.
e2290c9474Per ÖstlundFix ComponentReference.expandCref.
a185205845Per ÖstlundImprove inlining to handle Complex constructor.
e8395d74f0Per Östlund[NF] Fix call attributes for operator overloading.
04d958a401Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
2496b7d4bbAdeel AsgharModelWidget for FMUs and its signals Handling of iconSource attribute for FMUs.
215b5fc1c3Per Östlund[NF] Fix ConnectEquations.makePositiveMaxCall.
3c2d914adePer Östlund[NF] Add function record parameter tests.
526262a25ePer Östlund[NF] Fix default values in record constructors.
c2593f279bDietmar WinklerAdd default top alignment for table rows
0ea5484bbdPer Östlund[NF] Fix InstNode.scopePath for derived classes.
47387c8ad2Per Östlund[NF] Update tests.
f09a7d4a82Per Östlund[NF] Improve expansion of reductions.
0f7ec31767Willi Braun[cRuntime] fix typo
73c624c48ePer Östlund[NF] Add array concatenation test.
e80e9272d7Per Östlund[NF] Implemented expansion of cat and promote.
2ea6748522Willi Braun[cRuntime] Fixing LOG_DSS dump
2716d05b8fWilli Braun[DAEMode] create aux variable for cse variables
729fcc06b9Willi Braun[cRuntime] fix function _omc_maximumVectorNorm
ef288f9413Per Östlund[NF] Fix equation counting for algorithms.
62a0cb4664Per Östlund[NF] Add tests.
e5b9e3eebdPer Östlund[NF] QoL fixes.
74a7737ef8Per Östlund[NF] Added prefixing test.
71fb0a7036Per Östlund[NF] Fix prefixing issue.
abc79f2f86Per Östlund[NF] Add prefixing test.
2d96bc2840Per Östlund[NF] Fix flattening of bindings.
4a35da1d53Per Östlund[NF] Add dimension deduction test.
4f6e4cd98fPer Östlund[NF] Fix dimension deduction with 'each' bindings.
f0dc635580Per Östlund[NF] Add builtin attribute test.
5733f33e5dPer Östlund[NF] Modifier/binding fixes.
3c4e9ad54dPer Östlund[NF] Update test.
fed5daceedPer Östlund[NF] Fix binding issues.
437e35d613Adrian Popfixes to FMI modelDescription import - do not require the imported file to be named modelDescription.xml - do all the zipping operations in the temporary folder and cleanup after
adbecab95fPer Östlund[NF] Update tests.
6b41403247Per Östlund[NF] Various fixes.
bc4d22860aPer Östlund[NF] Add array binding test.
0c48541896Per Östlund[NF] Fix ExpressionIterator for arrays.
affad0bf4fPer Östlund[NF] Add more class modifier tests.
6a4b5f1211Per Östlund[NF] Improve handling of class modifiers.
05591447fbPer Östlund[NF] Add more record evaluation tests.
6812b5269ePer Östlund[NF] Ignore unused record field bindings.
c06350fe93Per Östlund[NF] Fix record constructor generation issue.
c6677a4286Per ÖstlundMake saveTotalModel respect uses-annotations.
54d7a401cfPer Östlund[NF] Fix modifier scope in Inst.instClassDef.
c0cc57f7ceMartin SjölundBuild lpsolve55 if it is not found
2a436ddf00Per Östlund[NF] Update tests.
74abb64441Per Östlund[NF] Improve binding type mismatch error message.
9a756d2b5cPer Östlund[NF] Update tests.
c02ea2ff4bPer Östlund[NF] Improve handling of record evaluation.
90c1886967Per Östlund[NF] Improve type checking of records.
1a8d982823Per Östlund[NF] Fix generation of record constructors.
2fefbbb862Per Östlund[NF] Improve type checking of records.
13aad5f7adPer Östlund[NF] Update getInstanceName test.
16e088377fPer Östlund[NF] Implement getInstanceName().
5df20c635aPer Östlund[NF] Update tests.
803cabd920Per Östlund[NF] Record fixes.
57e8ce74ffMartin SjölundGenerate correct code for integer mod(i1,i2)
bad53a2fdcPer Östlund[NF] Update tests.
17adb9a8c6Per Östlund[NF] Performance improvements.
ed95fad9a6Per Östlund[NF] Constant evaluation fixes.
7e3111a897Martin SjölundPass CXXFLAGS to qjson
6aa87b50eaLennart OchelUpdating 3rdParty
7b94780afcPer Östlund[NF] Update tests.
c09713212fPer Östlund[NF] Generate less stupid flat models.
57f144b78fAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
fb58909f00Per Östlund[NF] Various improvements.
da1155a9dfAdeel Asgharticket:4935 Check the simulation result size before switching to the plotting view.
52e894fe70Per Östlund[NF] Use class scopes for function names.
09fcdbcf49Adeel AsgharFixed flickering of duplicate dialog
d47670afb8Per Östlund[NF] Don't treat external "builtin" as external.
678ea021bbPer Östlund[NF] Add inner outer test.
271b70dce2Per Östlund[NF] Fix lookup scope for inner names.
74e8456e85Martin SjölundfilterSimulationResults option to remove descriptions
a3a17502f4Per ÖstlundAdd dumping of INITIAL_NORETCALL to DAEDump.
3d7f6a4615Per Östlund[NF] Fix evaluation of dimensions in functions.
0e2c8f5685Per Östlund[NF] Fix variability of size() properly.
63ed252539Per Östlund[NF] Handle derived classes in collectRecordParams.
59a392a87aPer Östlund[NF] Minor fixes.
1bed3ff2bePer Östlund[NF] Fix variability of size() in functions.
ce77458a49Per Östlund[NF] Added function evaluation tests with arrays.
a3ddfaf940Per Östlund[NF] Function evaluation improvements.
8b4871a394Per Östlund[NF] Improve function vectorization.
c84474230fMartin SjölundOnly perform logging of delay for LOG_EVENTS_V
b0383b2c88Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
afcb6057a5Adeel AsgharFix array parametric plot
4912fd69bbPer Östlund[NF] Inlining fixes.
881575c435Adeel Asgharticket:4923 Check for Modelica:// urls
bc9cecefe7Bernhard ThieleRemoving description of a previously removed module
a86472e6bbAdeel AsgharSimulate FMI composite models
c0e3759b9cPer Östlund[NF] More test for records in function evaluation.
d9899db2c7Per Östlund[NF] Support for records in NFEvalFunction.
83fe9fa19bPer Östlund[NF] Added function evaluation test with record.
a1911e7517Per Östlund[NF] Function evaluation improvements for records.
2ec1643875Per Östlund[NF] Evaluation tests for linspace and reductions.
60e8e0a5a2Per Östlund[NF] Evaluation of reductions and SUBSCRIPTED_EXP.
2303444180Per Östlund[NF] Update tests.
5feb832607Per Östlund[NF] Implemented basic function inlining.
87286cb84aPer Östlund[NF] Various improvements.
23774333f6Per Östlund[NF] Add test for duplicate params in function.
89eacbb81cPer Östlund[NF] Minor fixes.
ace473cd52Per Östlund[NF] Add evalution of known external functions.
bc4b3e1b69Per Östlund[NF] Add sanity check to Call.vectorizeCall.
9fbd53a154Per Östlund[NF] Added function evaluation tests.
cd7b28ae3fPer Östlund[NF] Initial function evaluation implementation.
f92e6eb390Adeel AsgharFixed the windows FMU export
74a891beddAdeel AsgharDocumented the third argument of ModelicaSystem
6a5320c62aPer ÖstlundFix Inst.releaseInstHashTable.
db60c45f0eAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
26cb1843b1Martin SjölundImproved instantiateModel
7fc85eb69dMartin SjölundFix undefined behaviour in codegen of array reduction
a523321a43Per Östlund[NF] Add ceval test for Integer().
5a7ce94586Per Östlund[NF] Implemented evaluation of Integer().
81ba868194Per Östlund[NF] Various fixes.
6b04065d85Adeel Asgharticket:3788 Delete the entire simulation folder on quit
3aae2a0d80Adrian Poppass the makefile file in Windows
bdad486760Per Östlund[NF] Update tests.
338d1df7a2Per Östlund[NF] Improve constant evaluation.
48aee2f0d2Adeel Asgharticket:4788 Add the saved files to recent files list
0737232d64Adeel AsgharDocumentation for __OpenModelica_commandLineOptions and __OpenModelica_simulationFlags annotations
d1e355161cAdeel AsgharBetter default color for warnings
e2aff3c8bdAdeel AsgharDon't set a minimum width
b3f8af8920Martin SjölundNumber of output points changed
27184161bfMartin SjölundChange the default to statically linked FMUs
004da7332fPer ÖstlundDisable incorrect typing of .+ for Strings.
6a1cc9a99dPer Östlund[NF] Update tests.
d8d9e02c37Per Östlund[NF] Improve Expression.promote.
f5e1d77ecfMartin SjölundInline mmc_mk_modelica_array for source FMUs
0db66a6deaPer Östlund[NF] Add reduction subscripting test.
549896e2e7Per Östlund[NF] Improve subscripting of expressions.
c51b823862Martin SjölundFix stateselection destructor
81d5698750Martin SjölundFix typo in translateModelFMU command
0b569ccd98Martin SjölundRemove wrong code for translateModelFMU
d6ea7eb493Rüdiger FrankeSupport assignment to arrays of discrete states
d4122a2d85Willi Braun[Runtime] fix some debug outputs in kinsol solver
a31e90700cAdeel Asgharticket:4806 pass correct library name to loadModel
c2ffbc562bMartin SjölundHandle # in the working path
3f638304b0Per Östlund[NF] Fix type of DAE.RANGE.
cb49931923Adeel AsgharFMU ModelWidget
c2dad7bbfaPer ÖstlundAdd comment strip option to saveTotalModel.
072b5c8c14Per ÖstlundUpdate OMCProxy for saveTotalModel change.
340f1d39e1Per Östlund[NF] Improve structural parameter marking.
a39ede2893Per Östlund[NF] Updated tests.
19ce60ad99Per Östlund[NF] Minor fixes for type attributes.
1787fde907Per Östlund[NF] Update tests.
c9c4c30592Per Östlund[NF] Improved handling of types.
29bc2a8467Willi Braun[SC] Refactor some functions that reconstruct SimEqSystems
14f66e7b8cWilli Braun[SC] update tests
feb746ee88Willi Braun[SC] remove the replacement of the DIV operator by a call
8748e7a34bAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
ff9e939edfAdeel AsgharAdapt to updated OMS API
de3a487895Adrian Popadd GC_get_prof_stats as OMC API, ticket:4889
42c11db1c1Per Östlund[NF] Update tests.
ae5e0b10dbPer Östlund[NF] Connection handling improvements.
fb1806b9d3Per Östlund[NF] Update tests.
ff8188090aPer Östlund[NF] ones/zeros and dimensions type check fixes.
129d50fea9Adrian Popfix copy of antlr jars for Linux and Windows
a8f003fffaPer Östlund[NF] Use correct DAE type for array assignments.
f6ae791a64Adrian Popfix windows builds, copy of antlr*jar
9216359889Per Östlund[NF] ExternalObject fixes.
a47336541dPer Östlund[NF] Hack to fix type of min/max/sum/product.
5ac354546bPer Östlund[NF] Update tests.
6ca89244b0Per Östlund[NF] Improvements.
d36f68c844Martin SjölundCompile runtime code with no-dollars-in-identifiers
d7c5c23cc5Martin SjölundMoved the Java interface to new repo OMJava
0f2f73e336Martin SjölundRun javac with encoding=utf8
e86a4580d9Martin SjölundIncrease the size of equation alias cache
a538e8bedeMartin SjölundExpected output for SimCode alias equations
20e6c2d3c1Martin SjölundDisable equation aliasing for C++ runtime
53af8ff6a1Martin SjölundIntroduce aliasing of SimCode equations
4d89e7f1a7Per Östlund[NF] Fix FBuiltin.getBasicTypes for NF.
5680ad363cWilli Braun[BE] added execStat to BackendDAEUtil.sortGlobalKnownVarsInDAE
74a526d350hkielsome minor optimizations
368ac8c539Martin SjölundRefactor SimCode.createEquation
7a3a58fa5cWilli Braun[DAEmode] reduce generated code for algebraic variables
ad900fc763Martin Sjölund[NF] Expected output from evaluating ranges
f6ef4b2634Martin Sjölund[NF] Simplify enumeration ranges
4fc65f53b0Martin Sjölund[NF] Simplify Integer/Real/Boolean ranges
e6bd88360dWilli Braun[DAEMode] update at event update again all equations
22458626a6Martin Sjölund[NF] Improve TODO-messages
c160a16d76Martin SjölundHandle SVGs containing UTF-8 characters
3f9491d000Martin SjölundHandle empty rotation in icon generation script
38efbe7876Martin Sjölund[NF] Handle more binary vector operations
45f753c5b6Martin Sjölund[NF] Unlift arrays types when expanding expressions
20ca0048fbMartin Sjölund[NF] Fix evaluation of promote
38d78f522bMartin SjölundFix simplify for cat-expressions
65d57a519fPer Östlund[NF] Set correct restriction for complex types.
ce80c430a2Willi Braunupdate all tests which dumping equations
3b1f542e39Willi BraunExpanded test for dependencies testing
bd785a4ce5Willi Braun[DAEmode] Introduce evaluation stages on equation level
5e99e6163dMartin Sjölund[NF] Translate more binary vector operations to DAE
29cd7741bfMartin SjölundFix formatting
35d3cb667eMartin SjölundFix some links
3888a7e821Martin SjölundFix formatting error
62c95d4cfaMartin SjölundAdd a technical details chapter with MATv4 format
e84261d437Martin Sjölund[NF] Evaluate scalar product and power operator
dd48100867Willi Braunenable inline function tests
5c7b2f0183vrugefixes for tmpVars
cc58a7bcbeMartin SjölundHandle builtin functions in isConst
08403397fcMartin SjölundFix the tar-file in GenerateDoc.mos
6b0b10899evrugefix tests
b29ad13192vrugeexpected output
baa1a25415vrugeimproved inStream
576fac6fedPer ÖstlundUpdate String() argument order in tests.
7dd0320aebPer ÖstlundFix order of arguments to String.
3f9d53fdcePer ÖstlundFix ParModelica compilation with Clang 6.0.
41b008fc69Per Östlund[NF] Add record in connector test.
4204ff08edPer Östlund[NF] Handle records in Connector.split.
fde17ad20bPer Östlund[NF] Add if-expression tests.
ee22481b78Per Östlund[NF] Branch selection of if-expressions.
7257817df9Willi Braunadd a further test for inverse algorithm solving
180e0084f2Willi Braun[BE] improve inverse algorithm handling
73e3f9c612vruge[BE] fix for inStream
862a0978bfvrugeimproved inStream
acd54fca97Volker Waurichcheck if evaluate annotation is actually true
eb6a2d7e24Per Östlund[NF] Update tests.
87a0162b89Per Östlund[NF] Implement structural parameter handling.
155e22a6c3Per Östlund[NF] Add more when tests.
0616b65b57Per Östlund[NF] Expand when conditions.
e74a420045Volker Waurichfix cad-file based visualization
b374bc72a4vrugeadded test
23f5dff8b9vrugeadded sum to skipped case for cse
e1daf289f8vrugeuse dumpdaelow
d180efb92cvrugeimproved inline-function
79b533b7e1Per ÖstlundAdded Integer expression simplification test.
bb49baab0fPer ÖstlundFix expression simplification rules.
b8fa29df27Per Östlund[NF] Update inStream tests.
9edd1f5a37Per Östlund[NF] Port inStream changes from #2319.
21c648dfbbPer Östlund[NF] Add tuple operation tests.
a4776a6127Per Östlund[NF] Fix typing of calls with multiple outputs.
dddb7ad18fPer Östlund[NF] Update record test.
72d39d6918Per Östlund[NF] Fix path when creating record expressions.
2d74418f26Per Östlund[NF] Updated tests.
1792dd70cdPer Östlund[NF] Cleaning and various optimizations.
11aa135c21Martin SjölundFix listArrayLiteral
8126e501eeMartin SjölundUpdate file paths
7199ae18fdMartin SjölundReduced code used when bootstrapping
0e62fe0548Simon ErikssonInitial MidCode implementation
a9b58e13a5Martin SjölundUpdate to Java6 since Java5 is obsolete
6a6c0332fbMartin SjölundReplace tabs with 2 spaces
25da4670f2Martin Sjölund[NF] Relax variability error in functions
3a6cb88d32Martin Sjölund[NF] Unescape raw Absyn.STRING
019bec79efPer Östlund[NF] Added complex flow test.
b4635bbb1aPer Östlund[NF] More derived scope fixes.
659bcbc3efLennart OchelFix indentation of 1c86d4e3a86bdc7c7708ae2816682d536ad96f57
964de8b87eAdrian Popupdate testsuite after MSL library update
87cf295395vrugeexpected output
e513cebbabvrugeadded test
1c86d4e3a8vrugeimproved inStream
6663e48442Per Östlund[NF] Added dimension size test.
de9ded9a90Per Östlund[NF] Improve typing of size expression.
21bec3c43bPer Östlund[NF] Added extends tests.
75bf644edfPer Östlund[NF] Fix scoping for derived classes.
489a0c5237Per Östlund[NF] Add array binding test.
c282ec9aaaPer Östlund[NF] Fix array binding issue.
e564a04b67vrugeenable some tests for inline
f10312d579Willi Braun[DAEmode] added several minor things
05c03a7e0evrugeadded test
90d01e9486vrugefixed inline
f3d84c6de0vrugebugfixes
ee4126043cvrugeenable SMEE_Generator_MultiPhase
4e71e61cc1vrugeenable PumpingSystem
3933f1c6a6vrugeadded rule for expandFactors
907d54ec29vrugeimproved inInline.getFunctionInputsOutputBody
69ab07a10cvrugeadded example for ticket:4808
f9d9de0cbcvrugefixed inline
70ec530e36Per Östlund[NF] Update range/subscripting tests.
69ee163e8cPer Östlund[NF] Subscripting improvements.
13b595d697hkielavoid failure(_=BaseHashTable.get()), use hasKey() instead
43f36d5624hkielfix match -> matchcontinue
35f216d9f7hkieluse BaseHashTable.hasKey() instead of failing/passing get()
ff5f8bf62dhkielimplement non-failing versions of get and has in BaseHashSet
a96f71dfb0Per Östlund[NF] Add record binding tests.
63888ab878Per Östlund[NF] Record binding improvements.
5a27cbb827Martin SjölundSome spelling fixes
dbc28d8e30arun3688add userguide to OMMatlab and OMJulia
f103a0d61bPer Östlund[NF] Create equations for complex bindings.
fb72969f02Per Östlund[NF] Fix record constructor DAE issue.
cd42dc7464Willi[SimCode] added equation attributes to SimCode.SimEqSystem
93b4018ec4Per Östlund[NF] Fix issue with converting functions to DAE.
71a15a19a2Willi Braunupdate daemode test on new implementation
f7f4c35ec4Willi Braun[DAEmode] get rid of the old implementation
378084c199Martin SjölundAdd test for ticket:4838
05a951b53eMartin SjölundHandle tail recursion in CevalFunction
d3acec0413Per Östlund[NF] Add test for type referencing type instance.
748b75ab9fPer Östlund[NF] Fix typing loop.
48b7193cacPer Östlund[NF] Add test for size as external argument.
e30046d30fPer Östlund[NF] Fix size as external argument.
fc8513b93dniklworscopy Visual Studio libs and pdb of cpp runtime with CMake instead of make
20606a96d6Per Östlund[NF] Improve performance of DAE conversion.
77407e8d85Willi Braun[DAEmode] Avoid IDA for models without states
c580b850e2Per Östlund[NF] Add testcase for size of constant dimension.
1769e7028bPer Östlund[NF] Fix the variability of size.
bf7ba0b6f5Per ÖstlundUpdate nfinst tests.
921ea29206Per Östlund[NF] Redeclare and extends fixes.
742335f890Martin SjölundSphinx 1.6.6 introduced smartquotes = False
79692b0f48Willi Braunadjust expected output
c2feb3fdecWilli Braun[DAEmode] improve event handling and discrete loops
2a2c7d9ebdPer ÖstlundUpdated/added nfinst import tests.
90be43449dPer Östlund[NF] Improve handling of imports.
acac48b01bPer ÖstlundUpdate nfinst tests.
df1cb2759ePer Östlund[NF] Fix redeclare final, for real this time.
94f45f43aaPer ÖstlundUpdate nfinst tests.
9d7f3fd2e3Per Östlund[NF] Fix for redeclare with final issue.
d7dd3d3b64Per ÖstlundUpdated nfinst tests.
1efe7ca1c2Per Östlund[NF] Redeclare improvements.
35bc3ed22cRüdiger FrankeAdd test for clocked partition with algebraic loop if FMU
472cc11387Rüdiger FrankeExpected result
fc30ae13d5Rüdiger FrankeRename Periodic to Inferred clocks in FMI modelDescription
399b730895Rüdiger FrankeUse sorted variable references in Cpp fmi2GetDirectionalDerivative
ced7f13fe9Rüdiger FrankeSet index of clocked partition in algebraic loops of FMI Jacobian
79e9b3da98Mahder Gebremedhin[NF] Add missing case for fold subscript.
8c6364e674Martin SjölundRemove debugging code
3c4a0942beMahder Gebremedhin[NF] Disable conversion of bindings in TYPES_VAR.
695f2e1799Martin SjölundSupport function pointers with underscores in them
27c536c357Martin SjölundAdd test for invalid function pointer
5aa5373b43Martin SjölundResolve polymorphic bindings in the the function type
cccd62d1a7Martin SjölundFix typo
e89be0095dMartin SjölundType-check arguments of function pointers
659c5672e2Mahder Gebremedhin[NF] Minor fixs
69a16f1bc1Martin SjölundFetch content between html start/end better
cc3ff32b42Rüdiger FrankeConsider discrete states in Cpp fmi2GetDirectionalDerivative
056a0fae02Rüdiger FrankeSet index of clocked partition for FMI Jacobian
de26b558a5Adrian Popfix msvc build - select skd 8.1 for msvc 2015 - use jom to compile things in parallel
b3683ed28aWilli Braun[BE] differentiate the inner exp of getPart
a3c91c41f8Mahder Gebremedhin[NF] Tests for overloaded operators, function vectorization and mapping functions.
65beadfa5cMahder Gebremedhin[NF] Initial support for function vectorization.
e9740997eaLennart OchelUpdate 3rdParty
b2e098b8e0Per ÖstlundUpdate tests.
d98c067db6Per ÖstlundNotify about constant values in match inputs.
f1296f3afbMartin SjölundUpdates for loadFile with notifications for uses
f2d424245eMartin SjölundCheck uses-annotation on loadFile of non-package
1fae0b2e97Adeel AsgharAdded oms_fmu_info_t to FMUProperties dialog
d0e1fe9a1fWilli Braun[BE] remove redundant Expression.simplify calls
079c102b1dhkielremove unnecessary define in Makefile
779ff677baWilli Braun[cRuntime] if IDA fails with linear solver setup reinit and try again
747e401885Willi Braun[DAEmode] try to improve the performance of the main traverseFunction
995c5ef0f4Willi Braunmove profiling function from BackendDAEUtil > Util
4f0ba05ccdAdeel Asgharticket:4798 Fix the 3d-visualization Seems like the file is generated in a proper format now so we don't need the conversion.
09e106cf92Martin SjölundChange the default simulation opt. level to -Os
85217234baWilli Braunenable directional derivatives in discrete states example
46dca42457Willi Braun[BE] Fixing differentiation of synchronous states
f9df72ee16Adeel Asgharset/get Integer/Boolean parameter
407a017ff8Mahder Gebremedhin[NF][#4784] Fix conversion of complex types to old DAE.
151be05870Per ÖstlundAdd nfinst test for end.
a134d4eadcPer Östlund[NF] Fix Expression.mapShallow.
9ee54591d0Adeel Asgharget/set real fmu parameters
3a1daf47a2Adeel AsgharUpdate according to API changes
58f4ab1f9eAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
074cd8e321Adeel AsgharAdded debug toolbar button to make it easier to run debug configuration
2199757a21hkielremove unnecessary and wrong cast
ead22198dcAdrian Poppass the default makefile file for windows
c188334d60Adeel AsgharShow the Messages Browser when its tabbed
8772e9079cAdeel AsgharUse polling via sleep to allow canceling the search
ef809deb31Adeel AsgharOnly do the state operations on Modelica models
ac459ee1a8Adeel AsgharAdded addFMU, deleteSubModel, getElement and getFMUPath Updated to the APIs new structure
920540b757Martin SjölundDo not recompile Sundials all the time
c4e5102f47Rüdiger FrankeReuse factors of linear equation systems during Jacobian evaluation
e3f5017088Rüdiger FrankeUnify capitalization in FMU2Wrapper
5141962139Rüdiger FrankeReuse factors of linear equation systems in fmi2GetDirectionalDerivative
1e827cf725Willi Braunupdate to expected output
a3617061f2Willi Braunadded test to Makefile, belongs to PR868
71c219d80dWilli Braun[DAEmode] several minor improvments and fixes for events
fbf28bfa3aWilli Braun[DAEmode] use IDA when the model is compiled in DAEmode
e87848a1b7Martin SjölundAdd test for ticket:4795
47aed5e03eMartin SjölundPrefix partial function application
bf562e79a6Willi Braun[DAEmode] don't not put JacobianEqns into json
ad854a60fdWilli Braun[DAEMode] create startValueEquations from initDAE
19657600efWilli Braun[cRuntime] clean DASSL from DAEmode code
32e74c0e8bWilli Braunadded testcase for fmi discrete model structure
d66515a634Willi Braun[FMI] added model structure for discrete states
1453d7dd87Adrian Popremove quotes that are not needed in Windows makefile
18ac1530bewibraunfix quotechar for a link
2919af7b31Willi Braunadded DAEmode test for arrays
04159c54a7Willi Braun[DAEmode] improving array equations support
656ccdd58eWilli Braunrewritten the section on integration methods
7725be4440Martin SjölundExpected output for unexpected state selection
c5d63e71adMartin SjölundAdd a warning for StateSelect.always/never
5fb2ee38b6Martin SjölundFix Python3 error
09bfe049b8Martin SjölundFixes for new (broken) bibtexparser
95ca468a6bAdrian Popset larger recursion limit
25f7007d10Willi Braunadded testcase for inverse algorithm initialization
be2bc8962aWilli Braun[BE] Fixing initialization of algorithms
0731b2d6c2Adeel AsgharAdapted to new connection APIs
78e4cba8f7Willi Braunenable DrumBoiler test for new DAEmode
f5c562920bWilli Braun[DAEmode] added basic algorithms support
b54a3c9da4Rüdiger FrankeSafeguard possible repeated finalization of Cpp logger
da270f8db8Rüdiger FrankeEnable Cpp logger under Windows and finalize it, ticket:4773
d7469be7bdWilli Braunenable when test for new DAEmode
67e62cb480Willi Braun[DAEmode] added when equation support
1cc3bf35e6Willi Braun[DAEmode] Fix sorting of parameter equations
24e74bf8faWilli Braun[DAEmode] added removed equations
7cec36a83cAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
36aa34a735Adeel AsgharCode cleanup
cca8f33583arun3688show searchBrowser(ctrl+h) when tabbed in dockwidget
d6bf3ffd67arun3688minor name fixes for advanced search
86a7dae936arun3688add search history,expandcollapse to search operation
f06fb1485fWilli Braunattempt to fix Codegen issue of inverse algorithms
3fe1d13371Adeel AsgharGet the model connections
46705f7870Martin Sjölund[NF] Evaluate cat and promote operators
85e6162389Willi Braun[DAEMode] Several improvments to the DAEmode
fbb971671cMartin SjölundExpected output
3e14bd28f0Martin SjölundEnable test AppendElement.mo
77367d9cfdMartin SjölundAdd tests for concatenation
6c9726ffafMartin Sjölund[NF] Add support for array concatenation
0e3a5eb235Adeel AsgharSubmodel parameters dialog Updated `oms_element_geometry_t` to `ssd_element_geometry_t`
878318efaeMahder Gebremedhin[NF] Fix overload ambiguity with default constrctors for operator records.
c17054f4bbRüdiger FrankeConsider row major ordering when assigning arrays to seed vars
64f86fbaf1Adeel AsgharEnable basic toolbar buttons for OMSimulator models
ef9ef619f5Adeel AsgharLoad and draw the FMICompositeModel signals
ffb66c31e0Per Östlund[NF] Update builtin uriToFilename.
cd5cd60eddPer ÖstlundAdd element redeclare condition test.
adb7a38e5ePer ÖstlundFix handling of element redeclare condition.
a3ea7f5f8dWilli BraunAdjust output of stupid dump tests
7a6270389aWilli Braun[BE] fixing handling seed vars of symbolic jacobians
987ac3c2caMahder GebremedhinExpected output.
f570c07f39Mahder Gebremedhin[NF] Operator overloading support.
71611b18acMartin SjölundExpected output
983f52f9edMartin Sjölund[NF] Fix type-checking of arrays with >1 dimension
ca288a2104Martin Sjölund[NF] Type-check array constructor
ee3f9cf336Martin SjölundUse C++17 has_include for unordered map/set
88c4d6102eRüdiger FrankeReduce common template code from assignDerArray to assignJacArray
2cb619ac5aRüdiger FrankeImplement assignment of arrays to Jacobian vars, ticket:3266,4696
b082e742dcMartin Sjölund[NF] Fix type of matrix-vector multiply
4835303b4aMartin SjölundReport possible savings from sharing strings
90621756a8Rüdiger FrankeRemove duplicate and erroneous Modelica external C libs, ticket:4772
e16b2333f1Adeel AsgharLoad model and fetch the components Modify the components geometry and save the model
bf329a177fMartin SjölundImprove report of used size of MM datatypes
ae9336adb5Martin SjölundDisable the OutOfMemory test
419eaa1e3fMartin Sjölund[VS] Make autoconf generate revision.h
68e1bff11aMartin Sjölund[VS] LIB also needs trailing slashes
19b3154eefMartin SjölundPrint the environment before starting wine
88711c9ee4Martin SjölundImprove MSVC compilation on Wine
af208b2edcBernhard ThieleImproved documentation for Modelica state machines
887565e131arun3688Update Conference paper link
b7906fee20Jan SilarPDEModelica documentation.
44ab60f90fJan SilarDocumentation for Array (Parametric) Plot
1dbe81e927Martin SjölundAdd targets for the MSVC FMI C-runtime via wine
7c77e0ab25Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
70e2f0075cAdeel AsgharCheck if we receive the expected file
86eb44141eAdeel Asgharticket:4771 Use square brackets instead of curly brackets for dimension
cacc8bf978Rüdiger FrankeLink MODELICA_EXTERNAL_LIBS after model defined libs, ticket:4772
30322f1107wibraunfixing simulation flags, mostly ticket:4390
0334c25876Adeel AsgharRemove the extension
07921476f8Martin SjölundUse set instead of unordered_set
b4562fbddbAdrian Popfix compilation on Windows, add -std=c++11
ec9f5430f9Adeel AsgharCompile semla before omc declare the functions in systemimpl
0c3f696cdeAdeel AsgharLoad encrypted package Checkout the SEMLA and OMEncryption repositories inside the OM super project i.e., at the same level where OMCompiler is. Run the makefile with OMENCRYPTION=yes i.e., `make -f Makefile.omdev.mingw OMENCRYPTION=yes` on Windows. Configure on Linux `./configure --with-ENCRYPTION`. loadEncryptedPackage API takes a .mol file and decrypts the package and load it into the AST.
526b822d50Martin SjölundImprove reporting memory usage
51f340acc7Lennart OchelExpected output
9c759d91aaLennart OchelMerge postOptModules that detect sparse pattern
5163543476Adrian Popfix crashes in omccAPI if threadData is allocated in the heap - hide threadData again - set threadData and then copy it after each call
69b2c906b4Adrian Popfix windows GCC now :) - more checks for pthread: attribute init, stack setting
325b3925f3Adrian Popfix windows build - include omc_msvc.h for attribute - exclude wsock2 as is already incldued - for some reason lst1 and lst2 are defined
d59f23acc9Willi Braunadjust tests
74ad9da44eWilli Braun[Backend] fix generateSymbolicJacobian config flag
f6ac4dd0d9Willi Braun[NF] set index of relations to -1 otherwise it's a zc
5c54953903Willi Braunadded test from ticket:3266
7b8186ac60Willi Braun[BE] fixing function differentiation and tuple calls in algorithms
d874cd0ea7Willi Braun[BE] move transpose to a single function calls
90b9c22c70Willi Braun[BE] added size and range operator to diff module
808888cb52Willi Braun[BE] added debug for diff exp and calls
6737c2cf02Martin SjölundAdd test for out of memory
846ccc5bc1Martin SjölundCatch out of memory errors
30a4db0a07adrpoupdate 3rdParty manually
d27683d7a6Adrian Popupdate 3rdParty submodule
092daf6859Willi Braun[Backend] Fix coloring of sparse matrix
b44f0a7d22Adeel AsgharFix the SEMLA Windows build.
bec0c66136hkielcleaned up a bit - removed "inCommand" from latexcell - reomved dysfunctional variableButton from graphcell
06a166d23bAdrian Popupdate 3rdParty manually
ba5ff89f3cRüdiger FrankeApply complete pivoting to singular linear systems in FMUs, ticket:4747
fcdc6b2723Adeel AsgharAdded missing Windows variables.
06cea20daeAdeel Asgharconfigure option for encryption
081af3b22eAdeel AsgharBuild SEMLA Checkout the SEMLA repository inside the OM super project i.e., at the same level where OMCompiler is. Run the makefile with `OMENCRYPTION=ON` i.e., `make -f Makefile.omdev.mingw OMENCRYPTION=ON`.
0a2708a82ahudsonFix broken 3rdParty hash
ad98b0357eMartin SjölundUpdate 3rdParty for new dgesv
0e5129b508Adrian Popuse --wrap=none instead of deprecated --no-wrap
7c125ac66bAdrian Popdon't fail if there is no omc to kill!
79205e4f99Adrian Popadd date and time to index
bda7feea8fAdrian Popadd fmi.rst to index.rst
723deb1fa8Adrian Popfiltering mat parameters to csv does not work
e3267ce3b4Adrian Popfix ZMQ on Linux - ZMQ on Linux never worked as it was killed by an extra dot :) - dump the correct filename for ZMQ to make OMPython work
5f7004ba59Adrian Popsphinx.util.compat is deprecated
12121dfc13Adrian Popfix crashes of omcCAPI on Windows - use threadData from stack not via GC_malloc_uncollectable - increase exe stack on windows - link with pthread
027e5cb1eePer Östlund[NF] Fill in dims when creating DAE.Element.VAR.
3bd1e3c8f1Willi Braun[DAEmode] fix update event in ida solver
c68882d4b2Willi Braun[SimCode] dump algorithms in correct sorting
4f6f502008Willi Braunupdate test
c15e7bd202Willi Braun[Backend] prevent stackoverflow for recursive function differentiation
cb2609ad62ptaeuberExpected output
815ffe0fbbptaeuberMake KINSOL compatible with adaptive homotopy
6b6a486e75Lennart OchelDummy commit to satisfy Hudson
cf5c9a7652Per Östlund[NF] Fix type of unary operators.
5cf076a5dbWilli Braun[Backend] Use the original functionTree instead an empty one
92921a4db7Willi Braun[Backend] fix functions with record argument
be30e8eab2Willi Braunupdated linearization test of the SteamPipe model
bf59c08ef2Willi Braun[Backend] fix differentiation of the SteamPipe model
92da43d2bbAdeel AsgharUpdated to latest logging interface
4c05be3efbMartin SjölundFix suffix for ZMQ
05f062d41eWilli Braunadded testcase for linearization of fluid functions
5056d0b1f2Willi Braun[Backend] fix differentiation of functions with function arguments
fd4a590aadWilli Braunadjust test to use symbolical jacobians
3cc00f3368wibraun[CRuntime] Tweak linear solvers for Symbolic Jacobians
8f2cb04b97Adeel AsgharOMSimulator settings page Allow setting the working directory and debug logging.
977263efe1Per ÖstlundUpdate nfinst tests.
71c512556ePer Östlund[NF] Fix builtin type attribute order.
3be99feec7Per Östlund[NF] Handle empty arrays better.
9bfe511bcfAdeel AsgharCreate and unload FMI models
e9d02c3c3eWilli Braunadded test for symbolical jacobians in ida
5614078f52Willi Braun[C Runtime] added symbolical jacobian support to ida
de1bcf844eMartin Sjölund[NF] Set the correct type in the relation
34561dc4eaptaeuberAdd homotopy tests
f5acc120c2ptaeuberMake non-default nonlinear solvers ...
10a2c8b0abptaeuberDo not try without homotopy twice
693886bd2bMartin Sjölund[NF] Fix generation of reduction temp-var names
cce5d8325dRüdiger FrankeAlways apply tearing if MAX_SIZE > 0 and dense matrices are used
70ef32be79Per Östlund[NF] Better handling of constants.
5cc04d9ba0ptaeuberFurther improve solver memory management
891db48ef4ptaeuberAlways initialize lambda with 0
aa30393adcAdeel AsgharDisable toolbar for OMSimulator models
df6431cf8dPer Östlund[NF] Use correct variability for pre error.
bfe77c2942Adeel AsgharMerge origin/master
a45068d39aAdeel AsgharFixed FMILibrary linking Check for the correct library type. Removed unnecessary code.
e2bb27441dAdeel AsgharCreate, simulate and unload OMSimulator model
5cf25d19d1ptaeuberFix for trying without adaptive homotopy
3418ccff33wibraunadjust documentation string to actual config value
31e2567f7cLennart OchelExpected output
9529c78324Lennart OchelFix var attrributes
cf973f1d02Lennart OchelMake when condition variables protected and add description string to them
fad9f0ae63Adeel AsgharMerge origin/master
c4493da8bbPer Östlund[NF] Generate correct DAE for tuple assignments.
4b2df5a854ptaeuberSet variables back to start values before trying homotopy
1d1f811de8Adeel Asgharticket:4369 Use the proper bracket
edda13fd8cptaeuberUse flag homotopyOnFirstTry
162cdb597eptaeuberTry without homotopy also for adaptive homotopy
81869605c7ptaeuberBetter handling of solver memory
9de0296c9aPer Östlund[NF] Add FuncArgs when making DAE function types.
8f5caa03a5Adeel Asgharticket:4717 Added option to display hidden classes.
4caa0b2f27Per ÖstlundUpdate nfinst tests.
e0c71b0293Per Östlund[NF] Remove connects with deleted components.
c10a192b78hkielask user before deleting cell as this cannot be undone
f15d2b3b5cRüdiger FrankeFix error messages for linear solver
1dd31baa04Lena Buffoniupdate requirement tests
76bc17ee0bLena Buffoniadded an extends VerificationModel
7f5924da5dLennart OchelMake cse variables protected
218f17f074Lennart OchelMake cse variables protected
2008d81716Per ÖstlundUpdated nfinst tests.
31c7f16448Per Östlund[NF] Implement proper handling of subscripts.
090db0ef54Adeel Asgharticket:4743 Delete the result with Del key.
dad2e98f06Willi Braunupdate DAEMode test
17ce08db20Willi Braun[DAEmode] Varios fixes including complex equations
9775fb9d50Per ÖstlundUpdate nfinst tests.
70d5639f51Per Östlund[NF] Deduce dimensions from the start attribute.
da012868f0Adeel AsgharLink with OMSimulator Show the OMSimulator version in the About OMEdit dialog.
0f8a7d1af1niklworsadded assert for sqrt function calls
c97c5bb18aPer Östlund[NF] Various fixes.
9d6ed55e78Rüdiger FrankeExpected result (make clean in CevalScriptBackend.buildModelFMU)
91ae007a34Rüdiger FrankeClean up after building Cpp FMU (the sources are saved inside the FMU)
bdcee4ec7bRüdiger FrankeStore source files in Cpp FMU
336fb4704eAdrian Popadd tests tickets:4674
339512106eAdrian Popticket:4674: add new api to retrieve instantiated parameters
047c5a81a0Martin SjölundHandle ceval of asub using enum literals
c51b59582fWilli Braun[Backend] improve residual creation for complex equations
61c89af2edPer ÖstlundUpdate nfinst tests.
ddd8677e3ePer Östlund[NF] Don't use polymorphic builtin functions.
d8c8c30732Adrian Popuse the default makefile name in windows
f476a5dfb9Adeel Asgharpropagate threadData from main.cpp
9f05bfe476Adeel Asgharpropagate threadData from main.cpp
0d8b4b00b8Adeel AsgharMinor fixes to the way threadData is passed around.
31f71f30dbAdrian Poppropagate threadData from main.cpp
02a553b4bfAdeel Asgharmove symbolTable back to local roots
ef2592729cWilli Braunadded DAEMode module
bcc40861b5Martin SjölundAllow `size()` on non-crefs at runtime
27ab275624Martin SjölundBugfix for URI lookup in class
f8d52b9635Martin SjölundClean patches with make clean
38212aa27dMartin SjölundFix memory corruption in ZeroMQ init
87c471050cPer ÖstlundUpdate nfinst tests.
8b177b924cPer Östlund[NF] Improve operator handling.
a7e6f7fc8cAdrian Popmove symboltable from threadData vars to global ones this will fix OMEdit crash on startup on Windows
82f103f361Martin SjölundDon't print error-message about missing impact
9c4635fefdAdrian Popfix copy of the files and cmake search directories
ac51afc9eeadrpofix Windows and Linux builds of omcCAPI
51ed436148ptaeuberFix nls flag order
8e5affa308Martin SjölundFix wrong pointer type
a7e840a9c7Lennart OchelFix array allocation
a2e245d640Adrian Popfix windows build add omcCAPI build on Linux as well (commented out for now as there are some issues)
860a012390hkielremove evalthread class from compilation as it is not used extend command list by frequently used expressions update help texts in command list possibly fix bug freezing cells
5cb3f41285Martin SjölundMake matchcontinue inputs volatile
782245f208Martin SjölundUpdate the Qt API
4eb7a19b9cMartin SjölundUpdates for new Main.mo interface
ab34299ed0Martin SjölundUpdate for new Main.mo interface
e2c5189576Martin SjölundMove initialization of symboltable
eeba7bb37cMartin SjölundSymboltable shouldn't be in the class
854ded556dMartin SjölundUpdates for the new Main.mo interface
5296b688f1Martin SjölundHandle the correct command in CORBA
af0968b8f5Adrian Popfix windows build
432c8317d1Martin SjölundExpected output
177b914b4bMartin SjölundDo not elaborate using scripting functions in models
9bbc242b81Martin SjölunduriToFilename returns empty on fail in mos-script
fbbbe205b5Martin SjölundEvaluate uriToFilename in the script environment
75770db86eMartin SjölundChange examples to new uriToFilename
4efe1423ffMartin SjölundExpected output
95af275164Martin Sjölund[FMI2] Handle the jump buffers better
1b2f2b9ee6Martin Sjölund[FMI2] Copy resources into the FMU
103b43500eMartin SjölundCheck for undeclared functions
620b30df51Martin SjölundMove win32/mingw32 realpath to simulation runtime
bd035a4c02Martin SjölundGenerate fewer templates during bootstrapping
8a7d7b192eMartin SjölundRedesign SymbolTable handling
86c0c2736dPer ÖstlundUpdate nfinst tests.
105aad9071Per Östlund[NF] Fix return type of smooth.
5637847ba3Per ÖstlundUpdate nfinst tests.
eb49dd7c6aPer Östlund[NF] Propagate comments to the DAE.
c28b63027fhkielremoved wrong translations
58c7969256hkielre-activate clickable error-links clean up indentation state machine
5ab0f640a0Per ÖstlundUpdate nfinst tests.
c5ca0a5c33Per Östlund[NF] Various fixes.
dbda08c081Per ÖstlundMake saveTotalModel more accurate when using NF.
81db93b5b3Per ÖstlundUpdate nfinst tests.
59944ec07ePer Östlund[NF] Fix scoping of imported components.
131a16b39aMartin SjölundAdd testcase for ticket:4718
59e722eeb9Martin SjölundEvaluate parameters with non-literal bindings
bfd3af391aAdeel AsgharShortcut to load MSL
587cac20a3niklworsfix for division by zero in cpp runtime
e43fc8abf6niklworsfix for asserts during event iteration
914a7dc4f9hkielimprove auto indentation remove debugging output
4a5e0fcaebhkielfix Ticket:4704 accept click on input cell after clicking output cell allow to open empty notebooks apply style to output cells
b1a437a8f6niklworsfix for save pre varibales in cpp runtime
627e124e9bPer ÖstlundUpdate nfinst tests.
96f7d96e4aPer Östlund[NF] Typing improvements.
4e15c16c47Adeel Asgharticket:4651 Remove the extra "=" that appear in case of equation modification.
c265dda294ptaeuberCorrect output of homotopy example
2716d589c6ptaeuberFix lambda position in non-torn homotopy components
99e87fe1cfAdeel Asgharticket: Add equation or algorithm keyword to new classes.
6c375125c0Martin SjölundTest me_cs import
991cbcb11bMartin SjölundSupport importFMU for me_cs FMUs
d345640980adrpoupdate tests due to libs changes
bb2c1bae68Adrian Popfix a typo
e46cb6bde1Adeel Asgharticket:4697 Don't add = when modifier value start with ( and contains =.
c09764a1c8Per ÖstlundUpdate nfinst tests.
ce6c93b4f3Per Östlund[NF] Ceval/Simplify fixes.
6d6e41bf55Per ÖstlundUpdate nfinst tests.
4df4938385Per Östlund[NF] Handle derived class bindings better.
bb64e1e2eaAdeel Asgharticket:4708 Delete the intermediate compilation files after the simulation is finished.
eb0d38c194Martin SjölundUpdate for improved handling of loading libraries
c0777112acMartin SjölundKeep loaded libraries after buildModel failure
25e1a3ac3aMartin SjölundExpected output
e46b83760fMartin SjölundPropagate unit checking to the DAE
0844b0d262Bernhard ThieleTest for Ticket:4618
92c6383188Bernhard ThieleFixes Ticket:4618
7a63969c21Per ÖstlundUpdate nfinst tests.
cb8de49f92Per Östlund[NF] Improved handling of array modifiers.
f7a213646ahkiel[CodegenC] do not check for zero increment if it is constant +1 or -1
5650618737hkieladded menu items for cell evaluation only evaluate input cells, when evaluating all cells add an action to evaluate all LaTeX cells updated translations
cbe247e37fMartin SjölundHandle indexed assignment of string arrays
ebc1288270Martin SjölundExpected output
1f5d7506fdMartin SjölundAdd testcase with fixed=false strings
fe5c35df48Martin SjölundFix generation of FMI 1.0 import
bcf422b748Martin SjölundSupport for fixed=false for strings
b7d5ab6324Martin SjölundAdd test for ticket:4368
5c05ef6defMartin SjölundMove comments after doing the diff algorithm
efcef39d8dMartin SjölundFix typo causing duplicate elements to appear
715fb858fdMartin SjölundDo not remove added lines that don't match label
708e996220Martin SjölundUpdate debugging code
ad8112d8bdAdeel AsgharAdded a shortcut to show the search browser.
42ccd829bcAdeel AsgharStart the search when return is pressed.
661e8b03caAdeel AsgharUpdated the Search Browser layout.
b4fcb3a42aAdeel AsgharUse QMap begin instead of firstKey. Minor indentation fixes.
3c6df07533Adeel AsgharQtConcurrent header introduced in Qt 5.
36c0c9e3b4Adeel AsgharTry to fix Qt 4 builds.
cef36c67c6Adeel AsgharHide the Search Browser on startup.
d14653968darun3688Fixes for Search functionality
06dcea4eb7arun3688Add Search functionality
f16fbfd1dcMartin SjölundFix copy-paste error
1117eb9432Martin SjölundExpected output
67acb2d441Martin SjölundThe attributes of a pre-var is the same as the var
62d1de3b17Martin SjölundAdd Jacobian variables to the simvar lookup
705b6a1fb0Martin SjölundHandle alias variables in Susan
f1ce9e9588hkielapply stylesheet to input cells again
d26494171dMartin SjölundExpected output
25d84d4103Martin SjölundFix pretty-printing of negative real literals
bd8571daf3Martin SjölundLook for external libraries in /usr
7b5879e900Martin SjölundExpected output
ee6b27bba3Martin SjölundLet the CSE look into if-conditions
d1104cedb5Martin SjölundHandle record indexing better
5aac106d53Martin SjölundloadFile(".../package.mo") ignores MODELICAPATH
9f8b954ef4Martin SjölundReduce output
775a336b6fMartin SjölundDo not evaluate the residuals if xloc is inf or NaN
9210aa9ae1Martin SjölundExpected output
eca7e56d18Martin SjölundWarnings for aliases during codegen
47aad95393Martin SjölundAdd differentiation of DAE.RSUB
059c8c0fa4Martin SjölundFix for DAE.RSUB with Expression.factorsWork
1c428bf8d9Martin SjölundHandle inline where inputs are record fun-calls
62a0b9dffeMartin SjölundAdd support for inline of some if-statements
bd7b85ce0dAdeel AsgharCheck the size of list before accessing the index.
be0cedd5b9Adeel AsgharRead the omeditoutput and omediterror files when getMessagesStringInternal is called
70f05e5d3eLennart OchelDefine vrStates iff states are available
4b1305c908Adeel AsgharUse non cosmetic pens For Libraries Browser and shapes inside component when thickness is greater than 2
5f1fe9f55dptaeuberAdd adaptive homotopy tests
aee683cbbeptaeuberImprove adaptive homotopy
7366c32615hkieldo not recreate objects
a63f2df7d6Adeel Asgharticket:4694 Only check the Access annotation of the containing class.
8e2f487ff0Adeel AsgharCheck the LibraryTreeItem type before showing the documentation.
32af475244Adeel Asgharticket:3912 preserve the formatting when duplicating class.
c513fa362bPer ÖstlundUpdate nfinst tests.
1a07660b3ePer Östlund[NF] Ceval fixes.
481bef0a71ptaeuberLook for homotopy in the whole system
822590489aPer ÖstlundUpdate nfinst tests.
6bc981e1a2Per Östlund[NF] Ceval for builtin functions and other fixes.
58737ab093Martin SjölundAdd EOOLT'2017 paper
1712744079Adeel Asgharticket:4687 Check for the null pointer. Use the QPlainTextEdit undo redo for independent editors like check/instantiate model.
b91fa8ff50hkielavoid recursions
19775bac45Adeel AsgharSave the old annotation in case of key press event.
ce5afa201eAdeel AsgharConnect to the finished signal before posting the data.
569a00a794Adeel AsgharGenerate the fmu files in the folder.
926d8af51ehkielavoid excessive longjmp (matchcontinue) avoid recursion (stack overflow) when processing lists
55a1b638faWilli Braunfixing scaling of the ida solver
64d4bf14c5Martin Sjölund[NF] Use Error.assertion() instead of assert()
62af4e6957niklworsfix for Ubuntu Clang build error in Peer solver
e44d430b1fniklworsfix for linux gcc 4.4 build error
63993347d7vwaurichfix for visual xml filename
f06dd118a5Per ÖstlundUpdate nfinst tests.
d71fe296dbPer Östlund[NF] Fix external object calls.
691dfe4979Adeel AsgharSave the duplicate class in a different file for folder structure. Fixes ticket:4350, 4557 & 4594.
e322106f18vwaurichadd test for index reduction and cse
eb3b858ccfvwaurichudpate tests for cse3 extension
f37e0292c5Volker Waurichextend cse3 to find state alias
b528b72f14niklworsFatemeh Davoudi implementation of the symbolic model reduction algorithm For detailed description see http://www.ep.liu.se/ecp/043/090/ecp09430136.pdf The algorithm is implemented in the cpp runtime in Core/ReduceDAE At the moment for the ranking method the residuen ranking is implement in class Core/ReduceDAE/Ranking.cpp The reduction mehtods cancel terms, linearize terms and substitute terms are implemented in class Core/ReduceDAE/Reduction.cpp The label algorithms for cancel terms, linearize terms and substitute terms are implemented in OMCompiler/Compiler/SimCode/ReduceDAE.mo The method can be used with: setCommandLineOptions("+simCodeTarget=Cpp --labeledReduction --disableExtraLabeling -d=writeToBuffer"); loadFile("your model file"); simulate(yourmodel);
d7481911baAdeel AsgharFixes ticket:4672 & 4673. Do not skip the drawing of inherited classes.
fb52840dc5Martin SjölundFix for elabBuiltinSize of zero-size arrays
cdf224b8d2Martin SjölundSome work-arounds for Ceval of zero-size arrays
4ddc693f92Per ÖstlundUpdate nfinst tests.
d1a57b2fdfPer Östlund[NF] Fix handling of duplicate outer elements.
dad39fb0c5Per Östlund[NF] Fix undefined behaviour due to #4502.
eeb91480acPer Östlund[NF] Function expressions also count as discrete.
cac9f2ec01Per ÖstlundUpdate nfinst tests.
aa363fe254Per Östlund[NF] Minor fixes.
851acf4b24Per ÖstlundUpdate nfinst tests.
117eefb217Per Östlund[NF] Variability fixes and other improvements.
5cea0b5a2bptaeuberFix solving of array equations
c200584ab0Adeel AsgharCheck for PlotWindow instance. Fixes a null pointer crash.
3cffa6719eAdeel AsgharLoad the ModelWidget before accessing it. Fixes a null pointer crash.
cf618db760Per ÖstlundFix setCommandLineOptions with -d=newInst.
2c449d28e0Per ÖstlundUpdate FlagParsing test.
71f4da23fbPer ÖstlundFix setCommandLineOptions.
33fb1889a2Adeel Asgharticket:4652 Make sure we don't skip the builtin types.
93d2d760b5Adeel AsgharEnable/disable the duplicate menu item based on Access.packageDuplicate annotation.
5148feff70Per Östlund[NF] Fix NFTypeCheck.matchDimensions segfault.
5cf184a755Per ÖstlundUpdate nfinst tests.
4d02b9063aPer Östlund[NF] Function handling improvements.
0e14e987c2Adrian Pop[NF] handle discrete variability better - if the type of component is discrete return discrete if is lower variability than the explicit component variability - handle discrete builtin calls (String, Integer, pre, edge, change)
cbb329b292Adeel AsgharHandle the Access.nonPackageDuplicate && Access.packageText annotations.
af64b7ef97Adeel AsgharHandle Access.nonPackageText annotation.
039313f649Adeel AsgharHide the text view for Access.diagram
c72eace89eAdeel Asghar[WIP] Disable the diagram and text view for Access.icon and Access.documentation
13fa5acf73Adeel Asghar[WIP] Show/hide the class documentation based on Access.documentation
e8f130fbd7hkielremove redundant simplification rule recognized by commutative call
46708660b4Adeel Asghar[WIP] Handle Access.icon and partially Access.diagram
00b9632b3fAdeel AsgharClose the ModelWidget for Access.hide annotation
88f8ef6ea5Adeel Asghar[WIP] Read the Access annotation. If the value is Access.hide then don't show the class in Libraries Browser.
e2f94fe97bPer ÖstlundUpdate nfinst tests.
83ffab2f77Per Östlund[NF] Fix some variability issues.
4e49f3124aPer ÖstlundUpdate nfinst tests.
12d1ede4dbPer ÖstlundNFInst improvements.
2be51e22b6vwaurichupdate test for IR fix
b9cba5b3b1Volker WaurichremoveEdgesToDiscreteEquations for MSSS
f49e14312ePer ÖstlundAdded test for --ignoreReplaceable.
a0c7ddf5eaPer ÖstlundAdded --ignoreReplaceable flag.
c73638c689niklworsfixed divsion by zero if zero crossing was detected and before event handling started
b636b011bcVolker Waurichfix bipartiteGraphML generation for algorithms
40c6cc0b84Per ÖstlundUpdate nfinst tests.
3e982aa5c5Per Östlund[NF] Fix check of size() as external argument.
7befa222eePer ÖstlundUpdated nfinst tests.
9085666033Per ÖstlundNFInst improvements.
62a5fe8961Mahder GebremedhinPart of NFInst builtin function handling.
d653ea8f89Mahder GebremedhinNFInst builtin function handling.
a62a90048eAdeel AsgharUpdate the editors preview on the settings page.
da629b0c93Volker Waurichmoved simplification rule to simplifyBinaryCommutativeWork
d76e9c2f7dhkieluse heap sort for ascending integer sort
0e8a738113hkielfix reheap when sorting the array
68ab9042b0hkieluse Array.heapSort to reduce memory usage for large models
aa30cda979hkielimplemented heap sort for arrays
0f350e6487Adeel AsgharGet rid of QFileInfo constructed with empty file name warnings.
b674956e54Per ÖstlundUpdate nfinst tests.
6dc1882cc7Per Östlund[NF] Replace package constants by default.
d9b21268b9niklworsfix for linker error in ModelicaExtrenalC for cpp runtime
814b4aeeabptaeuberCalculate numerical jacobian for adaptive homotopy correctly
9892584eb5Adeel AsgharCheck for NULL pointer
ea246de58fPer ÖstlundNFInst fixes.
df577f24d3hkielfix copy/paste bug introduced in 1fd2008cf5
b22d2734aaPer ÖstlundUpdate nfinst tests.
8e9ee91458Per Östlund[NF] Better handling of stateSelect.
ae561c4a01Per ÖstlundUpdate nfinst tests.
0790acfb4bPer ÖstlundNFInst improvements.
9ec3abdfe0ptaeuberAdd flag to start running the homotopy path ...
c46903b28cRüdiger FrankeExpected result with unit in FMI2 modelDescription.xml
5730246181Rüdiger FrankeSkip displayUnit in FMI2 export because FMI2XML fails for e.g. bar
2b46fc8350Rüdiger FrankeGenerate units in FMI 2 modelDescription.xml, ticket:4649
05ebd2ec51Rüdiger FrankeOnly consider Real variables for fmi2GetDirectionalDerivative
d4ea7ac821ptaeuberSolve lambda0-system separately ...
fdc9fe187ePer ÖstlundUpdate nfinst tests.
34369f3ca7Per Östlund[NF] Handle recursive functions.
05946cb052Per ÖstlundUpdate nfinst tests.
3548b470f1Per ÖstlundNFInst fix.
add36ffd15hkieldo simplification of "a and not a" to false only for boolean type same for "a or not a" to true
ce3522c3eehkielworkaround for PNLib in PNlib the LBINARY expression "{} and not {}" must be handled and should not be simplified to "false" by ExpressionSimplify.simplifyLBinary
6f71dc57faRüdiger FrankeDummy commit to (hopefully) get around Hudson bugs
f2d48acad8Rüdiger FrankeTreat removed Jacobian var defines in daeExpCrefRhsArrayBox
6ee245861bhkielfix "a or not a" and "a and not a" simplifications optimize some simplify rules reuse existing structures
37ec0ba157hkiel[CodeGenC] skip cases independent of passing guard
0cd326810ahkieluse list comprehension instead of recursion
5fcc409ff8Per ÖstlundUpdate nfinst tests.
16e800b39bPer ÖstlundNFInst improvements.
ca68c3589aPer ÖstlundUpdate nfinst tests.
2fe6fb8400Per Östlund[NF] Improved handling of function parameter dims.
613640092eVolker Waurichmodified description of comsubexp
02355eb897hkieluse loop instead of recursive matchcontinue in BaseHashSet.get2
a6ecff6178Volker Waurichfix external object alias in initial equations
763095f6a4hkielfix test cosh^2(x)-sinh^2(x)=1 disabled sin(asin(time))=time test
197ec7ad22hkielfix cosh^2(x)-sinh^2(x)=1 in ExpressionSimplify.simplifyBinary also remove asin(sin(x))=x and atan(tan(x))=x from simplifyCall
1fd2008cf5Volker Waurichsimpify r1+r2+cr ->r3+cr
4d95b57c45Per ÖstlundUpdate nfinst tests.
a4417ed697Per ÖstlundNFInst improvements.
517bf930b5niklworsfix for typo in cpp tempalte
2bdb8a0f5eptaeuberUse new homotopy flags
3e4eb94854ptaeuberBetter flag handling for different homotopy approaches
0a33707b19Martin SjölundHandle vectorization of matrix slightly better
b8738186aeMartin SjölundPartially type-check for min,max,smooth
afdc59e9d8Martin SjölundUse ZMQ for building the documentation
d6d471e20aPer ÖstlundUpdate nfinst tests.
5e28f3c11ePer ÖstlundNFInst improvements.
941a9db8f5Martin SjölundPython3 fixes
55a26a3f88Per ÖstlundReactivate BindingArray5 test.
7c50cbcad6Per ÖstlundNFInst improvements.
d55e7e1757ptaeuberAllow adaptive step size also for local homotopy
58c1aeaaabPer ÖstlundUpdate nfinst tests.
e82a713699Per ÖstlundPropagate component visibility down in NFFlatten.
1a074b0746Martin SjölundAvoid using + for options
0d7c53d52dPer ÖstlundUpdate nfinst tests.
d8b46d09d0Per ÖstlundNFInst fixes.
10b2ba1095Per ÖstlundUpdate nfinst tests.
8fe91b3bf2Per ÖstlundImprove detection of invalid each in NFInst.
38bf65a63aMartin Sjölund[NF] Type-check pre operator
c536259acbMartin Sjölund[NF] Call fail() when failing
8f80b4e489Martin Sjölund[NF] Support default attributes in functions
63769821e4Per ÖstlundDisable unit checking in nfinst.
ff1e618b39Per ÖstlundFix for ticket:4625.
a72f16503dhkielsome small optimizations avoid matchcontinue
978d2764dehkielavoid recursion and matchcontinue in getSparsePattern reduce memory overhead in ExpressionSimplify.simplifyAdd
679140ab75Martin SjölundRemove DAE.SUM in favor of DAE.REDUCTION
1514b599eaPer ÖstlundUpdate nfinst tests.
ea3a1f6a30Per ÖstlundBuiltin attribute type checking for NFInst
1dfcc602d1hkielreplace matchcontinue by match
85c8ee99eaAdeel AsgharUse Utilities::Sleep. Get rid of some order warnings.
9e52038b93Adeel Asgharticket:4619 Use QFrame for border instead of paint event
eaa2e128d7Martin Sjölund[NF] Fix for builtin calls
332341ba8cMartin SjölundDo not optimize CC for initialAnalyticJacobian
3852898215Per ÖstlundUpdated nfinst tests.
89998d3febPer ÖstlundStripping of direction in nfinst.
7360bc3f71ptaeuberFix writing of homotopy csv-file for matrix elements
ed4f81e86ePer ÖstlundUpdated nfinst tests.
9cb312a831Per ÖstlundFix prefixing of modifiers on inherited elements.
b031754312Per ÖstlundUpdated nfinst tests.
9b63a0edadPer ÖstlundHandle package constants in nfinst.
b46188a13dAdrian Popfix text special, Tpl depends on StackOveflow
2a409cde6cWilli Braunadded first version of ida scaling
725d9defb5niklworsacitvate 'Allow dividing by all globalKnownVars in initDAE' for cpp runtime
425073cef3Willi Braun[FMI] fix sorting of the directional derivatives
6700bd2432ptaeuberAdd test for conflicting aliases and expected output
28e9498e5dptaeuberAlways select start value with lowest...
748835de78Per ÖstlundUpdate nfinst tests.
cf744823efPer ÖstlundBasic handling of component conditions in nfinst.
b22e71f96fAdeel AsgharTLM co-simulation was merged with OMSimulator sometime ago
42bc0b10a8Mahder GebremedhinNFFrontEnd small fix for array expressions ($array)
1bb9816b70Per ÖstlundUpdate nfinst tests.
1e0528341aPer ÖstlundImplement simple branch selection in nfinst.
67d63de5e5Per ÖstlundClean up NFUnitCheck.foldEquation2 a bit.
0e80fa1f35Adeel Asgharticket:4607 Update the model after generateVerificationScenarios call.
9a9ebb6708Per ÖstlundUpdate nfinst tests.
8ab93d5b39Per ÖstlundRedeclare improvement in nfinst.
63db4c65daAdeel AsgharUse the -inputPath and -outputPath simulation flags. Fixes ticket:4583
1be2a07fd0Adeel AsgharAdded flags for input and output path. Input path flag `-inputPath` is used to read the model_init.xml and model_info.json files. `-f` flag for model_init.xml file gets the preference over `-inputPath`. Output path flag `-outputPath` is used to write the output files like model_res.mat, model_prof.intdata etc. `-r` flag for model_res.mat file gets preference over `-outputPath` flag. Fixes ticket:4583 where we need to set a different working directory for simulation executable.
1a778dd4aeMahder GebremedhinNFFrontEnd record fix
0ede316fa4vwaurichupdate test
1b186d3c33Volker Waurichthrow warning when SimCodeUtil.makeSES_SIMPLE_ASSIGN fails
a1aa13855bVolker Waurichfix for SimCodeUtil.makeSES_SIMPLE_ASSIGN
49cdb03269Adrian Popfix opcua lib exports on windows
423fd8f76aAdrian Popfix windows opcua lib imports
19933497b9Adrian Popfix windows build
c042558309ptaeuberExpected output
27d4fab071ptaeuberFix init message for FMI
bb335c6930ptaeuberMove default success messages from stdout to LOG_SUCCESS
d2feef9be1Per ÖstlundUpdated nfinst test cases.
691f4e9033Per ÖstlundImprove element visibility in nfinst.
3ab69ff698Martin SjölundQt4 work-around
7046ded1c1Martin SjölundUse new flag -d=oldFrontEndUnitCheck
b30e47aac8Martin SjölundHandle reporting real stack overflow in Susan
037d5bb3feMartin SjölundFix scalability issue in NFUnitCheck
d69fb20e70Per ÖstlundAdded test for nfinst StateSelect variability.
9e0eb5fd74Per ÖstlundFix StateSelect variability in nfinst.
f4b81ebb3bPer ÖstlundAdd test for ticket:4611.
0f0996174ePer ÖstlundFix ticket:4611.
23c2c8b8f7hudsonUpdating 3rdParty
fb2513cd39Martin SjölundUpdate open62541 to 0.2 release
03be5e2f09Martin SjölundUpdate open62541 to v0.2
9a8bb1d62fMartin SjölundFix stack overflow in NFUnitCheck
0a53c4f7behkieldo not use matchcontinue where match+guard can be used
663155c14aPer ÖstlundUpdated nfinst test cases.
75a30894f6Per ÖstlundBasic connection handling for NFInst.
0dd95719f1Martin SjölundFix type of entry
eb4ef32285Martin SjölundAdded the BSc thesis of Fors Johansson
2c5818d2b4Lennart OchelAdd flag to fix the mat file headers every N steps
0a2dcae72eMahder GebremedhinEnable unit checking by default in the New FrontEnd.
12b5caf44fPer ÖstlundAdd testcase for #4606 fix.
7e6dbfd82cPer ÖstlundFix for #4606.
0a64f0055dMartin SjölundAdd rpath for the C runtime libraries
b3c9646b6dLennart OchelAdd unit information of alias variables to mat files
a07c7d7f8aMartin SjölundPassing fixed=true where expected in the examples
f7e90ac222Martin SjölundAdd documentation for interactive simulation
724e394ab0Adeel AsgharRespect the case sensitive systems
f6e984cbddVolker Waurichadd new page about graphml generation
1f28d87c1aLennart OchelSave units of measure for parameters to mat files
66d69d5a76Rüdiger FrankeUnify generated code for variable access under FMI 1.0 and 2.0
0ed5264e97Martin SjölundFix scalability for systems without variables
b389638a2eRüdiger FrankeEnable test for code generation of directional derivatives
32ea34faacRüdiger FrankeFix Cpp code generation for derivative functions of media, ticket:4600
effc95264cDavid PolakAdded convertUnits mmHg test
d01f3d6c0aDavid PolakAdded pressure unit mmHg
bf377faf44Lennart OchelAvoid deprecated usage of flags
1b8b8e6f43Adeel Asgharticket:4575 Added checkbox for -single simulation flag. Default value is false.
91776d0a73arun3688add master thesis
ebaacfbd49Mahder GebremedhinNFrontEnd Unit checking.
d4dd96b0caLennart OchelCleanup MatVer4
9363d99475Bernhard ThieleImproved/simplified the OPC example
4ccbc576a6Mahder GebremedhinUpdate NFInst tests
119136c6cdMahder GebremedhinNew FrontEnd improvments
80e3d34fa6Martin SjölundAdded optional Susan debugging help
fe021bdbeeLennart OchelRemove old mat file writer
36778dd5edLennart OchelAdd unit information to mat files
a981b3727dLennart OchelNew implementation for writing mat files
bf1eaeb34eRüdiger FrankeImplement fmi2GetDirectionalDerivative in Cpp runtime
6c0d7cf2d8Rüdiger FrankeSet FMI flag providesDirectionalDerivative depending on generated code
69f2571cdbRüdiger FrankeChange int to size_t in FMU accessors
29a5b8cb62Adeel AsgharActivate profiling properly
6fccf1972cPer ÖstlundUpdate nfinst tests.
a33d4f3c14Per ÖstlundFix NFInst.instClass for encapsulating classes.
1749c2e3fbMartin SjölundDisable CC optimizations on linear systems
2c59f19fa5Per ÖstlundUpdate nfinst test cases.
8abed04d0bPer ÖstlundSplit NFFlatten into multiple phases.
43d3d5d395hkielfix Matching.removeEdgesForNoDerivativeFunctionInputs
11df6e6734hkielsome minor optimizations - remove a matchcontinue - do not operate twice on list - make function tail recursive - avoid tuples
dfbce6c2ffMartin SjölundUse Set instead of List.unique
9ff276e854Martin SjölundMake findLoops able to look for at most one loop
c21c29dde6Martin SjölundUse sets instead of lists in comSubExp
7b04aa1891Martin SjölundUse sets in comSubExp
2ac44ced47ptaeuberFix check of homotopy solution
9e2d1a7c50Martin SjölundFix scalability of collectInitialBindings
62f2cd7f8aadrpoupdate testsuite after library changes
68350e96d6Martin Sjölund[OSX] ModelicaExternalC install names
2f828a21caMartin Sjölund[MAT4] Add special case when nrows==0
83762c2555hkielfix Qt4 compilation
a5b8a71ba8Martin Sjölund[OSX] Fix install name of OPC library
c2e5abee77Martin Sjölund[OSX] Fix builds when using a single thread
0f1405c2fdBernhard ThieleState machine hint for switching to Modelica v3.3
18b70e240dMartin SjölundSilence some warnings
a3eea2746bWilli Braun[cRuntime] move jacobian eval LOG_STATS output
7f2aee4a87Willi Braun[SimCode] fixing symbolic jacobians order for info
f3156d146bAdeel Asgharticket:4505 Use the diagram annotation when connector is inside the component instance
c3e0976e5aAdeel Asgharticket:4585 Added cut, copy, paste and selectAll to text editor
77b13fd85aadeas31Signals are protected in Qt4
3d68932f68Adeel AsgharOnly save the preference when checkbox is checked
3532b108b7Martin SjölundSupport bootstrapping when using array literals
bb6380f07aAdeel AsgharFix Qt4 builds.
1506f4d0cbAdeel Asgharticket:4305 Added checkbox to remember user's decision in text editor error dialog.
09c37cd93cMartin SjölundAdd MetaModelica.Dangerous.listArrayLiteral
ec1d292727Martin SjölundUpdate linear system debugging
36a3e41b8dptaeuberAdd test and expected output
04560c977eptaeuberWarn of conflicting alias variables
6882da0d09vwaurichfix path in simulate with animation
5df57a8f94Martin SjölundFix rebase errors
5a35717ae4Martin SjölundEnable interactive simulation without stepping
7d12dd46b3Martin SjölundWait for OPC-UA server to start during init
685fc63088Adeel AsgharCreate the OpcUaClient after the opc-ua server is initialized.
a918f6161cChristoffer Fors JohanssonUpdated how OMPlot and OMEdit handles simulation control buttons.
d60db4d4cfAdeel AsgharRemoved unnecessary debugging info.
d5f420aa01Adeel AsgharRemoved the unnecessary SimulationServerCheckThread class. Do not create unnecessary QTcpSocket objects.
dbc50ee19bChristoffer Fors JohanssonFixed variable names. Better port handling.
436baa28e9Adeel AsgharFix opc-ua linking for win32.
b38bd46615Christoffer Fors JohanssonInitial commit for interactive simulation
0e1d01eeb3Christoffer Fors JohanssonBetter way of handling interactive simulation control buttons.
eb19ef4a23Christoffer Fors JohanssonInteractive plot windows.
6b6200d62eAdeel Asgharticket:2249 Only show the documentation as default view for DocumentationClass annotation.
baaffecf66niklworsfix in cpp template for jacobian variables used by algebraic loop
ed4ccd80beMartin SjölundFix for linear sparse solvers in source code FMUs
4e94bc521cMartin SjölundExpected output
6b70c759d6Martin SjölundAdd test for ticket:4550 reduction type
15730cb502Martin SjölundReturn correct variability for reductions
b0861d4aa0Martin SjölundReference file does not contain time=0.0
b610cb9d9dMartin SjölundDo not store time in the data_1 matrix
095b0ef3bdAdeel Asgharticket:1857 Show context menu when clicked on empty spot in Libraries Browser
5831af02beMartin SjölundExpected output
2f8fe8ec5cMartin SjölundMake error-message shorter
d60d430a76Adeel Asgharticket:4576 Don't delete the transition in focusOutEvent.
625bb6584dPer ÖstlundNFInst fixes.
017636b9c0Jan ŠilarPDEPlots
ac679f79a6Lennart OchelRemove unused variables
2d0ba0f989Lennart OchelNew function to debug hash tables
f55d7d6b59Martin SjölundFix for using default sparse linear solver
348695870dMartin SjölundImproved debugging of bad variables in codegen
98136a9867Bernhard ThielecheckModel support for state machines
7851263371Adeel Asgharticket:4572 Don't allow illegal instance names
6c085bb839Willi Braun[FMI] join functionTrees for directional derivative
75ec7ef8d0Willi Braundisable fmi directional derivatives by default
73e4cc5eecptaeuberDo not get algorithm crefs that will be discarded
3655c8ed35Martin SjölundAdd test for single precision output
702e3381bcMartin SjölundAdd a scripting function to access stat
aeb9725a3eMartin SjölundAdd support for single precision in mat4 output
67b8eef1c4Lennart OchelUpdate LoadCompilerSources.mos
3d0d8a3b4cAdeel AsgharSnap to grid with shift modifier
92ac5a60d2Lennart OchelIncrease hash table sizes for the unit checking
d32e476889Willi Braunfix output
bba43625e3Willi Braunfixing FMI directional derivatives and model structure
bc8938e285Adeel Asgharticket:4567 Removed the extra simulation toolbar
16bcbe68daAdeel Asgharticket:4461 Save additional simulation flags in correct syntax
a766c29ea8Martin SjölundUnify reading enumeration flags
0e39b73bccMartin Sjölund[FMI] Fix static source code FMUs
b4aa137b30Martin Sjölund[FMI] Set default dense and sparse linear solvers
c1445a8677Martin Sjölund[FMI] Escape the model's description attribute
0a09efc094Martin Sjölund[FMI] Expected output with nls solver mixed
fba8150480Martin Sjölund[FMI] Set nominal to 1.0 as a default
2a43b90b7chkieloptimize memory further for ticket:1451
2e4f0f82d3Bernhard ThieleSwitch to C run-time for two tests
90e7f8a507Bernhard ThieleTest case for ticket:4563
84dc1d9ec1Bernhard ThieleState machines ticket:4563
fdcc01d6afhkielabsAdjacencyMatrix only changes lists if values < 0 are contained improves ticket:1451
f8d55c68f0Per ÖstlundAdded test for inherited function with try.
b5d86d3277Per ÖstlundFix InstExtends for MetaModelica constructs.
d8c018eaa1Martin SjölundMake FMU tmpTick indexes more similar to C codegen
aa907b11bcWilli Braunfix array differentiation for symbolic jacobains
505f10d7d8Martin SjölundAdding test for parameter record bindings
a9268a9e89Martin SjölundMove parameter record bindings to initial equations
37e75adf89Martin SjölundImprove check for failed function inlining
0406ea2e67Martin SjölundFix crash is default linear solver
f627d108b3Adeel Asgharticket:4308 Move by factor of 5 when shift key is pressed.
8f278a262cMartin SjölundAdded testcase for terminate at init
aba3685085Martin SjölundCalling terminate at initialization means success
20b20c06e2ptaeuberAdd test for inversion of pow
c22c35be40ptaeuberFix problems with ExpressionSolve
d1ab6caccaMartin SjölundExpected output
ebb0ea835dMartin SjölundMove checkForDiscreteChanges to simulation runtime
3a0af47b17Lennart OchelNew package AdjacencyMatrix
12ed59f8e6Willi Braunadded new test diff array crefs
2264580fd0Willi Braunremove jacobian var defines in cpp codegen
24d57037caWilli Braunfix differentiation of arrays crefs(ticket:4545)
988a8982aaWilli Braunupdate warnings
6d2338df2eWilli Braunimprove variable generation for jacobians
024a75d0adMartin SjölundMake it possible to ignore OMC_DISABLE_OPT
94e29a9aa5Martin Sjölund[C-code] Binding equations disable optimization
47db56e57eAdeel Asgharticket:4490 Use cosmetic pen for correct scaling and zooming effects
b0b8677b72Martin SjölundBootstrapping depends on zmq
da6dc6cd34Adeel Asgharticket:4332 Round the origin value
173618cd51Martin Sjölund[FMI] Implement a faster setReal/getReal
a603749848Martin SjölundDo not generate defines for value references
88845bb533Martin SjölundFixes from static analysis of ranges in reductions
c02603fc97Adeel AsgharCheck if changeDirectory is successful
8e44932328ptaeuberAdd flags to tests
ccd5c42a2eptaeubermaxSizeLinearTearing=200 as default
541124880aadrpoupdate testsuite due to library changes
624b9a6ea8ptaeuberWarn about unbalanced system after WFC
4758974755Adeel Asgharticket:4038 Use the updated flag names
c7348eac28Per ÖstlundUpdated nfinst test cases.
3c3ca87727Per ÖstlundComponent attribute propagation for NFInst.
7648bd565dPer ÖstlundClean up obsolete files from new frontend.
351cb37677Martin SjölundDo not add FMI runtime while bootstrapping
aad32e02a0Martin SjölundSplit updateParameters into simple and complex
6138df4eb8Martin SjölundImprove scalability for binding equations
b225cec054Martin SjölundAdd tests for JSON parser
38a9013452Martin SjölundAdd a JSON parser
ad52d37cb6Martin SjölundAdd a JSON lexer
958906ae8eMartin SjölundUpdates for libomcruntime
760b17910eAdeel AsgharUpdated copyClass tests
3d141a9e12Adeel AsgharReturn "" as file name when duplicating top level class
5422a279f8Adeel Asgharticket:4547 Fill the path if model belongs to a package Don't allow duplicating in system libraries
bc6e18812fAdeel AsgharCreate a directory with model name to dump the generated files Delete the Cpp generated files as well
4d3b50221dPer ÖstlundAdded testcase for min/max of enumerations.
e92a0b57cfPer ÖstlundFix min/max for enumerations.
c2054ffd30Per ÖstlundAdded stringEmpty and arrayEmpty to MetaModelica.
0e625e9d00hkielfix some warnings from static code analysis
eda7008a9dPer ÖstlundUpdated nfinst test cases.
fe070413e8Per ÖstlundNFInst improvements.
9c8a629836Per ÖstlundUpdated test cases for #4543 fix.
8943f737c4Per ÖstlundAdded debug flag ignoreCycles for #4543.
ec69d301bcMartin SjölundApplied the refactoring script
ec7206f2eaMartin SjölundOnly add _length variable for array reduction
9ce0a4a131Martin SjölundAvoid static analyzer dead assignment warning
64ace5b320ptaeuberNew test and expected output
215f1b1e54ptaeuberBetter handling of redundant initial equations
d3f9ab11e4hkielsome small list optimizations
080cd298d5Adeel AsgharDelete the generated files after compilation instead of simulation
126db4389fAdeel Asgharticket:2909 Allow deleting the intermediate compilation files
118b3d07a1Willi Braunadded DrumBoiler as testcase for linearization
f85f44f91cWilli Braunfix differentiation of function outputs
1cd286dcf1Per ÖstlundUpdated nfinst test cases.
ebf70e3390Per Östlundinner/outer handling for nfinst.
a3201a2d3fMartin SjölundTest fileNamePrefix that is not a C identifier
2dfe8db0bdMartin SjölundGive expected output for bug2756
669df41283Martin SjölundFix for fileNamePrefix not a valid C identifier
defddaa0ebMartin Sjölund[MetaModelica] Use goto instead of done variable
90af743e44Adeel Asgharticket:4461 Save additional simulation flags
19186f7c29Martin Sjölund[FMI] Give default start-values for parameters
c5205762f7Martin SjölundtranslateModelFMU returns empty string on failure
ae793bea43Adeel Asgharticket:4505 Use the Icon annotation for extends connector class.
333f946f93Willi Braunexpected output
da38b3e64fWilli Braunrewrite algebraic system in SimCode
29e8121636Martin SjölundMake getAnnotationNamedModifiers not return bad data
a601adebbdWilli Braunadded testcase for linearization with records
702501a865Willi Braunenable discrete vars in symbolic jacobian
74ef35db2bPer ÖstlundAdded tuple test cases for nfinst.
fff1788471Per ÖstlundForbid invalid tuple use in nfinst.
297f7c634dPer ÖstlundUpdated nfinst test cases.
f42e280556Per ÖstlundNFInst improvements.
699e373a07Rüdiger FrankeRe-enable FMI 2.0 crane test
15ba583b50Martin SjölundFix generated C++ FMU filenames
21525ab59aLennart OchelExpected output
bacaf0378cLennart OchelDon't replace dots in fileNamePrefix for FMUs
e1ab4026ceMartin SjölundUse rpath provided by configure
c057936e3dPer ÖstlundUpdated nfinst test cases.
b7bed213c6Per ÖstlundNFInst improvements.
5dfdea2fafAdeel AsgharReturn same number of output from failing case.
2a672b2839Per ÖstlundAdd test case for enum type matching fix.
453e1c7703Per ÖstlundFix for OperatorOverloading.makeEnumOperator.
48dca0bd53Adeel AsgharUpdated tests using getClassInformation
9670ad9e5fAdeel AsgharReturn the access annotation with getClassInformation.
c64663db56hkielmake SimCodeUtil.createAllDiffedSimVars tail recursive fix ticket:4534
e6d2062488Martin SjölundMake C++ FMUs respect fileNamePrefix
b383de7ebeMartin SjölundCache the FMI configure results
cd1bf87564Martin Sjölund[FMI] Do not optimize read_input_fmu
5122abb874Martin Sjölund[FMI] Keep more logs with generated binary
f99f612543Martin SjölundEnabled RT_CLOCK_BUILDMODEL for buildModelFMU
d39727c21fhkielupdate omc translations
351c73d382hkielfix some c-compiler warnings
999d33bb34hkielinterpret MMC_STRINGDATA as utf-8
15276ce9fbhkielavoid stack overflow (ticket:4534)
f326bf7ba6Adrian Popnot needed
70ef9f4281adrpodon't use std::begin and std::end as is not need
e4eabb4ddbAdrian Popattempt to fix clang compilation
255934c6baAdeel AsgharFixed OMShell windows compilation
ed5d7956faRüdiger FrankeExpected result
a0077f839aRüdiger FrankeAdd test for FMI model description with sub-clocks
7511e8f7f5Rüdiger FrankeCorrect synchronous test for shiftSample, ticket:4530
0371e97114Rüdiger FrankeThird attempt to fix shiftSample, ticket:4530
5b8217142aRüdiger FrankeEliminate subSampleFactor from FMI model description
23493d868bLennart Ochel[FMI2] Fix set/get methods for types integer, boolean, and string
c7cddda447Lennart OchelFix some error messages
08c6143c3aLennart Ochel[FMI2] Calculate real values if needed
5ab8668edaAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
73e1f2a0d9Adeel AsgharAllow creating initial state graphically.
7519ad75c5hkielcd() to tmp dir when starting OMShellGUI
a172806b5ehkielCall MMC_INIT()
b65dea292dhkielexplicit instead of using namespace
d6df635df4hkielfix crash when doing first evalExpression()
dfc9aa0ab5hkielchange OMShellGUI from corba to direct interface
8d1b0784aahkielchange mosh from corba to direct interface
4a398f7cf6alash325Updated the traceability message format version to 1.4 and latest OpenModelica test case
52a7064373alash325Remove traceability query functionality Disable basic git functionality
453670fdbaPer ÖstlundFix #4524 for Cpp and XML codegen too.
93a4aedd91hkielmake unmodified objects constant
415de246dbPer ÖstlundFix for #4524:
5bf9661f62Rüdiger FrankeRevert "Alternative treatment of shiftSample also considering event clocks"
17caf92983Adeel AsgharSlightly better way to fix ticket:4472.
6554061cfcRüdiger FrankeAlternative treatment of shiftSample also considering event clocks
df66a21326Rüdiger FrankeRevert "Separate subSample and superSample from shiftSample"
9a067c8d04Rüdiger FrankeFix clock ordering in FMI model description
edd5dda09cRüdiger FrankeSeparate subSample and superSample from shiftSample
5c6d6e3ac4Rüdiger FrankeRemove superSampleFactor from FMI model description
0e5f04fcebPer ÖstlundAdded test case for #4521.
79caae607fPer ÖstlundFix for #4521.
57246396b2Jan ŠilarAdding test for PDEModelica.
b9e79ece9cJan ŠilarPDEModelica
aab2f92838Volker Waurichfix for simplifyIfEquation
bbbda07eaabernhardbachmannFix division by zero problem
594ab60198hudsonUpdating 3rdParty
6bb362f711adrpoupdate tests after changes to modelica tables
555e13e727Adrian Popfix for ticket:4459 and ticket:4491 - support both BuildType and BUILDTYPE on command line - update 3rdParty/ModelicaExternalC tables C source code to the latest version from MSL: https://github.com/modelica/Modelica/commit/8209e73d7739ebcacd779f0d189d0a2885dfe105
a633fbbc23Rüdiger FrankeApply resolution to shiftCounter in FMI model description
fb83cf6832Bernhard ThieleAdd reference to corresponding ticket
e1fe7f8dfcBernhard ThieleTest case for ticket:4527
e844e3abcfBernhard ThieleFix for ticket:4527
6967d1c27fPer ÖstlundUpdated nfinst test cases.
50d02d9072Per ÖstlundNFInst improvements.
b00cb1ab57bernhardbachmannImproved damping criteria of the newton solver
d3dffead4fbernhardbachmannImproved damping criteria of the newton solver
13c08d4b64Per ÖstlundUpdated nfinst test cases.
e59152f17fPer ÖstlundNFInst improvements.
9743a1ae8fPer ÖstlundFix for #4472.
d85ad3855dPer ÖstlundUpdated nfinst test cases.
0c97493ceaPer ÖstlundNFInst improvements.
c40d463d2cAdrian Popfix a crash in sphinxoutput
7bd484726eVolker Waurichfix visualization xml
09052874bdWilli Braunadjust output to solver
a275e4ca0dWilli Braunmore fixes for ticket:4395
29654258e3bernhardbachmannAdd scaling test and expected output
ff269274cdbernhardbachmannFix some scaling issues
1e8090d73ePer ÖstlundAdded testcase for inherited fully qualified name.
cc3c53183cPer ÖstlundFix InstExtends.fixCref for fully qualified crefs.
e8ef378ec5Per ÖstlundAdded testcase for fully qualified import.
5307f91e15Per ÖstlundFix parsing of imports.
df8573fec9Willi Braunadded noScaling flag and fix minor kinsol things
8e05bdf250ptaeuberExpected output
275ccba0e9ptaeuberIntroduce new global homotopy approach
8aeeac1d1eBernhard ThieleAdded failing test for state machines
91a80a7fa2Per ÖstlundUpdated nfinst tests.
62dc75df3aPer ÖstlundNFInst improvements.
ea9199bc8bvwaurichupdate test for partlintorn
e2dfbf69bdVolker Waurichfix for partlintorn
8a7ad824ddPer ÖstlundUpdated nfinst test cases.
5682249747ptaeuberWarn about iteration variables with no nominal attribute
3d27c595dchkielmake SymbolicJacobian.createAllDiffedVars tail recursive fixes ticket:4392
e4efaecc04Per ÖstlundUpdated nfinst test cases.
8cf74960aePer ÖstlundNFInst improvements.
df2b0b4325Willi Braunfurther fixes to ticket:4395
933120ec50Adeel AsgharMake sure we always initialize the text annotation for transition.
60fecdddd1Adrian Popfix ticket:4509, use correct defines on Windows
45d12dbee6Lennart OchelRemoved the eol comma separator
8befe8aa0eLennart OchelSkip exporting variables of type string for csv export
503e9a1f57Lennart OchelFix csv export for variables of type string
dc5dc2be7dWilli Braunfixes issues from ticket:4395
1a22a7545bptaeuberExpected output
b67fdd1b55ptaeuberTry without homotopy also for local homotopy method
9db6254895ptaeuberFix bug in homotopy solver
7e16a2c2d6Willi Braunmove daeMode testsuite
56f95c75cbWilli Braunadded additional ida statistics
a4b8280319Willi Braunfix daeMode=all by skipping algebraic evaluation
29740e24b3Lennart OchelFix sorting of external object destructors
9ed2db4037Lennart OchelExpected output
52b0a09203Lennart OchelAlign variables to avoid unexpected behaviour
ad433e801aptaeuberExpected output
3ade1973b9ptaeuberFix success messages
86f97b6802adrpov1.13.0-dev
4522d1311fadrpov1.13.0-dev
bf355bb7b4Per ÖstlundAdded some nfinst test cases for size.
c74f60564ePer ÖstlundImplemented initial support for size in nfinst.
1a120c8363hkielevaluateForStatement: do not loop over ranges with stop < start
e5d7afe3dfPer ÖstlundUpdated nfinst test cases.
2e4c6ff818Per ÖstlundImplemented class extends in nfinst.
cc3ad15071hkielavoid creation of temporary lists
1c87ab0903Per ÖstlundRemove name from class extends SCode.ClassDef.
602b895727Per ÖstlundUpdated nfinst test cases.
5b5e235d49Per ÖstlundImplemented handling of duplicates in nfinst.
bf8c59d4b7Adeel Asgharticket:4348 Remember the welcome page splitter state.
16b485f9d1Adeel Asgharticket:4476 Handle gradients properly for SVG export.
829f2cad2dAdeel AsgharNo context menu when creating a transition.
830a9708ecAdeel Asgharticket:4478 Added time units in simulation setup.
db0864769cMartin SjölundCheck for -g=Optimica in optimization solver
8f52c44b40Adeel AsgharUpdated the new state image.
29ea329c9aAdeel AsgharCopy the transition-mode.svg
6b8812302aAdeel AsgharCreating states and transitions.
116a85417dAdeel AsgharDon't display the simulation success message. The success message is moved to omc.
af79c5134fvwaurichrevert camera implementation
7340eb30c7vwaurichcam icon
d66adad549vwaurichcamera mount, i dont get it
7e5cc77a11ptaeuberChange homotopyOnFirstTry flag description
f43fad0451vwaurichinteractive control panel for FMU animation2
f8a77749d0Adeel AsgharFix build
19f24e8a03Volker Waurichfix for HpComEqSystems.partlintorn
ac5733af0bMartin SjölundExpected output for balance checking improvement
24c3047c71Martin SjölundPerform incomplete matching for over/underdet syst
2252051fadvwaurichadd test for evalFunc
1355755febVolker Waurichfix for evalfunc #4456
d51aef879bptaeuberExpected output
dc49b6e248ptaeuberInitialization and simulation success messages on stdout
6b9a41d120vwaurichactivate test
24cba6cec0vwaurichtest for deltaSimulationResults scripting
e988ea489dVolker Waurichadd 1-norm, 2-norm and max error for deltaSimualtionResults API
9f04cba099Adeel AsgharState Machines GUI support.
a845edafcaVolker Waurichuse fmax() instead max()
66f09c4135Volker Waurichadd scriptingAPI to compute error sum
5b71b6690bptaeuberFix wrong error message ...
45431ea67eptaeuberAdd tests for function evaluation
2cd28b6c3dptaeuberFix bug in function evaluation
2eed74cb2bVolker Waurichproper cref comparison in evalFunc
3645e8bd6cVolker Waurichcorrect type in DAEUtil.varCref
4d034e923fAdeel AsgharFixed the addInitialState API.
d96fb12dc8Martin SjölundTest connector extending type
564c405902Martin SjölundLift restriction on connector extending from type
2432a47d7fptaeuberDo not remove functions used in lambda0 system
0b97943f3eptaeuberAdd function tree to jacobian dae
2e17f151feMartin SjölundHandle range special case for reductions
d28b974928ptaeuberAdjust homotopy examples
5ee6abbdfeptaeuberEnable global homotopy as fallback option by default
d0deadfb08Lennart OchelFix homotopy for source code FMUs
eb0530e7b9Adeel AsgharTest the initial state APIs.
42663b6a16Adeel AsgharAdded new add, update and delete APIs for initial state.
7dd1e00317Jan ŠilarAvoiding QComboBox::setCurrentText()
21ce9323adptaeuberFix bug in homotopy method
441b181a8fVolker Waurichavoid List.intRange() in for loop
388bbcf25dhkieloptimize Graph.partialDistance2colorInt
e5206efcb2Adeel AsgharFixed OMNotebook build.
e8e2216cc1Martin SjölundRemove equations like "{} = f(...)"
545461b1ccMartin SjölundAccept DAE.MATRIX in codegen of array equation
17af9c57e4Martin SjölundExpected output
abde81d4e1Martin SjölundHandle a stack overflow in HpcOm
74ffe7010bMartin SjölundExpand equations marked inlineAfterIndexReduction
789abbee3aMartin SjölundHandle running the same optimization module twice
2933df617dMartin SjölundAvoid expanding equations
523e2afce4Volker Waurichexpected output
169fa51dffVolker Waurichrewrite ResolveLoops.getSimpleEquations
a2c68bc972Lennart OchelExpected output
f80d03549bLennart OchelTest for global homotopy approach
220e25fe56Lennart OchelGlobal homotopy approach
b69c21673aJan ŠilarPlots for PDEModelica
7f2c3327a0Jan ŠilarArray plots
4221d29abfMartin SjölundAdd an extra step before daeExp in Susan
97fddd8027hkielmove option creation out of outer loop
d30d68c372hkieldo not recreate Option
160b2cdd23Martin SjölundExpected output after collapsing some array crefs
12c7c7fff8Martin SjölundCollapse arrays of crefs
9ebc68cb4eAdrian Popproper handling of corba file dump path
cccc5bde71hkielexpected output
d51f346fbchkielspeed up and memory enhance ResolveLoops.getShortPathsBetweenEqCrossNodes
b00d68d723Martin SjölundMake predictable tmp-indexes for residual functions
88c73ca887hkielreduce memory footprint of comSubExp
3987ad38bfptaeuberExpected output
853b43e5aaptaeuberSpeed up tearing
b69a9eb741hkielsome small optimizations for large models
f50884b47eMartin SjölundExpand arrays in record when generating simcode
49a3767585Niklas Worschechusing Kinsol as standard nonlinear solver
ffcf1b14afNiklas Worschechfixed errors in commits cca3ace0a656a71348290808b13138057a06c732 and 6e5cf6bf01ad7cde7a8a461969924e361ef4b24d
e19e1ee92aNiklas Worschechadded simple NoxSettings
315bbe1a79Niklas Worschechrefactored Nox.cpp when calling CheckWhetherSolutionIsNearby
be4b2d9ef3Niklas Worschechcompleted replacing generateoutput-flag by logging
28e177d7aeNiklas Worschechrevert activating Logger
0f0914305cqichenghuaAdded Logger, added Doxygen and fixed bug in varying initial guess by 10% if initial guess has components that are zero.
34f3bd745bqichenghuaSoftened tolerance for homotopy solver
46e1cff890qichenghuaUsing homotopy for nominal values as start values as well.
6eee27b44aqichenghuafixed error in variation of initial guess in commit fb31cf3e8a7b1523d3e86170359c4a8ef279ae47
7c973e6c47qichenghuaadded frames for Doxygen
78e7aa71feqichenghuaTry extrapolatin start values of nonlinear solver
951ee926f2qichenghuaPreparations for extrapolating start values for nonlinear solver.
b4973f6fbaqichenghuaTry setting initial guess to nominal values if other methods fail.
3ba7fa6535qichenghuaNox: Try more methods if and only if eventretry is false.
179903604aqichenghuaadded varying initial guess in NoxSolver again.
ec62f807b6qichenghuafixed error in the lacking precision of double precision handling that was introduced during refactoring in commit f2f0b7eb56785e14bf78f2acb0ab888596a998d3, so this criterion is applied successfully again.
6d48942b81qichenghuaadded retry of nonlinear solver nox in case of events
456875edf9qichenghuaFurther Refactoring of nonlinear solver nox
8ea3763a4eqichenghuarefactored nox.solve()
eccaa1fab3qichenghuadeactivated variation of initial guess.
9550148795qichenghuafixed bad cast error when homotopy solver within Nox is used.
d633a30e0dqichenghuaadded variation of initial guesses in nonlinear solver.
e13383428bqichenghuaadded more accurate (4th order) method of computing the finite difference approximation to the jacobian of the algloop.
7187f7036fqichenghuaset algloop to 1e12 instead of 1e6 when evaluating the right hand side fails
5914059d71qichenghuaadded new abort criterion for nonlinear solver based on sign changes in case of errors due to lacking precision of double precision variables implemented in commit b433b2d6ec92460fae06a9dd1b5243ee438cf0a7. Now this criterion is applied after each iteration step and not after a complete iteration cycle.
267a1c7066qichenghuaused normal Newton again
ea35f342ceqichenghuafixed KLU path
3290599a73qichenghuaadapted initial step length in homotopy method in nonlinear solver nox in cppruntime
d5d856ec44qichenghuarefactored Nox
557c017495qichenghuarefactored Nox.cpp
6079a8638fqichenghuaTrying less methods in nonlinear solver
2a98b08a02qichenghuareduced output in nonlinear solver nox
d0b99ccbd8qichenghuaenabled nonlinear solver for arbitrary tolerances by solving issues with lacking precision of double precision in case of too tight tolerances
9a1334396bqichenghuamuted output and disabled tolerance alleviation in nonlinear solver nox completely.
6beb4f401dqichenghuaExperimental rounding error fixing for fluid models in MSL
faa82e65d6qichenghuafixed error introduced in 31424fc19ae5b7e29f5a17e102eb4d6e0a29d311
330aa9e1e5qichenghuause kinsol instead of nox as default nonlinear solver
83d7b4ac06qichenghuadeleted unnecessary comments and dead code in Nox.
b3f0ed0facqichenghuaadded additional homotopy methods
f5426db1e3Bernhard ThieleActivate FMIExercise.mo test case
7362e6360fptaeuberExpected output
d2c74c006dptaeuberAllow dividing by all globalKnownVars in initDAE
88fee4f5a4Adeel AsgharNew API to get initial states.
9eba7c7113Adeel Asgharticket:4463 Added a dialog to display class version information.
ae81be2f67Adeel Asgharticket:4468 Fixed export to image for Text shapes.
591485e63bBernhard ThieleFix FMU import related simulation deviations
acc20cc1aeAdeel AsgharCheck if the list is empty.
4d60cd3691Adeel AsgharCheck for NULL pointer when trying to access inherited class.
ca1c6de2c5hkielincrease size of base array to avoid expensive re-sizing
7029f3afb7niklworsfix for coping sim values in BufferReaderWriter
fbc5346c9bAdeel AsgharMake the display of system and tornsystem consistent.
3082898a68Adeel AsgharRead and display according to new model_info.json file
90441d8cdcptaeuberImprove model_info.json
64eefbbd2dptaeuberSpeed up tearing matching a bit
498ae9ff3dAdeel AsgharIf an embedded server is specified.
02b0bab99bAdeel AsgharOutput the information when opc-ua server is initialized.
0fc8e098cchkieloptimize ResolveLoops.getShortPathsBetweenEqCrossNodes() further
107d88df34ptaeuberAdd execStat for matching/sorting of init dae
da6c53fe6fhkielavoid multiple sorts
743991c8f7hkielfix reverse ranges n:-1:1
89f3548de4hkielfix List.sortIntN()
9a5c35eeedhkielsort lists before intersection to speed up
feee0cf283hkielimplement intersection on sorted Integer lists
767bebdf19hkielRemove loop check from differentiation ther is still a maxIteration check. reduces running time tremendously
bfbc14590dptaeuberCount tmp vars to unknowns in SimCode EqSystem
a5f8084abcAdrian Popfix TEST_SPECIAL job
2a223aa7a7Per ÖstlundFix conflicting test filenames.
62106406ffptaeuberAdd more info to SimCode EqSystem
0b0a647ac7hkieluse AvlSetInt instead of too big List.uniqueIntN() array for large models
f30ae8ae4fptaeuberImprove model_info.json
929645f942Rüdiger FrankeDelay initialization of FMU2 logger until it is requested
c617a1f585ptaeuberFix detection of fixed globalKnownVars
ade8bc4852hkieldo not create temporary arrays
cbeb9b3175hkieldo not copy key if it already exists
6674cbe6a0Rüdiger FrankeExport FMI functions for multi-rate sampled data systems
0d0414ca3fRüdiger FrankeFix initialization of nominal values in DgesvSolver, ticket:4459
61870e3e31Rüdiger FrankeEnhance logging of DgesvSolver
4866f55986Rüdiger FrankeFix whitespaces in DgesvSolver
02891915b5Bernhard ThieleAdded tutorial FMI exercise as test
1504ef744bAdeel AsgharCopy the open62541.h file build include directory
26b29599a8ptaeuberExpected output
214f0d63afptaeuberDo not create parameter equations for constant variables ...
299703b473Martin SjölundCopy libzmq dylib files
708c3b4889hkielreduce memory footprint of Tearing
2f44c0ea04ptaeuberRemove TestCompressor from ThermoSysPro testsuite
0ecd8be5b3hkielsome small optimizations
131a851d0dptaeuberUpdate ThermoSysPro testsuite
b6d186fc07ptaeuberAdd tests for function input iteration
dc91086f1cptaeuberDo not create unnecessary large nonlinear systems ... around single complex functions
092ac3896aMartin SjölundFix for RHEL/GCC not compiling in C99 mode
dfebc074c7Jan ŠilarA new function to read whole array from .mat file.
375731a452Adeel Asgharticket:4436 Move the residual marker to first position. Add some information to the defines of residual equations.
1606f8a100hkieldo not use tuple as function argument when not necessary
6ed6ae0403Adeel AsgharRemoved whitespace
f7325c0e96Adeel AsgharRemove unnecessary and probably wrong example.
4c9713fd36Adeel AsgharUse OMCSessionZMQ for examples instead of OMCSession
951ddeb9cbAdeel AsgharMinor text fix.
dc171cca8eAdeel Asgharticket:4444 Give viewing options for transformations.
c41bd337acAdeel AsgharMerge branch 'adeas31-fix-headings'
1672ee1d38Adeel AsgharMerge branch 'fix-headings' of https://github.com/adeas31/OpenModelica-doc into adeas31-fix-headings
3cbf0b7033Adeel AsgharFixed sub headings
9d6b993295Adeel AsgharAdded OMSimulator chapter. Moved the FMI and TLM co-simulation chapters inside OMSimulator chapter.
d8dda01b98Adeel AsgharAdded OMSimulator chapter. Moved the FMI and TLM co-simulation chapters inside OMSimulator chapter.
76d87502f6Per ÖstlundMore nfinst fixes for ScalableTestSuite.
6e926926caPer ÖstlundIgnore imports in NFClassTree.expandExtends2.
c8caa6d3d8Volker Waurichadapt yEd dump, add borderwidth to graphml nodes
3dcf0f9f65Per ÖstlundAdded execStat for instantiateModel DAE dumping.
c5c6f9ae4ePer ÖstlundUpdated scodeinst tests.
c8394ea31cPer ÖstlundHandling of self-referencing extends in nfinst.
225b295d85Per ÖstlundUpdated scodeinst tests.
b2744b01b9Per ÖstlundSimple typing of subscripts for nfinst.
c28fb0ce1aLennart OchelSimplify handling of invalid states
01d38b7b82Per ÖstlundUpdated scodeinst tests.
c7d04e1fb2Per ÖstlundNFInst improvements.
4e4ac932dcAdeel AsgharAdded a new flag for interactive mode. `--interactive=none|corba|tcp|zmq` The flags `-d=interactive` and `-d=interactiveCorba` are still valid with a depreciation message. The flag -d=interactiveZMQ is removed.
b8d75b4a43Adeel AsgharAdded OMCSesssionZMQ references to OMPython documentation
f1f89ccf89adeas31Fix the zmq initialization for linux
709531b2edhkielTicket4407 case preserving filesystems fixes problem with re-generating files on case-preserving filesystems
73555c0acfVolker Waurichnew yEd dump of complete dae system as bipartite graph
8ba253e1f8Adeel AsgharWrite zmq server connect string to file. Let zmq choose the port automatically and write it to a file.
f2b55ccb73Martin SjölundFix compilation of zmq on OSX
86cfac41d4Martin SjölundDo not copy so-files to bin/
ea473e72a2Volker Waurichcomments for synchronous implementation
6a81761cf6Volker Waurichsolver clocks do connect base partitions
4a475acca1Adeel AsgharImproved the ZeroMQ server send method
d68b056995Volker Waurichexpected output
7827a66b10Volker Waurichnew subclock partitioning implementation with new partition adjacency matrix
0d6e0e83c7ptaeuberExpected output
95cea6e24bptaeuberAlso dump resEq in tearing dump
2f2fed896bhkielsome small improvements do not update Avl.key when adding key of equal value optimize function intersection
9663605017hkieluse simpler if instead of matchcontinue
ba78dc7036hkieldo not explode and re-create tuple
9276843c9dhkielfix static analysis: avoid dead assignment
1b08e2b101hkieldo not generate intermediate list
48a8d497cdhkielapply style to Input cells when printing/exporting to pdf fix some other minor things add short cut (Alt+P) for PDF export
b11bb9742eLennart OchelUse different call sequence logics for ME and CS
71eeb5f42bLennart OchelFix indentation
050739da0cAdeel AsgharFixed encoding.
b70932d98cAdeel AsgharImproved the ZeroMQ server receive method
7a88dc81eahudsonUpdating 3rdParty
fcd2bf7635Adeel AsgharInclude the ZeroMQ headers.
579677bef1Adeel AsgharAdded ZeroMQ communication interface
e2bcaf36d6Adeel AsgharFixed socket communication.
fecbed32c1ptaeuberExpected output
76dc2503a8ptaeuberMatch more nonlinear equations first while tearing
42dae63b7dadrpofix tests due to library updates
47cd8209a1alash325Delete QNetworkReply object in the receiving slot when it is finished
3bfdad9aabhkielAdded line numbers to Input cells
d7d99bd619hkielremove unused code from latexcells (indentation, autocomplete)
b95b469c7aLennart OchelAllow fmi2SetInteger in continuous-time mode
783478cabbAdeel AsgharCheck for NULL pointer.
8888f42db5Adeel Asgharticket:4440 Make sure we always simulate when user selects simulate from menu.
44459e5e0aAdeel AsgharUpdated TLMPlugin to OMTLMSimulator.
1ff64b59bbAdeel AsgharCheck if model_init.xml file exists.
18e70d6d3calash325Do not delete QNetworkReply object
d84ea136f7ptaeuberMake Evaluate=false have an effect
04b350a206alash325trace FMUImport
30e59b45c1ptaeuberExpected output
3bbb391b30Adeel Asgharticket:4433 Improved the layout of the transformational debugger. Fold the annotations by default in transformational editor. Added more context menu items to transformational editor.
b2178d3f70Adeel Asgharticket:4434 Properly set the -d=infoXmlOperations flag.
3d09049ae7Adeel AsgharRevert "ticket:4428 Set very low ration for legend so that plot gets more space."
2230a75c15alash325- update the traceability message according to the Json schema
78dcf3fbf5hkielfix translation string
d0aa5e637ahkieltranslate more strings update german translation
e573d473aeadrpoupdate tests due to library updates
18303352d2Adeel Asgharticket:4421 Show a fixed value when there is only one unit.
5215a827dfAdeel AsgharInitialize the variables properly.
9b87ac3b9eAdeel Asgharticket:4431 Fixed the rendering rectangle size. use Component's sceneBoundingRect() instead of calling sceneBoundingRect() on its items.
192b8383b5Bernhard ThieleFailing MDD tests for synchronous blocks
ed569e2e70Bernhard ThieleMore tests for MDD library
e116454e90ptaeuberDo not prefer vars with start value for tearing
e2f605d6acAdeel Asgharticket:4428 Set very low ration for legend so that plot gets more space. When we have several legend items then a scroll bar will appear.
16532e5648Adeel Asgharticket:2232 Allow setting axes range manually.
d51c142a7eptaeuberRevert "Expected output"
9ca61408c1ptaeuberRevert "Use nominal value as start value for iteration vars"
05b74d7d2cptaeuberExpected output
e7045ec96eptaeuberUse nominal value as start value for iteration vars
2b12dca3f0hkielNew caption for omc messages also highlight error cells in red, warning cells in yellow
4922085d49hkielDo not translate items in drop down box that need to be english update translation files
ddfec0ed75wibraunremove unused functions as a last step of backend
f821aa3e72Danny MoeschAvoid 'and' operator in C++ code since MSVC12 does not support it
16a7626183Martin SjölundHandle dassl better in opc-ua
a884b9643dhkielfix expansion of '=' to ' = ' considers also ':=', '<=' and '>='.
dada301723hkielupdated OMNotebook help file
774fd7d447hkielImplement more intelligent command completion detects if input cell contains a class and then prompts modelica keywords instead of OpenModelica Scripting commands
7b440a1b1aLennart OchelFix derivation rule of pre calls
0042521a3dLennart OchelFix derivation of previous calls
9492f9ed56Lennart OchelFix homotopy debug dump
a7b3828768Lennart OchelRead csv file delim from header
ef8d92946dJan HagemannwrapFunctionCalls can be used in initOpt: --initOptModules+=wrapFunctionCalls
f6f6a142e8hkielspell fix
9dc481ed62hkielfix C-macros (missing braces)
480ac49a2cLennart OchelRemoved unused variables
8ed0af6eeehkielfix prototype to avoid a warning from C compiler
6d8f3d6288Lennart OchelTest for ticket:4419
d0c4de069eLennart OchelFix zero crossings for div calls
a342dab3d5hkielcorrectly compare mod() and div() zerocrossing pairs
0a3d79062dAdrian Popadd requirement tests
7aeaf08d20Lena Buffonirequirements example
2f4a4090aeLena Buffoniinversed path order
d147790caeLena BuffoniFixed autogen names, finding correct client paths, not parsing through Modelica Standard Library
96267f1412Volker Waurichfix Ws2_32.dll linking under windows
6d5709bda5hkielturn non tail-recursive functions into for-loops
4f5fdf9099Adrian Poprun the Modelica_DeviceDrivers tests
0466192b2cAdeel Asgharticket:4400 Toggle visibility with single click. Hide all except click curve with double click. Don't show plot picker for hidden curves.
120c4f939dAdeel AsgharFix typo.
bb3109f333Adeel AsgharOnly allow drag & drop of Modelica LibraryTreeItem on a Modelica LibraryTreeItem.
030c9b5058Lennart OchelEmit protected variables
ba45c06e57Lennart OchelHide protected variables
19285705c7Volker Waurichfix subclocktree
1ec58addadptaeuberDefine separator for homotopy path csv file
9f917019deptaeuberFix initialization of external objects
771ca557ffBernhard ThieleAdded test case for MDD serial packager
ce11282f76Martin SjölundOPC-UA: Trigger an event when changing inputs
7abe6456aeChristoffer Fors JohanssonAdded a new flag, -embeddedServerPort
da3af12114Adeel Asgharticket:4401 Fixed opening of component class through double click. Allow opening component class via shift + enter.
7a6ded62ceAdeel Asgharticket:4320 Follow changes from Diagram to Icon view instead of Icon to Diagram view.
a56849e23aarun3688add modelica conference-2017
deeabde08bhkielFix initial size of HashSet reduces execution time of inlineWhenForInitialization from O(n^3) to O(n^2) (see ScalableTestSuite)
398f56301dVolker Waurichdont order partitions if there are none
1a18b3bd4eAdeel Asgharticket:4348 Set a minimum width for DuplicateClassDialog.
ba9d6fd029Adeel Asgharticket:4400 Toggle the visibility of plot curve on legend double click.
c3006bd97eAdeel Asgharticket:4341 Fixed display of system libraries. Show white outer background, a gray outline, white inner background and no grid for system libraries.
e6df7c1c14Adeel Asgharticket:4401 Open component class with shift + double click.
81a9ecf9f5Adeel Asgharticket:4406 Option to automatically close completed simulation windows
dbf52c2800arun3688ticket:4404 Auto-Complete Fixes for key features missing
582c559c6dVolker Waurichexpected output
3a944419d3Volker Waurichsort clocked sub-partitions and deactivate negative shift
2474ceca82Adeel Asgharticket:4409 Don't unfold the annotations when object is moved.
4e66e4367aAdeel Asgharticket:4320 Only follow changes from Icon View to Diagram View.
90a4593d21Adeel AsgharInsert the code snippets as one undo/redo operation.
df74862002Martin SjölundAdd the new Mutable dependency
54881ac367Martin SjölundUse Mutable in the backend
d12a035861Martin SjölundUse Mutable for the DoubleEndedList
1224535132Martin SjölundUse Mutable in the frontend
f618817f93Martin SjölundAdd a Pointer type similar to the Mutable type
f92a4a00a9Martin SjölundAdd support for a Mutable data structure
dbc1049ba8Adeel AsgharAdded tool-tips to auto complete suggestions.
e74c0881c9arun3688autocompletion for codesnippets
c3c036f46fLennart OchelRevert "Expected output"
8780cf754fLennart OchelRevert "Enable homotopy by default"
8dc4feab25Lennart OchelFix ExpandableArray.compress
1b6ac20503Adeel Asgharticket:4402 Show plot window after simulation.
8e2a2a0714Martin SjölundParse mos-file statements using iteration
c0043fe5e1Volker Waurichadd booolean sub clock test for cpp
f9882c38f5Volker Waurichsupport boolean sub clocks for cpp
bcc9445dd3Lennart OchelExpected output
89d9bc659bLennart OchelEnable homotopy by default
6fbf5db7ceAdeel Asgharticket:4320 Apply the connector transformation change from one view to another. The change is only applied as long as the they have the same transformation.
345eb1d00fAdeel AsgharAdded OMTLMSimulator documentation menu item.
a9e3d63a49Lennart OchelEstimate required allocations for selectInitializationVariablesDAE
61d19ba161Adeel Asgharticket:4341 Draw background for system libraries.
ce8671d985Adeel Asgharticket:4369 Use round brackets instead of square for units.
88971456a9Adeel Asgharticket:4369 Do not use square brackets for units.
ba82e684dbVolker Waurichprovide reference files with 0 for not ticked clocked variables
4f1dc42d2fLennart OchelEstimate number of equations
5b2afb1eefAdeel AsgharLet the users know what Compiler Flags means.
cf6f51c512Lennart OchelEstimate number of equations
241af45362Adeel AsgharCall `getConnectionCount` from the C interface.
e3fdafb194Adeel Asgharticket:4381 Updated the implementation of fetching connect equations. Build a list of connections and then use the list for getting a specific connection. Also moved `getConnectionCount` API to ModelicaBuiltin.mo
8b616fe9d3Adeel AsgharCalculate the font size when its too big to fit.
a8b251ebf1Adrian Popexperimental support for merging alg sections, ticket:4365
3c3326e66aAdrian Poptest for ticket:4365
935a1c9225Adrian Popfix inner/outer prefixing in algorithms ticket:4365
3be9952d11Adrian Poptests for frontend part of ticket:4157
dd5fb2b864Adrian Popfix frontend part of ticket:4157
cae7797bcbMartin SjölundInclude line numbers for the roots
48db51ddccMartin SjölundAdd FCSys example
ac1663df69Martin SjölundProvide more information for invalid roots
eb3f80fe33Martin SjölundHandle recursion better when inlining calls
12d7a715f2Lennart OchelRemoved initialEquations_lambda0
894837ccd4Lennart OchelReimplementation of the c runtime homotopy support
2e23bddeb3ptaeuberAdd simple homotopy loop
17e88411d8ptaeuberAdd experimental initOptModule inlineHomotopy
f0af412018Willi Braunadded scaling for f(u) in kinsol, based on jacobian
73d6738f75ptaeuberRemove decompressed result files after usage
d1cb824537Lennart OchelExpected output
11f1da2a37Lennart OchelAdjust memory management of equation arrays
fa0a689e5dLennart OchelFix side-effect in getSymbolicJacobian
2892979abdLennart OchelFix BackendEquation.merge
8e24cbffecLennart OchelClean up BackendEquation.mo
9abe3dcf0bLennart OchelFix ExpandableArray
3eb1be03feLennart OchelUse ExpandableArray for BackendDAE.EquationArray
9fc185fdf9ptaeuberExpected output
8429f9475eptaeuberFix wrapFunctionCalls for cpp runtime
28a93394e6Adeel AsgharRead the init.xml file when only loading the result file.
fd294f600eLennart OchelRemove unused variable arrays
a12c3491abBernhard ThieleRemoved obsolete state machine back-end code
1f47e70cbdptaeuberAdd tests for WFC and update expected output
2cb1d8f6d1ptaeuberImprove module wrapFunctionCalls
0d63f38cc4Adeel AsgharDon't make the welcome page expanding.
8e555b8d48Adeel AsgharUpdated the composite modeling doc. Improved the screen-dumps.
e302e123bcAdeel AsgharAdded visualization screenshot.
c224a4b973Per ÖstlundAttempt to speed up collectInitialBindings.
9b7a4ca6d2Adeel AsgharUpdated composite modeling.
32a70d2658Willi Braunfix kinsol, reinit klu matrix onyl if klu is used
f4bd4ad46dAdeel AsgharAdd 25% space to model's extents.
3e1126be71Adeel AsgharRemoved unnecessary setCompleter function.
4ba81ac635Adeel AsgharAvoid crashing MetaModelicaEditor.
c57868fff0arun3688autocompleter for keywords and types
23fb50808eLennart OchelExpected output
639c7bdc42Lennart OchelRemove when initial() from dynamic system
4a3c2b2448Lennart OchelAdd test for ticket:4387
3d4461dbd1Lennart OchelFix ticket:4387
3c24923cd1Lennart OchelRemove timing information from test suite
e05d9d5572Lennart OchelMove timings from LOG_LS to LOG_LS_V
ff7789df46Lennart OchelcompareSimulationResults is deprecated
65dd5bc7e9Lennart OchelcompareSimulationResults is deprecated
ed5ccfb89eLennart OchelExpected output
adf56d3866Lennart OchelAdjust comparison of initial data point
9166cbfaf5hkieldo not use tuple for one needed arg
0bb681ef1eAdeel AsgharOnly update the cursor position when text view is visible.
d48d23a104Adeel Asgharticket:4340 & 4379 Allow multi select with shift key instead of control key. Panning is done via control + left mouse press. The drawing area is 3 times the actual size so we can better use the panning.
d48b065ed8Adeel AsgharUse interfacesAligned instead of alignInterfaces.
c74c1a1bf9Adeel AsgharLoad the mo file as MetaModelica when loaded via "Load External Model(s)"
f31ed5b0bbLennart OchelRemove $_old(.)
2aadf4f0bfLennart OchelAdd .vscode/ to .gitignore
1698ce9ba9Willi Braunfix symbolic jacobian in kinsol
d2f4ddbda4Lennart OchelFix variable names in debug output
16e424b80aLennart OchelAdd test for ticket:4382
9b4cb3b642Lennart OchelImplement missing case for SUB_SCALAR_ARRAY
5124b80a0eLennart OchelFix add_alloc_scalar_real_array
9b947e8b74Adeel AsgharRemoved zoom & pan buttons. Zoom is default. Panning is done by pressing the control key.
767d9c6149alash325Remove traceability graph view from perspective tab
380187988eVolker Waurichfix reference file
1f4e88e38fVolker Waurichadd clock test for c and cpp
b6a6ab801fVolker Waurichexpected output for time event changes
3f31abbf04Volker Waurichcompute time events during runtime instead of precalculation (cpp)
e3b3d756c2Lennart OchelAdd number of linear/non-linear/mixed systems to debug output
064433e8faLennart OchelAdd number of linear/non-linear/mixed systems to debug output
7450f9a146ptaeuberExpected output
3b5a5eadd8ptaeuberShow warning if parameter is overwritten with small value or zero
e69beac418Lennart OchelAdd test cases for ticket:4359
eb3bda4dd9Adeel AsgharUpdate according to OMPlot interface.
3ad0767e11Willi Braunremove old unneeded code for symbolic jacobian
8567e64640Adeel Asgharticket:4309 Round the coordinates values. Show the line and column number when in text view.
1936e9de44Lennart OchelExpected output
78b18d88baLennart OchelRemove $_initialGuess(.)
495a973767Lennart OchelFix homotopy-based initialization
74f4678918Lennart OchelAdjust generation of start-value equations
280c5ba72cLennart OchelUse start values as initial guess for nonlinear systems
f8a1c7ea7aAdeel AsgharAccess the data arrays directly instead of creating local copies of them. Fixes ticket:4377
6f97c81edbAdeel AsgharUpdate common
3c328b2cf1Adeel AsgharMake the x and y arrays public. So that we don't create them every time we need to access them.
6e6f898e30Lennart OchelAccept lambda as independent variable in csv files
a1ddf900d8Adeel AsgharDo not force redraw when undo/redo is used from Icon/Diagram view. Mark the model modified after undo/redo.
d7c851f011Adeel AsgharRevert "Do not force redraw when undo/redo is used from Icon/Diagram view."
263c70d9afAdeel AsgharDo not force redraw when undo/redo is used from Icon/Diagram view. Mark the model modified after undo/redo.
b6860be9b1Adeel AsgharUpdated README.md with coding style.
f681e38fcaAdeel Asgharticket:4376 Do not clear the text view undo stack.
4548444fb9Lennart OchelDon't generate unnecessary start value equations
e12183de61ptaeuberAdd tests and update expected output
e36b947c7eptaeuberUse nominal value to define threshold for param division
f0e989f15fAdeel AsgharDynamically arrange the interface points for sub-models.
5351a6eb80Worschech Niklas (DC/ENE22)updated 3rdparty
b78943f0c8Lennart OchelRemove unused templates
4ba7588dcfLennart OchelRemove obsolete start value call cases
9216d5bcfbLennart OchelExpected output
bca32a3137Lennart OchelAdapt handling of start-values
fbffa36fadLennart OchelImprove some debug dumps of package Differentiate
3b1b0cc796hkielResolved merge conflict.
ee70bdde36hkielsome reformatting
3e82787933hkieluse svg images for the drawing primitives icons
671dd86eafhkielproperly add texts
690e832fdbhkielremoved superfluous CustomDialog class
fcd29af756hkielmake SketchText editable again also make it deleteable and some code clean up
60d673bde9hkielfix memory leaks
18ecb55993hkielClean up OMSketch buttons
3914aa71d1Lennart OchelExpected output
c0606aaf4aVolker Waurichfix cpp codegen
85e1ec8df5Lennart OchelAdapt index reduction to new representation of start values
03e06df29bLennart OchelFix initialization of start attributes
803f52cd01Lennart OchelCleaning up
9ded699718ptaeuberUse tearingStrictness flag
d379a34dc4ptaeuberAdd config flag tearingStrictness
71a39a1f5fhkielSpell fix
e6c4181047hkielSpell fix
a47d7c77d0hkielSpell fix
6bbadc5313hkielSpell fix
7007a3f804Adeel Asgharticket:4345 Move the scroll bars to top position.
13fc9557e1Adrian PopLink ModelicaStandardTables with ModelicaIO and ModelicaMatIO - we need this to be able to update ModelicaExternalC
6de95cabbbLennart OchelAdd fully specified initial conditions to JuliansBib.mos
ebd8f5e682Adeel Asgharticket:4357 Don't allow spaces in component name.
7663865286Lennart Ochel[NF] Deactivate three tests for now
4470d56f08Lennart Ochel[NF] Fix test FuncOverloadMulti
c1847e2685Lennart Ochel[NF] Activate new test case
7e8436ef90Lennart Ochel[NF] Check if binding type does match component type
84fadec4dcAdrian Popfix library order for ModelicaStandardTables on Windows - this order should work for MSL 3.2.1, 3.2.2 and trunk
a4c9d93d45Adeel Asgharticket:3295 Add the "Close All Windows" and "Close All Windows But This" to system menu.
038bf1aa8cAdeel AsgharCall the undo/redo stack when document undo/redo is called if needed.
90da68cbf5Adeel Asgharticket:4334 & 4344 Call the document undo/redo if its available. Preserve the connection annotation before applying the transformation.
dbe5871243alash325added Ctrl+C functionality
cabda3bfd4alash325give commit message default value for qt 4
43ceab933dalash325fix Qt 4 build
bb605cd139adrpoadd test for Clock parameter evaluation update tests to agree with the flattening
0130f958eaadrporevert code from c77eae8d2283a15e140c3289e9ebc5f0ae84a179 - we need to constant evaluate the parameters of Clock!
ac7e1a7cc8adrpoupdate tests due to lib update
bd902b2ddaalash325Clean up traceability push dialog
1dfef38efealash325Send traceability information automatically without users interaction support traceability graph view
75a9b6ed97Adeel Asgharticket:4334 & 4344 Allow undo/redo in text view.
742ae2514cAdeel AsgharFix compilation for gcc 6.3
0785449db4qichenghuaFixed error with commit 75c04c436d443a147f3f6a11451a74221a4b1e95
75c04c436dqichenghuamuted nonlinear solver nox
ca4d5b0d4cptaeuberRevert "Add tests for WFC and update expected output"
33db784520ptaeuberRevert "Improve module wrapFunctionCalls"
0f5c07d2dfAdeel AsgharFix visualization crash when stl find is not found.
4984d9d02fMartin SjölundAvoid empty autoconf statements
d351e7a294ptaeuberAdd tests for WFC and update expected output
a919ef478dptaeuberImprove module wrapFunctionCalls
52cd6addf5qichenghuaextended error message in Cvode in case of too many events in small time interval.
4712b7a5d7qichenghuaSet algloop to high values instead when otherwise errors were thrown.
2659444bcbAdeel AsgharReturn boolean from deleteOrUpdateComponentFromElementitems when its successful.
63a779abb7Adeel Asgharticket:4342 Fixed updating protected components
f159b76180Lennart OchelSimplify polymorphic types of function mapAllValue
d628e4c653Willi Braunfix codegeneration for records
59a2173e2eNiklas Worschechadded windows makefile flags to build cpp runtime with Klu and trilinos make runtimeCPPinstall USE_KLU="true" USE_TRILINOS="true" for trilions the 3rdparty packages has to be build before with make -f Makefile.omdev.mingw nox on windows
bbc63677c3Robert BraunUpdated composite model visualization XML for unit support.
ece1d8be23Robert BraunAdded 3D visualization of composite model interfaces
d8df3ca31aAdeel Asgharticket:4349 Take smaller steps for zooming. Also set the minimum zoom to readable size.
32ed136c0bAdeel Asgharticket:4343 Open the class when enter key is pressed.
bfe5797ae0Adeel Asgharticket:4338 Check for the annotation error in its own section.
5393bf1853Per ÖstlundUpdated for loop tests for new inst.
6deba45e6dPer ÖstlundNFInst improvements.
bd64d39924Robert BraunFixed check for non-existing attributes when updating composite model connection.
fa024b2f7bRobert BraunRemoved unused parameters in composite models depending on interface type.
4d1d53ee3eLennart OchelExpected output
d74861a098Lennart OchelFix attributes of state derivatives
84fa514185Lennart OchelImprove indentation of the generated *_init.xml file
621f1b6839Lennart OchelFix comments of state derivatives
d79a3548ccAdeel Asgharticket:4322 Unfold the block if line is commented out.
f67d29e5c6Per ÖstlundUpdate String scodeinst tests.
1f69fcc34dPer ÖstlundFix overload of String in new inst.
0f52fc6c66Niklas Worschechfix pdp file copy
bff59069ceNiklas Worschechfix for release build with VS 2015 of cpp runtime
a50285d328Adeel Asgharticket:4327 Added option to clear the message browser.
423dc44277Lennart Ochel[NF] Activate new test case
b93e15a5c9Lennart OchelConstant evaluate fixed attributes
ff0d8147f6Adeel Asgharticket:4331 Close the polygon with angle from end point to start point.
15883dd1ccLennart OchelClean up NFUnitCheck
0a2f14a5d9Adeel AsgharAdapt to the naming scheme.
e4e392f7c3Sebastian PinnauCreate QTranslator instances on heap (fixes #4311)
5c437fc84dAdeel AsgharAdded zooming actions to editor context menu. Moved PlainTextEdit out of BaseEditor so we can get rid of some redundant code.
8eda82d5f6Adeel Asgharticket:4325 Enable Preserve User's GUI Customizations by default.
a14eb1024aDanny MoeschUpdate submodule '3rdParty' again
3f98c16fb6Danny MoeschUpdate submodule '3rdParty' concerning the added NOX solver
2ecdd1dd7eDanny MoeschRegard operating system specific directories
1cb1bf8738Danny MoeschAdd Nox building in makefiles
2b02a6020aMahder GebremedhinUpdate tests for NFFrontEnd function changes.
62fa9b30c3Mahder GebremedhinNFFrontEnd function and typing improvements
0ed34dc3edMahder GebremedhinNFFrontEnd function updates.
bfc2e252d2Lennart OchelFix module unitChecking (ticket:4306)
fbe98a6598Adeel Asgharticket:4319 Call the icon update inside loadDiagramView.
552bf53902Adeel Asgharticket:4319 Update the libraries browser icon when connectors are loaded.
49979e2d7bhkielAdd shortcut to evalAll
fba26f79c4Adeel Asgharticket:4303 Handle the saveSelector attribute of Dialog annotation.
09b537bd51Adeel AsgharUse multi-sampling for smoother 3D visualization.
984eeea8c8Adeel AsgharUpdated tests for getComponentAnnotations.
8d690cf157Adeel AsgharDo not use a default value.
a8fcac32d1Adeel Asgharticket:4303 Handle the loadSelector attribute of Dialog annotation.
027b95bdacAdeel Asgharticket:4314 Close windows by ESC key.
ec908e4e5cAdrian PopFix windows msvc build
45dd27cb69Per ÖstlundUpdated for equation scodeinst tests.
cfa55d770fPer ÖstlundImproved support for for loop equations in NFInst.
1e13743c2aPer ÖstlundAdded some for loop test for scodeinst
4d0d14fa79Per ÖstlundInitial support for for loops in NFInst
4124ebe831Adrian PopFix windows builds - update 3rdParty to one that knows how to find lapack for sundials
15992776fdLennart OchelAdd missing cases to unit checking
44b8b42e57Adeel Asgharticket:4310 Ignore the whitespace at the end.
dbe3b3f14ehkielAdd UTF8 inputenc to latex preamble
bfc0be772fPer ÖstlundAdd test for invalid use of _.
343d155ebdPer ÖstlundFix InstUtil.findUnboundVariableUse for _
d2975328b3Adeel AsgharHide the 3D Viewer when switching to plotting perspective.
feadabe4b7Adeel Asgharticket:4305 The Esc key should trigger "Fix error(s) manually".
d5b7bc2faeMartin SjölundSimplify of asub where the subscript is a range
2091a03143Martin SjölundUse the OM-compiled Sundials for C and C++ runtime
2b1d2403d3Per ÖstlundAdd more nfinst tests for builtin operators.
c7fe8a2349Per ÖstlundSome small NFInst improvements.
e10293f711Lennart OchelAdd handling of initial terminate to c runtime
8064d3a898Lennart OchelFix classification of initial equations
079d78d72eAdrian Popadd front-end test for ticket:4304 - update all tests affected
b8fe1840caAdrian PopFix the front-end part of ticket:4304 - add new DAE.INITIAL_ASSERT and handle it in the front-end - add new DAE.INITIAL_TERMINATE and handle it in the front-end - added preliminary back-end handling
9e033a100dJan ŠilarPDEModelica bugfix and minor changes
02e5c4a519Jan ŠilarPDEModelica bug fix
3e1d796792Jan ŠilarPDEModelica ghost cell rename
e7ae049c8cJan ŠilarPDEModelica -- left boundary x value
f8b26335f6Jan Šilarsecond order pder
aea3ec9c87Jan ŠilarPDEModelica -- ghost cells
3461537034Jan ŠilarPDEModelica - ghost cells hopefully finished
52646f206fJan ŠilarPDEModelica - GhostCells
a0d00d881cJan ŠilarPDEModelica Ghost Cells not finished -- serching for fields in pder to be extended by ghost cells
c4c02c1d44Jan ŠilarPDEModelica -- minor refactoring
c46dc8897cVolker Waurichadd test for when in algorithms
69b294ba0dVolker Waurichfix for when in algorithms
385b2dda08Adeel AsgharPreserve the order of shapes during the undo redo operations.
6d6eda660fAdrian Popadd test for unqualified imports
62633fb168Adrian PopNF: implement partial support for unqualified imports
9bca227963Lennart OchelAdd test for ticket:4301
d981c30a43Lennart OchelNew feature: detect steady state
c511daedf9Per ÖstlundUpdated nfinst function tests.
4c362d1ecfPer ÖstlundImproved function handling in NFInst.
d60e3c18baAdeel AsgharHandle the nested der variables.
f30ef946d8Lennart OchelAdd test cases for constant evaluation
2a857f12d2Lennart OchelAdd more functionality for constant evaluation
9f923be66eLennart OchelNew module to simplify expressions
34c440b7a5Adeel Asgharticket:4291 Don't use string buffer for xml data.
69763e4b5dAdeel Asgharticket:4296 Parse the connections properly. Updated getNthConnection to scripting interface.
0f43e81dc6Adeel AsgharUpdated getNthConnection tests since it is moved to ModelicaBuiltin.mo.
8777f9a1d8Adeel Asgharticket:3680 & 4296 Look for connect equation within for loop equation. Moved getNthConnection to ModelicaBuiltin.mo.
6e6be50e0fWilli Braunupdate testcase output
8f1fd569f1Willi Braunupdate module sortEqnsandVars
dbe862f7c6Adeel AsgharProperly apply the FillPattern.Sphere on polygons.
a2c3963cecAdeel Asgharticket:4295 Handle __Dymola_checkBox annotation.
4f66de934bptaeuberOnly reassign start value if it has been overwritten
ae9b4cff08Adeel AsgharSet a default value.
2d2b491c96Adeel Asgharticket:4295 checkBox instead of checkbox. Also consider __Dymola_checkBox.
43c6d443d1Martin SjölundAdd a few stackoverflow checks to the backend
f79568b893Adeel AsgharFixed arrays for OMEdit logs.
94c1c9be9aAdeel AsgharFixed typename & strings for OMEdit logs
81fb79a6cbvwaurichdoc for more 3d features
d130cee20aqichenghuaFixed issue with finding KLU library
c39a8f6940Adeel AsgharDraw the open arrow for ArrowOpen & ArrowHalf.
9d93410e0aNiklas Worschechfix in Kinsol of cpp runtime for sundials 2.7
6c47c81d52Adrian Poptests for ticket:4276
c4ab684281Adrian Popfixes for ticket:4276 - allow write to parameter(fixed=false) in initial algorithm
f4e679c968wibraunadded jacobian timings to linear and non-linear solver
62f76330feAdeel AsgharMake sure we only create ThreeDViewer when needed.
0db7959d4awibraunadd jacobian timings to LOG_STATS
65ae78fbd5hkielfix small memory leaks
bb69d0d9d7Adeel Asgharticket:4252 Do not create an object of ThreeDViewer by default. Only create it when user really use it.
afb17e2554Niklas Worschechfix for visual studio 2015
c4d4d2e7cbNiklas Worschechbuild suitesparse for visual studio with cpp runtime build
1c430c653eAdeel AsgharCreate checkbox if choices(checkbox=true) annotation is used.
ab4a065a9fAdeel AsgharFix text size for tlm interface points.
439ebb2ec2Adeel Asgharticket:4287 Handle the choices checkbox annotation.
4452edec87ptaeuberExpected output
e76f5774ccptaeuberDo not create a new cse variable for record=call
b1a493aa8cAdrian Popfix ticket:4292, handle DAE.REDUCTION also
64ce9d9114Per ÖstlundPartial implementation of functions for NFInst.
7cf48f8921Adeel Asgharticket:4287 Look for choices checkbox annotation.
19ecd863f0adeas31Fix Qt4 builds
b0ebfd44fbLennart OchelFix output type of simulate
7a0af38100hkielfix output type of sortStrings remove unused variable
57b34d5781hkielfix uninitialized variables
2345a735afvwaurichfix mirrored texture for pipecylinder
9b521e4436vwaurichadd removeTexture action
e27938920avwaurichsmall fixes for advanced 3d features
c4683357b9vwaurichsmaller icon files
c32dbb5df9vwaurichadvanced visualization features
60127a82b4Adeel Asgharticket:4256 Handle the case when text width is zero.
9a4c7b16deAdeel Asgharticket:4283 Make the proposed text selected.
9c11e02de1Adrian Popadd tests for fixes to ticket:4258 - update also the existing tests
7172627043Adrian Popfix for ticket:4258 - create more unique scopes when there are redeclares for derived classes
a20669bd4dArunkumar PalanisamyUpdate EnhancedOMpython documentation
a5c5270bc6Rüdiger FrankeFix use of new LinearSolver for FMI export
d30bd1ea53Rüdiger FrankeFix scaling of Jacobian of new LinearSolver
5570fe32c2Rüdiger FrankeEnhance logging of new LinearSolver (cf. logging of former Newton)
490c35c72aRüdiger FrankeFix whitespaces for new Cpp LinearSolver
0f722ad172qichenghuafixed issue that occured if evaluating the algloop at the initial guess throws a division by zero error and added homotopy solver
2dc101e8a0Adeel AsgharDon't construct QFileInfo with empty file name.
83fb494e22Adeel AsgharCopy the qualified path instead of name.
dd5df5c182Adrian Popproper flag for the NF test
b5e3711bddAdrian Popactivate one more NF test
7b19520174Adeel AsgharDraw the inherited connectors properly e.g., ControlBus.
d3844f3902Adeel Asgharticket:4196 Convert the drawing unit to pixels.
cf592af23fAdeel Asgharticket:3964 Handle the home key. Move the cursor to the start of the line from where the text starts. Skip the trailing spaces.
b6f72c5bbcAdeel Asgharticket:4282 Show/hide re-simulate toolbar along with Variables Browser.
5cf3ade12fPer ÖstlundUpdate test cases due to error message changes.
4ad960fa96Per ÖstlundError message pedantry.
110331f8d1hkielAdd keyboard shortcuts Ctrl+1..9 for the first 9 windows add val() to commands.xml
2702730e2eAdeel Asgharticket:3964 code folding for MetaModelica editor.
2c4425cbcaAdrian Popactivate some NF inst tests - activate two class extends tests (classextends3.mo still has issues) - add a new test PropagateExtends.mo (the NF does bad instantiation on it)
1096f0547bAdeel AsgharFixed compilation of runtime.
5ccc2d57a4Lennart OchelUpdate expected output
6e54ca1b92Lennart OchelReplace alias variables within external objects
4b89b3ce63Lennart OchelSupport external object constructors depend on variables
a44f363a4fMartin SjölundAdd -d=gen to mmdev scripts
5aeafb19b2Martin SjölundRefactor the File module
a06724a4bcMartin SjölundOnly find files in the current directory
ca74ffb6c3Martin SjölundExpected output after relaxing constructor checks
f0ca662d12Martin SjölundFrontend: Do not evaluate external object inputs
7f0c9aaae2Adeel Asgharticket:4263 Show/hide toolbars based on perspective.
440ac703bfAdeel Asgharticket:3414 Allow zoom in & out in text view from toolbar, keys and mouse.
cd6205444aBernhard ThieleAdded test case for state machines
40f70ce8abPer ÖstlundFix extends modifier issue in NFInst.
057661f71dAdrian PopFixes for ticket:3894 - improve the File package, support for file names in error messages, etc. - get rid of failures on Windows 32bit (where isNone(fromID) returned true for existing files) - add partial support for dladdr in Windows
13853a5bc3adrpoupdate tests after lib update
314ff91ae3Bernhard ThieleAdded FIXME comment for a state reset issue
4e6c9ec214alash325Fixed #4275
7961f859eeadrpofix ModelicaBuiltin.mo interface until fixes to ticket:3539 are ready
21efd61fa7Adeel AsgharUpdated OMEdit documentation.
bab1d1fb06Adrian Popadapt OMCproxy after changes to OMC API buildModelFMU
e9c3137117Adeel AsgharMerge branch 'master' of https://openmodelica.org/git-readonly/OMEdit
a6d0a94290Adeel AsgharFix the code folding indicators for MAC
cbe5244adbBernhard ThieleAdded state machine test for entering by reset
a6f54ce7adBernhard ThieleState machine bug fix for state reset
c48cb77f17Adeel AsgharSet OMEdit locale to C so that we get dot as decimal separator instead of comma.
e0f90f2511Adeel AsgharMake sure splash screen messages are always shown. Even on MAC OSX.
081cef963fAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
15f740b01dalash325trace import model description xml
3adf0d0669alash325Support FMU export trace Allow users to store their user name and email
15bf1aade1Adeel AsgharSome documentation for OMEditApplication class.
d2a0ff4366Adeel Asgharticket:4164 Reimplement event function to handle QFileOpenEvent at startup
a4c967caf4Per ÖstlundUpdated new inst tests.
3532cb45a7Per ÖstlundNFInst improvements.
9f7a31de34Adeel AsgharFix builds.
36812d4622Adeel Asgharticket:4164 Subclass QApplication to handle QFileOpenEvent for OSX.
fc47277a0eLennart OchelAdd support for firstTick to c runtime
e814eb15b2alash325Fixed hard coded If the file is not open show error message If the traceability information is inclomplete show the message
a3afbd689fAdeel Asgharticket:4217 Fixed the documentation browser pixel size issue.
a6f9378118Adeel AsgharCheck for null pointer.
c0f41e0191Adeel Asgharticket:4264 Added a hint for multi-line text.
2770f776b0Adeel Asgharticket:4267 Added progress bar and message to crash report.
e517de3892Adeel AsgharOnly use backtrace command once.
c3ebc92ad4adeas31Write the gdb backtrace in a file
e4071b5c27Martin SjölundMake getClassnamesInElts not stack overflow
23b3f865f1adrpofix Qt4 compilation
c0242d95c9adrpofix Linux compilation - fix cases in include - fix slots declaration
dc933bbd3aalash325Get the IP address and the port to query traceability information from the settings
8699d17c09alash325Remove/comment unused enums Mark strings with tr for translation Use Utilities::FileIconProvider::icon() check if file is created successfully change INTO_CPS menu item with Git remove FMU output directory
65bfe93c46alash325Squashed commit of the Tracability branch:
4af9b08e41Mahder GebremedhinNFFrontEnd improvments
df58d37a68Lennart OchelAdd test case for ticket:4271
63678038e3Lennart OchelDon't apply removeSimpleEquations to clocked partitions
d7842b5f3eMartin SjölundAdd type of thesis
a26ef78831Martin SjölundFix "and and" in references
3d7d9615f7Martin SjölundExpected output after MSL 3.2.2 patches changed
fdacb6b387Martin SjölundSort the FindFiles.log in a nicer way
f22b02c188Martin SjölundFor icons, if failing, partially evaluate the icon
54840e06a4Martin SjölundHandle comparison of empty expressions
03dd6d2c89Martin SjölundFix uninitialized variable in Lookup
4127b1fbfaMartin SjölundAdd testcase for icon we now display correctly
fec4a09a36Martin SjölundWhen in graphics expression mode, allow failures
edd4913939Martin SjölundHandle limit on shell expansion
d34cb2ed39Adeel Asgharticket:4262 Adapted to new output of translateModelFMU and translateModelXML.
db6f0524aeAdrian PopNF better class extends: replace base class
96072a00efLennart OchelMake translateModelFMU return the name of the FMU
33e26aac8cLennart OchelMake translateModelXML return the name of the xml file
55eb281c5cLennart OchelMake translateModelFMU return the name of the FMU
078fe45e33Adeel AsgharCall getMessagesStringInternal after getIcon/DiagramAnnotation Since now getIcon/DiagramAnnotation sets the error message instead of ignoring it. So we need to display it as well. This commit will make browsing a bit slow since now an extra call is always made.
ae41f14ed6Adeel AsgharMissing file from last commit.
3ab01a4493Martin SjölundFix equation indexes for clocked equations
f06f9c6c51Martin SjölundFix array indexing check
2a86f292efAdrian Popcheck array length before trying indexing
08e82bc495Adeel AsgharKill all references of meta model.
89d53b4c6dAdeel AsgharUpdated composite model images.
35eb704543Martin SjölundReplace UTF-8 fi ligature in source
3fca3deb4aAdeel AsgharMark the strings for translation.
24a7ac7d28vwaurichpicking, transparency, invisibility for 3dviewer with shift+right click
ed7a5af4caMartin SjölundRemove some error-messages when viewing icons
e53eddf429Martin SjölundCreate array of correct size
ef660b6bf9Martin SjölundExpected output for builtin changes
c77eae8d22Martin SjölundImplement more operators in ModelicaBuiltin.mo
6220ea8711Adeel AsgharUpdated MetaModel to CompositeModel
2cc9a7f3e0Adeel AsgharUpdated MetaModel to CompositeModel.
51b04fdb83Martin SjölundExpected output
06e3ebd858Martin SjölundAdd an internal flag for graphics mode
fd915469a1Martin SjölundDo not ignore errors in icons
3f636cdbf8Per ÖstlundChange getCommandLineOptions failure mode.
7e4049f66fMartin SjölundAdd test for illegal graphics
57cdce5719Martin SjölundIgnore illegal inputs to records (for icons)
bc3e37af96Per ÖstlundUpdate getCommandLineOptions test.
17cecc36cfPer ÖstlundChange getCommandLineOptions to return an array.
481b7fa9f8Martin SjölundUpdated testcases for polymorphic builtins
674967bcafMartin SjölundChanges to ModelicaBuiltin
17ce82244eptaeuberExpected output
e4c31ead3aptaeuberSet fixed attribute in globalKnownVars for ...
00ae877a0bAdrian Poptest for ticket:4248
d9d4df52a1Adrian Popfixes for ticket:4248 - properly revert flag Flags.CHECK_MODEL to the previous state
c37dd42f7cAdeel AsgharUpdate the camera matrix when we clear the view.
a9dc7452b8Per ÖstlundAdded tests for getCommandLineOptions.
ccdf5e9243Per ÖstlundAdded new API call getCommandLineOptions.
4f0f9768e3Adeel Asgharticket:4257 Don't force the jacobian option unless user explicitly sets it.
015e9da424Adeel Asgharticket:4248 Always clear the command line options before calling translateModel. There might be some command line options set by query APIs which can lead to wrong results.
ba8f12ebe7Martin SjölundHandle double matrix when strings are expected
418a7cd1dfAdeel AsgharClear the ThreeDViewer when there is no active sub window.
d2bbe7a2c0Willi Braunfix return value solver step(ticket:4257)
5f78c38833Adrian Popupdate testsuite after library update
582c1ef9c8Martin SjölundReturn the strdup result
f688b5d83bAdrian Popadd a pointer to the class in the NFExpression.CALL
bca6e00cb5Martin SjölundAdd test for loadResource at run-time
b1b90d8e97Martin SjölundCreate arrays of strings correctly in C89
a36d08f4f2qichenghuaadded scaling and adapted tolerance in case of failure for nonlinear solver Nox
dc42c6b7feAdeel Asgharticket:4251 Block signals before showing documentation widget.
cafab4319eWilli Braunfix initial guess of irksco on first step
0c832dae79Adeel AsgharCall loadString with merge true for folder structure packages.
a5bc99b458arun3688add enhancedOMPython features
79d3e32548Adrian Popfix MSVC compilation of new added solver - remove jacobian variable (not used) - MSVC 2010 does not support definition of variables with size from local or stack variables, use malloc/free instead
8ce7212e96Adrian Popfix MSVC build of simulation runtime C - jacobian is not used, comment it out for now - the MSVC 2010 does not support declarations of variables using sizes from local stack variables
964a432c94Willi Braunadded tests for irksco solver
0ebf1ec80dkbalzereitadded new solver irksco
873d569cbckbalzereitadded tests for symbolic inline solver
0dbd1e9718kbalzereitadded improved symbolical inline solver
487d1cb625Willi Braunadded testcase for simflag -imprkLS
69c53b3e1aWilli Braunadd -impRKLS flag with current iterative solving strategy
5c5a35f0b5arun3688Update DrModelica Exercices with Peters changes
c55d31017eRüdiger FrankeFurther append underscores to Modelica names
46db737354Robert BraunFixed redo/undo for submodel parameters in composite models.
b219433551Robert BraunAdded support for submodel parameters in composite models
815cea322fLennart OchelRemove some dummy strings
257ddee167Lennart OchelFix solver descriptions (#1446)
125ba9f29dWilli Braunremove unused tests
9d2e519e89Willi Braunupdate test to new name
c0c96357afWilli Braunticket:4246 reorder solver flags and reword solver description
379fe790e1Robert BraunFixes to camera position and updating of 3D viewer
b609f85e0fPer ÖstlundNFInst prefixing improvements.
901e6ae471Willi Braunupdate testsuite for imprungekutta
9c988b682eWilli Braunintegrate implicit runge-kutta and lobatto
0014f95a10Willi Braunticket:4237 fix partition index in jacobians
4ffbdb438aPer ÖstlundFix NFInst lookup of inherited names.
355fed4acfLennart OchelTest some state machines with Cpp runtime for now
799f659006Lennart OchelExpected output
ff80ea0f5dLennart OchelDon't apply removeSimpleEquations to clocked partitions
5f0ad98415Lennart OchelSplit synchronous features into pre and post phase
2099c8be1cRüdiger FrankeMore append underscores to Modelica names
fd5058e6b4Willi Braunfixing ticket:4237: Support of clockPartitions in jacobians
aac242c1b1Rüdiger FrankeAdapt nameClashTest to improved treatment of Modelica names
576ecd35c3Rüdiger FrankeAppend underscore to names in Cpp functions
7f069602abPer ÖstlundUpdated scodeinst tests.
b1aac58fd8Per ÖstlundNFInst improvements.
7a939dcf14Rüdiger FrankeAdd test for clashes with reserved names
b4a66a288bRüdiger FrankeMore add underscore to variable names in Cpp runtime
4d45d7ac94Rüdiger FrankeAdd clockIndex to Jacobians for clocked partitions, ticket:4237
85fb2b9ec4hkielupdate translations
8c966717d7Adeel AsgharFix builds without OSG.
175a65b6f4Adrian Popnew front-end connection handling preparation - adapt the old front-end with some changes needed for the new front-end - add DAE.CONNECT_EQUATION - use DAE.ConnectorType inside DAE.Attributes.ATTR instead of SCode.ConnectorType
fdff91a3cbAdeel AsgharCopy omniORB dlls from the correct target.
610eb709cfAdrian Popfix interactive Corba crash - guard SystemImpl__directoryExists for NULL string - guard CorbaImpl__initialize agains NULL corbaObjectReferenceFilePath
aef3898932Rüdiger FrankeAppend underscore to variable names in Cpp runtime
0b5f0dda24Rüdiger FrankeFix log category of linear solver
354a8d1ac1Adeel Asgharticket:4234 Added a menu item to toggle between tab and sub window view.
d4d7d13d73Adeel AsgharMerge branch 'adeas31-3dviewer'
1ebe198165Adeel AsgharUpdate the model text after fetching the interface points.
3bd67d90acAdeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
be0ab4e03bBernhard ThieleNF partial support for synchronous operators
81844647faWilli Braunimprove and fix several simulation option descriptions
645a6be7fcAdrian Poppartial implementation of class extends - the class extends changes are not applied to the baseclass, only the local scope - check if this is the correct way to implement this, or we actually need to replace in the base class
4bf74df031Adeel Asgharticket:4233 Consider the column start and end indexes of the class.
1267b2c076Adeel Asgharticket:4231 Only update the value of the variable when updating the existing curve.
0ec2a21375Martin SjölundRan the refactoring script
ef1458eee7Martin SjölundOnly print we remove variables actually removed
2defa716e3Lennart OchelExpected output
86c3226789Lennart OchelCatch inf and nan in divisions
3b40c1c849Martin SjölundRemove unused imports
06fb1c2ed2hkieloptimize tailrecursive into leaner for loop
3c1004b8d2Martin SjölundCache typeviews in Susan
a2f652c0b1Rüdiger FrankeAdapt clockedTest for solver method ImplicitTrapezoid
343b868557Rüdiger FrankeAdd solver method ImplicitTrapezoid
5511336871Adeel AsgharUpdate the 3dviewer on each operation.
a8cd990809Rüdiger FrankeInline integration initializes clocked continuous states
d32ecbb30fRüdiger FrankeDelay derivatives of clocked states for ExplicitEuler
5834c727a9Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
c2c1f60913Per ÖstlundUpdate scodeinst enum tests.
dce7606b15Per ÖstlundInitial enumeration support in NFInst.
49dc8a6c0fMartin SjölundRemove all remaining DAE.TypeSource
1ca1591bb8Martin SjölundRemove TypeSource for T_COMPLEX
8f183e2f00Lennart OchelExpected output
94b2cb3e1dLennart OchelAdd all built-in intrinsic operators with function syntax
d82857104cMartin SjölundRemove TypeSource from UT/Code/function pointer
c427c9c27aMartin SjölundAdd test for ticket:4112
595797128dMartin SjölundExpected output PR 1405
3662000583Martin SjölundRemove TypeSource from functions
8e9e7fd085Lennart OchelFix --plotAll
376bb8fb93Adrian Popupdates to NFFrontEnd - implement toString for expressions - implement toString for types - add CAST expression - handle Type.FUNCTION better
27d51f2e59Adeel AsgharOnly call showDocumentation for Modelica classes.
8f610cf36bLennart OchelAdd interactive mode to select filename
01ecb31c65Adeel AsgharHighlight the selected sub-model in the 3D Viewer.
a3eb94b14aLennart OchelExit on error
9ec2ada206Lennart OchelRemove redundant help statements
20360a01a7Adeel AsgharClear the 3D Viewer Browser when we don't have any visualization.
a63371439aLennart OchelDump the flags in alphabetical order
507cdb3134Per ÖstlundNFInst improvements.
3b8760114bPer ÖstlundReactivate some scodeinst tests.
fac34e17fdPer ÖstlundNFInst improvements.
d767990dfcLennart OchelAdd support for constants to expContains
d58aa69963Martin SjölundRemove TypeSource from more types
6e57b9f82aMartin SjölundExpected output after tracking less information
b444d8e8c1Martin SjölundStrip DAE.TypeSource from some DAE.Type
67c5d45320Lennart OchelFix ticket:4228
0ca376fbd2Lennart OchelAssume the filename to load if none is specified
062523e402hkieltranslate a few more strings
4b46f22a52Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
b0d9e659b0Robert BraunFixed wrong file extension
b0209e4783Robert BraunMade sure composite models are always saved without dots in submodel names.
0befdd8ffeRobert BraunAdded composite model startup scripts for some more external tools.
d7d530da80vwaurichadd more resolveLoops tests
399ee4122fMartin SjölundAdd an is_utf8 implementation
b7ec83feccMartin SjölundInclude
c18b634215Rüdiger FrankeAdd test for ticket:4224
1d06167c0dRüdiger FrankeAdd integer() to CommonSubExpression.isSkipCase, ticket:4224
22f0d9b888Rüdiger FrankeSupport linear systems in clocked partitions
15bcdab7e4Lennart OchelDon't return success for unimplemented functions
1f4d4e0f1bLennart OchelImprove logging of homotopy-based initialization
ac296bace8Per ÖstlundUpdate scodeinst tests.
20fbe26b5fPer ÖstlundNFInst changes
801d0f7fa4Lennart OchelFix some typos
9cc34f424fLennart OchelRemove wrong cross reference
28d7a3ec1bMartin SjölundAdd FMU before you run it
4af10ea95eMartin SjölundKeep the generated log
a0ae22ecddMartin SjölundCheck the FMU XML for source/ARM
585feed412Martin SjölundAdd missing files for ARM/source
d0079f60e1Martin SjölundFMI website calls "source" FMUs "c-code"
aab7efccdfMartin SjölundFix expected filename of _ref.opt
b143f56ae2Lennart OchelAdd test nlssMaxDensity.mos
bc85cc1ceaLennart OchelAdd test nlssMinSize.mos
c80769b259Lennart OchelFix c runtime command line options (#1383)
800e4b384cAdeel AsgharCheck for the null pointer.
4c5e1a7256Martin SjölundCan't copy files that don't exist
289fa10dafAdeel AsgharFix Qt4 builds. Make moc happy by creating the same class from two different files.
2a58330a38Martin SjölundSave the options file for the FMI testing
4fe59c4ab0Martin SjölundFollow FMI 2.0 schema (no empty output section)
03778b0b35Martin SjölundCopy ReadMe-file to the directory structure
1a4bb2a579Martin SjölundFix for OSX64 FMU generation
6ed4cfdbdbLennart OchelDon't use default matching arguments within postOptimizeDAE
489c3e9adfMartin SjölundNew special testsuite testing
b894ea2c8fLennart OchelNew index reduction method "none"
0c828c123dLennart OchelFix new runtime flags (#1383)
b0da1de61bWilli Braunfix row jac norm sum
8788348c00Willireset BackendDAE after replace simplifid expressions for lambda=0
0ed97dad84Williadded -nlssMaxDensity and -nlssMinSize simulation flags
9ef6922aa3Lennart OchelExpected output
e66beaed58Lennart OchelAdd index reduction to optdaedump output
3b5135a9eaLennart OchelSimplify match/matchcontinue pattern
1754fe34e7vwaurichresolveNodes_cutNodes applies DFS
0ee4ed0ba1Adeel Asgharticket:4218 Don't convert modifiers to string.
733fc0ad3bMartin SjölundMake linear systems not depend on nonlinear
eac1e77012Adeel AsgharMinor fixes. Source code documentation and code cleanup.
e4b0f04fbfAdeel AsgharUse QOpenGLWidget instead of QGLWidget if possible. Re-implemented the viewer to get rid of updating the frame every 0.1 second. Removed the osgQt as is not required with the new implementation.
e54043af62Robert BraunMade it possible to fetch interface data for a single external model
21f7de22efvwaurichreworked resolveLoops
04cd792774qichenghuafixed issue with c runtime due to usage of compressed sparse column/row matrix format
0625e7242eqichenghuaadded Sparse Solver Klu
6f8bb1496fMartin SjölundFix code generation where `&` is used on an rvalue
d5f9643dc5Martin SjölundReturn error value when FMU compilation fails
a317639ebbptaeuberMinor changes
3a026ed7a3vwaurichexpected output
c1e932ba90vwaurichupdate resolveLoops test
c1159bc1cavwaurichsmall fix for resolveLoops + error messages
5eb3a5e96cAdeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
f11690d1e1Adeel AsgharRemoved debugging messages. Indentation. Use tr to mark the strings for translation.
82dba2189cAdeel AsgharRead the position & angle321 attributes of the sub-models.
37eea69b7bAdeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
3d9d102b83Adeel AsgharMerge branch 'robbr48-typed_interfaces'
14f2ab1316Adeel AsgharMerge branch 'typed_interfaces' of https://github.com/robbr48/OMEdit into robbr48-typed_interfaces
7f45e890c3Lennart OchelExpected output
a6ef39968eLennart OchelAvoid nested try/matchcontinue clauses
d82121dbc2Lennart OchelClean up index reduction
946bc4e027vwaurichupdate result file
67f0594b73vwaurichupdate tests for resolveLoops
ab539288e4vwaurichactivate resolveLoops backend module
72c7018ba1Adeel Asgharticket:4215 Allow making connections from the connectors under some shape/component.
5d4e26e87bAdeel AsgharShow an error message if model_info.json file is not found. Show the source when opening TransformationsWidget.
6700d3eb83Willi Braunadd jac row sum as debug output
c067dd3312Adeel Asgharticket:4215 Only use transformation values when no iconTransformation value is available.
055e13df21Robert BraunRemoved unnecessary function calls. Fixed error in causality check.
43afe7f848Robert BraunRemoved no longer used icons.
cd1f1c3d86Robert BraunMerge branch 'typed_interfaces' of https://github.com/robbr48/OMEdit into typed_interfaces
089a78b7e3Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
350ea69042Robert BraunSquashed commit of the following:
0177dac470Martin SjölundGuard GC initialization
b93871bc1cMartin SjölundInitialize GC before Main.init
a7bf0d78b0Robert BraunAdded support for typed interfaces in composite models.
89f201cff8Robert BraunMerge branch 'master' of https://github.com/OpenModelica/OMEdit
c0b745eda8Robert BraunMerge branch 'master' of https://github.com/OpenModelica/OMEdit
15a59b0778Per ÖstlundAdded tests for #3535.
669113dccdPer ÖstlundFix for #3535.
eae1de1990Willi Braunuse sparsePattern.nnz instead of the extended
3d30078291Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a49d9f5aefAdeel AsgharUse the File* instead of QFile & QTextStream. Flush all streams when opening the CrashReportDialog so we get full logs.
860bb91842Per ÖstlundPartial fix for bug3535.
2749b17144qichenghuafix ticket:4213, added scaling of linear systems back again
1b73ef9ac2Martin SjölundIgnore binary files
a6c5fbc289Robert BraunMerge
4a3d23830dMartin SjölundFix bug when author names have digits in them
40f96b87aaqichenghuacleaned up LinearSolver and DgesvSolver. Also fixed minor errors.
a558ce28f6qichenghuaRenamed getSystemMatrix, getSystemSparseMatrix and getRHS in ILinearAlgloop.h to getAMatrix, getSparseAMatrix and getb.
1932b80f27Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
a70aefe48dMartin SjölundRemove unused function
23f4cf88c8Willi Braunfix colprts for sparse matrixes: ida and kinsol
ba209b7022Martin SjölundDo not link pthreads statically in ARM FMUs
5e1589ad46Martin SjölundMake ParModelica String variables an error
bbc489cd20Willi Braunfix identity tmp sparse matrix for ida solver
de1767f0c1Martin SjölundAdd MIC article
12d09da2e1vwaurichfix QVariant type
12cc9eb2adptaeuberExpected output
4d49ee5768ptaeuberRemove unused and superfluous BackendDAE.VAR.bindValue
ed61035c7cRüdiger FrankeRemove obsolete separate initialization of external objects
5e4878f6cbRüdiger FrankeInitialize external objects with parameters in Cpp runtime
8899379f76Rüdiger FrankeRevert "[workaround] Disable sorting of external objects for cpp runtime"
3a5527e786Adeel AsgharBuild the solver combo-box using the enumeration.
9cbbca630cRüdiger FrankeRemove special treatment of string return args, ticket:3446
ad316fd532Martin SjölundTest for binding/variable multi-source type error
dba9dd8f5cMartin SjölundAdd SourceInfo to typed modifiers
ef8bd25c83Adeel AsgharAvoid crashing OMEdit when visual xml file is not found. Some other minor changes.
398fc367b7vwaurichFMUSettingsDialog is a QDialog
66eb20b622vwaurichadd parent to FMUsettingsDialog
d38e1f62d0vwaurichuse gridlayout, rename to FMUSettingsDialog, inherit QDialog
5b8b502b2bvwaurichrenaming in FMU-setting dialog
f026f3d5a0vwaurichsettings dialog for fmu-based visualization
92c7f2f737Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
87791ed75fAdeel Asgharticket:4204 Look for the parameter value in the parameter containing class not in the parameter class.
a84805429dAdeel Asgharticket:4204 Don't insert the default font name.
e347601001Matthis ThoradeUpdate ompython.rst
5523709ed4Adeel AsgharFixed the image files selection.
7e6f4d2bedPer ÖstlundUpdate testcases.
6730d6f6caPer ÖstlundFix extends handling in NFInst.
585372424aLennart OchelAdd test for ticket:3446
1bf65f3a3aLennart Ochel[workaround] Disable sorting of external objects for cpp runtime
cde3ffc4daLennart OchelClean up code generation
df2b1c7b2cLennart OchelInitialize external objects together with parameters
178a284366Adrian Popadd test for ticket:4209
d2c938f97aAdrian Popfix ticket:4209, suppress wrong error messages
1240784e21Adrian Popuse memset instead of non-standard bzero
6eb0fce4b4vwaurichmove 3dvisualization doc to omedit doc + more info about 3d view
50c21a3dc5vwaurichchange visualization screenshot
11887a5e20vwaurichdocumentation about view manipulation
7054a8cf5eAdeel Asgharticket:4204 Show the inherited text annotation. Use compare instead of contains.
c639862be7jhagupdated expected output
e3ba94bad6jhagwrapFunctionCalls is activated and add configFlag --wfcAdvanced to skip more than default cases
e7c76f7dd8Rüdiger FrankeIntroduce subactive evaluation mode for clocked equations
ee09ab4b85Rüdiger FrankeEnable synchronous DID.mos and disable synch.mos, ticket:4168
d7af447181Rüdiger FrankeAdd test for clocked partition with algebraic loop
b6f31a2877Rüdiger FrankeAdapt test to new solver method ExplicitEuler
d316ab24acRüdiger FrankeAdd synchronous solver method ExplicitEuler, besides ImplicitEuler
c2a8668fa3Rüdiger FrankeGenerate code for algebraic loops in clocked partitions
94bbd23063vwaurichtest for evalFunc, dont evaluate when Inline=false
82570014f5vwaurichdont evaluate functions with multipleDim arrays and Inline=false
25bd058eb6ptaeuberExpected output
bff7053b1aptaeuberAdd warning for parameters with no binding
5b3abe4115ptaeuberExpected Output
97e737eda2ptaeuberImprove Dynamic Tearing
1ca860be40Adeel AsgharAdjust the geometries if LineAnnotation is connection type. Assert if index is out of bound. Don't show connection properties dialog while creating connection.
0159c0b355Adeel AsgharWrite co-simulation result file with just initial data.
6fe10d0a70Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
0642e414acAdeel AsgharUse foreach when auto saving the classes.
79b168d497Adeel AsgharFix builds without OSG support.
5a4232c738Adeel AsgharGet rid of QOpenGLContext::swapBuffers() warning.
801e73acdcAdeel Asgharticket:4199 Show the Qt::WaitCursor when translating the model.
6dca91bc1aAdeel AsgharFix the Windows fallback backtrace implementation.
bce2ab2861adeas31Use GDB backtrace but use existing backtrace as fallback
8b00b74228Adeel Asgharticket:4197 Print backtraces from all threads.
bce55d41b9Adeel AsgharChange the way stdout & stderr files are read.
b2d0c750a9Adeel AsgharShow the 3dviewer when metamodel is opened. Create all animation actions in base class.
15a75e08c5Adeel AsgharRemoved the unnecessary include.
c431370d5ehkieldo not move closed cells
f2b1e1b960hkielfix crash when moving closed group also allow moving of cells with e.g. style=Title remove style "Latex", "Input" and "Graph" from styles menu increase stack on win64
312cd02080Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
3affbfbc66Adeel AsgharDon't add shorcut to simulation action.
7c611be0bcadrpoadd QAction include
0f985b2a95Adeel AsgharUse the override keyword. Include the Visualizer header file.
8f6fbc6b42Adeel AsgharMerge branch 'adeas31-3dviewer'
dd5cb095a8Adeel AsgharAdapt the code to the master. Added new class ThreeDViewer.
8e16482f28Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
058097eaa5adrpofix the compilation of OMEdit for qt4
a4247ce982Adeel AsgharSet different camera views depending on file types.
8b8668557fAdeel AsgharRemoved unused perspective icons. Added the documentation editor icons back.
aa32cc20fdRobert BraunAdded cleanup and comments.
774de79447Robert BraunRemoved most perspectives in animation and added two camera rotation buttons instead.
acdc74202cRobert BraunSome comments and code cleanup.
ef3a48f802Robert BraunAdded more viewing angles for the animation camera.
1759e5b815Robert BraunCorrected colors for animation inertial system.
127dcf2babAdeel AsgharHandle the case when there is any error running the simulation process.
f6d36f5eccMartin SjölundFix letter Å escape
830a027610Adeel AsgharStarted work on 3d viewer. Added a new dock widget. Make an abstract animation window.
53615d36a8Robert BraunMerge branch 'master' of https://github.com/OpenModelica/OMEdit
1089fb91a4Robert BraunAdded cleanup and comments.
56dc448288Martin SjölundAdd some sanity checks for threads
6fc8fd09d6Robert BraunMerge branch 'robbr48-master'
509fbc4530Robert BraunMerged with master
4f5f4d95f8Robert BraunRemoved most perspectives in animation and added two camera rotation buttons instead.
fdc41236e2Martin SjölundAdd an entry for latex templates not sorting Å
468d99e894Adrian Popfix SystemImpl__directoryExists for Windows, cannot end in (forward) slash
fc06c2d590Adrian Popfix OMNotebook version on Windows
529e848b1cAdrian Popfix include file case
a86c50fc5cAdeel Asgharticket:4188 Fixed a minor issue with connection creation.
d53fe054d9Adeel Asgharticket:4186 Handle illegal class name.
15710a3c2aAdrian Popfix Makefile
3c48d0f4c9Adeel AsgharMerge branch 'master' into master
46085afbb3Adeel AsgharUse QAction instead of QToolButton.
e10346fb08Adeel AsgharDo not use QIODevice::Text when writing file. Removed the extra arguments from queryCommandState & queryCommandValue.
c93c60349bAdeel AsgharAllow creating link and unlinking it.
0be5dc2035Adeel AsgharAdded indentation, bullet lists & numbered lists formatting.
0770b88bf6Adeel AsgharAllow block formats and text font.
3f37fd0bdaAdeel AsgharAllow alignment of text.
f8fd5149f5Adeel AsgharMissing icons from last commit.
6994e0e33dAdeel AsgharAllow text & background color formatting. Use QToolbar instead of QStatusbar. Use document.execCommand to apply formatting. Use document.queryCommandState to get the command value.
d59cd50086Adeel AsgharAllow strikethrough, subscript & superscript formatting.
e0a6892441Adeel AsgharUpdate the html editor when html source is changed.
7431598bf6Adeel AsgharAllow bold, italic & underline formatting on the text.
6dd14bd1efAdeel Asgharticket:4067 Use QWebView as WYSIWYG editor.
fd4a2e4567Martin SjölundAdd Eurosim 2016 paper
39401d8ee3Martin SjölundAdd A Portable Debugger for Algorithmic Modelica Code
25da439977hkielcreate Application/ path before copy on macOS
a0a5b1988dhkielcreate Application/ path before copy on macOS
ab97b73b70hkielcreate Application/ path before copy on macOS
f820c1595cRobert BraunSome comments and code cleanup.
ed54070336Robert BraunAdded more viewing angles for the animation camera.
558fab013fMartin Sjölund[Susan] Remove unused imports from generated code
4b750e74f9hkielfix path to OMNotebookHelp.onb on OS X
6b8c595556Martin SjölundAdd note about pkg-config
e1918e8196Adrian Popthis is really ridiculous
5042c645fbAdrian Popfix ticket:4125, use mmc_(u|s)int_t instead of long!
484baa8629Adrian Popfix Windows compilation, generate omc_config.h
3f1dccbac4qichenghuaAdded first version of nonlinear solver Nox. cannot be compilated at the moment, because Trilinos is not part of 3rdParty yet.
f98c10fc79hkielFix windows makefile such that OMNotebook is built again
ca147d71c2Adrian Pophandle if expressions
8ac8faf6c5Adrian Popmore changes to new frontend - change the scope of the extends modifiers to be able to lookup them - minor typing fixes
5fed053888Adrian Popmore improvements to new frontend - provide souce information to all DAE elements - flatten all statements and equations (except connect) - use a for loop in DAEUtil.getVarBinding
778e564d0aAdrian Popuse execstat for new front-end phases
73f37044f4Adrian Popnew frontend improvements - copy sections from inherited classes to the instantiated class in NFClass.instExpandedClass - fix some typing issues - handle "pre" - do some pour man's evaluation on the dae - handle FOR equations with simple ranges - handle WHEN equations - transform SCode.ENUMERATION in a class with parts - whith this about 37 models from ScalableTestSuite are flattening
bd49963530Adrian Popfix ticket:4190 allow arrays components in when conditions
6757b5356fAdrian Popfix ticket:4190 allow arrays components in when conditions
26d9240a01Adrian Popcreate the directory during docs target
8b0bf11b7bAdrian Poponly display the error when failtrace is activated
21bd84fa55Adrian Popsmall fixes for Windows building - we don't have mico anymore, use use omniOrb - set global roots to zero by default - if we find OpenCL.dll in Windows generate libOpenCL.a so that ParModelica can be used
9cb4af35ddAdrian Popfix tests after the -d=gen flag is deactivated by default
8b58dcc5a3Adrian Popadd a JSON serializer for any MetaModelica data
9d5437f858hkielallow recursive evaluation of cells before only 4 levels were processed cleaned up code updated translations
40df40dd7ehkielmove OMNotebookHelp.onb out of DrModelica directory
423c1a8edfhkielupdate german translation
35769069c1hkielDo not use translated text to identify objects
a900579ca9hkielDo not translate keyboard short cuts update translation files update section numbering when moving cells
5dcefeb44ahkielupdate Help document latexcells were missing for one
c7905b99b1Robert BraunCorrected colors for animation inertial system.
07f0252d11Martin SjölundAdd ISSE paper
1082848717Martin SjölundFix case of the latest publications
823536e494Adrian Popsome updates to OMDev readme
9fabde55bcMartin SjölundCopy entire array when a dimension is unknown
4a890b8972Martin SjölundUpdate tests for -d=nogen being the default
334f2f6227Martin SjölundChange the default of -d=gen to false
cefa7f5ce3Martin SjölundStop using deprecated + for OMC flags
298a396604Martin SjölundRefactor SimCode.mo for bootstrapping tarball
7311f9ccc8Martin SjölundDo not allow paths like A..B.C (typo in grammar)
d234d60710Adrian Popfixes for ticket:4183, copy the needed dlls inside FMU
1ff9520e75hkielfix cases where tranlated text is compared to non-translated
f4846858afhkielapply setMenuRole for the About menu items add my email address to about window
7d51e862bdhkielfix loosing translation
95dc78d12bhkielmake OMNotebook UI translatable create german translation
0af374d1beAdeel AsgharCheck for settings before applying it.
2a345f62a2Adeel Asgharticket:4177 Remember the check state of copy proprieties to icon layer.
3de88f0100Adeel Asgharticket:4178 Update the text binding when reference shape is changed.
8b76c51426Adeel AsgharFixed the crashes because of dangling Component pointers.
ee053f0377Martin SjölundUpdate gitattributes
04ae07af66Martin SjölundAdded testcase for splitting generated code
c3e6c1b0eeWilli BraunRevert "generate sparsityPattern for EQUATIONSYSTEM without rewrite equations"
ffd20b2da0Martin SjölundExpected output for changing unparsing
3a09a12c24Martin SjölundAdd newline after annotation in AST dump - list()
d1572e3d0eNiklas Worschechdeactivated sort of jacobian in SimCodeUtil
cab8786aafNiklas WorschechSeparated nonlinear and linear system and the corresponding solver in two classes -adapted Newton,Kinsol,Umfpack,Hybrj,Broyden for new linear and nonlinear System/AlgLoopDefaultImplementation.cpp -separted AlgLoopDefaultImplementation in two classes -adapted cpp and fmu cpp tempalted to new linear and nonlinear System/AlgLoopDefaultImplementation.cpp
3e1f3605caNiklas Worschechremoved also umfpack folder
f2e44a7146Niklas Worschechremoved umfpack test correctly
d60d7e6595Martin SjölundRemoves tabs, use algorithm section
358e3d7c4eNiklas Worschechdeactivated umpfack solver and corresponding test, using klu instead
fdb6f8fcbbhkielfix some warnings
a617ea79c6Per ÖstlundNFInst clean up.
917aacc9c5Willi Braunremove debug output from testcases
c978947114Willi Braunsuppress debug output of max tearing size
d1d09a165bWilli Braunadded LOG_SOLVER_V
c791818776Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
0bc5dab6d9Adeel AsgharUse the negative angles instead of multiplying the matrix with minus.
1de059644chkielsupply custom Info.plist for OMEdit connects ".mo" files to OMEdit on OS x
a74d179334hkieladd missing keyword override
4737c560c0Willi Braunadded daeMode problem7 (records testcase)
ab3e53f817Willi Braunfix daeMode for records fucntions
b6789acf3eWilli Braunadded debug flag to disable coloring
0f5d188abbWilli Braungenerate sparsityPattern for EQUATIONSYSTEM without rewrite equations
31e6d94d3fAdeel Asgharticket:4175 Check for null pointer.
648ebcb207Adeel Asgharticket:4175 Remove the unexpected integer formatter.
33f3c335f8Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a3df365209Adeel Asgharticket:4175 Start the tcp server from the main thread.
cc7fdac270Martin SjölundUse CXXFLAGS instead of CFLAGS
db43981415Martin SjölundUpdate common.git
9fcae81e34Martin SjölundAdd OMCompiler prefix if there is no REVISION file
c0e07c609bMartin SjölundFix duplicate project names in crash dialog
db79fa717cMartin SjölundPass the PACKAGE_NAME to semver.sh
68920ea8ebAdrian Popupdate the buildings2csv script
6f62e74c72Per ÖstlundFix bootstrapping tests.
8c0a156152Per ÖstlundNFInst improvements.
56e466c584hkielprocess events during startup to catch FileOpen event prevents DrModelica to open up
71a78d0240hkielsome code cleanup + listen for FileOpen events new About window (like in OMEdit) store ini file in openmodelica folder (like OMEdit) provide custom Info.plist for OS X to set file extensions maximize window on start
926c35e44cAdrian Popupdate common
ce0dd877bfAdrian Popsome small updates to OMEdit - unify Windows / Linux version handling - update the contributors list using the git log
9ba9c3d97cAdrian Popunify the way we handle version in Windows / Linux - add OpenModelica prefix to the CONFIG_REVISION in omc_config.h - removed OpenModelica prefix from Windows generated revision.h
051f9ea231Martin SjölundHandle race condition in launchParallelTasks
4041222e85Martin SjölundUpdate CXXFLAGS in a better way
29e5dffaddhkielShow help text in statusTip for command completion do not do command completion in LaTeX cells
e2c90aecd8Martin SjölundFixes from static error checker
01d94035fcMartin SjölundAdd the build system to the crash dialog
75245d0f8dMartin SjölundSome fixes from static analysis
a21855eb9chkielEnhance appearance of OMNotebook make treeview dpi-aware make LaTeX images transparent shorten latex image resource name
f86d92dc17Martin SjölundSome fixes from the static analysis
21c9c6decaMartin SjölundAdd a default message in crash reports
4fc6fb7d71Adrian Popminor performance enhancement for OMC API
7e9c752ce2Willi Braunfix printSparseStructure
a5282288afWilli Braunimprove debug prints for daeMode
0ab52c8971Peter FritzsonCompleted support for checking Unary operators in checkUnaryOperation.
67fd997553Peter FritzsonNF typing and typechecking of unary operators
f25b1b5980Adrian Popattempt to make the windows compilation more robust
2395ff7ffbAdrian Popfix annex conversion script
a7e1b49fbdMahder GebremedhinTyping updates for new Front-end
0d56452a06Willi Braunfix printSpasityPattern for daeMode
3f5a3c0eddMartin SjölundRemove sundials on make clean
0514fbef76Adrian Poptry to run mkbuilddirs before anything else
8e2082b948Martin SjölundIgnore linker errors when checking osgQt
f5162837d9Adrian Popimprovements to function handling - handle some of the builtin functions - handle named arguments - check argument type, variability, etc
f9f842ff0ehkielwhen exporting to PDF, redirect .onb links to respective .pdf fix DrModelica stray CR symbols ( ) remove debugging fprintf call
d59b496255Martin SjölundDo not add a uses-annotation to the own library
cfb8e3b4b8Martin SjölundGuard against NULL pointer
fc47cd54dcMartin SjölundExpected output (is a warning, not an error)
c7e8c027fcMartin SjölundDo not fail for a warning
e952f3dd47Martin SjölundAdd test for when not initial()
de28a2253fMartin SjölundPerform type-checking on when conditions
4a4bd52ca0Adrian Poppartial support for handling functions
ee38431572Per ÖstlundUpdated nfinst test cases.
da294f8106Per ÖstlundNFInst improvements.
974e2ad5bbAdrian Popdocs depends on mkbuilddirs
6c8d8e35dcAdrian Pop-use $MAKE instead of make
7c099633cfAdeel AsgharCheck if file is relative.
a0aa3a8145Adeel Asgharticket:4164 Open files at start up on OSX.
8c4133092eLennart OchelFix dummy attributes
0fed15a306Adeel Asgharticket:4162 Enable the Re-simulation toolbar buttons when they are valid.
43fd21c391Henning KielMerge pull request #9 from hkiel/export_pdf
c71d5f3030hkielExport Notebook as PDF
9b4c1fe108Lennart OchelFix dummy real attributes
6b50eb6b6aPer ÖstlundAdded testcase EnumFuncIf.
9da1640afePer ÖstlundAdded new flag condenseArrays
763e6051cfarun3688frontend unitchecking testcases
bfd4680035arun3688FrontEnd unitchecking
30ec275319Adeel Asgharticket:4156 Find a proper base zoom factor for documentation browser.
6e46b93b54Adeel Asgharticket:4156 Do not set maximum height. Use the layout stretch and alignment.
c395f7d168Adeel AsgharSkip the log messages received as a result of pending breakpoints.
b947d01b2aAdeel AsgharUse the GDB path defined in settings unless user specify something.
9fb1bc8ee5Henning KielMerge pull request #63 from hkiel/omedit_spellfix_de
f170480811Per ÖstlundFix compilation without sundials/kinsol support.
1a6da6c0d1hkielSpell fix and some more german translations
5b7362b4c2Adrian Popadd all Codegen*.mo to .gitignore
c9f07ae18cAdeel Asgharticket:4156 Get rid of about us image. Added a simple about dialog with required information.
cdab4c8291Adeel Asgharticket:4156 Do not set icon size for QToolButton.
21099cd523Adeel AsgharMake format and indentation settings take layout space.
0ee5536fa5Adeel AsgharAdded support for generateVerificationScenarios API.
debe19c08bMartin SjölundInitial commit for embedded C code generator
6edbc337ddMartin SjölundUpdate expected output for new failure
5a1555084fMartin SjölundUpdate expected output for OMCompiler PR:1034
8dcb4435dfMartin SjölundUse AvlSetInt instead of lists for inc. matrix
dc675db2f1Willi Braunticket:4159 fix some flag descriptions
871e08ca25Martin SjölundAdd requirements tests
fdfc4244b0Lena Buffonisupport for verification scenario generation from requirement models
dc6a62bbcbAdeel AsgharAdded a test for getClassNames includeConstants.
f727803aa1Martin SjölundPatch bootstrapping tarball
561c2f95c3Adeel Asgharticket:4152 Added includeConstants argument to getClassNames API. If true then the API will also return the constants of the class along with classes.
aaff7c6ef8Adeel AsgharRespect the case-sensitive operating systems
9db63a724fAdeel AsgharMerge pull request #62 from adeas31/packageOrder
5ee52d30efAdeel AsgharMerge pull request #61 from vwaurich/dxf
e824f3766eAdeel Asgharticket:4152 Use getClassNames API with includeConstants true to get the correct package.order file.
238ea3c744vwaurichfix tabs, fix normals, fix colors for dxf
1df8a4a522Willi Braunadded kinsol/klu solver support with sparsity
ff3d39d281Willi Braungenerate always SparsePattern for non-linear algebraic loops
e773202288vwaurichan own basic dxf file reader
af8cd3e3f6Martin Sjölundv1.12 development
a06a95d477Martin SjölundStart v1.12 development branch
f97e7f0133Martin SjölundIgnore tracreleases file
ecceebd66dadrpomake sure we don't have a old version number when no git present
6e7e014274Adeel Asgharminor fix.
7c4d49a03bPer ÖstlundTest case for qualified cref in eq for nfinst.
2ccad20e28Per ÖstlundFix lookup of qualified crefs in nfinst.
e1efb57dc1adrpoisXMLTCP is defined only if NO_INTERACTIVE_DEPENDENCY is undefined
466e9054c4Adeel AsgharShow the tlm co-simulation output widget.
3ee365e698Niklas Worschechuse boost 1.59 if Visual Studio 2013 is used
837a849684Adeel AsgharConvert all caps models to all lower-case component name.
640b434db8Martin SjölundAdd testcase for ticket:4153
daab8bb4b0Martin SjölundAllow multiple class annotations in diff algorithm
b0c9b43750Rüdiger FrankeAdapt log levels to OMEdit, ticket:4048
dfe7b6fc80Adeel Asgharticket:4048 Use black color for debug messages.
ce441e184chudsonMerge remote-tracking branch 'origin/master' into pullrequest
c9166ece2bAdeel AsgharUse the new log format xmltcp. Fixes ticket:4048.
407fc9c9b8Adrian Poplink generated executable with with wsock32 and ws2_32
a8258d47b3Martin SjölundFMUs cannot set logFormat
8dec8301dcAdeel AsgharUse str to clear the stream instead of clear. Make sure we count the opening of tags.
cfb2366b50Martin SjölundAdd logFormat=xmltcp
14a1a1e740Martin SjölundCheck NULL pointer
7bf56647c2Rüdiger FrankeAdapt OMEdit test to support for log-port
e02bbf266fRüdiger FrankeImplement logging of simulation status
ad7adca9d9Rüdiger FrankeUnify treatment of Logger instance
d9f30dc8beRüdiger FrankeImplement logging of simulation status
01ca4a37e7Rüdiger FrankeUnify treatment of Logger instance
d0b0597942Martin SjölundUpdate common
6205bffc42Martin SjölundUpdate common
9ab760bb9aMartin SjölundUpdate common
be0978fa3eMartin SjölundUpdate common
747145757ehkielfix qmake.sh on darwin
f416947033Martin SjölundCheck for NULL pointer
04a34277fcMartin SjölundDisable qmake default optimization flags
6b059e07eaadrpofix windows builds add libs wsock32 ws2_32
ffae961dcbAdeel Asgharticket:4067 Fixes the issue with quotes. Allow users to edit __OpenModelica_infoHeader as well.
6f4354a8f7Rüdiger FrankeExpected result
3a460b5f00Rüdiger FrankeAdd xmltcp logger to Cpp runtime, ticket:4048
712e12e558Willi Braunadd try-catch execption if initialSolverData fails
0c85d9a679Willi Braunadd exception for ida solver if no sparsity available
93e212efd9Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
820fa362c8Adeel Asgharticket:4067 Added a HTMLEditor for editing the documentation.
b3690d826cMartin SjölundDo not include OSG if it was disabled by autoconf
95e5e65f3dWilli Braunimprove symbolic jacobian generation
42a36d050cHenning KielMerge pull request #59 from hkiel/fix_osx_locale
6202e56de9hkielFix compilation error on OS X Fixes: main.cpp:262:13: error: use of undeclared identifier 'LC_NUMERIC' setlocale(LC_NUMERIC, "C");
dcfd6aa71aPer ÖstlundAdded and reactivated new inst test cases.
e4cfc38aa7Per ÖstlundNew instantiation improvements.
7bba37e0f1Adeel AsgharFix Qt4 build.
154add01c3Adeel AsgharGet rid of MainWindow.h from some files.
d7fc7be80cPer ÖstlundGenerate less empty structures in absyn2SCode.
7032c24e6cAdeel Asgharticket:4145 Make sure transformational debugger is window is shown.
2d943e02fbadeas31Another try to fix Qt 4 build.
f326a4abe6Adeel AsgharFixed compilation for Qt4.
07c61dcd98Adeel AsgharUse filter instead of search.
60beb68eceMahder GebremedhinType checking updates for the new fron-end
b91a3a1fc0Adeel Asgharticket:2960 Defer calling the getComponents API. Speeds up browsing the items in Libraries Browser.
b781dc9d5bAdeel AsgharAdd 32/64 bit version.
5c53f53d26Adeel AsgharMerge pull request #56 from vwaurich/coffee
035d208646Adeel AsgharAdd 32/64 bit to OMEdit version.
cdbc31880bAdeel AsgharMerge pull request #58 from adeas31/optim
96058a8c37Adeel AsgharMake the OMEdit compilation faster. Moved around the headers. MainWindow is singleton and is access via MainWindow::instance()
ef666abbebPer ÖstlundReactivate scodeinst/mod11 test.
bd46362ef9Per ÖstlundFix the check for final modification.
43b4bb6a08Per ÖstlundReactivate duplicate mod test for new inst.
dc38639c44Per ÖstlundBetter error for duplicate mods in new inst.
2c7afbd075vwaurichfix signalArrows in visualization
b0d17837a4Per ÖstlundReactivated some testcases for new inst.
e68f0a0edbPer ÖstlundNew instantiation improvements.
c7bd235ce5Martin SjölundExpected output for upstream MSL fixes
592cec8b7bvwaurichdont evaluate functions with unknown type on lhs
e11567af82ptaeuberFix vararrayList
63b77e7310vwaurichdont add A-Vars of statesets to BackendDAE
f8dc2395f4vwaurichproper visual xml name construction
555ce77f04Martin SjölundMake test utils able to clean more generated files
36ece8b956Martin SjölundUpdates for upstream library changes
a343431667Adrian Popsome fixes to modelDescription.xml import
fdec2bcb94Willi Braunimprove sparsePattern dump
9c53a045b6Adeel AsgharOnly update the changed item instead of invalidating and updating the whole view.
9220e9e02eAdeel AsgharMerge pull request #28 from arun3688/master
81be08cb86arun3688journal paper updates
797a4ef71calash325Better naming for imported modelDescription XML
33b3b8e0faAdeel Asgharticket:4144 Use anyString to print the Integer values.
a5073bb316Alachew MengistMerge pull request #57 from alash325/importXml
b3e955ca30alash325Import FMU modelDescription xml
c5bf1173caAdeel AsgharMerge pull request #55 from lochel/tolerance
4eca2ca5dbAdeel AsgharWrite the visual xml file for meta-models.
fffa3f0634ptaeuberAdd test for hideResult evaluation
901d152b73ptaeuberUse qualified component names in hideResult attribute
3ca15dd01cAdeel AsgharAllow users to specify the geometry files from the GUI.
128f21dac4Per ÖstlundReactivate more NFInst tests.
350333d627Per ÖstlundNFInst fixes.
545b9125c9Per ÖstlundReactivate new inst tests.
adf0f0d498Per ÖstlundFix broken stuff from previous new inst change.
2d9ba573cdvwaurichfix pipe-shape and xml file name assembly
ccaec3f259Adeel AsgharEscape the dot character.
84f0aab5d6Adeel Asgharticket:4078 Do not sort the record members.
ff77116621Martin SjölundChange OpenGL test to a linking test
a4e7088519Rüdiger FrankeCorrect logging for FMUs and IDA
b6a7a6d692Rüdiger FrankeLog errors during initialization and asserts
f2e948cbedRüdiger FrankeGive log categories full names
c26746fb49Rüdiger FrankeAdd debug log for event conditions
a556edebe9Rüdiger FrankeConnect Cpp Logger to FMI2 callback function
edbd85c1a7Rüdiger FrankeLet Newton not scale Jacobian columns
47e18462faRüdiger FrankeSuppress duplicate error message if simulation fails
066543650fRüdiger FrankeAlways do at least one Newton step
2349aedb75Adeel Asgharticket:4078 Quote the string values.
e4d06b9185Adeel Asgharticket:4078 Select the frame with single click or with mouse up & down.
8bcaf99c04Lennart OchelUse 1e-6 as default tolerance value
b906ae8e87Adeel Asgharticket:4078 Go to the actual line number after opening the file.
faf638a82eAdeel Asgharupdate submodule.
66a404eb43Adeel Asgharupdate submodule.
f5281618d2Adeel Asgharupdate submodule.
ba319245d5Adeel Asgharticket:4132 Added pathStripSamePrefix function for addComponent API. Makes the path relative to class.
ee596526faAdeel Asgharticket:4132 Always send the full path. addComponent API makes the path relative.
7f31e3155cRüdiger FrankeLet Newton scale Jacobians of linear systems as well
863c7b71a4Rüdiger FrankeLet Newton solver catch errors from analytic Jacobian
3821a19a84Rüdiger FrankeReduce code nesting in Newton solver
7d6aaa01ccRüdiger FrankeScale Newton solver with nominal values
450b5bea1cRüdiger FrankeIncrease accuracy of Newton solver
f4d1b5a5a6Rüdiger FrankeReactivate analytic Jacobian for Newton solver
965594a853Adeel AsgharUpdate the time when slider is moved. Connect to returnPressed signal of time text box instead of textChanged. If time is out of range then set start/end time automatically. Make the animation run until the end time.
54ab0e4ed3Martin SjölundDo not crash when reading a parameter
66a60fc28dAdeel AsgharMerge pull request #54 from vwaurich/FMU2animation
153b56ca17Adeel AsgharUse different timers for updating scene and rendering frame.
581db7c288vwaurichfree fmu in destructor
f7938841deAdeel AsgharChanged the speed textbox to editable combobox. Use MessagesWidget for errors instead of cout. Disable some warnings.
205399a72eAdeel AsgharMerge pull request #53 from vwaurich/FMU2animation
fc2a603295Martin SjölundCheck for broken OpenGL headers
1fccf2c310Martin SjölundAccess QT_INSTALL_HEADERS in autoconf
90c956c7d9vwaurichadded FMI 2 animation support
40b6e79b5bRüdiger FrankeActivate Kinsol overflow test to avoid endless iterations
77ccba7f6dAdeel AsgharFixed reading of csv file for animation.
1d320bd8e5Adeel AsgharPut the command in commands list.
fdac34ca5dMartin SjölundAdd workaround for trusty ARM builds
45442e0b45Adeel Asgharticket:4078 Check if the program to debug exists. Show the log-stream-output. Moved the text cursor movement code to Utilities::insertText.
2cc5196e18Adeel AsgharMerge pull request #52 from vwaurich/stl
4c36a6ab34vwaurichconsider lengthDirection for stl animation
1b514e3f3cMartin SjölundSimplify counting number of real variables
395f379f66Martin SjölundInclude MainWindow first
ad91fb190dptaeuberExpected output
d487be4fdbptaeuberAlso simplify DAE.NOT() wout type
8b157e53f5Henning KielMerge pull request #8 from hkiel/math_latex
bf7b443863hkieluse math packages as default larger font size (12pt)
a50dbe10e5Martin SjölundUpdates to source-code FMUs
efd9b1f671Rüdiger FrankeCheck for FMUType, ticket:4130
844621f31bRüdiger FrankeMake internal copy of instance name, ticket:4130
3ea1312965Martin SjölundAdd test for ticket:4110
d1a64527d1Martin SjölundHandle the type specifier being lost in the diff
f1305a4624Adeel AsgharOpen the AnimationWindow if visual xml file is created for meta-model.
254c72ac32Martin SjölundInclude MainWindow first
cb6ed1924aAdeel AsgharUse name instead of name structure for meta-models.
91a2bb438cptaeuberAdd spline interpolation also to ModelicaTables
f95c55c9dbAdeel AsgharFree the mat reader.
6080ee737dMartin SjölundAdd test to makefile
c985fbe31bMartin SjölundAdd test for ticket:4110
9c32ee8c0cMartin SjölundHandle whitespace in single tree diffs better
6fb589f2c0vwaurichtest for visualization results
39d920f4acvwaurichset hideResult to false for visualization vars
ea443c094cMartin SjölundFix compilation
4e7e8b6a85Martin SjölundAdd diff test for moving connections
e0cca96a48Martin SjölundHandle multiple connection points being changed
163abeae8dMartin SjölundInclude MainWindow.h at the top of the files
3464745fc7Sebastian PinnauCompile OMShell with C++11, ticket:3990
87a6e8b2b6Sebastian PinnauCompile OMNotebook with C++11, ticket:3990
736a94383aRüdiger FrankeRemove obsolete function
49cb49cbeeLennart OchelSimplify some auxiliary function implementations
ae83d42bb6Martin SjölundInclude MainWindow at top of ModelWidgetContainer
d0f1e8fef2Martin SjölundMove around includes for OSG before Qt
cca794cd98Rüdiger FrankeAdd test for RefArray, ticket:4093
aab9128e47Rüdiger FrankeMake test matrix non-square
291db471e1Rüdiger FrankeAvoid removal of DIDtuple test during each run
0a3b00f2b2Adeel AsgharMerge pull request #51 from spinnau/fix_compile
5f031ab4b3Adeel AsgharMerge pull request #50 from rfranke/revert
54b3c26c56Sebastian PinnauAdd missing include "Utilities.h" for MdiArea class
9174ea306bRüdiger FrankeRevert "Fix states in Variables Browser"
f44f9c5092Rüdiger FrankeSmall optimization to RefArray code generation
9298f3ac13Adeel AsgharSwitched the positions of step-over and step-into buttons.
1ee8c832b9Rüdiger FrankeRewrite SimCodeUtil.getUnrolledArrayIndex in procedural style
e657602228Rüdiger FrankeUnifiy storage order of RefArray, ticket:4093, ticket:4072
74b8f7b0caAdeel AsgharFree the csv reader when the AnimationWindow is closed.
93e1990b26Adeel AsgharFixed compilation.
9e20f41d5fvwaurichAdd test for MDD
7b7a3d9bf1Martin SjölundInclude OSG headers before OSG since they conflict
7359ea2c9aNiklas WorschechFix for division during internalization in cpp runtime
96f16777fbNiklas Worschechadded Modelica Randaom to cpp runtime build
d4c60ec6c6Adeel AsgharMissing files from last merge.
3773a4fac6Adeel AsgharAdded the missing header include.
65264a9d87Adeel AsgharMerge pull request #48 from OpenModelica/VisualizerCSV
e2917fec47Adeel AsgharFixed merge conflicts. Conflicts: OMEdit/OMEditGUI/Animation/Shapes.h OMEdit/OMEditGUI/Animation/Visualizer.h OMEdit/OMEditGUI/Animation/VisualizerMAT.h OMEdit/OMEditGUI/OMEditGUI.pro
95bc48164dLennart OchelOnly mark states as changeable if the start attribute is constant
0a6f4eaa4dAdeel AsgharCheck file:// alongwith modelica://
20fdf80f59Martin SjölundAdd test for comments moving around
db9157bbc1Martin SjölundHandle comments moving around
9e0b740549Martin SjölundMove some includes, tabs to spaces
93bd45ea55Mahder Gebremedhin- Escape quoted idents in aliases in _init.xml
98461c47a9vwaurichfix FMU string-type start attributes
a3b03f07d4Rüdiger FrankeComplete fix for 3dim RefArray, ticket:4093
73f7fca979Rüdiger FrankeAdd error if daeExpCall finds no match
9d2afbbc4aWilli Braunexpected output
3cd68ac53dWilli Braunmove findZeroCrossings to a postOptModule
1081354d0ePer ÖstlundRedesigned NFInst to eliminate InstanceTree.
bc49d1dcb5vwaurichadd warning for external alias
1731292fc2vwaurichadded case in external alias detection
ef930f34ffMartin SjölundHandle compilation without OpenSceneGraph
960c5a6830Adeel AsgharOnly show the animation window for mat files.
8898d52332Adrian Popadd test for ticket:4124
0c7a532a0cAdrian Popfix ticket:4124
e3e1ababedWilli Braunupdate test
786193c160Willi Braunimprove dynamic state selection
e5b2e5ef77ptaeuberAdd test for hide result evaluation
70c742284fptaeuberReplace evaluated parameters in hideResult
174499f2dcAdeel AsgharCSV based 3d visualizer.
13ca3e56b2Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
78b64bf862Adeel AsgharRemove the file extension for display name. Use the name instead of classname.
481083a2b5Martin SjölundCheck for OpenSceneGraph at configure time
f8860f9a09Lennart OchelRemove superfluous whitespace from generated xml file
8747e2fe2bLennart OchelRemove superfluous whitespace from generated xml file
ea606a1b8avwaurichfix 3dim array for cpp
a327d66063Lennart OchelRemove attribute useStart from model_init.xml
f2641d78a3Lennart OchelRemove attribute useStart from model_init.xml
369fd73a59Rüdiger FrankeExploit structured logging for Newton solver
b33fa8f021Rüdiger FrankeMark constantly failing test failing
5a8bf93d9eRüdiger FrankeExpected output for XML logging
a94610ae08Rüdiger FrankeExploit structured logging for LOG_INIT and LOG_STATS
7c61be0ea8Rüdiger FrankeUnify command line names of log settings
f001583812Rüdiger FrankeImplement XML logger for Cpp runtime in OMEdit
9100a82689Adeel AsgharMerge pull request #47 from rfranke/simtool
ebbc16a71bRüdiger FrankeIntroduce new Check Toolbar, in addition to Simulation Toolbar
1e16904871Rüdiger FrankeOnly initialize variabes with start value from init.xml
c2fc6e6842Rüdiger FrankeFurther extend DIDtuple test, ticket:4093
c60d86d4feRüdiger FrankeAdditionally check for array element, ticket:4093
a6d2b0f355Rüdiger FrankeExtend DIDtuple test with a matrix, ticket: 4093
4a3540b4daRüdiger FrankeSIMVAR's numArrayElement is not sufficient, ticket:4093
cb438f2b6bAdeel Asgharticket:3712 Print the OMNotebook plots.
c655395efaRüdiger FrankeRobustify elabBuiltinDynamicSelect, ticket:3675
76cba8f169Rüdiger FrankeFix cpp codegen for array assignment in when, ticket:4093
f6b146dd77Henning KielMerge pull request #6 from hkiel/OSX_latex
510bd1837chkielAlso add /Library/TeX/texbin to PATH on OS X.
8a078499e3Adeel AsgharPut the animation window in a frame to get a boxed rectangle around it.
9e3b20b444Adeel AsgharInvalidate the model so that Variables Browser is updated.
a1c062ca6fAdeel AsgharCheck if we really have PlotWindow to avoid unusual crashes.
643fba693dRüdiger FrankeAdd test for DynamicSelect, ticket:3675
3840dead79Rüdiger FrankeEnhance elabBuiltinDynamicSelect for visible, ticket:3675
6ab411cbfaAdeel AsgharMerge pull request #46 from rfranke/dynvis
1b125314a4Rüdiger FrankeDynamicSelect for visible with false default value
14b6e85a45Rüdiger FrankeImplement DynamicSelect for visible, ticket:3675
024573ebc6Willi Braunadd further deltaX option for the solvers
5c6c19f25fWilli BraunRevert "add xml root element for logFormat=xml"
183b510d5avwaurichRemove tab from visualxml tpl
82c4ecda81vwaurichTake an arbitrary alias for externalObjects if unsure
745621ea70vwaurichFix visXMl for file-shapeTypes since new parameter stuff made things different
c98026b271Willi Braunadd xml root element for logFormat=xml
73de30028cvwaurichtest for algorithm counting
c237c18825vwaurichalways expand records when counting algos
ae27c2b0f3vwaurichDont expand algorithm when counting the size after removeSimpleEquations
7def99eacbRüdiger FrankeEnhance elabBuiltinDynamicSelect for texts, ticket:3675
f9c1597b7aAdeel AsgharMerge pull request #45 from rfranke/dyntext
9ac8442981Rüdiger FrankeFix states in Variables Browser
9ffc699ceeRüdiger FrankeImplement DynamicSelect for text annotations
a0dc0013c2Rüdiger FrankeAdd VariablesTreeItem::getValue
6345c52cb6Rüdiger FrankeOverride protected with HideResult annotation, ticket:4089
71c8892258Adeel Asgharticket:4095 Handle parameters of inherited components.
cfb4594afdvwaurichadd test for tuple assignments in whenoperator for cpp
1580918657vwaurichfix cpp codegen for tuple assignments in whenOperators
c12584a56cAdeel Asgharticket:4091 Check if object is 0.
755ceb79a1Adeel AsgharMake SimulationDialog remember its geometry. Moved the VerticalScrollArea class to Utilities.
3fd4d4ffd1Lennart OchelFix generation of parameter equations
3f78d75f05Adeel AsgharMerge pull request #43 from vwaurich/view
ef5f530ca7Lennart OchelRevert "Expected output"
c8df1c5481Lennart OchelRevert "rewrite simplifyComplexFunction"
8feaea880cLennart OchelRevert "fixed PR 1148"
2722e764c9Lennart OchelRevert "improved array dump"
b2f7540d32Lennart OchelRevert "workaround for array=f()"
0eb4175c38Adeel AsgharMerge pull request #42 from rfranke/issues
150de49105Martin SjölundFix for clang OpenMP flags not working with g++
5515de8b02Martin SjölundAdd support for clang (3.7+) OpenMP
f335090fb5Adeel AsgharBetter tooltip. Missing files from last commit.
ffd8bcce94Adeel Asgharticket:2166, 2696 & 3879. Show the value of the curve on the mouse hover. Highlight the closest data point with a marker.
3b40628010Rüdiger FrankeExpected output, ticket:4089
295a040751Rüdiger FrankeRead all values from init.xml, ticket:4089
c58bee3b9bRüdiger FrankeEmit protected variables with HideResult=false, ticket:4089
6d02154ba4Rüdiger FrankeAccept -alarm and -abortSlowSimulation for nightly tests
599e0f68dbRüdiger FrankeFilter protected and hidden in Cpp runtime, ticket:4089
32dfa07c22Rüdiger FrankeReplace tabs with spaces in XmlPropertyReader, ticket:4089
f992d19981Willi Braunlet linearize also run in numerical mode
af557139c7Willi Braunadjust linearization test to numerical linearize
20ab77ad7evwaurichX-Y perspective as default, remove home view
3775ade2f9vwaurichsmall cleanup
60e12868e4vwaurichfunction to get linker library paths with extra case for Winmm
94fced8fa8Rüdiger FrankeNeed -emit_protected to check protected vars
bef320ce3dRüdiger FrankeThe 1 matters (see Filter parameter results)
cbb742b519Rüdiger FrankeFilter parameter results, ticket:3925, ticket:4029
1692f27c86vwaurichBackendDAE.ASSIGN can hold tuples on lhs
ead44e7675Rüdiger FrankeTreat previous like der variables
dd59e54047Rüdiger FrankeOnly filter public variables with HideResult, ticket:4089
7d9bfdcdc0Rüdiger FrankeLookup units recursively
885d49734bRüdiger FrankeAdd vertical scrollbar to General tab of Simulation dialog
77bf4cba2aRüdiger FrankeHideResult defaults to protected, ticket:4089
339c749384vrugeworkaround for array=f()
c3733b3633vrugeimproved array dump
893adb73f1vrugefixed PR 1148
1a1a32a858Martin SjölundFix order of clocked equations
f9018bb81aNiklas Worschechfix in cpp runtime for msvc 2013
05d565c393Adeel AsgharMerge pull request #40 from rfranke/t4084
68f9aae481vrugerewrite simplifyComplexFunction
db2ea6bdcfvrugeExpected output
f627ad4d5fptaeuberSuit testsuite to new parameter handling
d75f648c03ptaeuberCorrect handling of parameters
202ad94964Rüdiger FrankeBetter short display of enumeration values, ticket:4084
6af603de2cRüdiger FrankeShorten display string of enumeration values, ticket:4084
c2ed655aacMartin SjölundChanges to FMI autoconf, more debugging messages
1543682320Adeel AsgharMerge pull request #38 from rfranke/t4081
6e2a856d6eRüdiger FrankeAdd modified displayUnit to unit selector, ticket:4081
53b732f53dRüdiger FrankeConvertUnits, ticket:4081
af76f8a7a2Rüdiger FrankeExtend test of convertUnits, ticket:4081
5d9af8447cWilli Braunadd deltaX flag and pass it to the linearization
02e5b67340Adeel AsgharMerge pull request #37 from vwaurich/master
16aad1bcd3Adeel AsgharUpdated the screenshots.
bdfb2daf32vwaurichbetter handling of animation files
819079b958Adeel AsgharAdded screenshots and user's guide for the visualization.
620a9dfb7fWilli Braunreview lineraize code
d6aaecae72Adeel AsgharUpdated according to new options of Options Dialog.
362b74d286Adeel AsgharUpdated according to new options of Simulation Dialog.
b304032e78Martin SjölundProduce error-messages when linearize fails
92846a43a6vwaurichremove unused function
f97e445378Martin SjölundAvlSet instead of HashSet for structural params
687b256bfbMartin SjölundAdd new package to sources
1ccc53d70fvwaurichuse CevalScript.getFullPathFromUri to get animation file paths
f45d03b38evwaurichget absolute paths of resource files which are used for animation
88b6260b5aMartin SjölundStructural parameters as HashSet instead of Table
d605fc7e56Adeel Asgharticket:4081 Only skip the Record sub modifiers.
c9b1bad1f5Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
e923b7ac70Adeel AsgharOptions for keeping the variables browser shown in Modeling perspective.
ef48413fcdMartin SjölundUpdate submodule
0a2edd8b16Martin SjölundUpdate submodule
3b858fb94aMartin SjölundUpdate submodule
acfbd683ffMartin SjölundUpdate submodule
b895c9a002Martin SjölundFix for OSX quoting
62ed4267eaAdeel AsgharMerge pull request #36 from rfranke/varsvis
f907e83f7eMartin SjölundCompile OMPlot with C++11
8fc919db6eRüdiger FrankeFinally disable new Crane test. Now it really fails on Hudson.
a2293fc284Rüdiger FrankeRevert previous commit and add missing file
dd00510055Rüdiger FrankeRemove test with strange Hudson "Result xml-file not found"
cd03de0c2dRüdiger FrankeExtend tests for calculatedParameter, ticket:4027
eae52ab312Rüdiger FrankeRemove Cpp code generation for initialization of alias vars
d7838200a0Rüdiger FrankeAdapt Cpp code to increased use of calculatedParameter, ticket:4027
55548c1864Per ÖstlundImproved prefixing in NFInst.
7efbde0d47Martin SjölundOnly run SMFlatten if the model uses SMs
c9f67a8208Martin SjölundTabs to spaces
1e06cf25dfMartin SjölundUpdate submodule
2d8ab4a861Martin SjölundUpdate submodule
1125cc6122Martin SjölundUpdate submodule
45ed06284bMartin SjölundUpdate submodule
99788c6507Martin SjölundHandle qmake -qt4
60ac290a08Martin SjölundUpdate submodule
5d045ad8b9Martin SjölundUpdate submodule
d5b4317d38Martin SjölundUpdate submodule
e9fc8d3269Martin SjölundUpdate submodule
3b1089fafbMartin SjölundWe need to substitute LRELEASE like before
aa41743cdfMartin SjölundUpdate common submodule
aeabd2e17eMartin SjölundUpdate common submodule
2db886384eMartin SjölundUpdate common submodule
14dd3dd757Martin SjölundFix detection of Qt5 for qjson
5ede8caae1Martin SjölundFix logic for qjson Qt4/Qt5
c7d60273c4Martin SjölundImprove detection of lrelease
2249704ce1Rüdiger FrankeExtend MatrixIO tests with negative aliases
ae2c9c56d7Rüdiger FrankeRevert "Expected output" -- a bug was introduced!
c8b206d6f5Rüdiger FrankeCorrect numbers of variables, ticket:4072
8b1f74ec98Rüdiger FrankeFix multi-dimensional arrays in Cpp init.xml, ticket:4072
8637cad4ffMartin SjölundRemove references to Modelica3D
3a34ba911aMartin SjölundRemove references to Modelica3D
db80ad11b4Rüdiger FrankePartly revert "Move adding of tempVars into model info"
748db33c7dRüdiger FrankeShow Variables Browser in Modeling Perspective per default
30c4b4cd22hudsonUpdating 3rdParty
9447a8c56bAdrian Popadapt code to MSVC2015 - the compilation will now use the existing VS 2015, 2013, 2012, 2010 in that order - use VSVERSION=20NN to change the order - fix a minor warning in the CPP runtime CMakeLists.txt
7886e2e7a9Rüdiger FrankeAdd tests for ticket:4072 (array storage order)
4f6ee12c77Rüdiger FrankeFix array storage order in FMI export, ticket:4072
7c9473027aRüdiger FrankeKeep Variables Browser if shown in Modeling Perspective
d314f5cd71Niklas Worschechadded ModelicaIO and zlib to cpp runtime build
52f9e6f13bAdeel AsgharMerge pull request #35 from rfranke/none
b022bb45a1Rüdiger FrankeDon't pass platform "none" to buildModelFMU, ticket:4070
75849b001cRüdiger FrankeSave FMI platform setting None, ticket:4070
892dc5ad91Rüdiger FrankeMark inputs changeable
d95bf9970ePer ÖstlundDon't dump the flat model in silent mode.
520810b581Adeel AsgharTicket:3626 Show parameter records instead of bindings.
bdb177c3f7Adeel AsgharAdded new API getComponentModifierValues. Returns the submodifiers. Moved getComponentModifierValue to ModelicaBuiltin.mo
f32443cdfdAdeel AsgharExpected output for getComponentModifierValue. Added getComponentModifierValues call.
69d8e82a61Martin SjölundStart splitting large C-files into smaller ones
2c0eb7fb4cAdeel Asgharticket:4070 Fixed Options dialog pages order. Removed the unused AnimationPage class.
043a7563c6Per ÖstlundFix for a few compiler warnings.
b11d246c9aMartin SjölundLink with expat when not bootstrapping
1a5a648effPer ÖstlundQuick hack to fix some NFInst issues.
2af5ad19e4Adeel AsgharOnly call convertUnit when units are different.
6324199e58Martin SjölundLink against fewer libraries when bootstrapping
cba2c4a0d7Rüdiger FrankeAdd attributes to init.xml file of Cpp runtime, ticket:4069
2f98348cf3Willi Braunadd functionAlgebraic to callStatistics
e4abcb5f8eAdeel Asgharticket:2250 & 4031 Convert the value to base unit before writing it to init xml file. Preserve the user last selected unit when re-simulating.
e502e33581ptaeuberAlso dump iteration variable names in tearing dump
0c4be26f51Martin SjölundHPCOM is not needed for bootstrapping
fd9c3f042aAdeel AsgharMerge pull request #34 from rfranke/vars
e2728465b6Martin SjölundDo not link expat with omc
d7ea0d8853Martin SjölundUse override instead of rewriting the XML-file
e52e2f9880Rüdiger FrankeFix use of scale factor in unit conversion, ticket:4031
8efee44b45Rüdiger FrankeUse unit as default display unit in variables browser
0d23c4d356Adeel AsgharOnly override paint event of plot window.
4f2beb7663Adeel Asgharticket:3984 Added a tooltip for legend item with name and filename.
1fad4d36dfRüdiger FrankeHide Unit column of Variables Browser
9a9d061d45Rüdiger FrankeRestrict unit selector of variables browser and use displayUnit
4c97d58c74Rüdiger FrankeExpected output, ticket:4031
a03d35a969rfrankeRestrict unit selector to displayUnit and internal unit, ticket:4031 (#33)
5609fed3a8Rüdiger FrankeAdd support for Imperial units, ticket:4031
038e71cb48Rüdiger FrankeAdd missing derived units, ticket:4031
561b967669Rüdiger FrankeRemove derived units with standard prefixed, ticket:4031
0901cc3c6dRüdiger FrankeAdd derived unit deg
b5b49b0f3aptaeuberUse Ceval.ceval to evaluate ...
1234c1e32bptaeuberRemove removed flag
0382fe813avwaurichbetter external object detection
f063a54f98Adeel Asgharticket:4031 Correctly read the unit value from derived classes.
0cba0030beAdeel Asgharticket:4031 Added kV & mV derived units.
9e417e1380vwaurichexternal alias handling
a4f724f741Martin SjölundSimpler check if running the testsuite
b87805e998arun3688update DrModelica exercises
c5383bb889Lennart OchelFix wrong escape sequence
bea3e6f2ecadrpoadd test for ticket:4062
bb86695f0aadrpofix for ticket:4062 - put external objects inside the connection sets
0e6d68f921Willi Braunnonlinear homotopy solver with lapack
08ea75e3bevwaurichreplace parameters in external objects, extend simCodeDebugDump
489670a234Adeel Asgharticket:4043 Only add the version and uses annotation to the top level class.
1a0ccb3743Adeel AsgharFixed the issue with over sizing of MainWindow. Give the AnimationWindow a title.
db1919123avwaurichdo not link some external library resources (user32, pthread, X11)
c687a7749aptaeuberFix BackendVarTransform.replaceExp
8163c351c7ptaeuberUse -output-flag instead of val-function
a6e40958b0Per ÖstlundNew instantiation update.
a7103daadaPer Östlund- Disable all scodeinst tests for now.
ea2bf103e0adrpofix windows build
f03616c74avrugeloop -> memcpy
aaeec2c4advrugeadded explicit rungekutta with step size control of order 4
eb2053453cvrugeadded test for rungekutta_ssc
9206e660b8Adeel AsgharUse QLineEdit instead of QTextEdit. Mark the strings for translation.
d0e37f8c0dAdeel AsgharReverse the mouse wheel zooming.
6ec4f43b46Adeel AsgharAutomatically launch the animation window.
6759feda5ealash325- added wrongly deleted line
f9cfd80774alash325Added importFMUModelDescription API
77d8742bdcAdeel AsgharMake animation part of simulation process. Some other minor fixes.
6241795cabAdeel AsgharMerge pull request #32 from vwaurich/animation2
6f77ba39c8Adeel AsgharMerge branch 'animation2' of https://github.com/vwaurich/OMEdit into animation2
b2c7ceaacdMartin SjölundFix for Qt5/Ubuntu compilation on OSG 3.2
5a8e45aea3adeas31Fixed compiling for Qt4
c507399f29Adeel AsgharFixed internal osgQt for Windows.
d04327ebdcvwaurich- fix typo
8483368d26vwaurich- svg icons instead of png
dcb43b858cvwaurich- internal osg qt by sjoelund and fix for win
78fa9a55ffmflehmigAdd Qt libraries to Makefile for Linux
0da784ffe3mflehmigFix compiling under Linux
c8fb556b61mflehmigFix bug: File name has a typo
d565dacd9cvwaurich- normals for the pipes
74314e0cc4vwaurich- removed asDrawable()
532e545b74vwaurich- jump to time functionality
e84ba2bcbbvwaurich- fix size of time label, typo
4901b80451vwaurich- brighter backgroundcolor
b22a37982avwaurich- fix time label, slider, added speedUp setting
ac14b02dd5Adeel AsgharMinor fixes. Do not comment out MainWindow::storePlotWindowsStateAndGeometry().
763017532bAdeel AsgharLink with release/debug dlls of OSG.
d846306e96vwaurich- default dir for openAnimationFile
b2f547d0a4Adeel AsgharOnly enable the toolbar buttons when we have the visualizer. Otherwise the applications crashes.
740de29cb4Adeel AsgharGet the toolbar icon size from settings so that is configurable. Renamed from AnimationWindowContainer to AnimationWindow.
e0dad8afd3Adeel AsgharMake viewer the central widget.
6bea230737Adeel AsgharNo need to set a dummy scene data. We can have an empty view.
c4fc525f35vwaurich- reduce size of animation toolbar, better default size of view
a6aa2a697cvwaurich- fix time slider
256dfe6c80vwaurich- set window title for animations
cb04267cabAdeel AsgharFixed some warnings.
135dffbf09Adeel Asgharread_matlab4.h already included via util.
0916398300Adeel AsgharLink with 64-bit libs of OSG.
f03fd1f7b0vwaurich- comments and coding style
a144be8ed5vwaurich- added a spring, yeah
09c29209cfvwaurich- some nice perspective actions
cf7c9582f6vwaurich- added simulate with visualization button
87eb7b07e3vwaurich- forgotten ressource
531b4cb1f7vwaurich- remove the old tabbed animation stuff
03c48b28ddvwaurich- plot and animation share an mdi
fa40827c39vwaurich- at least something works now
f88e6e710dvwaurich- hide animation window when switching perspective
abed1a277dvwaurich- fix updateTimer
610825c6devwaurich- add own shape type for pipes
394cc912bfvwaurich- separate VisualizerMAT class
a751c1aaadvwaurich- add icons, remove old animation buttons
43b721753avwaurich- make an animation toolbar
535913bc33vwaurich- add an animation toolbar
527c264dd1vwaurich- somehow integrated the viewer in the animationwidget
a0bb68feefvwaurich- got the animation in the view
0d3f33194avwaurich- compile a lot of stuff
361ec4065evwaurich- get a proper viewer
90e7bae08bvwaurich- get osgviewer and widgets
795f673306vwaurich- compile with osg
8b08221726vwaurich- animation window
21e45aea94Adeel AsgharRevert "Merged OSG 3D visualization done by Volker."
3a67afd18eAdeel AsgharMerged OSG 3D visualization done by Volker.
64c43c258cvwaurichadd error if file name is too long
020ac7f724Lennart OchelAdd test case for ticket:4061
9c0570369cLennart OchelUpdate expected output
27e2783124Lennart OchelCatch unbalanced models
be9dc574daWilli Braunadd test for ticket:3999 and fix expected output
895a1e1273Willi Brauntry to fix ticket:3999
f83f568703Martin SjölundFix for Qt5/Ubuntu compilation on OSG 3.2
629181837cadeas31fix last commit
e80e2097bfadeas31fix compiling for Qt4
f1516019cdAdeel AsgharFixed internal osgQt for Windows.
ebbfe52fc6Adeel AsgharFixed printing the output of manager and monitor.
a4b17ce3b2Adeel AsgharAvoid extra QFile objects.
f0e007bb71vwaurich- fix typo
ba0860b0bfvwaurich- svg icons instead of png
aadd604bfeLennart OchelHighlight that the unit checking module is still experimental
e4eee95ef0Lennart OchelFix unit checking for products
1dd8804f9aAdeel Asgharticket:4042 Show error message for conflicting variables names.
9906a4d9e0ptaeuberExpected output for smaller init tearingsets
99952ed7dfptaeuberGenerate smaller initialization tearing sets
01ec73d53fvwaurich- added test
3bc1550cecAdeel AsgharReverted the previous commit. Start the manager first.
f86f65663cptaeuberAdd parameter tests
0fd534d734vwaurich- internal osg qt by sjoelund and fix for win
8a0ec7d415Lennart OchelDo not use + for OM flags
61f5e03571Lennart OchelDo not use + for OM flags
62c88ea11badrpo- update test
257c15ba5fAdrian Popfix for ticket:4051 (#27)
21cb762ce1Lennart OchelFix broken cross reference (#26)
9a6e38792cptaeuberExpected output
b8604ac365ptaeuberFix marking structural parameters final
a1b3acbb80vwaurichMerge remote-tracking branch 'origin/master' into master-loc
b1f3e5fca6adrpoadd test for ticket:3979
4f0d761063adrpofix for ticket:3979
baba16ac38adrpofix import of QSetttings for qt4
715277176fAdeel AsgharStart the monitor before manager.
b6bd36bea8Adeel Asgharticket:4047 Fixed updating of icon transformation.
78f34eaf30vwaurichMerge pull request #1 from mflehmig/animation2
c6b9df15cbAdeel Asgharticket:4045 Allow users to specify dragged component name.
3a786a3de6mflehmigAdd Qt libraries to Makefile for Linux
d04ae4ba8dmflehmigFix compiling under Linux
81e061135emflehmigFix bug: File name has a typo
fbaa0708b3Adeel Asgharticket:4042 Avoid crash.
f4df9cc23fvwaurichMerge remote-tracking branch 'origin/master' into master-loc
6304dfa648Adeel AsgharPass +locale as argument to omc_Main_init.
1df99c389cAdeel AsgharPass +locale as argument to omc_Main_init.
f0f37a3476Adeel AsgharAdded zero as default timePoint.
7c98eac543Adeel AsgharUpdated the initialization warning text. Also marked it for translation.
9d732f599fAdeel AsgharSet +d=initialization by default.
b85aba4ad1Adeel AsgharRead the language from OMEdit settings file.
d5d4c0d822Adeel AsgharUpdated tests with new initialization warning text.
735a63374bLennart OchelFix initialization problems containing
25249c864eLennart OchelFix initialization problems containing
3aded14276Adeel AsgharMake ExactStep false as default and an optional attribute.
b2c63fa2d2Adeel AsgharClear the generated files before each new tlm co-simulation.
37a0f72635Adeel AsgharKeep the tlm co-simulation window inside main OMEdit window.
9ca647d894Adeel AsgharRespect the order of arguments.
bf88e3f1ccptaeuberExpected output
4434dd5c86ptaeuberProvide information about which solver is used
7da13ef063vwaurich- normals for the pipes
4e3de44171vwaurich- removed asDrawable()
bf23a9aff7vwaurich- jump to time functionality
372119f675Lennart OchelFix typo in documentation of isExperiment(..)
d3e63e2f09vwaurich- fix size of time label, typo
b7cced8f87vwaurich- brighter backgroundcolor
d2dfa3eb3fAdeel AsgharMerge branch 'animation2' of https://github.com/vwaurich/OMEdit into animation2
54c5148f9eAdeel AsgharMinor fixes. Do not comment out MainWindow::storePlotWindowsStateAndGeometry().
4793ccf7a3vwaurich- fix time label, slider, added speedUp setting
549addfb66Adeel AsgharLink with release/debug dlls of OSG.
19a2742888Martin SjölundCompile OMEdit with C++11
1e1497aee9vwaurich- default dir for openAnimationFile
fee9b9cb72Adeel AsgharOnly enable the toolbar buttons when we have the visualizer. Otherwise the applications crashes.
7baf6dec44Adeel AsgharGet the toolbar icon size from settings so that is configurable. Renamed from AnimationWindowContainer to AnimationWindow.
0e2ab0f239Adeel AsgharMake viewer the central widget.
9854949aa8Adeel AsgharNo need to set a dummy scene data. We can have an empty view.
721b825ee8vwaurich- reduce size of animation toolbar, better default size of view
9a5118636cvwaurich- fix time slider
0f3aec9af4vwaurich- set window title for animations
195aed3e92Adeel AsgharFixed some warnings.
8a369066cbAdeel Asgharread_matlab4.h already included via util.
175f71c0dfAdeel AsgharProper linking for 32 or 64 bit.
130745f8cfAdeel AsgharLink with 64-bit libs of OSG.
2afbff6ce8arun3688change insert link color to blue, update copyrights information
057cc58803vwaurich- comments and coding style
7f9de4877bAdeel AsgharAllow renaming the MetaModel name.
83c6631681Lennart OchelAdd available options of runtime flag -iim
9945189fd8Lennart OchelRemove obsolete flag from description
fe7fc5fbceAdeel Asgharticket:4039 Use monospaced font for text and system font for html.
7ed1ea59dfAdeel Asgharticket:4039 Handle the text documentation.
6d333d424bLennart OchelRemove useless condition
5ac7218992ptaeuberSome code optimizations in Tearing.mo
07e45ab116Martin SjölundFixes for ticket:4007
997caa118dvwaurich- added a spring, yeah
3423a6ece1Martin SjölundDetect tuples used as expressions
bbba6594bbAdeel Asgharticket:3964 Single & multi-line commenting for MetaModelica.
c3f1889b47Adeel AsgharOnly show the qualified name for LibraryTreeItem::Modelica in model switcher dialog.
eb6ad82497Adeel AsgharOpen the file when enter is pressed.
ca88dda54avwaurich- some nice perspective actions
0e613776f7vwaurich- added simulate with visualization button
24e90f463dvwaurich- forgotten ressource
d4d7396e2dvwaurich- remove the old tabbed animation stuff
c7395d747dvwaurich- plot and animation share an mdi
c47ebfd398vwaurich- at least something works now
04e3776a5aAdeel Asgharticket:4008 For now just display all parameters as enabled.
ea8dd8585aAdeel Asgharticket:4026 Use the inherited class coordinate system if class doesn't have one.
0cd7cf5722vwaurich- hide animation window when switching perspective
8ecc3f01davwaurich- fix updateTimer
0a7ab05410vwaurich- add own shape type for pipes
863a98b951vwaurich- fix visualization attribute extra
ff69236944Adeel Asgharticket:4023 Fixed the GDB path issue.
9f36c1c259Willi Braunfix daeMode testsuite
55589c8feavwaurich- generate visual.xml with +d=visxml only
7496b2113cWilli Braunadd dae tests to the testsuite
9f51354a36Willi Braunfix dae residual varKind for code generation
5d7be40ecfvwaurich- get source info for Flags.VISUAL_XML
8c6ebff922Adeel AsgharBetter implementation for add/update/delete transition APIs.
e820854ce7vwaurich- separate VisualizerMAT class
dab8d02d52vwaurich- add icons, remove old animation buttons
8707392badvwaurich- make an animation toolbar
e5a6e459c9vwaurich- add an animation toolbar
a543be3df7Rüdiger FrankeAdd new function signatures to ArrayOperations.h
2665e73ab6vwaurich- somehow integrated the viewer in the animationwidget
f1fb176a85vwaurich- got the animation in the view
7ce61b8974Rüdiger FrankeImplement DIV_ARR and ADD_ARRAY_SCALAR in Cpp runtime
8627235ee4vwaurich- compile a lot of stuff
7f92104259vwaurich- get a proper viewer
4248392478Adeel AsgharUpdated the transitions test.
0b58b42180Adeel AsgharAdded updateTransition API.
aa4034be8bAdeel AsgharCall the transition tests.
ed06e0510cAdeel AsgharFixed implementation of addTransition and deleteTransition.
f9561bb5advwaurich- get osgviewer and widgets
b1db329758vwaurich- compile with osg
425e279643Adeel AsgharTest for transitions APIs.
5435748106Adeel AsgharAdded deleteTransition API.
dbbcff9b30Per ÖstlundFix for ticket:4028.
f12e83be54Per Östlund- Added testcase for ticket 4028.
c10ebe7ce0vwaurich- animation window
af701af0e0vwaurich- animation tab (reverted from commit d67f06b7e02204937bf4b447f8f2b0ab7994cad3)
d67f06b7e0vwaurich- animation tab
0735a9d839Adeel AsgharAdded new API addTransition.
974a19ccd6vwaurich- compute timeevents for tEnd
fcc0b47dcbvwaurich- deactivate analytic jac for nls in cpp Newton solver
ef5ae2c5f7Adeel AsgharMerge pull request #30 from robbr48/master
05d7215d2dvwaurich- deactivate test for now
a1fe865038vwaurich- cpp synchronous implementation back to time events
b0fc13197dRobert BraunRemoved accidentally commited debug output.
5fc6629d5bRobert BraunReduced tolerances for fuzzyCompare function.
cd3785d41bptaeuberSome minor SimCode Optimization
ad304529bcptaeuberExpected Output
338dd80e01ptaeuberPrefer iteration variables with start value
779a2068a2ptaeuberFix Dynamic Tearing for initialization
bcf29cceafptaeuberAllow Dynamic Tearing for initialization
b11d53d018ptaeuberExpected output
5fed8c18c2ptaeuberImprove userDefinedTearing
db1de5b4a1Niklas Worschechfix for hpcom
4deb51bc04Niklas Worschechintegrated DAE mode in cpp runtime
af142edfceAdeel Asgharticket:4013 Update the display name within inherited classes.
810d7e20bdvwaurich- activate synchronous test with total model
9453b64e25vwaurich- added synchronous test, update clockedEventTest
efdd08a275vwaurich- update clockedEventTest
d0a57cdf36vwaurich- fix booleanclock handling, use subpartidx for clockinit
4ec62d0f20vwaurich- fix for hpcom
69e0f34f47vwaurich- added test for partlintorn systems
8c6cf45131vwaurich- remove debug output
aeb57109d3vwaurich- fix partlintorn system
41f85a50b0vwaurichReactivated reverted clock adaptions
793899e508vrugeadded test for ticket:3997
5a18bd5df0vrugefixed set subscripts in inline:
c5749a6695vrugerecursion -> loop
2d4224045avrugeadded new modul
c49987f116vrugeadded tests for force inline function in Loop
95c8653eacvrugemake test more stable
b7af71c577vrugeimproved modul order
145cac2487vwaurich- copy missing dlls in omdev_extra_dlls to fix FMUs
8775cffb0cMartin SjölundTest for default external call with arrays
75fffde41cMartin SjölundHandle default external calls with array arguments
c709213eb7Martin SjölundOnly store direction of external variables
e9986145efMartin SjölundGenerate unique UUID if libuuid is present
3e8f747cd6Adrian Popfix windows build (#29)
a4c1eab6d1Martin SjölundsetDocumentationAnnotation now escapes strings
ce1ebbf667Martin SjölundCompile with QT5
9ff03e5bd6Martin SjölundCompile with QT5
9ccbe20739Martin SjölundUpdate to compile with QT5
45325bdd58Martin SjölundCompile with QT5 when available
364b7ddc3eMartin SjölundAllow configure to detect QT5
96951b49e8Martin SjölundUse an AVL Tree to make adding new ZCs faster
560200ba92Martin SjölundExpected output
4877c8d298Martin SjölundAdd Expression.compare for sorting expressions
04832d54e8ptaeuberUpdate parameterTest
295b0a4c62ptaeuberAdd flag to control function-binding evaluation
06257ffc9dMartin SjölundAdd built-in function valueCompare
6cead398ddptaeuberAdd missing else
2216479937Lennart OchelHandle error stage ERROR_EVENTHANDLING
96282dd9d8ptaeuberSome optimizations to evaluateFunctions_updateStatement
413773574bPatrick TäuberAdd model to test parameter evaluation
2d38e9a690Martin SjölundEncapsulate the ZeroCrossings set type
09ae6c9806Adeel AsgharAdded test for getTransitions API.
9d126613e1Adeel AsgharAdded getTransitions API.
a968496d09Martin SjölundDo not pass around numRelations
68b6340964Martin SjölundMerge only 0 or 1 zero-crossings
a25dc00fbfDietmar WinklerAvoid characters in file names that are illegal in Windows
1cb219fc4bMartin SjölundUse DoubleEndedList for zero-crossings internally
c06dade981Martin SjölundFix type variables of metarecords
3c02f6ac9aAdeel AsgharUpdated tests for getClassInformation output.
51623041a5Adeel AsgharRead the __Dymola_state annotation.
25e9e2c5cdMartin SjölundExpected output for #1016
52f0eb751fMartin SjölundImproved performance of SimCode zero-crossings
fde847bd88hkielsome small optimizations - remove arrSize from records, size of array can be determined in O(1) time - make BackendEquation.addEquations() add all equations in a loop instead of calling addEquation() for each equation - use addEquations() instead of List.fold(lst,addEquation,eqns) - avoid some intermediate lists
6f92e41fe3ptaeuberMinor changes to EvaluateParameter
1a9bdf2640Willi Braunadded DAE_RESIDUAL_VAR as varKind
1127a0fb29Willi Braunadded ida-solver stopTime ticket:3991
5f3633932bWilli Braunmake array variable for DAEres in DAEmode
7569344ae0Willi Braunexpected output of OMCompiler PR#1014
f60e155b72Martin SjölundFix equation system partitioning performance
1464a0db7ahkielsome minor list optimizations
3405204531Martin SjölundFindZeroCrossings - avoid bad listAppend
590fe402cdMartin SjölundUse DoubleEndedList for FindZeroCrossings
63127526f4Martin SjölundAvoid matchcontinue in FindZeroCrossings
112b0bc99aMartin SjölundRemove matchcontinue from FindZeroCrossings
76f47caa07Martin SjölundAvoid matchcontinue in FindZeroCrossings
185f006e9cMartin SjölundAvoid matchcontinue in FindZeroCrossings
e00a7e6a9cWilli Braunenable daeMode tests
3d60086889Williadd further daeMode option
f2eb970b1dWilli Braundo not use extrapolation for to big steps
3b50b48567Willi Braunadjust output of tests
9206950250Martin SjölundChange order in mergeZeroCrossings
4638cca5edLennart OchelNew debug flag "partitionInitialization"
dec4b30d84hkielsome minor optimizations
a6abbd9b3dAdeel Asgharticket:3982 Preserve format of text copied from instantiate model window.
612047bf0eAdeel Asgharticket:3987 Clear contents of search field by clicking ESC key.
3fd8767028Willi Braunfix typos ticket:3983
48f93f0e2bhkielsome minor optimizations to Backend
c6520af83eAdeel AsgharMeasure the correct time of API calls.
14f32804d5Adeel AsgharOnly create dialogs when they are really needed.
c05343bcd8adrpoupdate test after fixing ticket:3980
5725c2bb51adrpofix ticket:3980
3e83c1818bWilli Braunfix ticket:3983
58e841c220vwaurich- added cpp synchronous coverage tests for windows
7b072a7407hkieluse list comprehension
c84c17910bhkielslightly improve performance of getComponentAnnotations() ticket:3679 do better scanning through lists
638acf9224Lennart OchelDon't evaluate alg. loops once before start of simulation
63ce1c70eaadrpoupdate tests after ThermoSysPro changes
c1cac0c13dAdrian Popfix ticket:3973
96924a5d06Lennart OchelAdd missing TRACE_POP statement
6cb06d842fLennart OchelMinor optimizations to EvaluateParameter.mo
8ab6b8a409Lennart OchelRemove superfluous variables
e8766a7962Williadd testcase for ida solver
cbd9cd37f3Willi Braunadd noEqudistant step flags for ida solver
cf561f73ecWilli Braunfix event handling of ida solver
c268564be0Willi Braunfix debug trace
8257389db8hkielGC.free() some temporary arrays
2ce167a64badrposmall memory optimizations - free the array in List.mo - return the input in SystemImpl__iconv if to == from - signal that we don't want malloc_atomic in arrayCreateNoInit
4de9151407Adrian Popfix ticket:3868 add --large-address-aware when linking OMEdit (#28)
499d340a3aRüdiger FrankeSupport startInterval of event clocks, ticket:3272
a5b5466a57hudsonUpdating 3rdParty
be46866e06hudsonUpdating 3rdParty
99ef1e340ahudsonMerge branch 'master' of https://openmodelica.org/git-readonly/OMCompiler
3fe711d404hudsonUpdating 3rdParty
86dd3e98f7Adeel AsgharChanged Algorithmic Debugging to Debugging.
56794bf8b2Adeel AsgharProperly set CRLF line ending.
d633253756Rüdiger FrankeExpected output
60b9239cceRüdiger FrankeRemove optional argument from interval() and firstTick()
2a93be5944Rüdiger FrankeRemove fixed start values for discrete states (MCP-0024)
4cd90269f4Rüdiger FrankeImplement firstTick operator (MCP-0024)
70198be034hkielfix some warnings from static code analysis
bf3ee768c4Willi Braunadd daeMode tests to testsuite
dcf9748d94Willi Braunadd ida daeMode flag to suppress alg. vars
96ee4981c4Willi Braunadded more solving options from ida as sim flags
84d574197eWilli Braunadded flag to suppress algebraic vars from error test (daeMode)
e740f2d701Willi Braunadd relative tolerance to alg variables in daeMode
a25d3fd79aNiklas WorschechRevert "fix for clock ticks at end time in cpp runtime"
44eb33272eAdeel AsgharRemove the status bar message in case of error.
b5fe970219Adeel Asgharticket:3970 Include the components of the base classes in exported images.
19e56e3d5fAdeel Asgharticket:3958 Make OMCLogger enabled by default.
611bc0f327Adeel Asgharticket:3969 Show correct line numbers for errors.
611ddae12dadrpoadd test for ticket:3974
df84bca0baadrpofix ticket:3974
913b58d463Niklas WorschechRevert "Adapted clock handling in cpp runtime"
db26f9ec6dAdeel AsgharUse QRegExp to find tags instead of using QWebPage. QWebPage is slow and very much resource hungry.
54a3450381Adeel AsgharC/C++ Editor instead of C Editor.
2d080d4c7eAdeel AsgharImproved the performance by not setting the QTextCursor again and again.
f34d8aac8fNiklas Worschechactivated clockedTest in cpp tests again
f67918e1e7Niklas Worschechfix for clock ticks at end time in cpp runtime
7d89d89eefadrpodisble test until we find the issue
25d4cfc125Niklas Worschechtemporary deactivated clockTest from cpp runtime tests
ddf5050a58Niklas WorschechAdapted clock handling in cpp runtime
3829472a26adrposmall memory optimizations
fcde532ecdWillitry to fix daeMode for complex equations
ce355312b4hkielfix some issues from static code analysis ticket:3954
8cddbef21aAdeel AsgharAllow user to handle loading of OpenModelica library.
f3deab8a4eBernhard ThieleAdded graphical state machine examples
8b88d8ec4cAdeel AsgharMerge pull request #27 from adeas31/MetaModelica
082b079fecAdeel AsgharFix build.
b572deff99Adeel AsgharMerge pull request #26 from adeas31/MetaModelica
db87fd0351Adeel AsgharRenaming file/folder.
a08c6ff643Adeel AsgharAllow creating files & folders.
a38e0f0b43Lennart OchelExtract variables also from clocked partitions
c4ba4ab868Lennart OchelSmall improvements to module wrapFunctionCalls
31aeef3336Lennart OchelSimplify RemoveSimpleEquations.handleSets
bbbf7501b2Adeel AsgharAdded support for deleting files.
532bec8689Henning Kielfix CodegenC for dynamic tearing (#1)
18caa8b2f0Martin SjölundWrite equations directly to file
aef117e92aAdeel AsgharOnly use anyString for String types. This change also makes the debugger faster since we are not calling anyString on all types.
2c515a61ffAdeel AsgharImproved the loading/unloading of files.
64d176d1ffLennart OchelMove prototype to _model.h
0e098204eeWilli Braunfix ticket:3913
4936316fc0Martin SjölundRemove some unused function calls
c45baaf659adrpoupdate tests ticket:3960
d59e2f8decadrpofix ticket:3960
caeecf5901Adeel AsgharAllow adding breakpoints on MetaModelica files. Removed unused property TreeWithBranches.
447096dc7eLennart OchelFix implicit function declaration
8bbb70aeb4Rüdiger FrankeFix discrete state indices for FMI export
064f241d43Adeel AsgharAllow opening directory structure. Support for MetaModelica & C files. Syntax Highlighting of MetaModelica & C Files.
3589cd8dbeLennart OchelNew test cases for module wrapFunctionCalls
b10d9209fcLennart OchelUpdate expected output
eba4654068Lennart OchelNew implementation of module wrapFunctionCalls
1af79cf993Lennart OchelUpdate expected output
0f15242805Lennart OchelImprove ExpandableArray
a1a5408916Martin SjölundRan the refactoring script to remove unused code
8f881c3de0Adeel AsgharRemoved the DebuggerMainWindow class and add debugger perspective with dock widgets.
7e1286ce17hudsonUpdating 3rdParty
f45c1dd2a0adrpoFixes for ticket:3955 - enable GC parallel marking in Windows (Makefile.omdev.mingw) - enable parallel parsing in Windows (Compiler/FrontEnd/ClassLoader.mo) - give parallel parsing thread 2MB stack (Compiler/runtime/System_omc.c)
f5d4c269d9hkielfix some abnormalities from static code check ticket:3954
bb33335a63Willi Braunimprove some simulation option descriptions
76b1b286aeWilliupdate non-linear system code
8700280888Willigeneralized nonLinearSystemData generation
0a9c9b5024Willi Braungenerealize staticData generation
e9351e0970hkielOS X: run otool on libzlib.dylib
68ed95517cWilli Braunclean up nonlinear systems: remove unsed field
201f9d3503Willi Braunimprove codegeneration for non-linear systems
7fda7d4d22vrugeCosmetic changes for DynOptimization
63527ec433vrugemake create dynamic optimization problem as modul
99918a094dvrugeExpected output
43294bc3caNiklas Worschechfix in fmu 1.0 export and cpp runtime for ambiguous symbols for shared_ptr
912301a4d9Niklas Worschechfix for algloop variable attributes assignment in cpp Template/CodegenCpp.tpl
7a7247f57fRüdiger FrankeLink Cpp FMUs all static under Windows
4eaf6a37f9adrpoadd needed libs to FMUs on windows, ticket:3946
2dbc14b1eaWilli Braunfix nominal values for daeMode
d08a251086Rüdiger FrankeClean up comments and indentation
8987eb2498Rüdiger FrankeRefine treatment of clocked start values to fix ticket:3770
c135f75f0cLennart OchelUnit test for expandable array
6a480c870fLennart OchelNew generic type ExpandableArray
e867d82b1eRüdiger FrankeRemove unnecessary Sundials include directories
86e2894c22Rüdiger FrankeMove Sundials paths to Sundials section (ticket:3933)
dd39b9fb59Willi Braunadjust nominal usage in daeMode for alg variables
9e077feb84Willi Braunadd initial step size flag to ida solver
aede0ba17dAdeel AsgharSet () for flags with no values.
0868b1df11Adeel Asgharticket:3488 Support ignoreSimulationFlagsAnnotation flag.
c40d6c471cAdeel Asgharticket:3488 Added ignoreSimulationFlagsAnnotation flag.
06da5383b7Adeel Asgharticket:3488 Write the __OpenModelica_simulationFlags annotation based on the settings used in SimulationDialog Read the __OpenModelica_simulationFlags and apply it them to simulation.
0a6dd266ccRüdiger FrankeAttempt to fix ticket:3948 for Windows build
1a9e96d52fadrpofix ticket3947, change SID to SIDTest to avoid name conflicts
5a887dbe9aNiklas Worschechfix for typo in cmakefile
1dd553e34fNiklas Worschechadded status message for sundials libraries
21c5d5fb12Niklas Worschechfix for #3933
0fe727959avwaurich- functions to debug Index Reduction
24669b25fbadrpofix ticket:3942 - use -std=c++11 for Windows - add -lz -lhdf5 libs to linking, needed for Modelica tables
38e81d67e8ptaeuberAdd flag to emit solver steps to the result file
81b676597bLennart OchelImprove error message
55a76f72b7ptaeuberUse config flag for total tearing
dc14e0f3b5ptaeuberMake total tearing a config flag to specify SCCs
ec6bb2383badrpoticket:3092, activate OMC_NO_GC_MAPPING only on FMI or minimal runtime
22f7bdfabfBernhard ThieleAdded another test case to Modelica_Synchronous
c7a21ff6e9adrpomore fixes ticket:3902
193fe4e983adrpoadd test for ticket:3902
1aab55e6d9adrpoomc_ua depends on boehm-gc target, ticket:3902
3f4962fd21adrpoParModelica depends on boehm-gc, ticket:3902
28420a1f62adrposmall changes to the memory allocation interface, ticket:3902
0fd4096c5bMartin SjölundDo not use + for OM flags
ad52d27809adrpoFix ticket:3941 disable tests Modelica_Synchronous.WorkInProgress.*
5ad2b537e7Bernhard ThieleAdded Modelica_Synchronous test cases
944192f391Lennart OchelDon't share memory between different variable arrays
c44afbc083ptaeuberUse --maxSizeLinearTearing=0 instead of --disableLinearTearing
70349b5919ptaeuberMake redundant --disableLinearTearing deprecated
ace8794c30Patrick TäuberPerformance fix of instantiation of syst in loop
b526c9b9d7Rüdiger FrankeRemove wrong error for clocked continuous exps
36621703e0Rüdiger FrankeUpgrade clockedTest with continuous-time equations
369a2c9c35Rüdiger FrankeRevert 963ed3cf89 for clockedTest
cde23afcecRüdiger FrankeUse start values at first clock tick (ticket:3770)
d7950503a7Rüdiger FrankeExpected output (ticket:3770)
9e139b9c29adrpomore fixes to svg generation
008b9516f2Adeel AsgharMerge pull request #25 from arun3688/parametersensitivity
07d5742795Adeel Asgharmodelicacolors.xml is not used anymore. Use same colors as were defined in modelicacolors.xml.
99916cf0dfarun3688Update with Peter correction
c07f33dc53Adeel Asgharticket:3929 Killed the crap syntax highlighter thread. Added QSyntaxHighlighter.
3446e63c19Lennart OchelAdd test for 'localKnownVars'
28405d807evwaurich- fix order of subpartition clocks
d7170093aeptaeuberExpected output
d19242a2e4ptaeuberNew approach to handle known vars
bcab6f6c08vrugeadded test for inline function
998331701dAdeel AsgharUse 1 for record type.
b85235d994Adeel AsgharFixed the debugger. Use the --thread & --frame argument with each command.
6665a46ab9adrposupport baselining tests in parallel
b7f5861962Willi Braundon't show alias warning by default
215f2b4c98Willi Braunhide alias warnings behind AliasDump flag
f65263f47bMartin SjölundUpdate now broken test needing CREF_ITER working
240213bccdMartin SjölundDo not generate #define for variables
cea271efccWilli Braunremove not used extrapolation code
bc03c8e969adrpouse --alarm=900 for all tests to avoid hangs
1d03f63399adrpoadd support for --alarm on command line ticket:3928
5a28893b9aptaeuberDetect JAC_CONSTANT() as linear component
ec4c1c72edWilli Braunadd testcase for ticket:3926
59c64aca0dWilli Braunadd some exeption handling for torn linear systems
77c753bf8eMartin SjölundExpected output
087bdd2e31Martin SjölundMake reinit message output a readable cref
05eb8b9a68Martin SjölundFix name of vars in linear model
927c5e90fePer ÖstlundscodeInst -> newInst flag update.
a3a1e9a933Per ÖstlundRenamed scodeInst debug flag to newInst.
4de17a3b35Per ÖstlundUpdated LoadCompilerSources to new inst changes.
f0a3a7ccdfPer ÖstlundReorganized source files for new instantiation.
9e030f2b30Per ÖstlundMore scodeinst test updates.
f1fe18eb3bPer ÖstlundUpdated scodeinst tests.
cbc956152dPer ÖstlundAdded component attributes to new instantiation.
5184da392ePer ÖstlundNew instantiation improvements.
03471e2f4barun3688ticket:3488 testscript for getting vendorannotation modifer names and values
c3bcdbbf46arun3688ticket:3488 added new API functions for vendorannotation
9e87f6de73Martin SjölundFix SVG generation
887637aca1Martin SjölundPut each library into its own history folder
bde3ea6311adrpofix rtest for windows
8f2e742afbWilli Braunadjust test to to current implementation
0e7fa5342fWilli Braunfix Makefile
bf97bdcd17Willifix sparse pattern for daeMode
7ef887367bWilli Braunadjust code generation for daeMode
397dd82360Willi Braunimprove daeMode implementation
30d4a89ca8Williadd sparse pattern for daeMode
28bc0aa846wibrauninitial documentation for sensitivities (#23)
eacfc6b20bLennart OchelMove the actual unit parsing to Unit.mo
c7fe6415d1Martin SjölundHandle writing empty files
f47e48bdc6Martin SjölundDo not create HT of size 0
689ff409b4Martin SjölundUse BaseHashTable for the SimCode HT
3e9b0e836fhkieluse less memory when operating on units
17df9f3c37Lennart OchelClean up unit check module
bbf3498b57Per ÖstlundUpdate more scodeinst tests.
1e5da4b63ePer ÖstlundAdded some proper error messages to NFLookup.
d816a47fd6Per ÖstlundMore new instantiation modifier stuff.
a65845ac31Adeel AsgharFixed the index for parenthesis matching.
82eeffe300hkielfix BackendDAETransform.eqnAssignmentNonScalar()
bc76119061Adeel Asgharticket:3924 Do not add extra line breaks.
9b0163de62Adeel AsgharHandle the integer inside record.
120a9e2bb5adrpoActivate multiple FMU instances per process ticket:3820
ec70f33419hkielfix memory leaks in C runtime
4c94fc01cfhkielfix some issues from static analysis
5f4fb23232adrpoupdate tests after fixes to ticket:3989
72f98cf7a9adrpoFixes for ticket:3898 do not output empty InitialUnknowns element
7570c6b94fMartin SjölundDo not use pre-processor for array variables
a98f424330Per ÖstlundUpdate scodeinst test cases.
2aa49359f0Per ÖstlundModifier improvements in new instantiation.
98cfe9be36ptaeuberExpected Output
57990bab91Patrick TäuberRename squared 2-norms
737e02469cPatrick TäuberChange input tol of Newton solver to 2-norm
7b5e81b4e5Lennart OchelUse always the unit representation that was defined first
4383a9c117Lennart OchelDon't override empty unit information with dummy value
22d2ccb311Lennart OchelCalculate unit information for state derivatives
7271c6f717Per ÖstlundNFInst improvements.
c04f1a00d0Lennart OchelCalculate unit information for state derivatives
012b282989adrpofix windows external annotation for omcruntime library
f79cce4379Per ÖstlundImplement derived class modifiers in NFInst.
4a27b09127hkielshorter C code for non-guarded list comprehensions
029864fe41hkielallocate using mmc_alloc_words_atomic where no pointer is stored.
d02a3753efhkielpreserve some more tuples
3507862d0fPer ÖstlundPropagate modifiers for structured components.
e5130b4434Adeel AsgharAdded instructions on how to make connection. Updated OMEdit options.
f1904b88fdPer ÖstlundClean up some new instantiation modules.
9b994a03c9Adeel AsgharUse same border as QLineEdit for QPlainTextEdit.
06b1abefc4Martin SjölundDo not use preprocessor to generate sample() code
4e18fb90cfPer ÖstlundReplace old new instantiation with new new instantiation.
736e098dfcAdeel AsgharMerge pull request #25 from OpenModelica/annotations
afdff3c96eAdeel AsgharFixed annotation folding for quotes and comment blocks. If user moves inside the hidden block then unfold automatically.
58bbbff886Lennart OchelFix LOG_STATS (ticket:3922)
3b73d02d26adrpoadapt rtest to windows msys2
a52420cf9cMartin SjölundSkip calling unnecessary tmpTick
c79b8cac08ptaeuberImprove total tearing algorithm
975701dca0ptaeuberExpected output
f098371bcfMartin SjölundDo not use preprocessor for attributes
04496accf9hkielremove function getAliasContinue()
109dc98dc4hkieldo not thread two lists, just to unthread them again
d665b64a49ptaeuberAdd flag to change the tolerances for newton solver
329215b5b0Adeel AsgharMerge branch 'annotations' of https://github.com/OpenModelica/OMEdit into annotations
cd9be3440bAdeel Asgharticket:2233 Implemented code folding. Folds the annotation spread over multiple lines.
44588cc912adrpouse alarm to kill the test if infinite
c5b68a9387adrpofix GenerateDoc.mos
f10487d156hkielsome minor optimizations - match -> matchcontinue - simplified some functions
8f16329a07vwaurich- dump a graphic blt-matrix in a html file via +d=bltmatrixdump
f0d46d5647Williseperate coloring from generateSparsePattern
934911a352Adrian Popfix interface for getDocumentationAnnotation (#24)
871ab7c355jhagupdated expected output
73a73b0236jhagfixed wrapFunctionCalls (see:ticket:3102 ticket:3910)
50dade940aMartin SjölundPrefer omc libs over system libs
9b040a6123adrpoadd tests for ticket:3916
016c25e5e5Martin SjölundDo not look for otool lines containing :
0e88db8684hkieluse listEmpty() instead of listLength()==0
c628fac313hkielfix PR #837
67e0588359adrpofix for ticket:3914
a5a02e3dc5adrpotest for ticket:3914
ff7351840fMartin SjölundCheck all dylib files for improper linking
542abe9369hkieloptimize List.sort() a bit more
5a7efaddcahudsonUpdating 3rdParty
12b13360eahkielfix ticket:3897 - run install_name_tool on the libraries (also for libsundials_idas.0.dylib)
7f5cbc7686adrpofix infinite loop on windows
141d59741dhudsonUpdating 3rdParty
e9739870d5vrugedon't add noEvent twice
60be6c4523vrugematchcontinue -> match
605cd57286vrugefixed inline-anno interpretation
008b751ed8Willi Braunfix modelicaStringToCStr for "'"
e713fe26f6hkielintroduce List.splitr() which returns the first list in reverse order - optimizes code that does (l1,l2)=List.split() + listAppend(l1,l2) by avoiding double listReverse on first list: (l1r,l2)=List.splitr() + List.append_reverse(l1r,l2);
389ec43c33hkielfix ticket:3897 - run install_name_tool on the libraries
b3a16671bfMartin SjölundRun install_name_tool on the libraries
bf0d98351fadrpoadapt test to work on windows also
e7dc97954fadrpoproperly set FMI_PLATFORM for FMIL library
3ba065e44dWilli Braunadd module to calculate sensivities matrix
61b9e243c8Willi Braunadd tests for sensitivities analysis
ade6473da1Rüdiger FrankeUse old C++ ABI for cross compilation of FMUs
833bce927ehkieltry to fix ticket:3897 and ticket:3900
c9c2dad359Willi Braunfix initialize SolverData control flow
8f3825c5d7hkielavoid List.intRange in conjunction with for loops
a055cc9d61ptaeuberAdd ThermoPower models with expected output
f1fc67506cptaeuberfix ticket:3192
faf5f04fc2Adeel AsgharDraw QStyle::PE_IndicatorBranch for folding.
24034b9842Adeel AsgharCreate space for folding in the line number area.
17c031c274adrpoupdates to ticket:3857
ac9052a4cbadrpoupdates to ticket:3857
04080aeb85hkielremove some matchcontinue
7e7eec7addvwaurich- add case in dumpStateorder
9873878ef2Patrick TäuberReset strong component index
518da8db3bAdeel Asgharticket:3488 Added support for --ignoreCommandLineOptionsAnnotation flag.
9d8edb68e9Willi Braunfix ticket:3846
9c5ab12bedAdeel Asgharticket:3488 Added a flag --ignoreCommandLineOptionsAnnotation
f292fdea01Willi Braunadd test for ticket:3846
e1161ae32cAdeel Asgharticket:3488 Allow setting __OpenModelica_commandLineOptions annotation from GUI.
e652a2004cAdeel Asgharbackup the originals flags. Reset the flags after translation.
28c405d4d6Adeel Asgharticket:3488 Read the __OpenModelica_commandLineOptions annotation and apply it.
018590eb35vwaurich- fix dumpComp2 for empty Jac
d692b4c30fvwaurich- final try for Transformer.mo
938a17927bMartin SjölundDo not use cp -u
4d5ce50f11Martin SjölundPass more linker flags to sundials cmake
28621f171cptaeuberRename flag advanceTearing in allowImpossibleAssignments
d1716435f6ptaeuberRename flag advanceTearing in allowImpossibleAssignments
b86e6f7723Bernhard ThieleAdapted state machine tests for default clock
8f28442935Bernhard ThieleDeactivated state machine when-equations hack
bff2761d37adrporevert changes
14328ef6d3ptaeuberImproved user defined tearing
ef47d9564aptaeuberAdd test for user defined tearing of Algorithms
63cb7fe71fWilli Brauntry to fix OSX build
d1560083a5Adeel Asgharquote path.
6792db5d88adrpoupdate the OMDev readme
8e182ba39eAdeel AsgharOMDEV links.
0a278ea464Adeel AsgharUpdated compile instructions to new msys.
6038450d2fAdeel AsgharUpdated compile instructions to new msys.
3a113064c2Adeel AsgharUpdated compile instructions to new msys.
ef7be4c872Adeel Asgharcompile from top level.
4cc72c6ea0Adeel AsgharUpdated compile instructions to new msys.
eb0e110057hkielavoid a few more tuples
a11618424dhkielavoid unnecessary tuple creation
b8aed2c07ahkielmisc optimizations use guards avoid memory allocations
86ca95e2f9hkieluse guard to avoid some MMC_THROW_INTERNAL
243042d0d3hkieldo not recreate Option<>
19d7c975f1hkieladd List.mapFold* varaiants with more InOut arguments needed to be able to avoid tuples in some places
09c5a1c615Martin SjölundMake it easier to override FMU CPPFLAGS
83443129b3Adeel AsgharMore updated instructions.
900ac5211eAdeel AsgharFormat instructions.
35aa7d1776Adeel AsgharUpdated install instructions for OMC.
b832f3e50dvwaurich- fix RemoveSimpleEquations, added comments
17d90a7b01Adeel AsgharUpdate common submodule.
d9e86db25eAdeel AsgharUpdate common submodule.
17a3d11a01ptaeuberAdd test for user defined tearing
891e7e11f9ptaeuberIntroduce userDefinedTearing
0cd621f1d8adrpotest for ticket:3857
d0a958974dadrpofix for ticket:3857
0aaf81a7ddNiklas Worschechreverted clock modifications in C template
3a0012b948Niklas Worschechrevertet clock modifications in cpp template, cpp runtime and SimCode
e3488b62d3Niklas Worschechdeactivated new clock tests to commit reverted clock changes
a921a716fdvwaurich- expected output
8792366b28vwaurich- expected output, deactivate cse where dae is checked
3a80514811vwaurich- shorten Paths CSE-option
9475de6511Adeel AsgharMerge branch 'annotations' of https://github.com/OpenModelica/OMEdit into annotations
be4f6924efAdeel AsgharDraw QStyle::PE_IndicatorBranch for folding.
7e798ee4deMartin SjölundDo lookup of varInfo directly
8bcbed025fhudsonUpdating 3rdParty
51d6b8e031adrpofix ticket:3892
ee55e3fbe9Niklas Worschechreactivated two clock tests
096b08d8e3Adeel AsgharCreate space for folding in the line number area.
bff7de77f8Adeel Asgharticket:3884 Apply the default prefixes to Component.
18dd83044dMartin SjölundCalculate index including offset in SimCode
feca22102aAdeel AsgharUpdate common submodule
c81d99c042Adeel AsgharUpdate common submodule.
fdfccbe5e0adrpofix windows build
0306552ce1Lennart OchelDon't copy unit information from state to state derivative
9e00f4abb1Lennart OchelEnable test for ticket:3888
3912e00ef8jhagticket:3888 - add new example
f5b5cee03bjhagfixed ticket:3888
617816f7abLennart OchelFix trailing whitespaces (#291)
30d6c07933Lennart OchelMake unitChecking the first pre-optimization module again
7fb0a21738adrpoadd extra Modelica_Synchronous tests
d25a5a17aeWilli Braunadd tests for ida linear solver
fe2bb79d00Willi Braunadd more linear solver for ida integrator
a2b889d651Adeel Asgharticket:2250 Allow converting units from the plotting view.
070e013583Adeel AsgharHandle update of x-axis values. Store time unit.
4e3f6b286fvwaurich- added synchronous test for cpp runtime
4189bbde5cvwaurich- dont interrupt clock-event assignment in cpp runtime
201283f944vwaurich-expected output
243b35440avwaurich- extended debug dump for synchronous
6ed3a54365vrugeimplementation of new Backend inline module - started fixing [ticket:3510](https://trac.openmodelica.org/OpenModelica/ticket/3510) - also [ticket:3785](https://trac.openmodelica.org/OpenModelica/ticket/3785)
5e9854ebcfWilli Braunbuild sundials with klu interface
1418a487daAdeel Asgharticket:2250 Added unit & description for time variable.
88cb5218baAdeel AsgharCreate space for folding in the line number area.
0be790c7bfjhagupdated expected output
57cb40521ejhagwrapFunctionCalls is disabled
4931a92a31Martin SjölundRemove tabs, pre-commit removes tabs
0b04a780d5Martin SjölundMake pre-commit hook remove tabs as well
31e33d4d32adrpoupdate mingw makefiles so no cygwin like OMDEV path is needed
e960186fe0adrpoupdate mingw makefiles so no cygwin like OMDEV path is needed
dd1927fc62Adeel AsgharUse the same parent object instead of finding it every time.
6ceece72f7Adeel AsgharBetter writing of elapsed time to keep the file size normal.
02615afc3eAdeel AsgharWrite total time OMC API calls have taken.
63a287984cMartin SjölundMove adding of tempVars into model info
ab8d9bafccMartin SjölundExpected output
71913acac0hkieladjust function call parameters of Expression.simplifyList()
72ef546a14hkielsimplified and optimized some functions in Expression.mo amd ExpressionSimplify.mo
0b6403ea43Adeel AsgharMerge pull request #5 from lochel/chemicalreactions
08d12cbd4eLennart OchelFix some typos in chemicalreactions.onb
bef411cb30Adeel AsgharMoved the bom detection code to Utilities. This should speed up the OMEdit starting since now we don't read all the MSL files to detect bom.
d8a8af9cb9Adeel AsgharMissing file from last commit.
260d882ecfAdeel AsgharFixed test according to updated derived unit.
58a891528eAdeel Asgharticket:2250 Added time derived units. Fixed a typo.
153a2985e8Adeel AsgharRemoved references of _info.xml
ed7c85c1f7jhagupdated expected output
688abe8c31jhagactivate wrapFunctionCalls by default
109fbac51fMartin SjölundAlso fail when giving bad a lapack config
7c597ec8b2Willi Braunadd daeMode support for ida and dassl solver
b9640d0007Willi Braunadd code generation for DAE mode
75b496ebd8Willi Brauninitial implementation of daeMode integration
e5178828adWilli Braunadd testcases for daeMode
eb5f8557d1Adeel AsgharAdded reset button to figaro process path.
6a64b9d57cDietmar WinklerGet rid of deprecation warnings
825af5155fadrpodo not copy the wrong lib over the correct one
b077bcb55fAdeel AsgharMerge pull request #3 from lochel/translation-de
0b733017bbLennart OchelFix German translation
af97876e97hudsonUpdating 3rdParty
4d6000161dNiklas WorschechMerge branch 'mychanges' of https://github.com/niklwors/OMCompiler into mychanges
7ee20e6611Niklas Worschechfix for initialize clock conditions in cpp runtime, #3872
e2726c6c7badrpospeedup prefix handling for outer ticket:3817
2acba86dffadrpofix for ticket:3817
982cf94219hkielfix for ticket:3863 avoid stack overflow
ee21b31f85adrpotest for ticket:3817
993db0829bhudsonMerge remote-tracking branch 'origin/master' into pullrequest
963ed3cf89Niklas Worschechtemporary deactivated two cpp clock tests. Will be activated with next commit again
4f37b928f0Niklas WorschechMerge branch 'master' into clocks
fde84cd58bNiklas Worschechmerged submoduls
5dd8d5a441Martin SjölundOutput keys in sorted order
39abc94c3fMartin SjölundAdd LEAF node for AVL trees
41411a73f1Martin SjölundExpected output (now sorted)
bad8c829d1Bernhard ThieleFirst steps towards continuous-time state machines
c57105d470Worschech Niklas (DC/ENE22)fix for event clocks in cpp template
fd06aab7a4Lena Buffonikilled whitespaces
d2d99737a9Lena BuffoniFixed issue with hierarchical class list
8d790c3117Lena BuffoniMerge branch 'master' of https://openmodelica.org/git-readonly/OMCompiler
cc23004038hkielremove warning on OSX
1dc4adc9ceRüdiger FrankeFormatting and compile time static_cast in getAMatrixCode
15ff3002e2Rüdiger FrankeLet Newton solver exploit symbolic Jacobians
6221caea47Martin SjölundFix stack overflow in splitConnectEquationsExpandable
00d2306773Adeel Asgharfix simulation flags format for sphinz.
c350b9bd29Adeel AsgharQt clients and python targets are moved to top level make file
9e106125b4ptaeuberExpected Output
15841df777ptaeuberRemove redundant debug dump
8bd6359d22Lennart OchelDump more information for state sets
e92eda0c86Lennart OchelFix initialization of dynamic state selection
981faaad0aLennart OchelFix initialization of dynamic state selection
c6e84de988Martin SjölundFix memory profiler
18210f47c5jhagupdate LOG_DSS dump
c29d454263adrpocopy the libomopcua.dll into the bin folder
3bd7ac2fd6Martin SjölundUse dumpExp instead of printExpStr in templates
8053bc5b6aptaeuberExpected Output
f07d8948beptaeuberFix order
4d8f6c5283jensdoFix sleep duration for rt sync on windows
86399e4749Martin SjölundReplace CREF with ComponentPrefix in ElementSource
077a6e61c6Lena Buffonirem whitespaces
459a362635Lena Buffonihierarchy fixed in FigaroExport
a93af6526cMartin SjölundExpected output (no more info.xml)
30c4dbdfdfLena Buffonirem whitespaces
ee87e1e52dLena Buffonihierarchy fixed in FigaroExport
b3b9299847Martin SjölundFix for PowerSystems
ad78c44188adrpoattempt to fix ticket:3805
aab60103e1Martin SjölundDo not keep --no-undefined during the whole config
90bfcfbd88Martin SjölundNo memory profiling on interface.mo-files
25cc4ea0baMartin SjölundMake special case for BackendVariable.getVarSingle
a4a6b3ad75Martin SjölundConstruct CREF after checking HT is not empty
e44c8ffe2aMartin SjölundMake a special case for derived classes
3ef1dfaf07Martin SjölundExpected output
c932d4e715Martin SjölundLink lpsolve55 in compiler runtime
2e137d9606vrugeBackendDAECreate: removed inline for alg
eb7652c7a2adrpoextend BuildModelRecursive.mos to accept extraSimFlags
7733e05e0fNiklas Worschechfix for dim zerofuncs
d523f13772Martin SjölundDo not compile sim files when bootstrapping
c76b40bae8adrpofix ticket:3783 - add flag keepRedeclares to removeComponentModifiers and removeExtendsModifiers set to false by default
053c7fd7b5adrpoupdate tests due to MLS 3.2.2 bump
45c0cb2d68Martin SjölundAllow cross-compiling bootstrapping without ipopt
c138b2b2adNiklas WorschechMerge branch 'master' into clocks
43d1b0b95fadrpofix for ticket:3783
131a472615adrpotest for ticket:3783
e04b3b70dcniklworsMerge pull request #1 from vwaurich/synchronous
d5d018738fMartin SjölundCache operator overloading
f198b827eavrugeRemoveSimpleEquations: remove force inline
836ca3fa9cMartin SjölundUse env.var OPENMODELICAHOME when bootstrapping
6a1618d0baadrpoAdd test for ticket:3649
e74ce8c4faadrpoFix for ticket:3649 - split the connection set
452f8bea86Rüdiger FrankeUpdate msl32_cpp tests
463ca8e058Martin SjölundHandle fixAlgorithm traversal using referenceEq
f0613dd205Rüdiger FrankeUse default C++ ABI, assuming Boost is doing this as well
2f6120e6bfAdeel Asgharticket:3852 Allow saving simulation settings without doing simulation.
fbedcab0b3Martin SjölundUse referenceEq more for InstExtends/Absyn
ccb265a437Martin SjölundMake a more minimal FGraph structure
4dcb44d8acMartin SjölundSpecial cases for lookup/fq idents
a8650dcc4fAdeel AsgharDon't make changeStdStreamBuffer silent command.
6f9e018b13Rüdiger FrankeSmall cleanup to Newton solver (std::copy)
0d4c57c998Rüdiger FrankeEnhance Newton solver with line search
65a2e8255avrugeExpected output
e6905275cdvrugemove inline from BackendCreate to modul (normalInlineFunction) - issues with complex function - remove force inline don't work (e.g. for ThermoPower, Mdedia.TwoPhaseWate)
4fd107d410Martin SjölundExpected output
3b52462defMartin SjölundAvoid printExpStr in SimCode
7ea26e0e65hkielreduce memory usage
a6a90f4618Adeel AsgharUse -gdb-set instead of set* commands. Fixed some warnings.
49db8e64acMartin SjölundExpected output
9c532799afMartin SjölundDo not use part of list except when debugging
22db45900eMartin SjölundAvoid creating cref to lookup an ident
70dd92aaebMartin SjölundCreate symbolic Jacobian faster
d6544d1e86Martin SjölundMemory optimizations
2aca7e47a6Martin SjölundReduce memory consumption
2ac963a7f0adrpofix windows builds after runtime changes
0c33ef3633Martin SjölundMemory-saving performance changes
6c69cf0c05Martin SjölundUpdate to latest common
7265334849Martin SjölundFix compilation on OSX
9b56b3c36fjensdoFix name of OPC UA aliases, pt 2
222a847639Martin SjölundMake Compiler/runtime shared to avoid C++ issues
db25f7e54aMartin SjölundMake OMEdit use rpath-link to ease linking
2fe814f59eMartin SjölundUse rpath-link to make linking easier
d9f7f91e21Martin SjölundAdd support to hot-swap function impl at run-time
5fd8e2394eLennart OchelFix generated code of algorithm when clauses
a2599ba265Martin SjölundFix for relocatable functions
766fa6aed5Martin SjölundUse stat to check existance of file
668e38982bMartin SjölundRelocatable function fix
4ed2f2bda8Martin SjölundRemove some unused external C code
cfcd347bd4Rüdiger FrankeRemove duplicate creation of crefToSimVarHT
bd7263ee91Rüdiger FrankeRemove mixedArrayVars from Cpp code and SimVars
dfe6fa6d2fAdeel AsgharUse QProcess::processId() for Qt version 5. Only use QProcess::pid() for Qt version 4.
44087ac162Martin SjölundAdd CXXFLAGS to some libraries
b85a431c20Martin SjölundConfigure ANTLR with CXX
829e658c11Lennart OchelUse unique mapping for linearized variable names
48bdc062c0jhagupdate the output of the numerical linearization
1ebb164471Lennart OchelUse unique mapping for linearized variable names
a990872512adrpofix OMEdit compilation on Linux
08b243e7b7Rüdiger FrankeIntroduce names for states and derivatives
8bf71c6dc8Martin SjölundIncrease the maximum number of threads for codegen
05cfc469d7Rüdiger FrankeDelay construction of external objects
109e29977fAdeel AsgharAdded killProcessTreeWindows function to kill the child processes properly.
89306dec2dhkielfix coding style else then -> else remove unused variables
25f59e353fLennart OchelUpdate expected output
a98c322684vwaurich-fix synchronous for variable intervals in cpp-runtime -separate clocked equations
149c9c68a0Martin SjölundLoad File.mo
50cddbb45fMartin SjölundRemove some unused buffers
eadffd4e43Martin SjölundSupport for writing Susan text directly to file
50d4e83ac2Martin SjölundLoad File.mo as well
9076ed1564Rüdiger FrankeMove ModelicaUtilities.h to main include directory
e7cbe783d5Rüdiger FrankeLink model specific extra libs with msvc as well
12f928e943Rüdiger FrankeDisable default clock for FMI export
8cf1a8fae4Rüdiger FrankeLink Modelica utils and extra libs to Cpp FMUs
58a87b7f29Martin SjölundAvoid buffers when generating constant literals
dd4ad77479Willi Braungeneralize convertResidualsIntoSolvedEquations
dcd1258453Adeel AsgharUse correct path delimiter for Linux.
7068c81213Niklas Worschechfix for boost includes added 3rdparty/boost for msvc and gcc
08d59fb404Niklas Worschechfix for boost includes added 3rdparty/boost for msvc and gcc
3dc8b59a01hkielremove List.appendNoCopy() and replace calls to it by listAppend()
af50f2d4abAdeel AsgharUpdated the function name to more appropriate one.
bfd9638478Adeel AsgharCall reDrawModelWidget after updating the xml document.
925566254aPer ÖstlundFix for ticket:3842.
178d0c35c0Per ÖstlundAdded test for PR 718.
f35a0e242dPer ÖstlundClean up DAEUtil.splitElements.
89c4bb600aJan ŠilarPDEModelica in AbsynDump
82f543fde8Martin SjölundFix name of OPC UA aliases
b550ed1af5Martin SjölundImplement support for relocatable functions
9939891b3eMartin SjölundAlways traverse down non-literal array expressions
7251626eaeMartin SjölundHandle literal array expressions better
661329bf90Martin SjölundTraverse record bindings when traversing functions
62b81fe06eRüdiger FrankeAdd DIM_EXP to code generation for reduction expression
4168774f2fAlachew MengistFix spaces so that options can be listed down properly
7ce091856dMartin SjölundWrite the rest of init.xml as file
903eab3153Alachew MengistOptimized PNG files to reduce the size
a9c53de843Adeel Asgharticket:3841 Get a proper bounding rectangle for exporting image.
cc7a3c9782Adeel AsgharUse pressure as quantity name
9c0d4845fcMartin SjölundFaster stringAppend of 6 strings
47597700d2Adeel AsgharAdded derived unit bar.
a1c9bae84cMartin SjölundRevert to old InstCache (baf1866)
6517ed8e73Martin SjölundSerialize init.xml directly to file
efb215b31fAdeel AsgharFallback to base unit if conversion fails. Show the error message if we are unable to convert to display unit.
47b45e56cfAdeel AsgharMark the error strings for translation.
eb41be77b7Adeel AsgharFixed the undo feature for alignInterface function.
b623cc22f9Per ÖstlundImprove DAE.traverseDAE*
a17aa0ec92Martin SjölundOnly display RT warnings if RT is enabled
a35737a6c5hkielUse array instead of tuple to count variables
2399ea0938hkielSmall optimisations to SimCodeUtil
82c3f1bbbcRüdiger FrankeForce evaluation of structural solverMethod
de2ea494b5adrpodelete unused files
81787f3ef8adrpoANSI C needed for stupid compilers
26d5e8fc8dCory RuppMemory leak fixes for sparse solvers. See ticket:3548
1c8d556d16Willi Braunadd more tests for klu and linear sparse solver
588d564e4dRüdiger FrankeAlways link Cpp FMUs with static gcc libs
3344b5241fRüdiger FrankeKeep more call parameters to external objects
271abb1ee3Martin SjölundTry to cache the keys of the InstCache
8dbf39e59bMartin SjölundAvoid some memory allocations
edbea30272Adeel AsgharMerge pull request #24 from robbr48/my_omedit_branch
a42d9165d3Martin SjölundTweak inst cache hashing
129e0d71e5Robert BraunAdded undo function for alignInterface function.
a9e8be5dcbAlachew MengistFix file not readable issues
baf1866fd5Martin SjölundUse a new key for InstCache
17e7ea8d09Adeel AsgharReturn from fetch interface data thread.
cf8d91fbc1Adeel AsgharRemove the associated graphical objects when we remove interfaces.
e008b58a71Per ÖstlundFix DAEUtil.addDaeFunction.
7007bf4b1dMartin SjölundChange DAE.FunctionTree to the new AvlTree
78e299ce79Per ÖstlundUpdate test for PR 695.
66ec24b0bbAdeel AsgharGraphically mark the interface as aligned or not aligned.
8d2f7ad487Adeel AsgharInvoke align interfaces via context menu.
f1cfd57c66Willi Braunadd first ida testcases
2b381915adWilli Braunadded runtime ida integrator solver
390188e284Martin SjölundUse referenceEq for more InstExtends traversals
0c3a76eb18Lennart OchelAdd new flag to set maximum number of bisection iterations
3a64133c50Martin SjölundFix some InstExtends referenceEq
717310b831Martin SjölundFix sphinx warnings
ec5320e0e8Martin SjölundWrite common datatypes directly to file
1d08c394e8Rüdiger FrankeKeep multi-dimensional array parameters, ticket:3363
30d85487b8Rüdiger FrankeSmall fix
4832d7a401Rüdiger FrankeAdd default clock period to C runtime, ticket:3752
0182b277efRüdiger FrankeKeep arrays of free parameters, ticket 3363
1e8523c785Adeel AsgharMerge pull request #23 from robbr48/my_omedit_branch
c96d87a57aRüdiger FrankeExpected output
a204f67dd4Martin SjölundBetter listMaxInt
d341b73bfeRüdiger FrankeLess aggressive fix to ticket:3363
a10e5cd14aMartin SjölundSpecial case for list intersection
3c59a78f91Rüdiger FrankePartly revert test update in a9f3edc
6698c03207Alachew Mengist-TLM based co-simulation users guide (#18)
2e5579a918Martin SjölundRevert disabling backend CevalFunction
e64e95fb2bMartin SjölundRe-enable backendKeepEnv
0a1303a82aAdeel AsgharReturn from function
a7a4dbee41Rüdiger FrankeSupport parametrization of external objects, fixing ticket:3363
3c02320e33Rüdiger FrankeCall destructors of external objects from Cpp runtime
a9f3edc274Rüdiger FrankeUpdate tests after fix to ticket:3363
1ba0f8ab12Martin SjölundSend initial env to backend
098036e9bbMartin SjölundExpected output / disabling backend CevalFunction
4dbbfd4e54Rüdiger FrankeMore precise fix to ticket:3752
900bb22898Rüdiger FrankeAdd default clock period to fix ticket:3752
5d188489baMartin SjölundSet -d=nogen in the backend to avoid dynload
a41106b0c5Martin SjölundExpected output from -d=-gen in the backend
85f4a3866dMartin SjölundRefactoring EvaluateParameter
84c62fccceRüdiger FrankeEvaluate structural Clock arguments (fix ticket:3717)
6a704ad0a2Martin SjölundLet execStat keep track of heap free/total size
312e5a4510Martin SjölundAdd debug flag reportSerializedSize
86e3c048ddhkielreduce memory usage
d8837658dbWilli Braunrevert unwanted change to debug flag
12b9c58c79Martin SjölundChanges to ElementSource
25dbe82c64Per ÖstlundFix for ticket:3825.
9890dea063Martin SjölundExpected output / less type info by default
6e3121a41eRüdiger FrankeSkip min/max for derivatives (work around ticket:3832)
f11f59c201Willi Braunfixing ticket:3786
67be45a615Willi Braunchange expected output
7e220a214aarun3688update student master thesis (#17)
7d416a0d2dAdeel Asghardocumentation & formatting.
08c9f972f0Adeel AsgharClean up. Removed Qt::WindowTitleHint flag because it disables the dialog close button in Qt5. Deleted unused resources.
6dbd8bc754Robert BraunMade missing interfaces removed by fetch function.
aef3c2c3d9Robert BraunReverted previous commit.
8909e6f84aRobert BraunReverted previous commit.
12997634baMartin SjölundRemove varkind from DAE.RECORD_CONSTRUCTOR
027b44e24cptaeuberAdd compiler flag to skip tearing for specified components
4e15aa80b2Adeel AsgharUse currentText instead of ItemData.
276fe76131ptaeuberExpected Output
0d11bbe987ptaeuberIntroduce indexing of strong components
fc4de9ec85Martin SjölundTry to free data to collect front-end garbage
fd246e86fdAdeel AsgharSet OMBUILDDIR properly.
c77151bc97Robert BraunMerge branch 'master' of https://openmodelica.org/git-readonly/OMEdit into my_omedit_branch
2d4e99c2a2Adeel Asgharticket:3827 Adapt to updated jacobian flag.
f86be8dfd1Robert BraunCorrected fuzzyEqual function for alignment.
b319531067Robert BraunMade sure old interfaces are removed before fetching new ones.
1f4723eff7niklworsMerge branch 'master' into clocks
3d9e047055Robert BraunChanged wrong attribute name XML element.
dec85325daMartin SjölundConsume less memory traversing expandDer
0a4dff1d7dRobert BraunMerge branch 'master' of https://openmodelica.org/git-readonly/OMEdit into my_omedit_branch
ad9aa799a4Martin SjölundGet a better default size for SimCode hashset
98c1ed01c6Per ÖstlundImprove instantiation caching.
b1a1225dc0Rüdiger FrankeImprove stop test and logging of Newton solver
0b9b099419Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
fcbacb97a7Adeel AsgharCheck if interfaces are aligned or not. Fixed fetch interface data.
bce1c10f50Robert BraunAdded default position and rotation in alignment function.
f90b5128d2Martin SjölundFix typo extern extern
5e460b6784Adeel AsgharMerge pull request #22 from robbr48/my_omedit_branch
b0f6026153Martin SjölundFix problems with errorext bootstrapping linking
2c7da6d0ccMartin SjölundFix bottleneck for create model info
2f0b650348Robert BraunFixed bug in fetch interface function.
c3cf1e9236Martin SjölundImprove extractVarsFromList
f6051a17f2vwaurich- caching of evaluated functions
8f6676e7caAdeel AsgharFixed dragging of external models.
058fd5a910Rüdiger FrankeAdd variable attributes to Newton solver
8f17d04ccaMartin SjölundMake error messages consume less memory
17d76a0456hkielFix compilation when not using SUNDIALS
9c5b9e7085Rüdiger FrankeAdd new attributes to IAlgLoop
583180ae42Adeel Asgharcopy PDEModelicaBuiltin.mo to builddir_lib
000a65f4a3Rüdiger FrankeMake more variable attributes available in alg loops
2894deef31Martin SjölundDo not allocate memory to traverse prefix
96898a5de5Willi Braungeneralize and move dasslJacobian flag
ab9b88d99cWilli Braunajusted change
c84ef06563Adeel Asgharticket:3819 Fixed display of text.
c3b216c3f8Adeel Asgharsome updates for Qt5.
e44d63b88bMartin SjölundReplace HT with AvlSet in InstExtends
df3f1c9449Willi Braunextends solver stats for all solver
dcfab7d83cAdeel AsgharMerge pull request #21 from robbr48/master
e8fbdf632cRüdiger FrankeImprove stop and error tests of Newton solver
41d4cef69ahkielavoid copying tuples recursion -> loop (BackendVariable.getVarLst)
7d8f15f2cbptaeuberIntroduce runtime flags for using sparse solvers
fda31e08a6ptaeuberIntroduce flag to skip tearing for huge systems
325d842c0cRüdiger FrankeWhitespaces Newton solver
cf3ceac0a8adrpomake sure we have attribute defined before we use it
f06d166456Robert BraunFixed wrong index in rotation vector function.
1169838503adrpoupdate 3rdParty
fd0af6a15eMartin SjölundAdd Avl sets in addition to trees
adc47eb0a3Martin SjölundAdd AvlSet
be289f9d79adrpofix windows build
e3d969737aAdeel Asgharavoid some more warnings.
b791c331d6Adeel AsgharRemoved unused OMC parser.
3c287819c9Adeel AsgharFixed the view grid lines. Fixed some warnings.
86230f2f49Adeel AsgharAvoid some warnings.
17bf815c44Rüdiger FrankeSmall cleanup
9027e889d6hkielavoid intermediate lists instead use: List.fold(List.map()) -> List.applyAndFold() List.map(List.map()) -> List.mapMap() listReverse(List.mapFlat()) -> List.mapFlatReverse()
6a1e39bcdahkielrecursion -> loop
6c0fc0ddadptaeuberAdd missing comma to log-option
2e4164cbc7Per ÖstlundUpdate tests for PR 648.
b500b8450dPer ÖstlundMove conditional component info to environment.
d89da7c600Martin SjölundKeep track of more memory allocations
25e182c06falash325-Set default values for metaModel connection attributes
8287b0b0ddMartin SjölundDo some cref compare without printing to string
2e200222d7Martin SjölundExpected output
c150310687adrpoupdate 3rdParty in OMCompiler
70d6f0e227Martin SjölundUse OMC allocation in more places over GC
a2943a8ae1Martin SjölundOptimize crefStr slightly
e841e30dceadrponeeded defines for Linux
817c916164adrpofix ifdefs in omc_config.h
5e18b05232adrpoadapt to msys2 mingw32/mingw64 - ticket:2578
8866309c35Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
12c0b5ac07Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
b02b7fb6e6Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
c463e0ab38Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
b7a25b3f43Martin SjölundUse OMC allocation functions instead of libgc
68465ab6adMartin SjölundFix compilation
536387b30aMartin SjölundProfile memory allocations for strings
4f671af017Martin SjölundDo not use listReverse in append_reverse
b4f223efadMartin SjölundHandle listReverse of 1 element as a special case
18c51d6ec5Martin SjölundMove functions into new package ElementSource
492b0ccbe6Martin SjölundDo not allocate operations if the flag is unset
4aac19f73cMartin SjölundExpected output
5f55444080Martin SjölundReduce the maximum codegen threads to 2
0989114669Lennart Ochelupdate module wrapFunctionCalls
0aff3d1e59jhagwrapFunctionCalls: avoid simple equations
7100384febMartin SjölundWorkaround for bugs with hash tables
f49dbc4a84Martin SjölundFix referenceEq for traverseExpBottomUp reduction
cd37dee625Martin SjölundUse a single shared HashTable for Inline.mo
8bddad5579vrugeclean up
a2edcfd4c6vruge- move some variable-function to BackenVariable - function for further development
17340edfafvrugeimproved simplifyComplexFunction
d7ed464b2aMartin SjölundInline: do assertion before memory allocation
d42016bd80vrugeimproved isContinuousIntegration for expressionSolve
a0ee81bcc6Rüdiger FrankeUse VarKind JAC_VAR for Jacobian SimVars
948feba7faRüdiger FrankeIntroduce VarKind SEED_VAR for SimVars
aea896ce34Martin SjölundUse implode_reverse in PrefixUtil
98214dcfe0Martin SjölundUse referenceEq in more places in InstExtends
2ddae71332Martin SjölundEnable code generation in parallel
3ad7933b36vrugeimproved solveSimpleEquation
28678f0680Martin SjölundUse constant lookup for more operators
34d31de30bMartin SjölundUse constant lookup for more operators
e26c7b244cRüdiger FrankeDeactivate optimized matrix assign
718667496eRüdiger FrankeAdd seed variables to SIMVARS
3e08e7a79avrugeExpected output
cbe9002992vrugeadded max_iter=100 for runExReduceDrumBoiler.mos
392b6e6476vrugeExpressionSolve: added rule for solve if-expression inside continuous integration
49bc0cb346hkielpreserve some more tuples
22754cb9dbMartin SjölundUse constant lookup for operatorsBinary, etc
18bb4e8a21Martin SjölundDo not generate function code for constants
45d32fb950Adeel AsgharProperly preserve the bom
141c87f0dcPer ÖstlundCleanup ConnectUtil.
5ed2c5ed4bMartin SjölundDetect cardinality being used
29c50811b4Martin SjölundExpected output
c914d20d47Martin SjölundReduce memory used by state machines
d00a5127a7Martin SjölundSome changes for C90
d069b6557bMartin SjölundExpected output after changing connection order
bb3bd55bd3Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
d8c46e379bAdeel AsgharDo not use interface as variable. Already defined in basetyps.h in MinGW.
ddb7de2120Adeel AsgharDo not interface as variable. Already defined in basetyps.h in MinGW.
26abcb9786Adeel AsgharMerge pull request #19 from robbr48/master
82e78ebd5fMartin SjölundReduce memory allocations for ConnectUtil
fbf65b8cf9Adeel AsgharFixes #3807 and #3808. Added line ending and bom settings.
b31332c072Martin SjölundAdd new dependency
13e54206ffMartin SjölundChange to prepend instead of append
29cba5b3e0Robert BraunRemoved some debug output.
528c590c75Robert BraunReverted accidentally commited debug output.
7368537b26Robert BraunFurther improved alignment code for meta models.
e5d70b8c46Martin SjölundRemove redundant size Integer from HashTable
ed64d14f64Martin SjölundUpdated use of delete function
79764127e2Robert BraunRe-wrote getRotationMatrix function in MetaModelEditor.
0148cc5001Willi Braunexpected output
7eb2bd0d2fWilli Braunimprove sortEqnsVars module
ae0b17482aRobert BraunReplaced "to" with "->" in align interface dialog.
342c8d3324Robert BraunImproved alignment feature for meta models.
1aec67d1dchkielpreserve more tuples
19712133acLennart OchelImprove description of module wrapFunctionCalls
27234f653cadrpo- windows fix for ticket:3809
a78d6b3396vrugeuse System.tmpTickIndex as counter
e6b7f7d3eavrugeExpected output
e0b38d17e5hkielremove tuple decompostion-recomposition
4da6f5b066ptaeuberSolve assigned variables in when-equation in the equation
55d9dc4b6aptaeuberUpdate events makefile
ae22680580hkielOptimize some operations on lists
971d7f1d94Martin SjölundDo not reset matching on no change
09afcd1400Martin SjölundFix stack overflow in traversal
29cc490f3chkielreplace List.flatten(listReverse(l)) by List.flattenReverse(l)
2eb7120c00Lennart OchelAdd libomopcua.dll to .gitignore file
186a5298faLennart OchelDo not reset matching on no change
e57ec5c74ahkielFix SimulationRuntime/c for OSX
8d51784ee2Rüdiger FrankeRevert "Access iterators locally in alg loops as well"
3b38cab643Martin SjölundFix for unassigned variable in function
c864d3fb93Rüdiger FrankeExtend functionPointerTest
536d88e046Rüdiger FrankeCreate closure for functions without args
a37f8bace1Rüdiger FrankeAccess iterators locally in alg loops as well
bbbc6bc03cMartin SjölundFix code for Sphinx 1.4
c794db8a4bMartin SjölundUpdate for latest Sphinx (1.4)
630a9d05d5ptaeuberPrototype for total tearing
8cc8b1e03fptaeuberAdd tests for total tearing
7d676ef9fdLennart OchelImprove documentation of some flags
be78147131crupp2Added numeric tests for all test cases
202229ec70crupp2Test case for numerical linearization
789f9965c5crupp2implement numerical linearization
9b9a159602Adeel AsgharRemove the unnecessary assert.
858eed0fd6Adeel AsgharMerge pull request #17 from robbr48/master
f806cd87a9Adeel AsgharGraphical representation for interface points. Fixed several issues with connection attributes dialog.
2ecd6baa89Robert BraunImproved align interfaces dialog for meta models.
f1c557c847Per ÖstlundDecrease default instantiation cache size.
cedd89a125Martin SjölundChange order of listAppend
1e32d47b6aPer ÖstlundDisable removing of duplicate equations.
de87d61175Per ÖstlundUpdate tests for #599.
16226ebe6dPer ÖstlundAdd new instCacheSize flag.
3dc2a248f6vrugeslight improvement (ticket:3801)
992c9244f1Martin SjölundRemove unused code
5ad8e78a72Rüdiger FrankeAttempt to fix msvc build after 9a0cbdb
5e8c11b193adrpo- fix ticket:3801
76e6efa9e0adrpo- revert previous commit
c81d1df46aadrpo- attempt to fix ticket:3801
6eefa07bd9Martin SjölundRecord sorting/state selection in execstat
9feeed444aRüdiger FrankeTweak F77 call args
9a0cbdb5c6Rüdiger FrankeImplement identity function
3702bb9bd8Martin SjölundDo not use Option in FGraph.openScope
7f405eff6fMartin SjölundDo not allocate same Absyn.CREF when traversing
9a6f2aa2b4vrugedon't inline inside solveSimpleEquation (performance issues after inline)
50ebc1fe6aMartin SjölundFix scalability of matching
f98a3b2a67Martin SjölundDo not allocate tables for DSS using uode
e07680e1d2Martin SjölundDo not compile dlopen for FMUs
b6f2d8ba13Martin SjölundChange set representation for BackendVarTransform
32dfc31087Rüdiger FrankeExtend ArraySlice test
cbd4fc8f72Rüdiger FrankeAnother fix for ArraySlice with dim = 1 vs. whole dim
bb4bdc2975Rüdiger FrankeRevert "Fix ArraySlice for dim reduction if size(dim) is 1"
86ce9fb10cvrugeExpected output
07f662d2bevrugesort EqnsAndVars for sparse solver. After https://github.com/OpenModelica/OMCompiler/pull/584 lis-test will failed without sort.
630d4b6772vrugesimplify ASUB for binarays
89a5ee4e30Martin SjölundAppend in the fast order
19a90883c4Martin SjölundLoad DoubleEndedList
9fef384bccMartin SjölundImprove performance of traversals
acf466e4c9Martin SjölundImprove performance of traversals
668df2e032Rüdiger FrankeExtend ArraySlice test
fdacf597a6Rüdiger FrankeSupport external function that returns a string array
c74ac6c471Rüdiger FrankeFix ModelicaAllocateString to consider null terminator
d4f46815a2Rüdiger FrankeFix ArraySlice for dim reduction if size(dim) is 1
84a39dc5a3Rüdiger FrankeLet ModelicaFormatError format the message
86d4eee6e9Rüdiger FrankeFix compilation errors for ModelicaTest.Utilities
fe83e7add7Rüdiger FrankeAdd first test for ArraySlice
1fe4ff25c4Rüdiger FrankeSupport ArraySlice with negative step
872a3a5e1bAdeel AsgharFixes #3797. Show class name as tab title instead of class path. The class path is shown in the header of the window.
d0a3c75e45Adeel AsgharIndentation
373069e91cAdeel AsgharAdded button for calling MetaModelEditor::alignInterfaces function. Added AlignInterfacesDialog class. SVG icons for simulation parameters and align interfaces.
37fcc39ad9Rüdiger FrankeSpecify StopTime = 0 for some tests
e9bb3a1613Rüdiger FrankeSkip actual simulation if no time span specified
5aae6d2dd9Rüdiger FrankeClean up duplicate and unused templates
7514136b18Rüdiger FrankeImprove indentation of Cpp array code
bfe5eb20b9Rüdiger FrankeDirectly call Slice constructor for slice expressions
0af318b75eRüdiger FrankeAttempt to fix the reverted ArraySlice issue
ce2f881682Rüdiger FrankeRevert "fixed bug which lead to wrong cat_array behaviour for ArraySlice"
17bd66e985vrugeRevert "Expected output"
5f32cac6ffvrugeRevert "solveSimplEquation change order"
c9dc40fed7vrugeExpected output
a53faabc95vrugereduce implicit inlining
29b239edf9vrugeExpected output
6387b43560vrugeFix for #3791 don't force inline function with annotation(Inline=false), trust modeler
b84340bb2bRüdiger FrankeImplement vector conversion for dynamic arrays
9f902c3f6dvrugeadded rule for derive DAE.RECORD
41a0601eeavrugerecursion -> loop
b4d4a97a52vrugeadded rule for derive SCONST
8d5d64f212Adeel AsgharFixes #3793 Call loadString with the new text of the class before creating the LibraryTreeItem.
7b8142a69dRüdiger FrankeFix for #3782
a18a016442Rüdiger FrankeAdd test for #3794
9d2b906f3eRüdiger FrankeKeep top level input / output of connector arrays (#3794)
cbd8a42228Lennart OchelUnbox modelica_string
65736d134aMartin SjölundPerform list filtering in the fast order
9cffa05035Martin SjölundFix stack overflow
e0629d9839Adeel AsgharFixes #3796. Added help buttons for compiler & simulation flags.
44a9f5944aMartin SjölundReduce hashtable bucket size
4c591e7f4eMartin SjölundSpend less memory trying to build a queue
1e4a45875fMartin SjölundMove creating of list
a7cea92a2eWilli Braunfix function description
ffd22493dfLennart OchelMaximum number of event iterations
365c3ff555Lennart OchelUpdate expected output
9b7aa44defMartin SjölundAdd functionality to record all mmc_alloc_words
ffcb0f705aMartin SjölundDo not compile embedded server for source FMU
58e0b643b6Adeel AsgharFixes #3787. Add OMEdit version in Linux. Put the About OMEdit text in scroll area to avoid overlapping labels.
f839bcffaaAdeel AsgharTests for getDerivedUnits
b472093c84Adeel AsgharMore derived units. We need more derived units to fill convert unit drop down.
4388d1f9b2Adeel AsgharDivide with scale factor instead of multiplying.
d610179389Martin SjölundAdd test for #3763
7bdf7375deLennart OchelAdd markdown flavour to README file
95e3a3bed8Martin SjölundAvoid some memory allocations in tearing
655c8b3994Martin SjölundExpected output
b4c41d710bRüdiger FrankeMove creation of boost symlinks to CMakeLists.txt
fc98a162b4Adeel AsgharFix build.
ae8e741582Adeel AsgharReasonable size for default component text.
5a75cb5115Adeel AsgharFixes #2250. Added support for DisplayUnit and unit conversion for parameter input. The plot data is now based on the display unit.
b657a9f2ebAdeel AsgharStore display unit.
f6f9906efcMartin SjölundAdd a removeVerySimpleEquations pre-opt module
8fc40e6410Lennart OchelRemove redundant function dumpTypeStr
fbd2797615Lennart OchelFix a typo
72574824c2Lennart OchelSimplify generated code of algorithm when clauses
f2e9b23a6fMartin SjölundSource FMUs do not need embedded servers
0f08ea6e40Lennart OchelSimplify implementations of math functions
a56dd55715Lennart OchelFix indentation
3f8822a5dcMartin SjölundFix scalability for Tearing.selectCausalVars
2f31423a90Martin SjölundAvoid memory allocation in traversals
02cbe35ad8Willi Braundump error messages only with failtrace for traverseBackendDAEExpsEqnsWithUpdate
80ab59a658Willi Braunfix debug dump of time
15e8be7689Lennart OchelDon't replace operator mod in findZeroCrossings
0636301dbaAdeel AsgharMerge pull request #15 from robbr48/master
1fbe837d1bMartin SjölundFix stack overflow in SCodeDump
5e63e23c4cMartin SjölundMoved execStat to its own Util package
22b78a94c2Robert BraunAdded an alignment function for meta models.
01f0b65afaadrpo- add open62541* to ignore list
bceaafe5c0adrpo- fix the opc_ua build on msvc
6b6f863c78adrpo- fix the opc_ua build on mingw
a2fcd1e4d5adrpo- fix opc_ua on GCC
0424117eb7Martin SjölundExperimental support for OPC UA embedded server
2d44ae9bc7Martin SjölundPartially restore the old OPC branch
7a512b5f66Rüdiger FrankeAutomate symlinks to boost includes (#3760)
b99bfbd176vrugetry to fixe compilier warning
05d473af30Adeel AsgharAdded API getDerivedUnits
f4265f817eptaeuberExpected Output
b98debe16dptaeuberOnly dump info for casual set if DT is activated
c3889ed06cWilli Brauntry to improve solveLinearSystem
bceba9dd82Willi Braunexpected output
51b50a21aaAdeel AsgharMerge pull request #14 from rfranke/glob
029e82ef5aniklworsMerge branch 'master' into clocks
de2cd141f2Martin SjölundAdd script to analyze library logs using execstat
5791e855eeMartin SjölundUse execstat for all tested libraries
2a6385e7c1Rüdiger FrankeUse glob pattern to find cross compilers
0502333d71Rüdiger FrankeInstall cross compiled libs in target path
92a48a53d1Rüdiger FrankeLink target dependent version of OMCppDgesv lib
91ea31c879Adeel AsgharAdded ExternalObject in isBuiltinType check.
4bcfe5edaeAdeel AsgharMake static as default linkage instead of dynamic.
c2f86a4e6bAdeel AsgharMerge pull request #13 from rfranke/triplet
58e563b21aAdeel AsgharAdapt to new output format of getExtendsModifierValue & getDerivedClassModifierValue.
5654b30acdRüdiger FrankeCover clang as well
d9929f3682Ruediger Frankestrip compiler from platform name
c3dcba6523Per ÖstlundFix for #3773.
f996e2699dAdeel AsgharUpdated the dynamic & static radio buttons to a drop down.
50f75829a1Per ÖstlundUpdate tests.
7ef55637d3Adeel AsgharFixes #3784. Only read start value when showStartAttribute is set.
f71b9780d2vrugesolveSimplEquation change order
622fa17becvrugeExpected output
230aa3eb9fPer ÖstlundCode cleanup.
cd92453665Adeel AsgharFixes #3775. Support multi-platform FMUs.
b5698132d1vwaurich- fix FMU valueReferences for non-consecutive array-variables
8ee7b3f5d6Per ÖstlundUpdate tests for #3773 fix.
84e82edd39Per ÖstlundFix for bug3773.
5d60737a58vwaurich- fix static gcc lib linking issue for g++ 4.4
dd0c8bd4d5vrugeimproved ExpressionSolve
34e4a4c0d5Lennart OchelClean up some runtime calls
d2f3af8ce6Adeel AsgharFixes #3784. Allow dots and underscores in component modifiers.
708659720bptaeuberNew data type for inner equations of tearing set
6bd48ef396adrpo- properly comment out the print as \n expands on two lines
ad1689a925vrugeimproved solveSimpleEquations
01b9dd9b6aLennart OchelRemove prototypes of not existing functions
94f82573bfvwaurich- remove maxDer info from SimCode.Modelinfo
1eacb93fe0ptaeuberExpected Output
0c0fc1a6c6Martin SjölundDo not print the variable filter
e022be4d49vrugeadded cases for getNumJacEntries
473cb9ca37vrugeactived solveSimpleEquations for simulation
7f3301c3a3vrugeExpected output
c6caa77a8eRüdiger FrankeClean up expTypeArray templates
0c3dbc0d79Rüdiger FrankeAdd support for arrays of arrays
35181b8ff1Martin SjölundExpected output
6b8ad0f992Martin SjölundFix scaling of getHighestDerivation
b9f7f012ffMartin SjölundTranslate to iterative Tpl.mo
67f1d6b764Martin SjölundImprove tail recursion
5fc71003d0Martin SjölundPrevent stack overflow in graph colouring
f5d2be9b3eMartin SjölundImprove scaling of collapseIndependentBlocks
88cdf8efeeRüdiger FrankeGenerate static OMCFactory for all targets
0a629c718bMartin SjölundKeep all release notes in one place
0d191498e7Martin SjölundGenerate documentation for all releases
2c2f53c0a0hkieluse append_reverse
8793d23074Rüdiger FrankeUse OMCFactory dll with msvc
dc190dc6aeRüdiger FrankeExport OMCFactory for dll linkage (#3760)
65c36697c0Rüdiger FrankeRevert "Revert "Remove static link dependencies of dynamic runtime""
5c0486058eadrpo- fix libraries in ModelicaLibraryConfig_msvc.inc.in
c341199196adrpo- fix order of libraries in CMakeLists.txt - fix libraries in ModelicaLibraryConfig_msvc.inc.in
c27405c8cfadrpo- fix cpp runtime build on msvc
95e9b4641bRüdiger FrankeImplement cross compilation for Cpp FMUs (#3760)
b94386515dAdeel AsgharUse the same name as parent for the extended component.
bd77ae1c37Adeel AsgharAdd QSpacerItem when there is no unit.
4bb6e51b8fAdeel AsgharDo not throw the error message to stderr.
17dabfb37bAdeel AsgharPartial unit conversion support. The work is not done yet so for now unit combo box is disabled.
555843c8a8Rüdiger FrankeLink FMUs with static gcc libs under Windows
869581584bAdeel AsgharAdded a call which will fail.
73f0312fc7vwaurich- fix valueReferences for FMU export cpp runtime
17b662bcf8Adeel AsgharFixed convertUnits interface. Added a fail case for convertUnits.
da98e25dd7hkielrecursion -> loop
25bbd967a4alash325-Change naming conventions and setDisabled(true) for name and model file
d1a01aaaa8alash325-Disable submodel names for metamodel connection dialog
0fd4258bfbRüdiger FrankeCreate precompiled header for dynamic build only (#3760)
c200a484faRüdiger FrankeFirst windows fix for previous commit
d48d574b0bRüdiger FrankeConfigure cross compilation of Cpp runtime (#3760)
cac732a7f2Adeel AsgharSimulation Parameter Sweep example.
e741ddf6b7Martin SjölundCreate a new bootstrapping tarball
c0502a5732Adeel AsgharUpdated OpenModelica Scripting Commands.
ecb8eb58d5Adeel AsgharUpdate the xml document when user manually edit text. save & simulate is not needed.
608ffbb495Martin SjölundAdd support for input output variables
a3b1abdc2ealash325-Push the change on the stack iff the user has changed the simulation parameters
fedeb7c549Rüdiger FrankeFix type name for subtype of basic
f162d51087hkielrecursion -> loop
3fc9ebdb18hkielRemove dumping of graph in production code
45f5779601alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
ae32d089afalash325- Allow to graphically update the simulation parameters for metamodel - Support for undo and redo for metamodel simulation parameters
87f2ac125avrugeExpected Output
30f3e8b1c5Rüdiger FrankeAvoid overwrite error on mv (#3670)
a801b41e55Rüdiger FrankeRevert "Remove static link dependencies of dynamic runtime"
0e205e2212Niklas Worschechreverted 1a7228c340febb755d92899b8e75aff032f43ebb
df9f30256cvrugesemiLinear as inline function: see https://trac.openmodelica.org/OpenModelica/ticket/3765#comment:7
87f4bb3e16vrugeDIVISION_SIM map again inline function - see https://trac.openmodelica.org/OpenModelica/ticket/3765#comment:7
fced1932a8Martin SjölundCheck for failed model structure
c285c832a5Adeel AsgharCross reference editing MSL.
10fe64951ehkielrecursion -> loop
0fe22a278bhkielarray optimizsations new function Array.createIntRange()
4b8bae15ccAdeel AsgharHints for loading editable MSL.
b08a823046Martin SjölundHandle Python2+3, add natsort to dependencies
cbbdff1f59Martin SjölundPull release notes from trac instead of manual mirroring
80dcee464aRüdiger FrankeAttempt to fix Windows build (#3760)
1a7228c340Niklas Worschechfix for initialization of the clock variables
b0a5479d81Rüdiger FrankeRemove static link dependencies of dynamic runtime
05ca4d21e1Rüdiger FrankeSmall fix to previous commit
fea7a0a350Rüdiger FrankeBrake up dynamic and static build of Cpp runtime (#3760)
91127f1321Per ÖstlundFix listAppend usage to get rid of some warnings.
6cc344eaefAdeel AsgharAvoid making too many changeDirectory calls.
a5957dc51dPer ÖstlundFix push_list_back on empty DoubleEndedList.
6ca8c1c0c7Adeel AsgharFixes #3766. Added more sanity checks. Move whole connection when both start and end components are selected.
eeff847b63Niklas Worschechchanged clock handling with state events
1ec6313028Adeel AsgharFixes #2220, #2347 & #2416. Disable/enable the auto save timer based on focusInEvent/focusOutEvent of editor.
19e827021eAdeel AsgharFixes #3027. Allow exporting plotted variables to CSV file.
67f87dc832vrugeadded case for 3765
d0f6b479cfvrugefixed semiLinear - see #3765
c6a2ce1f1eAdeel AsgharRenamed TLMCoSimulationExperimentSettingDialog to MetaModelSimulationParamsDialog. Moved the update simulation params context menu to ModelWidget.
6c723ab0bbRüdiger FrankeFix generation of Cpp start value accessors
aca17d25e6Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
2805502aacAdeel AsgharFixes #3032. Adjust position based on the coordinate system of the component.
46515af0a3unknownchanged results output at start time if events occured
4c4b39f73bRüdiger FrankeAdd test for #3763
0bcc79ae33hkielImplement and use List.listArrayReverse() as a short cut for listArray(listReverse(lst))
6d761ce5e9Martin SjölundFix appending variables in correct order
2b6054f54fhkielload List.mo expected output
6da40e1ad7alash325-A preliminary dialog to modify CoSimulation settings
b629d9d401Rüdiger FrankeRemove unused include directories
93f2bfc8a1Rüdiger FrankeAvoid compiler flag for standard /usr/include
12879a0462Rüdiger FrankeFix capitalization of windows include
1aa261249dRüdiger FrankeExploit CMAKE_POSITION_INDEPENDENT_CODE in Cpp runtime
1be79369c7vrugeDynamic Optimization: improved naming
a668b8a956vrugeExpected Output
cf3a4160d9Lennart OchelRemove useless line of code
6247798217Adeel AsgharFixes #2274 & #2845. Update Libraries browser when user modifies the text.
2c2c5e9346Adeel AsgharDynamically create the list of simulation logging flags.
4385f6edb7Adeel AsgharFixes #3753. use correct simulation logging flag option.
757fe5fc30Niklas Worschechfix for save pre variables
1296d76cd4Adeel AsgharRemoved save and save as context menu items from metamodel.
facc2565ffptaeuberDynamic Tearing Full Prototype
dc69a1433balash325- Add Save and Save as context menu to the metamodel
556307db0bptaeuberExpected Output
b929db6206Adeel AsgharFixed the crash while saving metamodels.
bf26a22752Lennart Ochelchange differentiation rule for the homotopy operator
4a5facf6d8alash325-Save as for meta-model to make a copy of the file in a different folder or make a copy with a different name
6b7b848577Rüdiger FrankeInclude std::thread only if configured (#3760)
7864f66ef3alash325- Save as for meta models
4b6af895dbAdeel AsgharWe can load multiple meta models at once.
36a52a84daAdeel AsgharBetter naming convention for metamodels and TLM.
04f142bfc7Adeel AsgharAdd default annotation for Connections without annotations.
272310418dhudsonMerge remote-tracking branch 'origin/master' into pullrequest
a7681ee0f8Niklas Worschechexpected output
f2cb75d41fAdeel Asgharformatting & indentation.
960ad2f276Adeel Asghartag v1.9.5-dev
af457aa9feMartin SjölundHandle lost information for MetaModelica record
6d86372effNiklas Worschechfix for save call in cpp template
ffd8b12c2bRüdiger FrankeAdd test for #3758
a4a5d3314dMartin SjölundRe-enable FinalTests.mos
83309e54b9Rüdiger FrankeUse const qualifier in declarations of external functions
a4ad037f40Rüdiger FrankeFix passing of Cpp array inputs to external functions (#3758)
d88a3ea5c6adrpo- switch version to 1.9.5-dev
8d7b6f8392Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
de6aef561dNiklas Worschechfix for parallel cpp runtime windows tests
584736214eLennart OchelUpdate example cseTestCall1
b8d40edfefLennart OchelUpdate example cseTestCall3
e8c9162f62Adeel AsgharFixed loadPreviousViewType function.
5ccf9cba53adrpofix 1.9.4 version and date
a1f3866e5cAdeel AsgharStore connections without annotations.
276c639f8ajhagUpdate wrapFunctionCall tests
ade17f4176Adeel AsgharHandle delete undo of submodels.
7f5d6fb44dAdeel AsgharUpdated the list of contributors 2015.
d5769e2985Adeel AsgharStore the update SubModelAttributes to undo stack.
6f118e9d74Martin SjölundAdd Adrian's generic AvlTree to the backend
8f06694470Martin SjölundImplement cevalBuiltinSum
b114551263Martin SjölundAllow if instead of guard in the grammar
0e2f188d53Martin SjölundHandle bootstrapping DoubleEndedList.mo
30945393f0Martin SjölundAdd a double-ended list implementation
7e8eeef247Martin SjölundAdd support for type variables in uniontypes
f523ebc348Martin SjölundExpected output
54c7cf6febAdeel AsgharFixed updateSubModelParameters.
afa6bc71d4Adeel AsgharStore attributes of submodel inside ComponentInfo of Component.
6fb638a6f5Adeel AsgharFixed loading metamodels.
22263b6cbfhkieluse list comprehensions inline small helper functions
db37146e73Rüdiger FrankeFix context of function Cpp calls (#3742)
19160685b4vrugeBackendDAEUtil.tryToSolveOrDerive: guard vs. zero --> zero no dependence --> UNSOLVABLE
80b17a1909hkielClean up some code avoid warning about incorrect use of listAppend recursion -> loop listReverseInPlace where possible
cd42b44a5bMartin SjölundUpdated expected results for uniontype typevars
d763c7707eAdeel Asgharfilter out non-modelica items by checking flag showOnlyModelica.
609a89d389Adeel AsgharFixed loading of metamodels.
0cdcd6a6cabernhard ThieleSM workaround removed for Cpp runtime
3e54f2ac76Rüdiger FrankeImprove error messages of SynchronousFeatures
494857e2a5Rüdiger FrankeRemove duplicate traversal for clocked states
e2f045ad8aRüdiger FrankeFix VarKind of previous after commit 69f1837
1845ffa323Rüdiger FrankeProper treatment of clocked states (#3741)
69109754dcRüdiger FrankeRevert "Attempt to fix #3741"
c8f269f643Rüdiger FrankeExpected output for fix #3741
8236a0d333hkieldo not use listAppend to prepend one element
12ddb6a9a2Rüdiger FrankeAttempt to fix #3741
f31e10e459Martin SjölundMM: Multiple algorithm sections without warning
0e016dc235bernhard ThieleFix array elements #3651
99fe3bde40Rüdiger FrankeKeep order of clocked partitions for regression tests
2cb99bfae8Rüdiger FrankeExtend and update synchronous tests
4d11cc6c53Rüdiger FrankeInitial implementation of clocked continuous equations
89ded3c0a5hkielremove superfluos check for failure it already failed in the first case
b8f53b08d1hkielfix two compiler warnings in parser
6739ebe81eRüdiger Franketest an integer clock with sample time < 1s
b388aff690adrpo- cast to double so that 1/10 doesn't become zero
a391fa93a5Martin SjölundUse isPresent() to disable some allocations
c09a16c13cAdeel AsgharFixes #3746. Added GUI interface to manage uses annotation.
dd679111e0Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
3a8a1e7751Adeel AsgharFixes #3746. Add uses annotation for the package.
bcd948c9e8Martin SjölundAdd basic memory profiling to execstat
e89ea248fcMartin SjölundAdd tests for isPresent()
cfa27e9dfdMartin SjölundAdd implementation of isPresent()
150bb05f20Adeel AsgharMore output from getClassInformation.
86e35faea1Adeel AsgharUpdated tests for getClassInformation
8abe1ff400hkieltry to reduce memory usage - use listReverseInPlace where possible - remove some recursions and matchcontinue
2eb86cde98Martin SjölundUpdated the Japanese translation
cc074b4b12Rüdiger FrankeImprove error message if resolveClock fails
cd90f74d3cAdeel AsgharFixes #3744. Avoid adding NaN to extent.
f8a8026c37Martin SjölundFix zlib for OSX nighly
224e2c4cb7Martin SjölundWorkaround for Java8
32655e3441Martin SjölundLinux instructions
b308dafc70adrpo- fix front-end parts of #3503
0eaf54c1bcadrpoattempt to fix Linux build
06d03b4ab9adrpoupdate 3rdParty to fix windows build
0d2d54de04Adeel AsgharMerge pull request #16 from dietmarw/patch-1
7b7e082ce7Dietmar WinklerFixing one white space
cb0bf922d7Dietmar WinklerImprove the documentation on infoHeader annotation
bf13bed928Adeel AsgharPrint plot command interface instead of maintaining options.
19af68be84Adeel AsgharUpdated plot command options.
5f9027bc81Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
b56d468c64Adeel AsgharIndentation.
fa8b0d281eMartin SjölundMetaModelica has more bits available
de9392fabfAdeel AsgharDebugging.mo is in the test models now.
9e5ee311b0Adeel AsgharRemoved Debugging.mo as is now part of OMCompiler/Examples.
64554e12f0Adeel AsgharAdded Debugging.mo to examples.
1afd8509aaAdeel AsgharFixed getComponentModifierNames call.
6bd7fa79ccAdeel AsgharDocumentation about __OpenModelica_infoHeader.
ef88044c44hkielput cascaded listAppend in optimal order
f0f455beafhkieloptimize some list operations matchcontinue -> match
3a40ea3622Martin SjölundUpdate external C-sources for MSL 3.2.2
6830f82dcaAdeel AsgharFixes #3723. Only return true if absolute file path exists.
1d8aec65faWilli Braunfix functionTree propogation for system homotopy0
b61d80438fWilli Braunexpected output for fix #3738
dc5bdff688Willi Braunbetter fix for #3738
540ad848f6Rüdiger FrankeFix FMI 2.0 dependenciesKind
90c58b3883Rüdiger FrankeFix FMI 2.0 dependencies
d9a9c881a1Rüdiger FrankeAdapt to fixed FMI 2.0 dependenciesKind
5a4fa9e491Rüdiger Frankeadapt to fixed FMI 2.0 dependencies
6e9b4f9fa7Willi Brauntry to fix #3738
77ddf9ef09Martin SjölundFix some ordering of listAppend in SimCodeUtil
840e9cc228Martin SjölundFix expected output
b1364f4fefAdeel AsgharFixes #3737. Update ComponentInfo when makeClassNameRelative is used.
fc73d033b4Martin SjölundChange order of some listAppend calls
7e7852d9c3Martin SjölundRemove FMI1 log-message
7f65a75ba8Willi Braunremove unnecessery variables merge
f19d3870d5Willi Braunremove unnecessary array list transformation
38f41651f4Adeel AsgharInclude OpenModelica in version string.
458b0ec8daAdeel AsgharAdd OMEdit to version.
00e96aced8Martin SjölundChange order of listAppend in BackendDAEUtil
66b3572416Martin SjölundExpected output after MSL 3.2.1 update
5161a931cfMartin SjölundNotify the user about listAppend in wrong order
0a0d480852Martin SjölundImplement Dangerous.listSetRest
23bb6ec070Rüdiger FrankeFix 3a7d119 for arbitrary tree traversal order
e4f94d662fMartin SjölundAdd support for MA Impure annotation
8d2d2ec52bAdeel AsgharUse the correct object.
769e528bb8Rüdiger Frankeobtain grand parent from previously stored parent
3a7d119bedRüdiger Frankeimplement backward propagation of clock conversions
a06417423ebernhard ThieleFixed reference files #3730
62c0c86814Adeel AsgharFixes #3558. Fixed the text orientation for flipping & rotation. Added shortcuts for flipping.
dbf171042fMartin SjölundUse a FIFO instead of slow listAppend
8114196928Per ÖstlundFix segfault in InstSection.unroll.
3f4477c825Martin SjölundFix code generation for add-array-scalar
d65644efc0Martin SjölundOptimize max({arr})->max(arr) instead of arr
678bb3b935Adeel AsgharAdd OMEdit git hash in omeditcommunication.log file.
26ec49ed07Martin SjölundHandle expandExpression for unary
a1a01c3e65Martin SjölundInitialize variable to zero
d189425547Adeel AsgharUpdate README.md
5b8d060469Adeel AsgharMore README.md updates.
0368771f66Adeel AsgharUpdated README.md
712ee8ff87Adeel AsgharChinese nls by Wenhui Li. Removed tsrelease.bat since its done as part of makefile. Added the README.md.
77fc81550cAdeel AsgharFixes #3731. Don't create empty Icon & Diagram annotations when creating a class.
46bef23a40Adeel AsgharIgnore version.h file.
0bb9e15c67Martin SjölundImplement vector() code generation
56b075f430Adeel AsgharAdded OMEdit git hash to about dialog.
c64c048dd3Martin SjölundOSX fix for new MSL tables
22a1579667Adeel AsgharFixes #1900. Added support for expandable connectors.
5cd19d9464Martin SjölundAllow modifications for addClassAnnotation API
5e8f396b9bMartin SjölundUnparse {a for a in as} correctly
6a5118991cMartin SjölundExpected output after fixing reduction unparsing
cd48e7db8aRüdiger FrankeSupport multiple integer base clocks
cf999be711Willi Braunimprove extractVarFromVar
f140ab4105Willi Braunimprove BackendVariable.mo further
d6b5549e1bWilli Braunadded isVarAlg function
5458fb549cMartin SjölundHandle poorly unparsed strings
5fd29e600cMartin SjölundHandle StandardTables depends by dynamic linking
32cb4c174cRüdiger Frankeimplement event clock in Cpp runtime
af1d80f937Rüdiger Frankeadd test for event clock
5d5c631babvrugeadded debuge dump for loops
ca1480a060hkielremove some matchcontinue
f5881f25e2vrugerecursion -> loop -small optimization
da2393550fMartin SjölundFix for new MSL patch
3a8f02ad7fvrugefixed compiler warning
2d6fcff9a9vrugeremove matchcontinue for some functions
35e5ffaf4dvrugeaddEquation: remove matchcontinue
bf2f7a71e4Martin SjölundAdd `-d=noevalfunc` for slow test in PR #462
e5a26e43f7hkielrescursion -> loop
a3605edd51Martin SjölundAdd ModelicaMatIO for MSL 3.2.1
9adc7f5d97Adeel AsgharFix builds.
e4cafbc9c9Martin SjölundNew ModelicaExternalC
608efb71d6Adeel AsgharFixes #3728. Convert the modelica:// used in link tag.
33e9c6a03dMartin SjölundAdd testcase for tables diff
bd3e67c9f9Martin SjölundFix a bug that lost tokens in the diff algorithm
01159f93d4Adeel AsgharAdded context-menu to documentation view.
c698004769Adeel AsgharUse omc pretty-printing when diffModelicaFileListings() fails.
1db86bdbe3Adeel AsgharUpdate class text when duplicating another class in it.
f2a1299a18Per ÖstlundUpdate copyClass test.
8e32ac5ec6Per ÖstlundFix for #3722.
d6904afc13Adeel AsgharGet rid of warning "URL has no schema set, use file:// for files". Create QWebPage on heap and delete it when loadFinished signal is raised.
01fdb3eb6fMartin SjölundReject invalid polymorphic function call
6dd5045632Martin SjölundAdd testcase for OM ticket #2974
457cabf7d3Martin SjölundConstant variable names as constant patterns
bd38afd29aMartin SjölundAdd test for OM ticket #3005
8b8930dabcMartin SjölundPartially evaluated functions depend on modules
064eb9e3fdJan ŠilarPDEModelica bugfix
1a69278e2fJan ŠilarPDEModelica boundary extrapolation
bd44300759Lennart OchelAdd rule to differentiate homotopy
c8ee0c3160Lennart OchelUpdated expected output
594af14323Adeel AsgharThe nested class will be deleted by loadString. So only call deleteClass for classes that actually exists.
aabf41668fAdeel AsgharOnly use loadString merge true for package.mo
6eaf3baac6adrpofix MatlabTranslator build
6a0b046edfAdeel AsgharFixes #3719. Enable save as functionality.
6b59e87daaadrpoattempt to fix MatlabTranslator build
c6988d4a62Adeel AsgharFixes #3311. Fixed loading __OpenModelica_infoHeader scripts.
8125c69ce6Lennart OchelRemove dead cases and cleanup
b559b1dd62Lennart OchelFix expansion of array expressions
a61daefb46Willi Braunfix for #3381
58588dbcaeAdeel AsgharFixes #3714. Disable dragging components onto diagram layer of a package.
4959350054Martin SjölundRemove duplicate definition
9472f39f57Martin SjölundAdd check for duplicate definitions
fa412ec6d8Martin SjölundSusan: Do not assign the same variable twice
f13e19fb63Martin SjölundAdd check for duplicate definitions
0b12aa5a54hkieluse direct access to head and tail of lists we already check for empty lists in the for-loop's condition, no need to do it more often.
4ddb2fed98Willi Braunadded cruntime LOG flag
fc9c9bb108Willi Braunfix for #3685
b5355620e1Willi Braunadded testcase for #3701
d541c90aa4Willi Braunfix #3701
74b00c4332Adeel AsgharRemoved tidy as is not needed.
41e95e9657Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
8eeaa192e0Adeel AsgharFixes #3311. Read the __OpenModelica_infoHeader annotation and use it in nested classes.
0211a1a22cAdeel AsgharUpdated tests to new output of getDocumnentationAnnotation.
da4204cf08Adeel AsgharFixes #3311. Read __OpenModelica_infoHeader annotation.
31cf006853Lennart OchelAdd tests from ticket 3707
2f8ef70157Lennart OchelAdd test for OpenModelica/OMCompiler#425
cb732fc280Lennart OchelRestrict domain of definition of exponential function
ec986c0ac0Adeel AsgharMerge commit '19c42f3695c96c174fa890341650f7fe8dd863b4' as 'tidy'
19c42f3695Adeel AsgharSquashed 'tidy/' content from commit 8c13d27
472d00ec04hkielrecursive -> loop
a64582dfbbPer ÖstlundFix for #3577.
691f38d259Per ÖstlundAdded test for copyClass.
c93aec78b3Martin SjölundDo not optimize guarded patterns to switch
23dd7a9c25vwaurich- fix HPCOMScheduler
aab9e4ad8aWilli Braunadded testcase for #3500
3542223e35jhagModified array case in record handling
a59c824969Martin SjölundFix stack overflow
4bed8a9644Martin SjölundFix stack overflow
9dd37a1cf1Martin SjölundUpdate translation files
86267ae3bcLennart OchelDon't wrap functions within if expressions
265024d6c4Rüdiger Frankefix to yesterday's commit c06017c
1dd9fc3ae6Adeel AsgharFixes #3708. Call prepareGeometryChange to avoid unnecessary paint events.
9106a0c96dAdeel AsgharFixes #3708. Call prepareGeometryChange to avoid unnecessary paint events.
c06017c0d2Rüdiger Frankecheck for equal base clocks
3cd6f318f1Lennart OchelFix CRLF issue for override files
14d87350dfLennart OchelFix typos
08f36deeeaMartin SjölundFix stack overflow
7153a59d31Adeel AsgharCheck for what kind of FMUs we can export.
0f42ad7d14Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a560950aaeAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
73250dfa2dAdeel AsgharFixes #3706. Don't check components because we should not display class as missing one of components class is missing.
f5e50d0f5bAdeel AsgharFixes #3706. Don't check components because we should not display class as missing one of components class is missing.
c4d4b4a601Martin SjölundFix stack overflow
0054a876e1Martin SjölundHandle comments in uniontypes with single record
816f4747a0Martin SjölundDiffAlgorithm now depends on List.mo
4d60525aeaMartin SjölundIntroduce List.append_reverse
15d130fa88Martin SjölundFix stack overflow
b5de146df4Martin SjölundMerge pull request #13 from dietmarw/patch-1
cf410c91fdMartin SjölundMerge pull request #14 from dietmarw/patch-2
d319ad9f3aMartin SjölundUpdate the copyright year and add space in front
fbdd5396acMartin SjölundUpdate Japanese translation files
e533fb890fMartin SjölundUpdate Japanese translation files
812a38e75dRüdiger Frankeguard against synchronous models without variables
96ebbdd3feRüdiger Frankeadapt +d=dumpSynchronous to expected output
837ff6d53eRüdiger Frankeremove new debug output from +d=dumpSynchronous
c0d037260dRüdiger FrankeAdapt test to moved Clock declaration
2c5439f294Rüdiger FrankeImprove clock propagation in synchronous models
c37fa36a0fRüdiger FrankeMove Clocks from ModelStructure to TypeDefinitions
2a62fa69e1Adeel AsgharEnhancements for #3690. Calculate "Number of Intervals" and "Interval" automatically. Enable/disable fields depending on the option selected.
49aab94cf1Adeel AsgharEnhancements for #3690. Calculate "Number of Intervals" and "Interval" automatically. Enable/disable fields depending on the option selected.
e797eabd55Adeel AsgharFixes #3702. When user has changed the class name then update LibraryTreeItem.
0dba74001fAdeel AsgharFixes #3702. When user has changed the class name then update LibraryTreeItem.
8768d11f8avrugebuild don't fail without git
696628d2b6Dietmar WinklerSync the documentation with UI changes
a7a58185c9Dietmar WinklerTypo of inkscape corrected.
49dc36a42cRüdiger Frankework on clock sub- and supersampling
54e3041c30Rüdiger Frankefix clock sub- and supersampling in Cpp runtime
68b2e962a3vrugeskipped intialation for some tests after structure breaker in https://github.com/OpenModelica/OMCompiler/pull/199
4d534f7219Lennart OchelAdd more trace statements
b3692d0699Lennart OchelClean up code generation
55cb6490a5adrpofix frontend performance degradation #3697
c5333e1c2eAdeel AsgharFixes #3698. Don't try to merge AST just replace it.
53f6bfcf39Adeel AsgharFixes #3698. Don't try to merge AST just replace it.
ab3521fa21Adeel AsgharOnly set the text when it is really new.
e722f8384aAdeel AsgharOnly set the text when it is really new.
690d2f9b5eAdeel AsgharFixes #3607. Print message when checkModel & instantiateModel are successful.
86b03206c8Adeel AsgharFixes #3607. Print message when checkModel & instantiateModel are successful.
b7defb44caAdeel AsgharFixes #3690. Added interval in the simulation dialog.
886a78e7afAdeel AsgharFixes #3690. Added interval in the simulation dialog.
b63cdc0de3Adeel AsgharFixes #3683. Update connections when component is deleted.
af41062c42Adeel AsgharFixes #3683. Update connections when component is deleted.
63d57dd2caLennart OchelHandle roots of negative values
56626b0f96adrpoa bit of improvement for #3668
98c810c506adrpofix Matlab translator after changes to Absyn
916248f585Willi Braunexpected output
78ba5299e0Willi Braunreview simplify usage in symbolic jacobians
880ef3cd78Martin SjölundSome runtime fixes for VS2013
1adf486dcdmhartungfixed bug which lead to wrong cat_array behaviour for ArraySlice
ecf792f373jhagdon't wrap "sign"-calls
01caff9453Willi Braunadded differentiation rule for built-in sum call
5a950a9da7Willi Braunfix #3684
7e414c9fd5Willi Braunfix #3687
82097c7968Willi Braunadded test for #3687 and minor adjustment
13d3e9d7daRüdiger Frankeadd test for #3656 (sign of alias)
dc7da8cafdhkielmatchcontinue -> match
d41fb97804hkielUse filterOnTrue instead of filter
3cd16cc1aehkielrecursive -> loop list optimizations
dd6bae1f39adrpofix for #3688 and #3641
31eaa49f1dhkieloptimize isConst*Work* removes need for boolean input argument optimize list operations
18edd82bf2bernhard ThieleDumping state machines to streams
e8a1b5cc52Per ÖstlundFix for #3662.
325267489evrugemake equationList2 tail recursive
3258410212vrugemake some traverseExpsOfExpList_WithStop tail recursive
3e097e84edAdeel AsgharFixes #3683. Update the component name in connections list when renameComponentInClass is used.
538f96a5fcAdeel AsgharFixes #3683. Update the component name in connections list when renameComponentInClass is used.
4492ef73e2vrugemake equationNthSize1 tail recursive
fdebf71186vrugeequationNth1: removed matchcontinue
bc07b6905dvrugemake traverseExpsOfExpList tail recursive
a38fd9aeefvrugemake traverseExpsOfEquationListList_WithStop tail recursive
ffa3db0663vrugemake traverseExpsOfEquationList_WithStop tail recursive
a2301d8a2fvrugemake listEquation1 tail recursive
792f93ca75hkielfix stack overflow make functions Ceval.ceval and Types.matchTypeList use loops instead of recursion
a2d3cf252avwaurichRSE-fix
5f792d289cWillifix #3668
4605adc528Adeel AsgharFixes #3686. Center on the CoOrdinateSystem properly.
f66ffa7863Adeel AsgharFixes #3686. Center on the CoOrdinateSystem properly.
c343375da9Willi Braunimproving analytic jacobian flags
758919984eadrpoupdate .gitignore
729c8f13e4Adeel AsgharFixes #3376. Added a command prompt for windows.
7d939b57afAdeel AsgharFixes #3376. Added a command prompt for windows.
68966ebbd8Per ÖstlundImprove performance of getComponents API.
ddccaeb945Willi Braunimproved flags for symbolic jacobians
9c9d72e613Martin SjölundSet LC_NUMERIC to C locale
03b0c4c4e1Martin SjölundAdd boxvar function for boolString
a555ec0dd7Martin SjölundHandle boxed arguments to String()
daf875123aMartin SjölundDo not install OMEdit files
824acedabfAdeel AsgharFixes #3376. Added a batch file for command prompt.
cb540a9211Martin SjölundAdd test for #3653
19362e064fvrugemake jacobianConstant tail recursive
ff665c9e90Martin SjölundFixes to compile with Visual Studio 2010
45c776f132Per ÖstlundUpdated getComponents test.
1ab7b4735ePer ÖstlundChanged behaviour of getComponents API.
1088cbd2b3Willi Braunadded debug flag to disbale jacobian calculation for SCC analysis
2ab6a8c391Martin SjölundFix code generation for VS2010
b530b72e47Adeel AsgharUse the OMCInterface instead of sendCommand.
9db6ce66bbAdeel AsgharUse the OMCInterface instead of sendCommand.
1d662e35c6Martin SjölundCheck for NULL
7639b9b6ecAdeel AsgharRemove RCS-id from header files.
c3b6e6d278Adeel AsgharRemove RCS-id from header files.
edeb320928Martin SjölundRemove RCS-id from source files
66abb94598Adeel AsgharRemove RCS-id from source files.
41ba9cd2d2Adeel AsgharRemove RCS-id from source files.
95b7fcd7d9Adeel AsgharUse isSimulationAllowed for updateBindings.
4aec6561e3Adeel AsgharUse isSimulationAllowed for updateBindings.
272277c0ccbernhard ThieleAdded internal flag DEFAULT_CLOCK_PERIOD
443a059591Per ÖstlundMerge remote-tracking branch 'origin' into perffix
b95e6ebd04Per ÖstlundPerformance fixes.
a2c7ddf0cfLennart OchelMake execstat dump each step in a single line.
980f862aeevwaurich- adapt Makefile for parameter tests
f4a666a090vwaurich- added tests for parameter-related functions
70ce925f7dMartin SjölundUse correct bootstrapping header during stage 1
d422fe7ac7Martin SjölundAdd missing includes
4498938a35Adeel AsgharFixes #3673. Added button for infer bindings.
8dacf8d0c6Adeel AsgharFixes #3673. Added button for infer bindings.
ae613bd0f0Adeel AsgharMerge pull request #10 from rfranke/win
81114bafdbAdeel AsgharMerge pull request #10 from rfranke/win
9189aa950eRuediger Frankeattempt to fix Cpp under Windows when using gcc
bcf2cbc88cRuediger Frankeattempt to fix Cpp under Windows when using gcc
8eaf1888feAdeel AsgharFixes #3630 Don't use diffModelicaFileListings when user manually edits in text view.
104cbca7b6Adeel AsgharFixes #3630 Don't use diffModelicaFileListings when user manually edits in text view.
56e3dffcf6hkielconvert some matchcontinue to match
9415bfe3a4hkielconvert some matchcontinue to match
6cd879ff80hkieluse correct return code
b88ce87d35hkieluse match instead of matchcontinue modify pushRedeclareIntoExtends3() to make it tail recursive -> saves time and stack
3433e8319fMartin SjölundFixes for bootstrapping PDEModelica
85b39a0d09Jan ŠilarAbsyn.EQ_EQUALS splitted into EQ_EQUALS and EQ_PDE.
82b0921b73Jan ŠilarisField attribute / API function
a2da0ef532Jan Šilarfield equations without pder() include also boundary nodes
154579c018Jan ŠilarPDEModelica -- extrapolation on boundary
9c66112715Jan ŠilarBugfix
f7fe0d9054Jan ŠilarPDEModelica -- flag in grammar
0ca507a922Jan ŠilarPDEModelica pdemodelica_enabled()
186d4012fbJan ŠilarPDEModelica flag
9a9dd8ae4dJan ŠilarFixing previous rebase.
7b107b25ecJan ŠilarFlag --PDE removed.
554b2a608bJan ŠilarPDEModelica fag and new built-in file
c1ec6d8fdfJan Šilarfixed bad rebase merge
084a83663bJan ŠilarPDE
a384029e57Jan ŠilarPDE extension - regions
dae025210bJan ŠilarPDE modelica. Some model error checks.
187c57b08fJan ŠilarPDE extension
692fa0f954Jan ŠilarDiscretization of PDE equations.
aed8fab218Jan ŠilarMoving code around.
61c812f857Jan ŠilarSeveral changes in PDE extension
f0da417dabJan ŠilarWork towards discretization of PDEs
4d0cbd81f7Jan ŠilarReturning (field,domain) tuple list from elabField() upto instClassdef2.
12a5593b9bJan ŠilarOption domainOpt; added to SCode.EQ_EQUALS. Subsequent changes.
bf029a092bJan Šilarfixing code due to added domainOpt to Absyn.EQ_EQUALS
6defd95fbdJan Šilarstarting indomain implementation
9090acd569Jan Šilareach prefix is added to every modifier in fields
71d9e6a068Jan Šilarelaborate function now replaces field variables with arrays
1ab796528aJan ŠilarelabField function - converts field into array. Not finished yet.
01c0933bb5Jan Šilarstarted writing function elabField
8d3896689dJan ŠilarAll changes from PDE branch from svn in one commit.
748d6d5762adrpofix windows build
801d118186Per ÖstlundGeneric AVL tree improvements.
e0b0d22a6dMartin SjölundChanges for bootstrapping header
0c39bf621fLena Buffoniupdate requirement bindings
f45a8b27a2Per ÖstlundFix for #3669.
90f5395c12Per ÖstlundUpdate tests for #3669 fix.
6ad8595a6bvwaurich- update warnings
25835a55aavwaurich- update warnings for changes in evaluateParameters
5018d90653vwaurich- dont evaluate start values for parameters if there is a bindExp
0a4684b83aMartin SjölundFix OSX configuration (broken LAPACK)
cf5d61e49eMartin SjölundUpdate 3rdParty
9c9e4d16bbAdeel AsgharMake C the default target language
edc0f947dbAdeel AsgharMake C the default target language
c9780327cdMartin SjölundAdd testcase for #3619
0214b3af35Martin SjölundHandle empty within for Modelica diff
9bf7608837adrpodo not use time in functions used in coverage testing
18e70bd946Adeel AsgharFixes #3670. Set Target Compiler and Target Language flags.
a129b0f55cAdeel AsgharFixes #3670. Set Target Compiler and Target Language flags.
1204474f50Adeel AsgharUpdated OMEdit settings documentation.
187f9a0230Per ÖstlundAdd and update tests for #3666 fix.
47ae7d2d75Per ÖstlundFix for #3666.
55eb18e02eAdeel AsgharAdded a settings option to enable/disable preserve indentation
0ab2c2ff00Adeel AsgharAdded a settings option to enable/disable preserve indentation
1a62d7857cMartin SjölundHandle addition of comments in Modelica diff
26a4f65339Martin SjölundTestcase for #3658
56525d325cHenning KielMerge pull request #1 from hkiel/omshell_settings_fontsize
ed1011a825hkielstore font size in settings file
bebdc503f1Henning KielMerge pull request #3 from hkiel/fix_static_analysis
c5bad3ecdchkielfix some warnings from static analyzer
edcdfe58faAdeel AsgharFixes #3667. Added keyboard shortcuts for ordering classes.
db0641feb8Adeel AsgharFixes #3667. Added keyboard shortcuts for ordering classes.
12b2653602Adeel AsgharRemove superfluous "OpenModelica"
bab2c73b33Adeel AsgharRemove superfluous "OpenModelica"
4f02c17185Adeel AsgharFixes #3670. Order target language. Added `OpenModelica` for `getVersion()` output.
07353d6f60Adeel AsgharMerge pull request #9 from dietmarw/about
d0a3f39c44Adeel AsgharMerge pull request #9 from dietmarw/about
240ce9eb88vrugematchcontinue -> match
86500a3554Rüdiger FrankeRemove obsolete OMCppSystem_FMU_static
323ca8b4bcDietmar WinklerRemove superfluous "OpenModelica"
f26076a31bDietmar WinklerRemove superfluous "OpenModelica"
4b119ea342Adeel AsgharFixes #3665. Allow html display and clickable links for class comment.
e3b00ab97dAdeel AsgharFixes #3665. Allow html display and clickable links for class comment.
72c174a346Martin SjölundAdd test for #3616
6d7b093522Martin SjölundDo not include rtclock in FMU (#3616)
1b64dc04baMartin SjölundFix #3616 - stringAppend missing in FMU
5fcced9802vrugeimproved debuge for optimization
fc1c55df8eRüdiger Frankefix use of dgesv for Cpp FMI export
71c196d77eAdeel AsgharFixes #3663. Renamed View Class to Open Class.
5f95f7e789Adeel AsgharFixes #3663. Renamed View Class to Open Class.
616b347545Adeel AsgharFixes #3665. Added component comment to the tooltip.
7cd899bfe8Adeel AsgharFixes #3665. Added component comment to the tooltip.
83d888592fAdeel AsgharFixes #3665. Added the component class description to parameters dialog.
03537212b8Adeel AsgharFixes #3665. Added the component class description to parameters dialog.
57ce66b7e2Adeel AsgharRemove unnecessary colon.
5f92146902Adeel AsgharRemove unnecessary colon.
73392453aeMartin SjölundChanges to compile with VS2010 express
2c85e5f40cRüdiger Frankeadd solver libs to Cpp FMUs compiled with msvc
6f7b438f5cRüdiger Frankefix Cpp FMU name if compiled with msvc
8d53fa9338Lennart OchelFix #3644
d9e7af7b52Martin SjölundAdd a sanity check to the Modelica diff tool
521a5df004Martin SjölundFixes for ticket 3642
7b84e41409Martin SjölundAdd testcase for ticket 3642
5ccaa402eaMartin SjölundAdd test for UTF8 diffs
4915f47a9eMartin SjölundRenamed radau1 and lobatto2 solvers
fb06e80956Martin SjölundRename solvers
9056eb25bevrugesome fixes from static analysis
63ec077230Per ÖstlundFix for #3528.
5047212d55Per ÖstlundTest case for #3528.
08f0eec4ecPer ÖstlundFix for #3608.
fdfe925aa5Per ÖstlundTestcase for #3608 fix.
a5d0c6951eWilli Braunfix #3659. - accidental removed an exception for inlining while differentiate
a8ef4b2c8dRüdiger FrankeRename hpcom init file
12039e236eRüdiger FrankeRename Cpp simulation init file for OMEdit
002aeac2e9hkieldirect assignment of s in String(s)
24fc4a1ea5hkieloptimize String(s) just return the string
3e1c6c4470hkielruntime code for String(s)
9aeedf519fhkielfix clang analyzer warning
dcc0ed6a46hkielconvert some matchcontinue to match makes some functions tail recursive
fea7aeee92Martin SjölundRun lupdate
dc3bf3ff30Martin SjölundRun lupdate
7af6b5108cMartin SjölundDisable profiling report
d93659377aAdeel AsgharShow the description of solvers when user mouse over the solver drop down.
1ebc13b534Adeel AsgharShow the description of solvers when user mouse over the solver drop down.
905b903ec4Martin SjölundRename explicit trapezoidal rule to Heun (RK2)
9c59763037Martin SjölundAdd support for the trapezoidal method (RK2)
d89bde8c92Martin SjölundDo not stringAppend if either side is empty
379c4c55d2vrugefixed csvInput
e254a60c86vrugeadded test for sort input-names in csvInput
530076c5c2vrugecsvInput: input order by name
993bd3a11fhkielchange some matchcontinue to match
e2d5aa8c32Lena BuffoniBindings for requirement modeling support
0a88cd5fb7Martin SjölundDisable indentation-preserving unparsing
ee4e7b686aMartin SjölundDisable indentation-preserving unparsing
58962877c6Lennart OchelModify getAvailableLibraries
25cfcd61ccLennart OchelUpdate .gitignore file
506ea92066Lennart OchelRecover original cse index logic
387689b136Lennart OchelReset cse indices for each back end run
333813aaa3Lennart OchelRecover original cse index logic
52c001d296Lennart OchelReset cse indices for each back end run
9968281548Willi Braunactivate wrapFunctionCall for jacobians
ba87c65584Willi Braunremove error messages from convertResidualsIntoSolvedEquations
c81dc9f53dWilli Braunactive symbolic jacobain for loops without functions
4b7f96a849Willi Braunfurther improvments for differentiation
658b927998Willi Braun# This is a combination of 3 commits. # The first commit's message is: fix function differentiation
3ccd90a978Willi Braunfixing differentiation of Records
813dba79f2Willi Braunexpected output due to changes differentiation module
3e4c81ab5cWilli Braunexpected output
83a73cf746Adeel AsgharFixes #3654. Show default icon for components without icon annotation.
91bfead8acAdeel AsgharFixes #3654. Show default icon for components without icon annotation.
49bf67a4e9Willi Braunuse global index in wrapfunctionCall module - This allows the usage of the modlue at different stages of the compile process
3029c6409fLennart OchelFix Windows makefile
f1fe098c42Adeel AsgharFixes #3648. Fixed spelling mistake.
5b2f674b95Adeel AsgharFixes #3648. Fixed spelling mistake.
80346cc6f2Adeel AsgharMerge pull request #7 from dietmarw/fixSpelling
1d3fada47dAdeel AsgharMerge pull request #7 from dietmarw/fixSpelling
7c38b4cf24Dietmar WinklerFix common spelling mistakes.
9bd43603caDietmar WinklerFix common spelling mistakes.
152dfb16cfvrugeadded flag: csvInput - use libcsv.lib for external input
10e85bd736hkielconvert matchcontinue to match
b1d0c1d501Per ÖstlundFix for #3577.
767d908221Martin SjölundMake source FMU smaller (minimal files for dgesv)
51ca6a500dvrugeimproved heuristic
783a9b0222hkielconvert some matchcontinue to match leads to some tail-recursive functions
06265e0725vrugematchcontinue->match
9a49346ed6Martin SjölundMerge pull request #6 from dietmarw/master
aa1e1403edMartin SjölundMerge pull request #6 from dietmarw/master
58a18cf97cDietmar WinklerImprove message string to correct English. (translation files)
497aa173b2Dietmar WinklerImprove message string to correct English. (translation files)
104520f804vrugeterms heuristic: don't distinguish der(x) from $DERAliasx
b7eda9c2edWilli Braunfix function fixAliasVarsCausal2
d7423a8355Willi Braunexpected output
de5898cdbbvrugeadded first heuristic for sorting terms (optional)
e44d932a47Dietmar WinklerImprove message string to correct English. (main file)
320640b4e9Dietmar WinklerImprove message string to correct English. (main file)
072f8e9844Martin SjölundFix stack overflow in removeStateDerInfo
b1fb7f98c2hkielget rid of some matchcontinue statements
b04455e08ehkielmake two functions tail recursive
986df9cf9bAdeel AsgharFixes #3607. Reset messages before checking, instantiation & simulation.
e5e5bfeb94Adeel AsgharFixes #3607. Reset messages before checking, instantiation & simulation.
05b12e14cfAdeel AsgharFixes 3620. Allow deleting classes through del key.
46e85354f3Adeel AsgharFixes 3620. Allow deleting classes through del key.
c89f8ab1f6Martin SjölundFix stack overflow
675b7d6fb5Martin SjölundHandle CRLF in the lexer
f614495f16Martin SjölundstringGet should return unsigned integers (0-255)
e1abbec305Adeel AsgharFixed #3604. Send the name change request into the depths recursively.
e627988d1dAdeel AsgharFixed #3604. Send the name change request into the depths recursively.
f105a55be2Per ÖstlundFix for #3640.
ba656e8f89hkielFix order of equations in json file (removed-initial must go directly after initial)
86010c6a39Adeel AsgharFixes #3585. Fixed creating class within a package.
7cb1815395Adeel AsgharFixes #3585. Fixed creating class within a package.
6feda15370Adeel AsgharRussian translations by Andrey Lavrentyev
3ec2c1dc4bAdeel AsgharRussian translations by Andrey Lavrentyev
47db7d2ba3Willi Braunfix accedently commited logic
a2e0a2ce3cWilli Brauncleanup of symbolic jacobian of algebraic loops
3e079bc58cWilli Braunpreparations to activate NLSanalyticJacobians
3c8a7d4cffWilli Braunfix discrete differentiation of statements
90105a6d5eWilli Braunupdates testsuite to expected output
8c9025a2c2Per ÖstlundFix for #3633.
0af2de16f9Per ÖstlundAdded test case for #3633.
9f7f95eee6Martin SjölundAdd input index to M_init.xml file
ff6909b744vwaurich-fix visxml for constant systems
2fde1e4245Willi Braunfix function BackendDump.jacobianTypeStr
84d4b50ae3vwaurich- rk12 singlerate solver
949f860a14adrpo- update tests after library bump
e7d99a181abernhard ThieleTest cases #3560
5f116bd021bernhard ThieleModelica_Synchronous testing #3560
112f6d93d9bernhard ThieleConvenience scripts for #3560
1492e9b658vwaurich- proper order of states for multiratepartitioning, some rk12 enhancements
49f69c6a26Henning KielMerge pull request #1 from hkiel/multi_parametric
c53b4708f9bernhard ThieleModelica_Synchronous testing #3560
d33c6994acLennart OchelTest case for #3631
b9b870d65dLennart OchelHandle empty unit strings
caf519c7bdhkielallow to plot many graphs in one plotParametric
67773353ffMartin SjölundInstall the new project files for FMI
b27cca871bvwaurich- fix cpp tests
fd65350e13vwaurich- multirate rk12 solver for cpp runtime
f701c46572vwaurich- task graph based multirate partitioning
71918c7fadmflehmigClean up in HPCOM module.
2d38652407Martin SjölundAdded testcase for #3588
dc2d3ef046Martin SjölundAdd a simple Modelica diff based on tree parsing
3c6096c5c4mflehmigCleanup with respect to documentation in hpcom
a646bc72fbmflehmigAdded support for dgesv to cpp runtime
cbd807d3a0mflehmigAdded support for dgesv to cpp runtime
f90d6e4570mflehmigAdded support for dgesv to cpp runtime
49412430ccmflehmig- Added dgesv to makefile, compile it into static library
fda9581834Martin SjölundFix order of components in updateComponent() API
f27d9835bdMartin SjölundPreserve order when updating component
71c220705aMartin SjölundDo not use nested functions in AC_TRY_LINK (#3621)
8430f76d7fAdeel AsgharFixed crash when adding DynamicPipe to model.
42f4538d5cAdeel AsgharFixed crash when adding DynamicPipe to model.
69ff31b44fvwaurich- hpcom clean up
5e38c0c789Per ÖstlundImplemented a persistent array type.
2eac1964f9Per ÖstlundTests for BasePVector.
80e3e04fdfvrugesimplify2: improved sorting of constants
8418b88793vrugeexpected output
f7bf9871b5vwaurich- matchcontinue in resolveLoops
a6c7cb26a6vrugesimplify2: improved sort of constants
fdea70f002vrugeexpected output
dd2007d56cvrugeimproved simplifyAddMakeMul
ed4729083cvrugeimproved simplifyMulJoinFactorsFind
d7e00325eeLennart OchelAdd c run-time flag –ignoreHideResult
0872025d4bLennart OchelAdd support for HideResult annotation
8fd278b908Lennart OchelAdd c run-time flag –ignoreHideResult
386cb98576Lennart OchelAdd support for HideResult annotation
1abd25536dLennart OchelFix potential memory overrun for large models
5e91d0f716vrugeimproved simplifyAddJoinTerms
ecd1bc603dLennart OchelFix memory overrun inside nonlinearSolverHomotopy.c
e8c89b5d2evrugeimproved simplifyMulMakePow
5088b2df72hkieloptimize some functions
8000c936f9Lennart OchelMake use of aux function equivtypes
3e5359659eLennart OchelDon't treat T_UNKNOWN as clock type
a14668695dvwaurich- fix countOperations
bcd44efbbcvwaurich- update taskgraph
eb50a09a82Lennart OchelConsider that sample may have just one argument
9297bf090dLennart OchelFix handling of elsewhen stmts in traverseDAEEquationsStmts
4865156011Martin SjölundTry to detect LAPACK/BLAS better
59c32f17b7Martin SjölundBump 3rdParty for ModelicaExternalC
786049c952vrugesimplify2: - split global simplification in add/sub, mul/div and others - use only one global simplification in each split
a971be1054vrugeexpected output
f8c1de5508Lennart OchelRemoved some unused variables
6677136a06Henning KielMerge pull request #5 from hkiel/omedit_documentation_zoom
309db77564Henning KielMerge pull request #5 from hkiel/omedit_documentation_zoom
75f92d697ehkielImplement zoom in DocumentationView with ctrl+scroll reset zoom to factor 1 with control+doubleClick
d939ff7f40hkielImplement zoom in DocumentationView with ctrl+scroll reset zoom to factor 1 with control+doubleClick
2d0bc6b618Lennart OchelMangle arguments of record constructors
49e67ac643Niklas Worschechfix for inverse algorithm in cpp tempplate
ecbede07edNiklas Worschechfix for get simdata in cpp tempalte and vxworks target
8e6d4fbf73Lennart OchelUpdate dumpSimCode
51597ed54bWilli Braunfix incidenceRow for WILD() on left side
b2d40b309fvrugematchcontinue -> match
5fc27a124cHenning KielMerge pull request #2 from hkiel/fix-latexcell
881d9f61ddPer ÖstlundFix for #3594.
e10801e516hkielautomatically surround latex cell content with standard tex preamble fix latex path on OSX
a647eac6a1Lennart OchelReplace deprecated post-optimization flags
e70366d00bLennart OchelHandle deprecated post-optimization flags
d45a2b20a2Lennart OchelReplace deprecated pre-optimization flags
6c8bc92f03Lennart OchelHandle deprecated pre-optimization flags
8759c84697vrugeimrpoved simplifyMulJoinFactors
5432a80a5dvrugeexpected output
49a533c036vrugeimproved simplifyBinarySortConstantsMul
a75e3e8cb3vrugeadded testcase
d87d488f14vrugeimproved simplifyBinaryAddConstants
5c5b56b725vrugeremove simplify in merge min/max-values
65a2e7c4c3Adeel AsgharAdded new settings flags.
058d1c90aeMarcus WaltherUMFPACK temporary disabled to fix Windows Nightly Build
e4fdb95bc8Marcus WaltherFixed issue with old GCC
e964d2d22aAdeel AsgharUpdated OMEdit screens and some documentation
ea08c41e51Martin SjölundUpdate 3rdParty sources
231fda98e8Marcus WaltherAdded spaces between template brackets
f5aa013404Martin SjölundFix code generation for String(enum)
9b84eda78dMarcus WaltherFixed build issue with Cpp runtime
2ee015c42fAdeel AsgharDon't match parentheses within comments and quotes sections. This default behavior can be changed in settings.
cd548494a3Adeel AsgharDon't match parentheses within comments and quotes sections. This default behavior can be changed in settings.
1abab71cf8Adeel AsgharFix saving of debug configurations.
8a501c852dAdeel AsgharFix saving of debug configurations.
95d7513934Adeel AsgharCheck correct extents.
bfc16f8c03Adeel AsgharCheck correct extents.
5275387135Martin SjölundFix hyperlink
5fcf1c8924Willi Braunadded some more significant execstate statements
3b738ef4b3Adeel AsgharUpdated the classes if needed before saving them.
61a0dc8372Adeel AsgharUpdated the classes if needed before saving them.
322d28dc85vrugesimplifyBinarySortConstants: don't sort terms if we don't have constants term
c3cf2aca5fvwaurich- for-loop in IndexReduction.collectVarEqns
eba5efed3eMarcus WaltherParallelized DASSL added to C++ Simulation Runtime
7e7a75baa2Martin SjölundUse the index from the correct set
87f37338e7Martin SjölundFix scaling issues for initialization
5f3520e5c8vwaurich- for-loop in SymbolicJacobian.jacobianNonlinear
ca2207e92evwaurich- for loop in replaceDifferentiatedEqns
69680af0b9vwaurich- update tests
e677cacc63vwaurich- changed BackendDAE.ConstraintEquations to array type
0d7e11b731Adeel AsgharAlways draw the connectors on top.
b4d8ad0f2cAdeel AsgharAlways draw the connectors on top.
3608886ffdAdeel AsgharMake sure group image is displayed.
5148385268Adeel AsgharMake sure group image is displayed.
9035f8d23fAdeel AsgharList the parameters based on 3 conditons, 1. Has a parameter prefix 2. Has a start/fixed binding 3. Has dialog annotation
b9e092ede6Adeel AsgharList the parameters based on 3 conditons, 1. Has a parameter prefix 2. Has a start/fixed binding 3. Has dialog annotation
45ad04c274Martin SjölundAppend in the fast order
008cd79733Per ÖstlundAdd tests for BaseVector.
8b75192a36Per ÖstlundImproved BaseVector.
67ce850b10vrugeexpressionSolve: - improved expand - improved rule for simplify - improved termination criterion
2ad55506ddvwaurich- output empty list in differentiateEqnsLst when failing
1ed5a0bbcbAdeel AsgharAdded a missing semi-colon.
04984bac3eAdeel AsgharAdded a missing semi-colon.
b09bb10f50vwaurich- rewritten IndexReduction.differentiateEqnsLst()
cb6f347fc1Adeel Asghar#2391. Create a default initialization section to use.
fd0cb66c30Adeel Asghar#2391. Create a default initialization section to use.
37ad4ee407Per ÖstlundAdded arrayUpdateNoBoundsChecking.
c1535b89e1Martin SjölundMerge pull request #11 from arun3688/master
0d71e99f3bAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a601894e1eAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
e9398421c9Adeel AsgharEnhanced the array connection dialog to allow connecting if root component is also array.
61830aee3eAdeel AsgharEnhanced the array connection dialog to allow connecting if root component is also array.
0cc904c6fcMartin SjölundUpdate common submodule
94263d0231Martin SjölundUpdate common submodule
82962b55c3Per ÖstlundFix redeclare issue with generic types.
9d7b02937dPer ÖstlundUpdated test case.
78323c6f4eAdeel Asghar#3447. Added path for msvc simulation executables.
4ef774e1c1Adeel Asghar#3447. Added path for msvc simulation executables.
74e55a9d32arun3688phd, conference and journal paper updates
571d5be631Adeel AsgharFixes #3580. Start component name could be an array.
ad6ae676bbAdeel AsgharFixes #3580. Start component name could be an array.
cce1788f2cNiklas Worschechfix for inverse algorithm in cpp template
5a4b3a7b67Per ÖstlundImplemented more generic datatypes.
375fb6ddd2Martin SjölundFix cc warning about missing include
2c6c80c923Adeel AsgharFix compilation of Modelica models on Linux.
671e1ea0f7Adeel AsgharFix compilation of Modelica models on Linux.
e25537915fperostMerge pull request #4 from perost/variantfix
8cb8939df3perostMerge pull request #4 from perost/variantfix
a222524cc7Per ÖstlundFix compilation issue.
b55fb35be1Per ÖstlundFix compilation issue.
cd8c3a1ceaPer ÖstlundFix for #3581.
fd27ba1759Per ÖstlundAdded test for #3581.
006079ed65Adeel AsgharUse the correct CoordinateSystem for Component boundingRect.
8c855965d1Adeel AsgharUse the correct CoordinateSystem for Component boundingRect.
24159a7405Adeel AsgharAlways add CoOrdinateSystem values if they are different from default.
479c5c936bAdeel AsgharAlways add CoOrdinateSystem values if they are different from default.
6101972355Adeel AsgharFix for #3425. Keep the indentation while copying.
c9ad9e90a0Adeel AsgharFix for #3425. Keep the indentation while copying.
a619ca61d9Adeel AsgharFix builds.
b0aa632afeAdeel AsgharFix builds.
3b8eab5cf4Adeel AsgharReduce the height of simulation messages.
5cb84bc377Adeel AsgharReduce the height of simulation messages.
cc21feb166Adeel AsgharFix for #3404. Menu options to open working directory and terminal.
c43a7c5b8bAdeel AsgharFix for #3404. Menu options to open working directory and terminal.
cef0c57b4bMartin SjölundUpdate URL of the repository
1a9a853f06Marcus Walther- fixed Intel TBB code generation - fixed serial code generation of HPCOM
80fb4da718Adeel AsgharFix for #3576. Allow exporting different types of FMUs.
405ec944bbAdeel AsgharFix for #3576. Allow exporting different types of FMUs.
f87a8a870fAdeel AsgharMerge pull request #3 from adeas31/indentation
53f5b7bf91Adeel AsgharMerge pull request #3 from adeas31/indentation
857526d9dcAdeel AsgharMerge branch 'indentation' of https://github.com/adeas31/OMEdit into indentation
d19f45a96bAdeel AsgharMerge branch 'indentation' of https://github.com/adeas31/OMEdit into indentation
f233380410Adeel AsgharMerge remote-tracking branch 'origin/master' into indentation
957cbf7eb9Adeel AsgharMerge remote-tracking branch 'origin/master' into indentation
c734e13248Adeel AsgharResolved merge conflicts.
9be7215e00Adeel AsgharResolved merge conflicts.
352422181dMarcus Walther- added the new output_type to the list of default runtime parameters (cpp-runtime) - removed some unused code
df90683deaMarcus Walther- removed task sorting, because the openMP-runtime seems to use junks of sections for each thread
5028097f92Marcus Walther- changed the tail recursive MCP-algorithms to while-loops --> this will prevent stack overflows for large models
f3e37daddfAdeel AsgharFixed some issues with reloading of components. Added undo/redo to toolbar.
1a141ac7b4Adeel AsgharFixed some issues with reloading of components. Added undo/redo to toolbar.
794659cbf8Adeel AsgharAllow updating class contents manually via text view.
84c9a43683Adeel AsgharAllow updating class contents manually via text view.
10ac684dc8Niklas Worschechfix for query output results in cpp runtime
7f3814bd16Martin SjölundOptimize warnAboutVars2 for memory consumption
5524bc4c52Martin SjölundRemove duplicate entry
e258fc9facMartin SjölundAdd Modelica'2015 paper
97a8ab0d1dAdeel AsgharPush in the missing file from last commit.
0aef16576bAdeel AsgharPush in the missing file from last commit.
0eb80181ceadrpo- update OMCProxy due to changes in API for #3417
b1c9a9ea17adrpo- update OMCProxy due to changes in API for #3417
3539b9b784adrpo- test for bug #3417
45515a61fcadrpo- fix for feature #3417
e25231feb5Adeel AsgharFix for #3447. Allow compiling with other targets.
3af330536bAdeel AsgharFix for #3447. Allow compiling with other targets.
fee3aec5c5Adeel AsgharAdded some additional arguments to compile.bat so OMEdit can use it.
063ca3e1e5Martin SjölundMake functions tail-recursive
56d1973397Niklas Worschechfix for external string arrays in cpp template
712e46e6f1Niklas Worschechadded output format parameter to simulation start script of cpp runtime
7ff4d7e043alash325-Editing of external model parameters -Editable start command so user can specify any command they wanted
3afe9263e7alash325-Editing of external model parameters -Editable start command so user can specify any command they wanted
e09f9bc9b3Adeel AsgharFix for #3472. Set environment variables for compilation process same as in compile.bat
9563518452Adeel AsgharFix for #3472. Set environment variables for compilation process same as in compile.bat
1894748e48Adeel AsgharAdded support for moveClassToTop & moveClassToBottom.
9464eb6a58Adeel AsgharAdded support for moveClassToTop & moveClassToBottom.
efb4e4de47Adeel AsgharFix for #3425. Retain the text formatting for cut and copy.
b3fe5dd0d0Adeel AsgharFix for #3425. Retain the text formatting for cut and copy.
86dce0fea6wibraunadjust DATA object in C runtime DATA
c74f2d05e2Per ÖstlundTest moveClassToTop and moveClassToBottom.
7eeeca2a15Per ÖstlundFix for #3552.
1568d7ad14Adeel AsgharFixed array connections.
b7f9f09e20Adeel AsgharFixed array connections.
c8c490f1a8Adeel AsgharMinor fixes for extends modifiers, matching parentheses colors etc.
88fe112bcaAdeel AsgharMinor fixes for extends modifiers, matching parentheses colors etc.
0581f1eb2dNiklas Worschechfix for handle time events in cpp runtime
372837d0baMarcus Walther- hpcom level and levelfix scheduler will now schedule the largest tasks first
ff60f29999Niklas Worschechfix for change output format in cpp runtime
67b941c702Martin SjölundUse arrayGet for random access instead of listGet
0324f52b3fvwaurich- adapted makefile for tests
7f9496ff55vwaurich- added evalAllParams and evalOutputsOnly test
2c0784f0f3Adeel AsgharHighlight matching and mismatching parentheses, braces and brackets.
d4ef42c6bdAdeel AsgharHighlight matching and mismatching parentheses, braces and brackets.
3fbda191caAdeel AsgharBasic highlight matching parentheses
ed3f507367Adeel AsgharBasic highlight matching parentheses
7a8c722682vrugefixed and simplify allTermsForCref - remove recursion - split terms
cc113b2c46Adeel AsgharHandle the case when modelica text is updated manually by user for single class single file.
662b251ff3Adeel AsgharHandle the case when modelica text is updated manually by user for single class single file.
59192a427cvrugeExpressionSolve: reduce expansion of multiplications
0744188660jhagUpdate expected output
f81f8c6bb7Lennart OchelNew optimization module to wrap function calls
150aaf3627Niklas Worschechfix for PrecompiledHeader and msvc build in cpp runtime
9638dc4c0dMartin SjölundPrint size of DAE for sorting and matching
6ceb89f1bdLennart OchelGenerate additional initialization system for lambda=0
690c78b8a1Martin SjölundArchive the generated artifact
712abe4f31Martin SjölundAllow inheritance when bootstrapping
ddbca63188Adeel AsgharAdded moveClass API support.
a1a7b1310eAdeel AsgharAdded moveClass API support.
d064c0a602Adeel AsgharOnly fetch the Component modifier when needed.
56d23ebd6eAdeel AsgharOnly fetch the Component modifier when needed.
f26330ab19Adeel AsgharFixed unparseArrays.
72a077626fAdeel AsgharFixed unparseArrays.
99d9c6fa46Adeel AsgharAlways load OpenModelica.
02b8340a30Adeel AsgharAlways load OpenModelica.
23fa53a249Adeel AsgharOnly get the extends modifiers when they are needed.
b4f4dc7627Adeel AsgharOnly get the extends modifiers when they are needed.
62fb7c856aAdeel AsgharFix crashing while opening parameters window.
b717333560Adeel AsgharFix crashing while opening parameters window.
5dc02435a0Adeel AsgharFetch the component modifiers only once.
9f0aa25c17Adeel AsgharFetch the component modifiers only once.
36b9fbe046Marcus Walther- fixed C++ MinGW FMU export on Windows (the libgcc-dll is now copied to build/bin, lapack and blas are embedded into the FMU)
fe43efbab3Niklas Worschechadded additionl compiler target flag for Visual Studio versions there are now the target msvc,msvc10,msvc12,msvc13,msvc15 for visual studio builds, the target msvc uses the latest, installed visual studio
cfb2a0ca2cAdeel AsgharMore speed up for OMEdit. Only read the from class file if really needed.
44801e5ccfAdeel AsgharMore speed up for OMEdit. Only read the from class file if really needed.
6c675e6ea5vwaurich- getValueReference works with row major order for cpp fmus
292fdcad77adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b6c970ae39adrpo- fix windows build
d5935a59caAdeel AsgharRemoved unnecessary debugging code.
a82dcec712Adeel AsgharRemoved unnecessary debugging code.
da7ee2328fPer ÖstlundAdd test for moveClass, #3552.
b7b42318daPer ÖstlundFix for #3552.
65f402e4d0adrpo- fix windows build
2d700ff8c6Adeel AsgharUpdated getClassInformation to get more information for OMEdit.
786a8ee590Adeel AsgharMore tests updated for new getClassInformation.
e523151781Adeel AsgharRemoved isProtectedClass and getNamedAnnotation(DocumentationClass) since its part of getClassInformation now.
b84ec72eaaAdeel AsgharRemoved isProtectedClass and getNamedAnnotation(DocumentationClass) since its part of getClassInformation now.
3bfc949e69Rüdiger Frankeremove boost_system lib from FMU generated with msvc in release mode
d3ff7c45fbAdeel AsgharUpdated getClassInformation tests to new output.
2663366d42Marcus Walther- the init-XML-file of the cpp runtime does now consider the column-major storage of the arrays -> this will produce correct value references for multi dimensional arrays and fix some initialization issues
52316c3acfAdeel AsgharOnly load the Diagram components and connections when really needed.
ac53ae4f7eAdeel AsgharOnly load the Diagram components and connections when really needed.
55f458442dMartin SjölundRead operations before checking how many they are
ef9582eda3Martin SjölundRead operations before checking how many they are
885c632bb8Lennart OchelRevert "reduce ExpressionSimplify-Calls inside solve(.)"
0d78a38d37Niklas Worschechchanged msvc build, latest visual studio version is used if no verion is set with VSVERSION flag
8da891b06eAdeel AsgharCorrectly set the save contents type when opening a class.
1978c95b05Adeel AsgharCorrectly set the save contents type when opening a class.
f74641fae7Adeel AsgharStore the extends modifiers and component modifiers.
734e3dff56Adeel AsgharStore the extends modifiers and component modifiers.
dedd5085e3vwaurich- reverse lists in getUnrolledArrayIndex
72f90e7c76vwaurich- fix for SimCodeUtil.getUnrolledArrayIndex()
b6e2cd2cddMartin SjölundRename Plot.h to OMPlot.h
0e588f9d30Martin SjölundRename Plot.h to OMPlot.h
928d504e84Martin SjölundRename Plot.h to OMPlot.h
38700a58baFederico BergeroTest for bug #2588
fe52534966Federico BergeroDump empty arrays {} as fill(0,0)
945d450490fbergeroGenerating modelica output in the flat DAE dump
6c58add6ffvrugeDIVISION_SIM improved check, using old logic
9f2a0ec31aMarcus Walther- removed trailing whitspaces
66c68d2586Marcus Walther- removed empty lines at the end of files
b9f455efe7Marcus Walther- fixed HPCOM measure time functionality
d8fb05717aMarcus Walther- some simple cleanups
9d31ebc8f6Marcus Walther- fixed Linux build issues
7014278800Niklas Worschechfix for cpp runtime release build
ee4f5b62a2Marcus Walther- disabled boost threads in MSVC release mode
f0b4fd3d7bNiklas Worschechadded flag to mingw make files to change Visual Studio version VSVERSION=[2010,2012,2013,2015] default is 2010
3df11eceb2Willi Braunexpected output
e144c6d608Willi Brauncleanup and revise dassl code
da87f6ade2Martin SjölundFix OSX paths for new suitesparse dependencies
c2dcf1015cLennart OchelUpdate expected output after library bump
507faa4495vrugerunExReduceDrumBoiler: improved initial guess
0a36f1f630vrugeexpected output
bad389217dvrugesimplifyAllExpressions: - don't use simplify use simplify1 - see: https://trac.openmodelica.org/OpenModelica/ticket/2647
a59b7ee8ddMartin SjölundThe exe extension on OSX is not .app
7458c241a7Per ÖstlundFix for #3460.
670fd9409ePer ÖstlundAdded test for getComponents API.
d162439700RuedKamp-USE_CPP_03 is not defined under VxWorks although not using C++11
328cdad88bRuedKamp-removed OMDEV Variable from VxWorks makefile
c780050125RuedKamp-some minor changes
4d3c856c55Adeel AsgharWhen a class is loaded/unloaded then load/unload the component respectively.
eb5d903d02Adeel AsgharWhen a class is loaded/unloaded then load/unload the component respectively.
998b08289fAdeel AsgharWhen a class is loaded/unloaded. Update the non-existing component.
e214316d59Adeel AsgharWhen a class is loaded/unloaded. Update the non-existing component.
d237bc50e4Martin SjölundMinor performance fixes for Absyn.traverseExp
302a8b578fPer ÖstlundAdd tests for addClassAnnotation API.
13854c1c06Per ÖstlundFix for #3574.
6e15581e1bAdeel AsgharUpdated the SaveChangesDialog to new structure.
9f6aaedcebAdeel AsgharUpdated the SaveChangesDialog to new structure.
6b0a63de52Adeel AsgharWhen a new shape/component is added then update the connections associated to them.
9d4d80b157Adeel AsgharWhen a new shape/component is added then update the connections associated to them.
2b1abe8852RuedKamp-fixed functionblock generation
e09f1554f2RuedKamp-changed defines for sparse solver
83b998c751RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
56e4a7de99Adeel AsgharWhen a new shape/component is added then update the inherited components.
36c5736f59Adeel AsgharWhen a new shape/component is added then update the inherited components.
5fac6e1b89Adeel AsgharAvoid making calls to OMC. Minor speed up.
6176eae6e0Adeel AsgharAvoid making calls to OMC. Minor speed up.
a5b060172dWilli Braunfix minor issue in dassl.c and clean up
5d87fbd5f7Adeel AsgharDo not show unload/delete option for nested system libraries.
d5b12e2869Adeel AsgharDo not show unload/delete option for nested system libraries.
b1a575ac99Adeel AsgharUpdate the Component when new component/shape is added to actual class.
33a1a06b59Adeel AsgharUpdate the Component when new component/shape is added to actual class.
ad626e112bMarcus Walther- added cpp-runtime flags to Windows-Makefile
f2cca5abe1Marcus Walther- removed spaces in Modelica.cpp
51b0039a74Marcus Walther- Documentation updates
e982636c81Adeel AsgharFixed searching of connector component.
b4d99f5b05Adeel AsgharFixed searching of connector component.
7a131d669aMartin SjölundRewrote Absyn.pathString
487eea1818vwaurich- fix for evalOutputOnly
4564e1cd39vwaurich- changed dumpSimCode implementation
199d4cd499Lennart OchelRevert "Hack for ticket 3544"
dbb674db7bMarcus Walther- changed the flag "USE_CPP_ELEVEN" to "USE_CPP_03" to be compatible with further standards
fb2973748eNiklas Worschechre-added accidentally removed assert warning
3035e11eaaAdeel AsgharWhen a shape is updated then update the reference shape and the class icon. Call prepareGeometryChange if we are changing the item boundingRect otherwise we get unexpected paint events.
9ec201645dAdeel AsgharWhen a shape is updated then update the reference shape and the class icon. Call prepareGeometryChange if we are changing the item boundingRect otherwise we get unexpected paint events.
57d05fd105Willi Braunadding context depending extrapolation
cf42914095Willi Braun - deactive ThermoSysPro test for now - change to expected solution for dynamic tearing
920eedf11dMarcus Walther- increased memory for precompiled headers (MSVC)
fb0cb73851Lennart OchelHack for ticket 3544
e090d3da58hudsonMerge remote-tracking branch 'origin/master' into pullrequest
e1afc3d0eaNiklas Worschechreverted 2d6e1a7d26ee397d9295368aec0f9450d9db1e23
5ea6c42033Per ÖstlundCleanup DAE.Mod.REDECL.
7fcf026a6cNiklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
3011206159Niklas Worschechrevert 2d6e1a7d26ee397d9295368aec0f9450d9db1e23 in cpp template
6d1160c77fNiklas Worschechfix for external string in cpp template
609f8a7d56Niklas Worschechadded assert warnings in cpp template
e1aa8b0326RuedKamp-xml file generation for functionsblock
63cd39e46avwaurich- fix for evaluateOutputOnly
f2902c0710RuedKamp-improved xml FunctionBlock generation
78bf148493RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b33dd2e311RuedKamp-improved xml FunctionBlock generation
2d6e1a7d26Niklas Worschechfix for external string in cpp template
9da56998f1Niklas Worschechadded assert warnings in cpp template
d110f644c2Per ÖstlundFix for #2964.
c7b7e74d45vwaurich- replace evalAllParams-implementation - dump bipartite graphs for sccs after backend
4b930ae6b0vrugeExpressionSolve: matchcontinue in match
afa3ac41f6vrugeExpressionSolve: matchcontinue in match
0071e68091vrugeExpressionSolve: using guard
79c8b96a49vrugeimproved SolveSimpleEquation using (for loops, reduce number of operation)
bd00240bcavrugereduce ExpressionSimplify-Calls inside solve(.)
16b1a424devrugeExpressionSolve: matchcontinue in match
a6891f398bLennart OchelFix performance issue of module inlineWhenForInitialization
7550912d44vruge- improved stop criteria in ExpressionSolve.solve - reduce simplify-calls in ExpressionSolve.solve2 - fixed start value for iterration var in simplifyComplexFunction
ee25428c01RuedKamp-removed one environmental variable required in VxWorks makefile
c672f553ecRuedKamp-copy some headers required for VxWorks build
75acf015cbRüdiger Frankeremove $(OMHOME) substitution for nmake
85c4f53f11Martin SjölundAdd tail recursion for Expression.makeMatrix
ced7bfa9eeRuedKamp-add export for VxWorks makefile
18c0050a2fRuedKamp-fixed some VxWorks error -adapted VxWorks makefile
50f43eb647RuedKamp-xml file generation for functionsblock
65da0bc77eRuedKamp-fixed some VxWorks error -adapted VxWorks makefile
e480d238bfRuedKamp-xml file generation for functionsblock
415e95d419Per ÖstlundFix for #2964.
b1531402f7Per ÖstlundAdd test for #2964.
936fccdcb1vwaurich- replace evalAllParams-implementation - dump bipartite graphs for sccs after backend
29c46641cevrugeExpressionSolve: matchcontinue in match
f2b7cd2e24vrugeExpressionSolve: matchcontinue in match
d3176fd2fcvrugeExpressionSolve: using guard
ef0a109abaAdeel AsgharFixed deleting of shapes/components. Unselect the shapes so that they don't next signal next time. New Component creation structure.
82e2d5681aAdeel AsgharFixed deleting of shapes/components. Unselect the shapes so that they don't next signal next time. New Component creation structure.
997e514081vrugeimproved SolveSimpleEquation using (for loops, reduce number of operation)
4b79bb8de2vrugereduce ExpressionSimplify-Calls inside solve(.)
4756935cc4vrugeExpressionSolve: matchcontinue in match
c45436a1f3Lennart OchelFix performance issue of module inlineWhenForInitialization
199855a7fdvruge- improved stop criteria in ExpressionSolve.solve - reduce simplify-calls in ExpressionSolve.solve2 - fixed start value for iterration var in simplifyComplexFunction
4647aa6ac7RuedKamp-removed one environmental variable required in VxWorks makefile
c0cc940b66RuedKamp-copy some headers required for VxWorks build
c462bedbb2RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
db7e3316ebRuedKamp-removed one environmental variable required in VxWorks makefile
420c34b8abRuedKamp-copy some headers required for VxWorks build
5a65e9df30Rüdiger Frankeremove $(OMHOME) substitution for nmake
ffbc45f223Adeel AsgharAdded new command line option --Debug=[true|false]. Draws widgets helpful for development.
c67f1b882eAdeel AsgharAdded new command line option --Debug=[true|false]. Draws widgets helpful for development.
352fa2afd4Martin SjölundAdd tail recursion for Expression.makeMatrix
da9489d3a3Adeel AsgharAdded save total option in context menu. Updated saveTotalSCode to saveTotalModel. Enable shapes menu bar only for modeling perspective.
af9efb0a0aAdeel AsgharAdded save total option in context menu. Updated saveTotalSCode to saveTotalModel. Enable shapes menu bar only for modeling perspective.
37f75383a6RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
eb3c09a901RuedKamp-add export for VxWorks makefile
6ea6563d47Adeel AsgharUpdated the code to re-use TreeSearchFilters class.
a1687e45e8Adeel AsgharUpdated the code to re-use TreeSearchFilters class.
847989d299Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMPlot
47b15cfba1Adeel AsgharRemove the space between x and y-axis.
071107013cRuedKamp-fixed some VxWorks error -adapted VxWorks makefile
851aaca7c5RuedKamp-xml file generation for functionsblock
2e30872234RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
62a6e06579RuedKamp-fixed some VxWorks error -adapted VxWorks makefile
446a0903b1unknownfix for daeExpReduction in cpp template
64a0568e98Niklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
e344cf7049unknownfix for daeExpReduction in cpp template
13983f6a9fMartin SjölundAlways compile with ipopt
61b75ffd23Adeel AsgharAdded tool-tip for all columns of Variables Browser.
36083c2ecaAdeel AsgharAdded tool-tip for all columns of Variables Browser.
bb77c7f5c3Adeel AsgharFixes #3471. Show the variable description in the tooltip.
1d15d3b6f7Adeel AsgharFixes #3471. Show the variable description in the tooltip.
44ea7beda3Lennart OchelRemove short type declarations
e430545a28Lennart OchelRemove unused imports
6d3102dd80Adeel Asgharclean up
7a41723788Adeel Asgharclean up
0761c31e44Adeel AsgharFixed creating connection for inherited components.
1653cbb9ffAdeel AsgharFixed creating connection for inherited components.
d700365c28Lennart OchelRenamed --forceRecommendedOrdering to --defaultOptModulesOrdering
3fe15e2648Martin SjölundDo CONFIG_OS in autoconf
80f16ca9c5Martin SjölundRun without OPENMODELICAHOME on Windows
7b269d16cbLennart OchelAdd special cases to enable/disable additional opt modules
9f852892cdMartin SjölundAdd configure option --with-msys=msys-root
11653b52cbadrpo- small optimizations - use memcpy instead of for loop - do not copy the hashtable if not needed
e0d2d02a29Rüdiger Frankere-add Jacobian variable refs if +d=gendebugsymbols
d2ceb48d14adrpo- small optimization
91f3526d11Per ÖstlundFix for #2959.
4f8d315cf4Per ÖstlundUpdated tests.
43df7a65edRüdiger Frankerefinements to Cpp FMU makefiles for win32
5fb2fc51eaRüdiger Frankeupdate Makefile for Cpp FMI export using msvc
52a439f43fRüdiger Frankereplace Jacobian variable refs and initializers with defines
f20146ebddRüdiger Frankeskip Jacobian::get* code if there are no equations
bebe6ccfb3Adeel AsgharRename unloaded class from folder structure package as class.bak-mo Added save option in the library browser context menu.
3c0e3612f9Adeel AsgharRename unloaded class from folder structure package as class.bak-mo Added save option in the library browser context menu.
005343bd0dLennart OchelClean up default initOptModules
3107627313Lennart OchelClean up default initOptModules
0d17a04bb1Adeel AsgharAllow undo/redo for CoOrdinateSystem changes.
3e065deacbAdeel AsgharAllow undo/redo for CoOrdinateSystem changes.
40390de261Willi Braunadded density information to backenddaeinfo of liner torn systems
de871a548aWilli Braunupdate tests to addional output of backenddaeinfo
be96874407Martin SjölundCan now cross-compile a working omc from Linux
f19ece7b87Martin SjölundFixes to compile using msys2 on Linux
342374cd0darun3688push MatLabTranslator to Testsuite/special
4f43fa197eLennart OchelFix handling of symbolic Jacobians
f75088c5e7Lennart OchelClean up default postOptModules
9f095c631bLennart OchelClean up default postOptModules
3dcd46132cLennart OchelClean up default preOptModules
72230edf4aLennart OchelClean up default preOptModules
8597f421b1RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
cda5d97dd4RuedKamp-xml file generation for functionsblock
fff2ee5531Willi Braun - added new linear solver klu from suitespase
2b53c2b456Willi Braun - fix 3rdParty
9defa27a07Adeel AsgharDon't create CoOrdinateSystem object on heap.
afa12d0f35Adeel AsgharDon't create CoOrdinateSystem object on heap.
9cc917225aAdeel AsgharAdd class annotation only if values are different from default.
276e3d90e7Adeel AsgharAdd class annotation only if values are different from default.
e54dc5e964Willi Braunadded testcase for klu solver
33012b07fbNiklas Worschechfix for typo in define alias string variable in cpp Template/CodegenCpp.tpl
3a3e682e04Niklas Worschechfix for typo in define alias string variable in cpp Template/CodegenCpp.tpl
4a66b7a7f9Lennart OchelRemove newUnitChecking config flag
50deea622eLennart OchelRemove newUnitChecking config flag
44a6be4a69Lennart OchelFix *OptModules+ flags
ca73a56b20Lennart OchelRearrange optimization modules for symbolic Jacobians
635cc5daf2Lennart OchelRearrange optimization modules for symbolic Jacobians
db5c94a1d2Lennart OchelDump dae type to pre-opt module heading
43143af017Lennart OchelAdd config flags to enable/disable certain optimization modules
c5e16b0011Lennart OchelImproved warnings/errors
ca7e4474c7Lennart OchelAllow not-recommended module ordering in modelEquationsUC
8a170eceedLennart OchelDump dae type to pre-opt module heading
cc923c7dbbLennart OchelForce recommended pre-/post-/init-opt module ordering
2f665719bavrugeRevert "expected output"
27e482212dvrugeRevert "attempt: extends getFunctionInputsOutputBody for Array-Types"
511edc7e17vrugeRevert "workaround for [https://trac.openmodelica.org/OpenModelica/ticket/3531 #3531]"
aff0026ed4Rüdiger Frankeremove DOS line endings
1ba1aac920adrpo- attempt to fix windows build again
0e0b9116c8Rüdiger Frankefix least size of static vectors and return value
1da7404e86Martin SjölundSome updates for mingw cross-compilation
e904fa3bc5Adeel AsgharFixed error messages link for files.
150309c94aAdeel AsgharFixed error messages link for files.
7eecbb8e56Martin SjölundMerge pull request #10 from niklwors/master
513d3f56f4Niklas Worschechfix for cpp runtime documentation build on windows
54098fff73Martin SjölundSkip darwin32 tests as we do not have dyld32
ccc46e3cd9Martin SjölundTest darwin64 using the darling suite
36cabeec86adrpo- fix Windows build, for now C FMUs are broken
8847a737b6Rüdiger Frankeupdate discrete-time FMU test (#3549)
f401b32013vrugeworkaround for [https://trac.openmodelica.org/OpenModelica/ticket/3531 #3531] - added option inline function with array type (defaulte= false) - option will be irnored insidedynamicStateSelection
a3c21e75b8Adeel AsgharDo not allow folder structure saving within one file package.
5e79ae1ec6Adeel AsgharDo not allow folder structure saving within one file package.
1c737e1827Martin SjölundTry harder to preserve whitespace
037163fe57Martin SjölundAdd testcase for #3551
3107135166Adeel AsgharAdded support for moving classes to top/bottom.
c819912b74Adeel AsgharAdded support for moving classes to top/bottom.
952e5a4e2bAdeel AsgharCompleted the GUI support for moving classes up/down.
61ee755b5fAdeel AsgharCompleted the GUI support for moving classes up/down.
589568ea9eMartin SjölundChecks setSourceFile+listFile combination
ab2a526e16Martin SjölundUse the INFO from the CLASS when updating program
4a7f1fdf0cNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
303fad4a2aMartin SjölundThe test needs to specify me_cs as FMU type
644209a0f2Martin SjölundHandle older file command output
ea546267cfLennart OchelAdd replace rules for clock expressions
e44ed5c819Lennart OchelAdd test case from ticket 2673
a1668c7f4cLennart OchelUpdate expected output
0c5e2df000Lennart OchelReplace matching algorithm that is used by fixInitialSystem
6b587c18b3Lennart OchelUpdate WasteWater test after library bump
d465e48753Lennart OchelReplace matching algorithm that is used by fixInitialSystem
1a9e8ce56bMartin SjölundHandle older file output
e8b4275979Adeel AsgharInitial support and structure for moving classes within packages.
d774f45668Adeel AsgharInitial support and structure for moving classes within packages.
a8c7fb8bc7Adeel AsgharSave the folder structure.
b0638605efAdeel AsgharSave the folder structure.
df1b7a4d0badrpo- update test after library dump
186cf15070Niklas Worschechfix for external C functions an string arrays in cpp runtime
460260f95fMartin SjölundMake 2.0 ME FMI the default
b14997c53bMartin SjölundCompile MinGW FMUs with static libgcc
c578a6be3bMartin SjölundFMU export changes
e89eaf5ae2Martin SjölundUse autoconf in the source-code FMUs
3ea4de3634Martin SjölundRemoved FMI 1.0 test that was actually a 2.0 test
fe6e5a4b41Martin SjölundUpdate for new API
19fe9a112dMartin SjölundSpecify version="1.0" when testing FMI 1.0
d77c3cff4fMartin SjölundMake colorNodePartitions tail-recursive
1a8f583a27Martin SjölundAdd a test for export+simulation of an FMU
a9225b77f0RuedKamp-fixed simObjects also for VxWorks
ae2c200392RuedKamp-fixed simObjects also for VxWorks
1858edc35bRuedKamp-enable sparse solver only for vxworks
4be732e6fcRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9ef7f9061eRuedKamp-fixed simObjects also for VxWorks
f2791803f5RuedKamp-fixed simObjects also for VxWorks
0320fe7c7cMahder Gebremedhin+ Fix handling of complex equations so that we won't generate unecessary nonlinear systems.
b612c7ac32RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e6a9a5dc5fRuedKamp-enable sparse solver only for vxworks
b635a28dd1Lennart OchelFix mat file import for parameters
2af9d16528Lennart OchelFix start values for algebraic states
a14041dd0fLennart OchelFix analysis of over-determined systems
1f77ff2a57Lennart OchelFix start value dependent initial equations
c68cd06cdfLennart OchelFix start values for algebraic states
ed3971e29bLennart OchelActivate tests for tickets 2830 and 3536
105514cfc3Lennart OchelUpdate expected output
51aa590158Lennart OchelAdd test for ticket 3536
51fcae41c3Lennart OchelMake module detectJacobianSparsePattern dispensable
90fe820ce7Rüdiger Frankeremove NULL to please gcc 4.4 and boost
36d2ed8a6dLennart OchelFix modelEquationsUC
ecc4f61035Lennart OchelStore all optimization modules in only one list
6880ebb4daLennart OchelMerge interface for pre/post-optimization modules
13a7f096b7Niklas Worschechremoved PreVariables class from cpp runtime
168aff96d0Rüdiger Frankeremove unnecessary dependencies from exported FMUs
291f55df5eMahder Gebremedhin+ Fixed handling of complex residual equations. We expand all complex residuals to simple residuals now.
07834a6b47Adeel AsgharFix auto expand issue when unloading a class.
67f64ec75fAdeel AsgharFix auto expand issue when unloading a class.
0311246266Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b7a55c71c4Niklas Worschechfix for fmu instantiation in cpp runtime
46659c28e9Per ÖstlundUpdate tests.
bf9ac82048Per ÖstlundFix for Buildings.
9bfe18f512Rüdiger Frankefix quotes
91906e76a8Rüdiger Frankefix quotes
5e2e086cc7Lennart OchelFix type information of temporary variables
604f9170caRüdiger Frankesimplify XML output for clocks according to FCP-001
def3cd0925Rüdiger Frankeadapt test to simplified FMI XML format for clocks
c2668175f9adrpo- add first prototype of FMI for Co-simulation - fix a typo in dassl.h
4ed9a22da5Adeel AsgharWhen a class is loaded/unloaded then component is not updated.
74be569e08Adeel AsgharWhen a class is loaded/unloaded then component is not updated.
3598a1f69eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
1e2fbd796bNiklas WorschechMoved write output classes of cpp runtime in DataExchange lib
11fb0e937aMartin SjölundFix for C89
11412fe22dAdeel AsgharPush the experiment annotation modifications to the undo stack
eb7c06520bAdeel AsgharPush the experiment annotation modifications to the undo stack
d7f85b3859Per ÖstlundAdded testcase for #3506.
fb6950e123Per ÖstlundFix for Buildings library, #3506:
beccd0c5d3Martin SjölundAdd test for #3518
011a685f74Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
1034be47a9Martin SjölundUse equivTypes function instead of equality
592a3fb80ePer ÖstlundFix ExternalLibraryFunction on some platforms.
b9f61e955cMartin SjölundDisable LOG_LS in test
760f38be9bAdeel AsgharUndo/redo for Component parameters modifications.
e9d3ec4068Adeel AsgharUndo/redo for Component parameters modifications.
728d95da3cAdeel AsgharAdded new API `removeComponentModifiers` and `removeExtendsModifiers`
eca30949fdAdeel AsgharTests for `removeComponentModifiers` and `removeExtendsModifiers`
fefe856a6bMartin SjölundFix OSX stack base on Mavericks
a498326c45RuedKamp-fixed typo
d9734be4cbRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ce4ab8c7a3RuedKamp-fixed typo
c9447a6c26Martin SjölundFix for old C standards in FMU Jacobians
d51186c4d3Martin SjölundAdd test for getDefinitions
82c2619f60Martin SjölundAdd test for builtin classes
1aea30b1edMartin SjölundMore error-checking for BouncingBall
acb946eac3Martin SjölundFixes bug in lookup of builtin classes
4d8edfa31aRuedKamp-add factory for vxworks
80a4002973Rüdiger Frankeupdate test for sub clocks
1edd09e599Rüdiger Frankeextend Cpp runtime with sub clocks
ceca57ec49Rüdiger Frankeextend FMI export with sub clocks
bcbf094b0fAdrian PopMerge pull request #132 from lochel/modelicaML
5a995db735Lennart OchelAdd fully specified initial conditions to modelicaML tests
693d9cff90Rüdiger Frankeskip FMI initial and start attributes for alias variables
2490aa1ec5Rüdiger Frankedisable elimination of alias references for C FMI export
161ad391f3Rüdiger Frankeimplement direct memory access in Cpp FMI 2.0
5e6d738f1bRüdiger Frankeenable direct memory access with FMI value references
c79035785aAdeel AsgharHandle Component modifiers when we do duplicate.
e3aeef9bc2Adeel AsgharHandle Component modifiers when we do duplicate.
0d33c3b2d0Lennart OchelRemove redundant deep copy
2823f5ae07Adeel AsgharFixes #3158 Fixed the Component Parameters window issues.
c993482c91Adeel AsgharFixes #3158 Fixed the Component Parameters window issues.
f4a51e2213RuedKamp-removed unused variable, which caused an runtime error with msvc
8ac6287153vwaurich- add comSubExp test
f1c1c96987Rüdiger Frankeintroduce isFMIVersion10 check for old versions
525b6daa7cRüdiger Frankedeclare usage of boost::numeric::ublas explicitly
d172abda4fvwaurich- introduce alias eqs and no alias vars in CSE
55eb14d2d4vwaurich- update test
9ecf276b54vwaurich- add cse test
080a0a7301vwaurich- disableComSubExp for tests
30a76f91b6Rüdiger Frankeremove two unused libs from Cpp FMU build
2db28127d5Adrian PopMerge pull request #126 from gossen/ticket-3520
4acff37eb7Adrian PopMerge pull request #241 from gossen/ticket-3520
712c8c356aRüdiger Frankeremove unused SimData and FactoryExport from FMU
db830e586aLennart OchelAdd description of flag newUnitChecking
3d8d346b6dLennart OchelRename function insertUnitinEquation
fe7b58c76cLennart OchelSuppress some warnings
7c390101e6Lennart OchelImprove error message
c1d6eb48b8Lennart OchelClean up indentation
4adb15880bvwaurich- disableComSubExp in tearing test
0ac9894f5cfbergeroRemoving white space
ece74d0369fbergeroCorrect checking of range for derivatives
e71335cad9fbergero* Functionality to include the Jacobian in the FMU * This code adds an extra callback function in the C runtime to call the Jacobian evaluation. This changes also force the generation of the Jacobian code in the generated FMU. Only the A matrix of the Jacobian is supported by now (i.e. derivatives of state derivatives with respect to other states).
afc37d0e13Rüdiger Frankereplace hash tables for pre SimVars with offsets
398dd55357Paul ScottFixed alias default and initial equation sub expression tag
dd7ca6ed4avrugeattempt: extends getFunctionInputsOutputBody for Array-Types
cb29956a15vrugeexpected output
101b6b243cRüdiger Frankesmall fix to delay buffers
7c86a6a8e7Rüdiger Frankeuse std::deque for delay buffers (#3522)
d96c198267vwaurich- fix getNoDerivativePosition
8f2cd7e7b7vwaurich- fix for modified Pantelides
57cecad867Martin SjölundFMUs need to contain the info.json data
c5120f3da2vwaurich- handle empty systems in CSE
7c88237748Adeel AsgharOnly track the Component attributes if they really changed.
7a4ef8387fAdeel AsgharOnly track the Component attributes if they really changed.
0f589ef15cMartin SjölundInclude dgesv in static source FMU external code
7c902c1de5Marcus Walther- fixed FMU start value behaviour
90cc19cdf8Marcus Walther- start values are now correctly set for exported FMU 1.0 ModelExchange
acac6c3243Marcus Walther- fixed expected output of FMU C++ test
33b29ef19fRüdiger Frankefix integer once more
02c1d40be3Rüdiger Frankereplace lexical_cast with to_string (#3522)
4ef6094f74Marcus Walther- fixed some typos in ModelicaTest-makefile
3976439aefWilli Braunexpected output
4ca8547d01Willi Braun - fixed noEquidistant mode
ca92c9c2c1Willi Braun - added test-case for noEquidistant mode
e15a57ad8cWilli Braun - fix noEquidistantGrid mode of dassl
a2254ab48bRüdiger Frankeuse C++11 builtin range based for loop (#3522)
bd1887ecc1Adeel AsgharFix loading the non-existing classes.
9f25f50c5aAdeel AsgharFix loading the non-existing classes.
ab0bfa6a0eAdeel AsgharTrack connections updates.
8a958872d4Adeel AsgharTrack connections updates.
27e6c56122Rüdiger Frankeuse std::hash to obtain thread number with C++11
608360da21Rüdiger Frankeuse C++11 std::unordered_map and set (#3522)
475a176a01Adeel AsgharCall setReloadNeeded for non-existing classes. So we can load them when opened.
311fcb4450Adeel AsgharCall setReloadNeeded for non-existing classes. So we can load them when opened.
64ec735f4eRüdiger Frankereplace boost list_of with C++11 builtins (#3522)
a698deb6ccAdeel AsgharUpdate the inherited class icon when protected component is changed in base class.
dfff115986Adeel AsgharUpdate the inherited class icon when protected component is changed in base class.
dace8a83f4Adeel AsgharUpdate the inherited class icon when a new shape is added to base class.
d22cc6fdb2Adeel AsgharUpdate the inherited class icon when a new shape is added to base class.
2a0c529376Lennart OchelFix replacements for NORETCALL in when equations
069f34ed12Lennart OchelFix replacements for NORETCALL in when equations
93d872f3e2Martin SjölundRemove readline dependency from OMCompiler
ab452a3546Rüdiger Frankefix usage of trunc
bc3311a9c6adrpofix msvc build
0e98e6b35eAdeel AsgharSome fixes when duplicating components of built-in types.
e2bbf67500Adeel AsgharSome fixes when duplicating components of built-in types.
88c7f2f9c4Adeel AsgharUpdate Component instances when new shapes are added to the class.
2176a3c6c7Adeel AsgharUpdate Component instances when new shapes are added to the class.
034af4bf20Adeel AsgharUpdate the Component display name when we do undo/redo.
6b87f1e5b2Adeel AsgharUpdate the Component display name when we do undo/redo.
739d20cc51Adeel AsgharFix when connector component is set to protected we should hide it from icon view.
4bf2273b02Adeel AsgharFix when connector component is set to protected we should hide it from icon view.
0425c8f4d7Rüdiger Frankeintroduce namespace omcpp for more C++11 (#3522)
5da3ed26bcvrugeextended the case tuple() = tuple in simplfyComplexFunction for array types in lhs/rhs
5c33b207b7vruge Inline.inlineCall and forceInlineCall return DAE.TUPLE for more than a single assignment statement
71959bcd63Adeel AsgharAllow undo/redo when duplicating Components/Shapes.
e9f54669faAdeel AsgharAllow undo/redo when duplicating Components/Shapes.
4f32f34e0cvrugeexpected output
bfdc85ca17vrugeadded testcase for inlineCalls with tuple
111757f3a9Rüdiger Frankere-add a used boost include
730289784cRüdiger Frankealign using boost::get with usage of tuple (#3522)
0b4c125070Rüdiger Frankereplace using namespace std with std::abs (#3522)
014017110eRüdiger Frankeremove unused boost includes and usings (#3522)
d5a8183182Willi Braunimproved extrapolation of non-linear initial guess
243f70d9c9Willi Braun - expected output
b04f8ee79eRüdiger Frankemove FMU solver factory include to solver creation
2d5f225a6bAdeel AsgharAllow undo/redo for component attributes.
e322df0940Adeel AsgharAllow undo/redo for component attributes.
f65e383894Adeel AsgharUpdate component comment when component contains dimensions.
7f4c0010e4adrporemove deleted files from cmake makefiles to please the msvc build
82c9ab7ddcMartin SjölundRemove the dependency on expat from FMUs
a5e016e84bMartin SjölundCheck that we do not revert 3rdParty by accident
5bcd7ee53dRüdiger Frankemove solver creation to specific Cpp FMU system
4bf245a651vwaurich- fix for simjacCSRToCSC
b0724337bchudsonMerge remote-tracking branch 'origin/master' into pullrequest
08c5320ea9Niklas Worschechfix for csv output in cpp runtime
45a75069cbvwaurich-added indexReductionTest,remove warnings in craneFMUTest
03f5aaf5f1Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
eb0ffdd7f8vwaurich- fix tests for pantelides change
b5101ef99dvwaurich- activate modified pantelides
56d9b006c1vwaurich- get smaller MSSS for pantelides
d56f65a563Adeel AsgharAllow to undo/redo component transformation changes.
54b69c45fbAdeel AsgharAllow to undo/redo component transformation changes.
e929940c3dMartin SjölundMerge pull request #9 from arun3688/master
29ef347b3aRüdiger Frankeuse C++11 to_string for numeric values (#3522)
52fdcec45dAdeel AsgharFix creation of Text & Bitmap shape for undo stack.
843654d226Adeel AsgharFix creation of Text & Bitmap shape for undo stack.
8907348a75Marcus Walther- simple fix for array slices - typo fixes for array operations
57d7bf3785Niklas Worschechsimplified inheritance structure for Modelica system in cpp template
5b15507c75Niklas Worschechsimplified inheritance structure for Modelica system in cpp template
3c5fbea49dRüdiger Franketypo in previous commit
49a44084a8Adeel AsgharAdd class annotation for new classes.
963a24ba91Adeel AsgharAdd class annotation for new classes.
981224e6ffAdeel AsgharRemoved the updateClassAnnotation signal.
1652fb898eAdeel AsgharRemoved the updateClassAnnotation signal.
3746b035aeRüdiger Frankeextend Cpp tests with negated boolean alias
f5433093d4Rüdiger Frankefix new WriteOutputVar for boolean aliases (#3524)
33ae1ea7a2RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
49554e71c8RuedKamp-fixed error with boost::minmax for c++11 in msvc
cc068045eaMarcus Walther- fixed windows build
b99d59c5d4RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
85dda17c7aRüdiger Frankere-add boost lib to FMI export prior to C++11
abf63499a8Rüdiger Frankeremove unused FactoryExport from FMU
732bcca670Adeel AsgharHandle component double click for built in types like Real, Integer etc.
eded7e0bc2Adeel AsgharHandle component double click for built in types like Real, Integer etc.
80cb3a472bAdeel AsgharAllow to undo/redo the changes done via UpdateShapeProperties dialog.
dff98d3554Adeel AsgharAllow to undo/redo the changes done via UpdateShapeProperties dialog.
6d1f0254c4RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a51c28ce36Willi Braun - fix symbolic jacobian generation in dynamic state selection
ab4c771395Rüdiger Frankemove xml parser include to XmlPropertyReader
4eede182a8Rüdiger Frankeuse C++11 minmax_element (#3522)
cfc7caf9d1Lennart OchelClean up match pattern
3b89fb7462Rüdiger Frankeremove duplicate includes from FactoryConfig.h
9ea2fe6f07Rüdiger Frankecompletely remove boost libs from FMI export
8beab334fcRüdiger FrankeLocalize use of boost filesystem and program_options (#3522)
8d2f20e820Martin SjölundFMU support for OSX, which does not support cp -u
1bb207d00dMartin SjölundReduce stack space
57c8c57a24Martin SjölundCheck for qmake in configure instead of make
300f04e8a5Rüdiger Frankeremove dummy LoadLibrary from static Cpp runtime
164eabbfe0Adeel AsgharTrack the shapes duplication operation in undo stack.
bd5ec90e6cAdeel AsgharTrack the shapes duplication operation in undo stack.
d4e918097aAdeel AsgharMore better undo/redo functionality for shapes.
37ccf1713cAdeel AsgharMore better undo/redo functionality for shapes.
ea09fa1eceMartin SjölundUse va_copy when re-using a va_list
c7fdce2cddMarcus Walther- cpp runtime logger is now enabled on windows systems
3e69c93f3aMartin SjölundBump for latest qmake.m4
946bc40d3aMartin SjölundBump for latest qmake.m4
c3551f1e1eMartin SjölundBump for latest qmake.m4
fbc7bf24c3Martin SjölundBump for latest qmake.m4
159e5dd3e1Martin SjölundCheck for empty qmake command
c535ec7972Martin SjölundLook for env.vars QTDIR/QMAKE/LRELEASE
657b5ca095RuedKamp-added FactoryExport for VxWorks
6166cfd5b0RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
83daf1ecbaRuedKamp-added FactoryExport for VxWorks
b2c8ddd11fRüdiger Frankeremove boost_filesystem and boost_program_options from FMU (#3522)
d462a69050Rüdiger Frankemove Logger call from generated code to FMUWrapper
5ad900c627Rüdiger Frankeremove unused XmlPropertyReader from FMU build (#3522)
860b463702hudsonMerge remote-tracking branch 'origin/master' into pullrequest
19bd533d89Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
5a22ed334fNiklas Worschechrestored fix for hard coded start values in cpp template
56438a0916hudsonMerge remote-tracking branch 'origin/master' into pullrequest
8c2f3ec733RuedKamp-removed klu includes
fe751df68fMartin SjölundInit Boehm GC (necessary for OSX)
aa32aa8566RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
308b0b104aNiklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
9576b56651Marcus Walther- fixed windows build
4ca01e4931Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6544142facRüdiger Frankefix StaticOMCFactory after previous commit
e7c2e15d60Rüdiger Frankeseparate out static solver factories (#3522)
63842aa661Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a818bbdcd1Adeel AsgharUse one command class to update component instead of three.
a380fc0169Adeel AsgharUse one command class to update component instead of three.
c5ef284c97Adeel AsgharInstead of creating three commands classes use one class for shapes change undo/redo.
8e598407ffAdeel AsgharInstead of creating three commands classes use one class for shapes change undo/redo.
0e6945e0bbadrpoupdate tests after library bump
a13a6c9a96Adeel AsgharClear the selection when doing undo/redo.
09052a0d38Adeel AsgharClear the selection when doing undo/redo.
b9ed433b1fAdeel AsgharUndo for shapes and components movement either by mouse or keyboard.
72c5a36fa1Adeel AsgharUndo for shapes and components movement either by mouse or keyboard.
a6932e46ddRüdiger Frankeremove remaining use of boost::multi_array (#3522)
1362549a78RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
472750f412bernhard ThieleAdded plot commands for clocked models
96a1c7828dPer ÖstlundFix inst of Annex60 (and maybe Buildings).
863971a453Per ÖstlundUpdated tests.
7bd5b8cde0RuedKamp-added Broyden's method
11d211cc71RuedKamp-added Broyden's method
8ee84dfcf5RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3f4cc57edeNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
137767a3d3vwaurich- restructured and extended graph dump of bipartite graphs
b3b75c192dAdeel AsgharAllow undo of deleted connections.
1a75a6d50aAdeel AsgharAllow undo of deleted connections.
1ebf92014fRuedKamp-fixed typo
08df195dc9RuedKamp-fixed typo
c12fd20b25RuedKamp-fixed typo
a1cfadd5d7RuedKamp-some changes for vxworks
085c2c7dcfRuedKamp-added Broyden
a027236a2fRuedKamp-added Broyden
31050196e3RuedKamp-added Broyden method
948a483cc9RuedKamp-reverted original newton method
d17b30006aRuedKamp-removed klu
bdd216d0f7Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
3a9ccebcb0RuedKamp-reverted
3ad22ddf85RuedKamp-actually nothing changed
e64c91371fRuedKamp-added broyden solver
22f67d2a02RuedKamp-added using boost::dynamic_pointer_cast;
f4f5eb0313Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0c1e4fb1d3Rüdiger Frankeextend FMI2 Cpp interface with clock interval
9c388fa76aRüdiger Frankerevert Cpp Newton solver to version f23c4961
ca011af860Adeel AsgharOnly perform certain key actions when some items are selected.
7396fb72c1Adeel AsgharOnly perform certain key actions when some items are selected.
3844b740bfgossenAllow to instantiate inherited classes
88d0d6f217gossenAllow to not throw error if qualified class hasn't found in Absyn.Program
b5af9a4510Adeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
8637b078e4Adeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
4256e2a3d4gossenAdd test case for inherited class instantiation
af50501702gossenRemove unused arguments from function Interactive.getClassesInClass
96d6e28cbcgossenIn function CevalScript.loadModel replace recursive call with List functions
8505a24a19Rüdiger Frankefix getClockInterval for integer clocks
f62e535c5bRüdiger Frankeremove $PRE replacements that don't apply
b1f63b615dRüdiger Frankeuse nice names for $PRE and $CLKPRE in C and Cpp runtimes
29d30bf0cbRüdiger Frankeadapt test to changed order of variable attributes
463e40ecb0Rüdiger Frankechange order of clocked variable attributes
d8a2753092Rüdiger Frankeadapt test and add a clocked output
172319594eRüdiger Frankerename test as it covers more than the bug
b71ca8a524Rüdiger Frankemark clocked variables discrete
f1a843359cRüdiger Frankemake clockIndex optional instead of 0
092dd2f0aaRüdiger Frankeadapt test to nicer $CLKPRE name
4002cbdf53Rüdiger Frankereplace $PRE and $CLKPRE with nicer names (cf. $DER)
fc6c659c83Rüdiger Frankeremove obsolete workaround
308ffab2f4Niklas Worschechfix for uninitialized xmlreader and hardcoded start values in cpp template
89c5e8ce99Niklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
524ce11471Marcus Walther- fixed segfault in writer-class (occured because boost::make_tuple was used for std::tuples) - removed the ifdef-stuff in writer.h (now there are new classes called "DefaultContainerManager" and "ParallelContainerManager" to handle the container stuff) - renamed busywaiting_barrier.hpp to barriers.hpp
fbb8233806Rüdiger Frankepopulate clockIndex to FMI 2 modelDescription.xml
8bd5f278d1Rüdiger Frankeupdate test with clockIndex in FMI 2 modelDescription.xml
3792fac23cNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3a9e48eeb1Lennart OchelAdd support for interval operator to c runtime
38d9d5e57eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d248f480a1Niklas Worschechmove WriteOutputVar class from MatFileWriter to Writer removed unnecessary typedef's
569c0bef33Lennart OchelRemove outdated QSS implementation
8cbbb37941Lennart OchelRemove outdated QSS implementation
cc63c1f247Marcus Walther- fixed std::shared_ptr and boost::shared_ptr mixing - fixed undefined reference to return value in WriteOutputVar
ea3f6705ddPer ÖstlundAdded test for redeclare attribute propagation.
e1a4c64d5bPer ÖstlundFix for attribute propagation with redeclares.
f9ed55d4bfMarcus Walther- added some more array operations to c++ runtime - fixed some issues with array slices
b3391fe1c5Niklas Worschechfix in intialization routine, if variable is a negated alias
e26b2abc4dNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
8b038f7343Lennart OchelMove TestSolve18.mos to FAILINGTESTFILES
f03e18c710Lennart OchelAdd getErrorString calls
4877229c75Lennart OchelSplit TestSolve.mos
3c084f6741Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f34585c80eRüdiger FrankegetClockInterval returns 0.0 instead of 1.0 if unknown
ef387e7ebcRüdiger Frankeuse implementation of SES_IFEQUATION from C for Cpp
5b5b55ef9bAdeel AsgharDisable show grid lines button for system libraries.
62889e67edAdeel AsgharDisable show grid lines button for system libraries.
bda691132cAdeel AsgharCreate an inherited connection when we create a new connection in the base class.
8e5582884aAdeel AsgharCreate an inherited connection when we create a new connection in the base class.
797bbe7d0aAdeel AsgharDraw and allow connection from Expandable Connector.
38b8092a39Adeel AsgharDraw and allow connection from Expandable Connector.
52537d55dfAdeel AsgharBetter background colors for views.
3520e6d70eAdeel AsgharBetter background colors for views.
648e1a4a6bAdeel AsgharConvert angle 360 to 0.
8c650564faAdeel AsgharConvert angle 360 to 0.
17c1031b5bAdeel AsgharAdded default placement annotation for components that doesn't have one.
1bee49b3d2Adeel AsgharAdded default placement annotation for components that doesn't have one.
68309ab43dRüdiger Frankeadd test for FMI export with clocks
51ba47061fRüdiger Frankeadd basic clocks to FMI modelDescription.xml
9c1b728720fbergeroTest for the experimental FMU for QSS and Multirate
994c933849Lennart OchelMerge remote-tracking branch 'fbergero/fmu-experimental' into merge-fmu-experimental
809c928caeAdeel AsgharUndo for shapes rotation.
eb8a4c36daAdeel AsgharUndo for shapes rotation.
17c6d82421Lennart OchelFix some typos (#236)
1e22e09652Per ÖstlundAdd new flag --useLocalDirection.
91f79f8b5dWilli Braunadded debug flags for differentation
cb8e341382Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
2a6e75635cNiklas Worschechfix for negated Alias Vars in write output routine
22a42a4b21mahge+ Fix #2933. Fix type informations for nested array reductions
a7c657ca61Adeel AsgharUndo for component rotation.
b037ac08eaAdeel AsgharUndo for component rotation.
db371fa848Willi Braun - use functionTree from initDAE further for simDAE
998686a7a6Willi Braunadded testcase for non-linear system with a function involed.
cde0a70f1cLennart OchelTry to fix floating point exception
ad77454e23Lennart OchelRevised substitutePartitionOpExps and substClock
46923d2154Lennart OchelRevised function substituteParitionOpExps
0d1a7a82feLennart OchelCleaned up SynchronousFeatures.mo
5630b3281carun3688setCommandLineOptions("+std=3.3") for few clocked Synchronous model
244b2a2709Lennart OchelAdd more TRACE instructions
6bec458803Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
176b400700Lennart OchelAdd missing TRACE instructions
748021d468Lennart OchelFix indentation
d9a51334cfbernhard ThieleTests from Synchronous lib
47f4c84822Rüdiger Frankeadd test for different types of clocked variables
18ff445e42Rüdiger Franketest interval() without argument
b297e3a0e1Rüdiger Frankecleanup creation of non-clocked variables
d404391e27Rüdiger Frankesupport clocked states of any base type
c7257cc6d7adrpomore fixes to #3503, fix clock substitution
d6113efb36Rüdiger Frankeextend clockedTest
55125bf2ceRüdiger Frankeimplement interval operator in Cpp runtime
c1357acebdRüdiger Frankefix initialization of clocked variables (#3497)
3e6f284f65adrpofix more typos
8447b1bd07vwaurich- store crefs for protected variables in visual.xml
4a71f04cf0Adeel AsgharRemoved unused constructors of the shapes.
f91caeeb38Adeel AsgharRemoved unused constructors of the shapes.
a13d66f79bNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
3370770659Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
213ddae555adrpofix typo in function names
f0d262f929Adeel AsgharMark the model modified when component is removed. Properly check if Icon view has annotation or not.
de1c1ff0dfAdeel AsgharMark the model modified when component is removed. Properly check if Icon view has annotation or not.
a777e79044Adeel AsgharFixed the saving of single file packages.
bf11a775d7Adeel AsgharFixed the saving of single file packages.
96486005e5fbergeroMerge with master
9608520fd2Lennart OchelUse module "Error" instead of print for errors
cea00ab48fLennart OchelAdd more helpful error message
488d796015arun3688Added Clocked Synchronous models to Notebook and some more new models
1eff681c37Federico BergeroMerge pull request #1 from OpenModelica/master
93652648e7adrpomore fixes for #3503, handle shiftSample arguments better
ae1a72c736adrpomore fixes for #3503 - fix subSample, superSample argument checking - fix to allow Clock to be used as a connector
e78c79d901Lennart OchelUse constant emptyInputData
0b7d5fb789Lennart OchelSimplified record DIFFINPUTDATA
7e6ad026afWilli Braun - fix diffInputData for zero differentiation
1501542c56adrpofix #3504, build with qt4 even if qt5 exists
7fd0367c62adrpofix #3504, build with qt4 even if qt5 exists
b85c207e89Willi Braun - update testcase and expected output
9079fd27f1Lennart OchelAdd missing brackets to cast expressions
2f0f007dbbmahge- parenthesize expression is div()
eb0d20985eNiklas Worschechfix for addContainerToWriteQueue
338fff9c0dgossenAdd tests for #3492
bfa33db853gossenIn Lookup.lookupConnectorVar get inner/outer prefix for first ident
9ef520ebd1Lennart OchelFixed module simplifyComplexFunction
49a754df04gossenAdd tests for top level nested connectors
e02e8c96bfgossenUse ConnectUtil.componentFaceType function for detecting top level variables
c43ea9289agossenReplace recursive call to CheckModel.countVarEqnSize function with List utility function
4b8cd77527adrpoadd test for #3503
c5ce437f2badrpofix for #3503, prefix clocks
3a9498464eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e88115af61fbergeroAdding dependencies for NL System RHS
0610df2e21adrpoadd the new files to the msvc cmake files
fb0df3440cadrpofix windows build and source fmu test on gcc
fb7644bdf6Rüdiger Frankeattempt to fix #3502
5dfc9cded4Rüdiger FrankeAbstract naming of previous variables
794b44452eRüdiger Frankeadapt whitespaces to existing tests
b0d49ab819Rüdiger FrankeExtend FMI2 export with DiscreteState
0a6d92e255Rüdiger FrankeIntroduce clocked state variables
e28a98faa7adrpoupdate 3rdParty
23515467b3adrpofix windows build
6707ec85f6Rüdiger Frankeupdate clockedTest for #3498
5a5e52f3f4Rüdiger FrankeCpp update for initialization of clocked variables (#3497)
9e5b3b0d65Rüdiger Frankedistinguish clocked variables during initialization (#3497)
8d35fe6cf1Adeel AsgharSave one file packages with correct indentation.
61693d9354Adeel AsgharSave one file packages with correct indentation.
886ec2b176fbergeroIntroducing the GetSpecificDerivatives in the FMU and the corresponding debug flag
b570c96de5fbergeroMaking the function TR
c56af4b871Adeel AsgharDraw the class inherited connections.
a9cfc40117Adeel AsgharDraw the class inherited connections.
fae5a0ac1eAdrian PopMerge pull request #229 from lochel/PlanarMechanics
7212ce4b96fbergeroMoving FMU Experimental outside QSS and into SimCodeUtil
2f9f8a7324Lennart OchelFix missing brackets for rhs of division
4b5a985594Lennart OchelRemove useless line of code
74bab69704Lennart OchelFix dump of sparsity information
40d4915556Adeel AsgharGet class connections. Allow undo/redo of connections.
003436e036Adeel AsgharGet class connections. Allow undo/redo of connections.
175945493efbergeroFirst working version of the FMU extension
4607989475arun3688Update OMNotebook documentation with new features
8734a496e5vwaurich- rewritten ResolveLoops.partitionBipartiteGraph
1363820eadLennart OchelTry to fix #3482/#3498
8a1542ef50Adeel AsgharDo not modify argc & argv. Use setStyleSheet to apply the styles.
87d6a1fc41Adeel AsgharDo not modify argc & argv. Use setStyleSheet to apply the styles.
10f5341502Per ÖstlundFix for #3479.
6b0a496f9bPer ÖstlundUpdated test cases for #3479 fix.
96359f8d12Adeel AsgharStore built-in type component like Real, Boolean etc. in the list of components. Would be very useful when creating Model Browser and Parameters dialog. Removed the OMC cache command implementation because it was wrong.
828629a3d7Adeel AsgharStore built-in type component like Real, Boolean etc. in the list of components. Would be very useful when creating Model Browser and Parameters dialog. Removed the OMC cache command implementation because it was wrong.
e90ff376ddarun3688improve the evaluation of latexcells, automatic hiding of latex source and height adjustments
2ed993a62aMartin SjölundAllow generation of source-code FMUs
5a8f66512bMartin SjölundTranslating FMU no longer keeps temporary files
4b6af1dbb4Martin SjölundAdd debug message to WasteWater test when failing
314ff9437bMartin SjölundAdd test for static source FMUs
4cdc91bcf8Lennart OchelImproved some error messages
a2c09a0d19mflehmig- Make clean will not remove Pyhton scripts.
2f59fc727emflehmig* Polished output.
27d324c1d0mflehmig- Added Python scripts to execute msl-simulations in parallel and obtain statistics.
7bf48ba72dmflehmig- Added some german translations of error and warning messages. - Small cleanup in flag description.
62eff23216adrpoupdate 3rdParty submodule
4dfa16d8bbadrporemove tabs
09dea26142adrpofix msvc build, ansi C and cmake files
eda1836bf6Rüdiger Frankeimplement clocks in Cpp FMI2 interface
b021f4a3ddRüdiger Frankeadd clock accessors to Cpp model
92cf27fa43Martin SjölundUpdate ModelicaExternalC for Noise library
8ed87db689adrpofix gcc build
6302217534arun3688Update Main DrModelica.onb file date to latest
29aa22f276Lennart OchelRemoved unused variable
2602d04a96Lennart OchelSpeed up initialization
75feda9cf7Martin SjölundChange simulation_input_xml from C++ to pure C
9620a35bd2arun3688Update Notebook with new models and some fix to existing models
672f53e057Martin SjölundRemove one more C++ hashmap
ca9109b874Lennart OchelKeep also removed equations of empty eq systems
7c88a18b3cLennart OchelRevised implementation of analyzeInitialSystem
41c9ce3351Lennart OchelUpdated expected output
a030088e56Martin SjölundChange implementation to fread instead of getline
f0f7bc97f5adrpofix msvc issue
1c35b32d5aadrporemove bad free
3ba85d73d6adrporemove tabs
6f05b75f4aadrpoattempt to fix the windows build
8ef827d588Adeel AsgharUpdate components when shapes are added/deleted.
0869ec590bAdeel AsgharUpdate components when shapes are added/deleted.
4a406ed4b6Martin SjölundIntroduce uthash to the XML reader
0283c7b7f5Martin SjölundRemoved some C++ features from the XML reader
9e822e78cbLennart OchelDecompose exectStat for initialization phase
42a54d3d13Marcus Walther- boost root is now only passed to cmake if it is set to something != ""
faad5bf516Lennart OchelGenerate code with less nested brackets
1aff8213a8Lennart OchelOmit some unnecessary parenthesis
9913bac06bLennart OchelGenerate c code with less nested brackets
482b658b29vwaurich- remove invalid comment section
18a82cf047vwaurich- clean up vectorization for trunk
38d648b46avwaurich- remove whitespaces
30db1e02f5vwaurich- remove whitespaces
21d79d8f0dMartin SjölundFix logic error for SystemImpl__removeDirectory
a81fa30296Adeel AsgharHandle the case when extends classes are unloaded/loaded.
36a2419f91Adeel AsgharHandle the case when extends classes are unloaded/loaded.
6f37672075Marcus Walther- fix for GCC 5
f317b8bcceLennart OchelUpdate .gitignore file for java_interface
703263bda4Adeel AsgharFixes #2711. Better handling of class components.
e87b1f31ffAdeel AsgharFixes #2711. Better handling of class components.
79cd7cacdeMarcus Walther- try to fix OSX Cpp-Runtime Job
5fd45cfe4cLennart OchelDeactivate module constantLinearSystem
c220b5b495Lennart OchelDeactivate module constantLinearSystem
5119eb72bdMarcus Walther- try to fix OSX Cpp-Runtime Job
88785c86edLennart OchelSimplified implementation of execStat
30fb32ef76Martin SjölundReduce the number of dependencies in FMUs
bf00971054Lennart OchelAdd mssing Jacobian types
e5e550e4bfLennart OchelFixed definition of StrongComponent
a378a1ab95Marcus Walther- try to fix OSX Cpp-Runtime Job
bd69748132adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
87c24d8e81adrpoupdate the relative path to Compiler directory
d438645098adrpoupdate tests after library bump
ea9b035f5eRuedKamp-added initialization of pointers
d353fa6f23RuedKamp-changed cycletime for vxworks
a5e1cee0cbRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9e3866dd1badrpofix windows build
5d714dc32dRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ed9ce6f734Lennart OchelRemoved initial equations from simulation system
b1c655739fLennart OchelUpdated reference file
cad0e0769dLennart OchelUpdated expected output
c181c4a78eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6af90d9360RuedKamp-added initialization of pointers
210bf97ee2Marcus Walther- "using namespace::std" now depends on compiler
3a20542368Marcus Walther- resolved some warnings and namespace issues
919c27ee9aMarcus Walther- resolved some boost namespcae problems - added c++11 option to autoconf
e81337e27cMarcus Walther- moved property inclusion to modelica.h
2ea6a5abbaMarcus Walther- fixed namespaces::std issues
d0cef12fc8Marcus Walther- removed some empty lines
4d33f4770aMarcus Walther-reorganized some includes
8c752627deMarcus Walther- made c++ runtime more c++11 friendly, which means that explicit namespaces are removed for boost (example: boost::shared_ptr -> shared_ptr) - cmake now detects if the compiler is able to work with c++11 and it will switch the following types from boost to std: bind, function, thread, atomic, mutex, memory_order_release, memory_order_relaxed, condition_variable, unique_lock, array, tuple, shared_ptr, weak_ptr, dynamic_pointer_cast
116b7c73fcMartin SjölundMoved the location of java_interface
c6b7bfe37cadrpoupdate tests after library bump
ea39a14a7cMartin SjölundUpdate output for #3481
c71d1aeda2Martin SjölundDo not override the user's --std choice
8c0b06e548Martin SjölundAllow the use of package.order
4eb160b41bRüdiger Frankeextend Cpp clockedTest
f9b879fcc4Rüdiger Frankeevaluate Cpp events at final time as well
326a2f5610Rüdiger Frankerefinements to Cpp synchronous support
b850c7cb14Ruediger Frankeadd test for Cpp synchronous support
732ac5dc55Ruediger Frankeremove virtual qualifier for hpcom
d547803f28arun3688Perform Cell copy and paste operation with regular Ctrl+c and Ctrl+v shortcuts
fffbbaf610Ruediger Frankeinitial version of Cpp synchronous support
1f2a731a43Lennart OchelTry to fix ticket 3477
c5706c47e2Lennart OchelAdded differentiation rule for start values
1fc1e83f57Lennart OchelActivate test case algorithms.mos
535508ded8Lennart OchelAdded test for ticket 3477
8c1ea11b92Lennart OchelUpdated expected output
c835a1d83eNiklas Worschechfix for getfreeContainer in writer class
8049849bdcNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
3fb3c9b12fNiklas Worschechfix for merger error in cpp template
9aa4b65ae3Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
19c8d32899Niklas Worschechchanged output method uses xml file to pass variables from simvars to output routine
7e1d026367Lennart OchelUpdated expected output
6b5d3a2c74Lennart OchelFilter const when conditions within shared object
88a65ee3afLennart OchelFilter constant when conditions
325e08e179bernhard ThieleAdded clocked DID test case
aca0480fb5vwaurich- fix for evalAllParams
4164dacf25Marcus Walther- all FMU-tests of the cpp-runtime use the c-runtime as import environment now - the crane-FMU tests should now work with GCC 4.4 again, so they are added to the test-process
4a58ffa05dMarcus Walther- removed wrong brackets
2fa610a1eeMarcus Walther- dummy initialization for complex types added, to prevent linker error with GCC 4.4 --> this workaround should be removed if a newer compiler is the default compiler
4a959d0959Marcus Walther- duplicated ModelicaLibraryConfig for gcc and msvc
ef8b4ae616Lennart OchelFixed ticket 2337
cf476661aeLennart OchelAdded test for ticket 2337
a78d281e05Lennart OchelCleaned up Differentiate.mo
0fed4ef540Lennart OchelActivated test IfEquation5.mos
ad14fcb8eaPer ÖstlundFix for #3473.
5eb0284de9Per ÖstlundAdded test for #3473.
b384418abdMarcus Walther- added a flag "solverThreads" to the c++ runtime. With this flag the number of threads that is used by the solver can be controlled (e.g. for parallel jacobian evaluation)
5e4b2b110eLennart OchelNew flag to dump functions
ee793f0c26RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b33dc5a5b6RuedKamp-changed cycletime for vxworks
7ab0a67703arun3688Added functionality to copy and paste cells between Notebooks
ad4fdde8a8Lennart OchelAdded index reduction to optdaedump
0ed9bc8eb8Lennart OchelAdded index reduction to optdaedump
56804f2550RuedKamp-fixed typo
95e6533086RuedKamp-commented out klu
0b32c47f68RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e86e3e9c9aRuedKamp-commented out sparse solver klu
dfdabf30e9RuedKamp-changed settings for vxworks
e2767e6a48Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9c70b1b19cNiklas Worschechfix for external C Array arguments data pointer
72fac42ec1RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
76a8d190edRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
bbce7feaf6Lennart OchelAdapted optimization modules for Jacobians
b6f6944008Lennart OchelAdapted optimization modules for Jacobians
2d2c6eec19Lennart OchelAdded new backend module "simplifyAllExpressions"
9db05a8c7eRuedKamp-changed xml path for vxworks -added string to simVars for vxworks -changed default settings for vxworks
e7e6f99b76Lennart OchelAdded new backend module "simplifyAllExpressions"
4fc9dfb3baRuedKamp-removed some obsolete stuff
fcb03b16e0RuedKamp-added define for Vxworks
9318f20822Marcus Walther- fix typo
d98c6e1f69Marcus Walther- forgot to rename mos-file and adapt makefile of cppruntime-test-folder
e257d85193Marcus Walther- test for hardcodedStartValues-Flag added
12df3f8ee3Marcus Walther- debug flag "hardcodedStartValue" added -- this will put the initial values of parameters and variables as fixed values into the c++ code and will not read if from the initXML-file (C++ runtime only) - simple fixes for vector-constructor in CodegenCpp.tpl
8453937246Niklas Worschechfix for start index for array creation in cpp template
ffb9197825Niklas Worschechfix for createArray in cpp template
f49a665badNiklas Worschechfix for start index for array creation in cpp template
e27fffeb06Lennart OchelExclude removeInitializationStuff from
e44b65be54Lennart OchelExclude removeInitializationStuff from
a59dc08e11Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
dc45f54a70Niklas Worschechfix for createArray in cpp template
b7dbd4a85cLennart OchelMoved some optimization modules
7e92f79f2fLennart OchelUpdated expected output
13c1925922Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
bf51f0e44aLennart OchelUpdated expected output
01d3cd1d76Lennart OchelMark assertions that are triggered during initialization
805ce17e43Lennart OchelFixed ticket 2659
ea7b44a314Adeel AsgharDraw red cross for non existing inherited class.
aceace2ea2Adeel AsgharDraw red cross for non existing inherited class.
0a122d16bcbernhard ThieleAdded state machine tests
25b7068264adrpo- update test after library bump
76217d26e1bernhard ThieleFixed array dimension error
f9eb551eb2bernhard ThieleAdded some missing start values
5dcc7b90e4bernhard ThieleFixed expected SMMin.mos output
8d8549fdccLennart OchelAdded missing descriptions for opt. modules
707bc0b083Lennart OchelCleaned up BackendDAETransform
a998028776Per ÖstlundTest case for #3467.
0de2ae0c4aPer ÖstlundFix for #3467.
0ad7abbd85Marcus Walther- sundials is now available again, if static linking is selected (c++ runtime) - fixed an issue with the std::vector fill constructor, because he could not distinguish between the different constructors in GCC 4.4 (MinGW)
dbd1ef431darun3688Display the output of latexcell to the top left position of the cell
d24e1ca32bMarcus Walther- static linking test of cpp-runtime is now working correctly
ac0ef81b85Marcus Walther- removed $-sign from variable/parameter names in modelDescription of c++ runtime (FMU 1.0)
058d92ceafMarcus Walther- changed the name of "USE_FMU_KINSOL" to "USE_FMU_SUNDIALS" because otherwise we have to add such defines for CVode and IDA as well - added a SimController_FMU and System_FMU library to the build of the c++ runtime -- otherwise we can not turn off sundials for the FMUs - the function OMCFactory::loadSimControllerLib was created, now we are able to overload the loading mechanism in StaticOMCFactory - StaticOMCFactory is now header only and added to the build process again
e6cfb0d757Rüdiger Frankedisable erronous dimensioning of array (#3464)
1663998379Adeel AsgharCopy the required binaries for FMU. Display information about state when fails.
107be737b7Rüdiger Frankefix version for FMI 1.0 test
9bc75fcf92Rüdiger Frankeadd a simple alternative test for Cpp FMI 1.0
555c096642Rüdiger Frankedisable Crane_FMU1_CPP test after second failed Hudson job
f71d5c4535Rüdiger Frankeavoid duplicate definition of Cpp alias records
79502dd2eeAdeel AsgharUpdated the icon in libraries browser when graphical object is updated.
2229db132dAdeel AsgharUpdated the icon in libraries browser when graphical object is updated.
38c4ab8da7Adeel AsgharBetter handling of inherited classes for graphical objects. Added undo/redo for adding & deleting graphical objects.
a8af171a41Adeel AsgharBetter handling of inherited classes for graphical objects. Added undo/redo for adding & deleting graphical objects.
a23d238e11Lennart OchelAdded missing options to potOptModules ...
bf8a3b9934Lennart OchelAdded initOptModules to documentation
827c7a92d2RuedKamp-added string Vars to simVars for VxWorks
75935f471dRüdiger Frankeredo yesterday's Array commits after merge 31041f6
381292290aRuedKamp-fixed merge conflicts
80f4a6531dRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e71411d001RuedKamp-some changes during intialization of linear algloops -some changes in default settings for vxworks
0ea0def39fRuedKamp-changed to broyden's method
8749018535RuedKamp-fixed typo in "newton"
d0b65ef847RuedKamp-added bool for initializiation
21527ac0a8RuedKamp-added blas and lapack methods
6158667796RuedKamp-added Newton Solver for Vxworks
9e4ed5c34cMartin SjölundMerge pull request #1 from hkiel/change_menu_shortcut
852e3d0cb4Henning Kielfix typo
fb0fbc0cccHenning Kielignore generated file
608f05bc4bRuedKamp-added sparse solver
aa6c6fbeceHenning KielUse CTRL+W to close window like in other OM apps
62659ebda8RuedKamp-changed to broyden and added sparse linear solver
cd20244e83RuedKamp-fixed bug with zero states
dc6ee4f055Per ÖstlundBootstrapping fix.
fe38b0d63barun3688Merge branch 'master' of https://github.com/OpenModelica/OMNotebook
476d43c791arun3688Hide Latex Source after evaluated, show only the output part
28fda15a2dNiklas Worschechfix in cpp runtime for XmlPropertyReader and fmi export
31041f6ecdNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
eeef9c426dNiklas Worschechfix for build of shared DataExchange lib
71012083adLennart OchelFixed #2763
a15844da4fLennart OchelUpdated expected output
a2f905b9caRüdiger Frankereplace dynamic boost::multi_array with new/delete
483b18adc1Rüdiger Frankereplace static boost::array with built-in array
e19799fc64Marcus Walther- enabled JOM for build of C++ simulation runtime - changed folder-name build_msvc to Build_MSVC, to be consistent to GCC build - boost-property tree header are now copied to output folder as well
442b07a6deNiklas Worschechfix for precompiled header for msvc cpp runtime
2ed0fcd7d5Niklas Worschechfix for load ini xml file with msvc for cpp runtime
f8ebb31b43Niklas Worschechfix for precompiled header for msvc cpp runtime
2c02f61707Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
1a4a35798eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
967f532aadLennart OchelRemoved match statement from removeUnusedFunctions
fd981d3ac7Lennart OchelUpdated expected output
b786010b49Lennart OchelAdded dae type information to post-opt ...
edba84e7a2bernhard ThieleAdded support for timeInState()
4597a3a5ebAdeel AsgharHandle case when baseclass not defined.
63dc322ea4bernhard ThieleAdded test for timeInState()
8cbf8b3581Rüdiger Frankedereference system from when equation in alg loop
a78d0d26f1bernhard ThieleAdded test for ticksInState()
e785f3b5b9bernhard ThieleAdd support for ticksInState() op
cd7c5dc18dbernhard ThieleRenamed misleading function name
1dff76a87cRüdiger Frankecleanup Cpp daeExpBinary (#3458)
52d2ee5090adrpoadd test for bug #3458
d78c1bfa80adrpofix for #3458, proper type in DAE.MUL_MATRIX_PRODUCT
94be67b295Rüdiger Frankeimplement Cpp cast_array
449f0a68acRüdiger Frankeadd at least one correct Cpp FMI2 test
d8285af801mahge- Minor explicit parmodelica fixes - consistent library naming - add cmake compilation
e376889902mahge- Fix parmodelica automatic parallelization - Fix function signatures - Consistent cost handling - Fix makefiles. Update CMake rules
8de5c5e6a7Martin SjölundCheck hwloc exit status before using the data
3aff9343bbLennart OchelReactivated Modelica.Elect...al.Examples.RAM.mos
ef0a90639dLennart OchelFixed removeUnusedFunctions
4175aafeb5Lennart OchelUpdated expected output
c14ac39896Lennart OchelAdded config flag ...
ff5156b40fLennart OchelDeactivated some tests for now
38c41e4b59Lennart OchelUpdated expected output
56d186b60dLennart OchelSeparation of back end transformations...
523217eb68vwaurich- new +d=evalOutputOnly feature
00ba1c4e99Marcus Walther- removed unused parts of init.xml-file (cpp runtime)
e60adf46b5adrpoadd alarm to hpcom test as it cycles on mac
cb4482e538Martin SjölundAdd test for merging class annotations
d5feda678cMartin SjölundMake the gettext targets start working again
b135ff80cftbeuFix typo in message
1eda356a7dMartin SjölundWhen merging annotation, consider the order
3b35f139efbernhard ThieleLess intrusive wrap hack
e444b71eeaMartin SjölundHandle delete+whitespace+add better
456e413431Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f27e16bc3cNiklas Worschechfix for load ini xml file with msvc for cpp runtime
326bdaac6avwaurich- new evalAllParams implementation
65812fafe7Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
83ee71a691bernhard ThieleActivated wrap-hack for SMs
b363a99f19bernhard ThieleAdded state machine tests
fb1fc20de8Rüdiger Frankeadd test for built-in math functions
a2fb46584aRüdiger Frankeresolve name clashes with built-in math functions
0ee109bdbdvrugefixed 3437: - compare only optimization variables - added bounds for der(evaporator.V_v) - changed simulation falgs (init push, mu-strategy)
ed38335895Marcus Walther- added missing type (array of enumerations)
d4d3078c7aMarcus Walther- updated expected output for c++ fmu simulations
2523b1becdNiklas Worschechfix for logger dll export in cpp runtime
8717b8eef4Marcus Walther- removed unused boost_export
f23c4961adMarcus Walther- strings are now handled in arrays as well - initial values are taken from xml file - number of HPCOM threads can now be variied for different systems (ode, all, zeroFuncs) - changed Logger::write to LOGGER_WRITE - changed flag "nls_continue" to "nls-continue"
631897c964Marcus Walther- hpcom levelfix scheduler is now available in combination with openmp
494b8d6791Per ÖstlundFix for #3421.
de547c12f7Per ÖstlundAdded test for #3421.
aff54d9dc7Martin SjölundAdd testcase for #3422
555db1445aMartin SjölundDo not allow 2D arrays in for loops
1ecd285b00Martin SjölundFix tail recursion (#3448)
260aeb544bMartin SjölundFixes for stack overflow detection
f8a096918cbernhard ThieleFixed non-working examples
27a774ace5Per ÖstlundAdded testcase for #3409.
ceb197503bPer ÖstlundFix for #3409.
0e43de5952adrpofix #3444 - show only real numbers with 4 decimal digits
d68413f838Marcus Walther- improved memory management of measure-time - removed some memory leaks in OMCFactory and MeasureTime - removed some compiler warnings caused by uninitialized member variables in constructors (see CVode and IDA)
1322e7704eadrpoadd 1.9.4 version
c7d4672466Martin SjölundImprove the detection of current / previous release
1dae48da7dadrpoadd 1.10.0 version
10fa907e27gossenFix test Enum5.mo
ce7f2a6b43gossenAdd test case for enumeration redeclaration
f7a9b467cagossenFix bug #3327
d2b11e658eMartin SjölundAdd test for re-opened #3424
deca16e80dMartin SjölundHandle only removals when merging text files
2ca32d44f7Marcus Walther- fix typo
06ce3b8d3fhkielFix system() call by continuing to wait if EINTR is received from child process
5a58cbb67fAdeel AsgharMerge pull request #8 from adeas31/doc
ed5b948ba9Adeel AsgharAdded inkspace to build instructions.
00f8fa41f1Martin SjölundMerge pull request #7 from adeas31/doc
c0827a48f3Adeel AsgharCross reference Modelica3D picture.
34bc74298cAdeel AsgharUse same number of characters.
f6b8134e59Adeel AsgharAdded Modelica3D image.
1159cd6737Adeel AsgharFixed sphinx documentation for Windows. Copy profiler files to build/html as well so that the links work. Only use the generated API interface. Easy to maintain. Fixed paths for gnuplot. Added readme with instructions on what is needed for compilation on Windows.
e9553fb522arun3688Update image to current OMNotebook
68483a60bcMartin SjölundIncorporated more of Peter's suggestions
1588408958Rüdiger Frankeadapt test logs to fixed stream implementation
7c85c2ebbbRüdiger Franketreat reductions to empty connection sets (#3430)
2735f4bb61Martin SjölundAdd release notes
7ceabdd4ffMartin SjölundFix OSX paths
435e5419cfMartin SjölundFix OSX paths
83ed62aae3mahge- Check and exit if there are no valid OpenCL devices. - Fix makefile.
aab84ab0bdMartin SjölundAdd 2015 contributors
a1c91e1af2Martin SjölundUpdate based on Peter's comments
0f0f386027Adeel AsgharAdded test for `getInheritedClasses`.
5e4151e9dfAdeel AsgharAdded new API `getInheritedClasses`. Returns the list of inherited classes. Better than using `getInheritanceCount` and `getNthInheritedClass`.
a243f9eb9bmahge- Added testcases for parmodelica - tests are optionally enabled by passing -parmodexp to runtets.pl
11293e5610adrporeactivate test after more fixes to #3430
e33279aa3cadrpoMerge upstream changes
38b8a98c18adrpofix for ticket #3444
6f0b7a70fcadrpomore fixes for #3430, handle both lists empty
4300bd200dmahge - Fix inculde path for Intel OpenCL - Fix include directory for build - Disable extra timing outputs
d78c686c48Martin SjölundUse class info for inserted classes
d6e8568687Martin SjölundAdd testcase for #3410
19b35e19eeRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
20a6b173cfvwaurich- dont care about dummystates in plts
6fe518d79aPer Östlund Fix for #3386:
b00b52fc6ePer Östlund- Reactivate test case for #3386.
cdb08e09a8Adeel AsgharFixes #3442 Also fixes the make clean. Use $(OMBUILDDIR).
7b9a6c997fMartin SjölundHandle diffs better when there are only additions
8f12f4a744Martin SjölundAdd test for #3424
3632351366vwaurich- make limit for plts configurable
5490591ea2RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
385a51dff3mflehmig- fixed newline bug
c2c3d4d462RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
299d7170d5RuedKamp-some minor changes
faa225ba58Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
c5a5c81042adrpocopy recursive
c97eca9bc9adrpoproper include directory for sundials
a1671c506fadrpoadd more sundials dependecies so parallel make works
3a5180c43dNiklas Worschechfix for missing FactoryExport include
14b86ba694Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c3cc02de79adrpocomment out the search for libsundials_arkode
6c80f5f36cNiklas Worschechremoved sundials includes from FactoryPolicy from cpp runtime
77249d4640adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
865e87c23aadrpocompile 3rdParty/sundials on Windows during build
9a1798243dNiklas Worschechfix in cpp runtime isConsistent method
27d04a518dNiklas Worschechfix in cpp template for wrong sparse pattern index
c4b6d782f4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c542205025Niklas Worschechfix in cpp runtime isConsistent method
a5fb0ef4a7vwaurich- interrupt for-loop eval correctly
a54318fbe0vwaurich- interrupt eval forLoops if nothing is evaluated
52e1cc8fd6vwaurich- constant call-types are not always evaluated
f252d1fac8vwaurich- remove Repl for const funcCalls
d1ecf33d5bvwaurich- fix non-evaluatable for-loops
91fa0e7eefvwaurich- fix plts,eval for-loops,eval params
1b40fefb79Martin SjölundMerge pull request #5 from MarcusWalther/master
b4300cf789Marcus Walther- simple description of event-handling added to documentation
477db3ca39Lennart OchelFixed implicit declaration of function debugDouble
cbdd59dd37Martin SjölundAdd stack overflow test
c4ec9b3b3eMartin SjölundAdd Windows ifdef's for stack overflow
e1d541a8e8Martin SjölundDependencies for array dimensions in functions
7f30078699Martin SjölundOnly guard against stack overflow in the topmost ceval call
3fd5375595Martin SjölundAdd stack overflow checks without signal handlers
870ebf03d5Martin SjölundTry to fix OSX install_name_tool path
90facdc420Martin SjölundTry to fix OSX install_name_tool path
d8ff3e0d6dMartin SjölundTry to fix OSX install name path
8b93f29f4bLennart OchelFixed function createVars
badbf5c49bMarcus Walther- updated expected output
7c20b57cadMarcus Walther- preserved "=" if the argument was not replaced
ad902b027bNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
355aa82252Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d115f8bce5Marcus Walther- fixed leading "=" in result file if OMEdit is used - removed @CMAKE_C_FLAGS@ from config file
c242492f2aMarcus Walther- changed the -r" flag of the cpp-runtime to "-F" to have a consistent flag-behaviour - added some asserts to array-classes of c++ runtime - fixed Kinsol-FMU support - some typos - added the possibility to overwrite flags in the c++ simulation runtime -- we can now replace "-r=file" with "-F=file" and "-w" with "-V all=warning"
44eef17e37Rüdiger Frankesmall cleanup of stream implementation
edeb2cbf41Rüdiger Frankedeactivate failing optimization tests (#3437)
b8ba104fddRüdiger Frankedeactivate failed tests (#3436)
1a782bb708RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d6f4cb02aaRuedKamp-some changes for sparse matrices without lineartearing
2d87c7c67aMarcus Walther- textupdates for flag- and mainpage (c++ simulation runtime documentation) - coding style added
32a85cdae2Niklas Worschechmerged common folder
050c0ba83cNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3ba9138e98Niklas Worschechfix in cpp template for wrong sparse pattern index
a576051587Adeel AsgharSome fixes for #2892 Basic structure for undo/redo. Supports add/delete component now. Make the tree item color red when it is modified. Use the standard expand/collapse buttons for tree.
28c9784649Adeel AsgharSome fixes for #2892 Basic structure for undo/redo. Supports add/delete component now. Make the tree item color red when it is modified. Use the standard expand/collapse buttons for tree.
ef238a6303vwaurich- add SimCodeUtil.simJacCSRToCSC
7075c87e61Niklas Worschechfix for wrong ublas matrix indices removed not needed files
79df0142d3Niklas Worschechfix for wrong ublas matrix indices removed not needed files
1213c368d1mflehmig- Error message handling in Cpp Runtime, fixes ticket #3429; - Merged constructors of class ModelicaSimulationError into one.
591d54ef8cRüdiger Frankeextend MSL test to cover improvement with #3430
06f3ef530eRüdiger Frankeadapt tests to fix #3430
e18a45ae32Rüdiger Frankereduce inStream equations for zero flow (#3430)
7a8b275d95vwaurich- fix 4bba, fix setRecordTypes for tuples
04b8271446vwaurich- remove debug output
e58a9beea0vwaurich- remove 2nd preCalcStart
0da7c2bd48vwaurich- merge commit
fad9fe29bbvwaurich- fix for EvaluateFunctions.getStatementLHS
b19dc57700vwaurich- enhance partFuncEval for initValues
15d68519bavwaurichsingle eval of knvars
2d51ecfa73vwaurich- evaluate funcCalls in start-values
c02695a25aLennart OchelModified flag 'with-txt'
6e76cee652Marcus Walther- changed the default buildtype for linux back to RelWithDebInfo
3b86f9eee2arun3688added support for LatexCell, evaluate Latex scripts and display the output as an image if successful other report error message
890f7b4d10hudsonMerge remote-tracking branch 'origin/master' into pullrequest
8efdf53089Niklas Worschechfix for missing ModelicaUtilities include in cpp runtime
68b4a6027cadrpoadapt code to agree with ANSI C for the msvc compiler
10c501bf86Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e9df6e7613Niklas Worschechfix for cpp runtime release msvc build and msvc precompiled header
a481fe6a68mahge- Fix #3339 and #3347 - Fix parfor loop tick counters. - Update assert gneration in parallel context. - Fix argument type generation for some parallel cases. - Fix ParModelica integer division (no ldiv in OpenCL).
e747152e2emahge- Fix #3335 and #3336 - Update assert defines - Fix boxed function issues for functions with parallel variables. - Fix arg types for parallel arguments
010b686233mahge- Fix #3334 - Update/fix code generation of parallel functions.
fec5e5b91dmahge- Fix #3326 and #3332. - Update KernelFunctionInterfacegenerations. - Fix 64 bit integer issues with parmodelica. - Fix the parmodelica makefiles. - Disable freeing of parallel arrays for now (need to handle the return variable).
17d8596bf1mahge- Fix #3198. - modelica_string (void*) expected. Not const char*. No implicit conversion in C++.
2683a17cbbmahge- ParModelica fixes. - Move global declarations to the source file.
911924aea2vwaurich- update debugDumps
6c17d0c541vwaurich- remove debug output
e83657d8dcvwaurich- new module evalAllParams
c1da48dd49Marcus Walther- updated the .gitignore file for the cpp-runtime documentation
584f70bd93Marcus Walther- Textupdate for cpp-runtime documentation
23ba9d047aMarcus Walther- updated expected output
b6bb89dfa4Marcus Walther- c++ modelica-exceptions can now be suppressed - so no error is printed - "--help" is working in c++ simulation runtime - c++ command line arguments are divided into hidden and available flags - unrecognized flags produce a warning on std::cerr again
214b46abf0gossenSynchronous improvements
76858d6babgossenPrint error for clocked continuous systems
cdf4d68362gossenAdd support for Boolean clocks
43e12c93f8gossenFix clock partitioning in encapsulateWhenConditions
60202fe1f2gossenDump partitions info in BackendDump.printShared function
81dc5b007egossenEmit results before clock equations fired
da4018549dgossenSave pre values for clocked variables
cbfc72333agossenFix typo
d9175e1d34gossen"previous" operator support in C simulation runtime
9fa1b91b2cgossenSupport for previous operator in SimCode
e090c54aebgossenClocked vars simcode translation changes
58bd3ab2d4gossenImplement interval Clock support in C simulation runtime
9ca046fd4egossenImprove clock partitioning
96c79085a0gossenRemove duplicate function MMath.printNumber
3f8214dd87gossenExtract functions from prefixed_simulation function
d75a469cecadrpoupdate test after library bump
a0f09a7fb9Rüdiger FrankeTweak pass by reference in Cpp function closures
cd36c55594Rüdiger Frankeremove unspecific metatype from Cpp function closures
f33f672484Marcus Walther- fixed path to reference file
708894f284Marcus Walther- added a test for the OMEdit-flags to the cpp-runtime-testsuite
e9cd5237b1Marcus Walther- added a set of arguments that should be ignored by OMCFactory - disabled the unrecognized option warning of OMCFactory, if C-Runtime flags are used
e8a399455bmflehmig* Typos, Indention, Logging
ec7b8ac2e3hkielignore generated files and dirs
d96bc58211hkielbump to current version
614402501cMarcus Walther- fix for array allocation in hpcom profiling
3dc3315e43Marcus Walther- fixed wrong build type of cpp-runtime
4535b26413Marcus Walther- simple fix for hpcom profiling
d7e96410a8Martin SjölundFix typo
cb5014a925adrpopropagate buildtype on Windows for bug #3426
afcd48c225adrpoadd the path to cpp libraries when simulating
4b4c2dc69cadrpoadd the path to cpp libraries when simulating
a96b59aff4Marcus Walther- build type (release, debug or relwithdebinfo) of the c++ simulation runtime can now be switched with the help of configure (--with-cppruntime-args=BUILD_TYPE=Release)
02bc3aa012Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f94d39ed47Niklas Worschechoptimized isConsistent in SystemDefaultImplementation
fcbfeb5331Marcus Walther- fixed profiling in hpcom
a783b5ebd6Marcus Walther- integer-function should now work according to modelica specification (cpp runtime)
e683e8bfcbRüdiger FrankeQuick fix for div operator
f3d6c3a136Per ÖstlundDisabled test for #3386 for now, due to reverted fix.
e03b065398Per ÖstlundRevert fix for #3386, since it doesn't work correctly.
cf16403b07Niklas Worschechfix in cpp template for wrong StatArray dimension size added therefore a dimension check function in Expression.mo
1bdca5e78cNiklas Worschechmerged OMCompiler/Common
6b681c4666Niklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
fe6d8edd7bNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f6a3cc1eddNiklas Worschechfix in cpp template for wrong StatArray dimension size added therefore a dimension check function in Expression.mo
914bd5f1d5Adeel AsgharCleanup and source code documentation.
f583d09355Adeel AsgharCleanup and source code documentation.
9138159eabMartin SjölundFix for return in try-block
166519912aMartin SjölundAdd test for #3420 return in try-block
1cb6082469Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9fb29423f8Adeel AsgharFixed unloading of classes.
09dc0e688fAdeel AsgharFixed unloading of classes.
0fb529aaaeAdeel AsgharAllow expand/collapse all from LibraryBrowseDialog.
812c65e12cAdeel AsgharAllow expand/collapse all from LibraryBrowseDialog.
04315ef926Adeel AsgharFixed opening of TLM/Text files.
0578ee29e8Adeel AsgharFixed opening of TLM/Text files.
485c5f57b2Adeel AsgharAdded a model/view structure for libraries browser. Better way to generate library icons.
6f93369c96Adeel AsgharAdded a model/view structure for libraries browser. Better way to generate library icons.
3f56facb75Niklas Worschechfix in cpp template for allocating Jacobian
076671c581Niklas Worschechmerged OMCompiler/Common
fc527e92c9Niklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
52a9c9309aNiklas Worschechfix in cpp template for allocating Jacobian
f70ec8bd76RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c30bade9f3RuedKamp-updated VxWorks makefile -some experimental changes to improve sparseMatrices
6091fb2ad0Niklas Worschechexpected output for cpp tests
55f96633a3Niklas Worschechfix merge conflicts cpp tests
e47e0611baNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
7203fe6557Niklas Worschechexpected output for cpp tests
1981ce9472Per ÖstlundSome List changes:
540a4646edPer ÖstlundChanged some unneccesary uses of List.find to List.selectFirst.
ccced530e3Martin SjölundUse faster addressing of arrays
b0af03a40eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
b03469d578Rüdiger Frankeenhance test for function pointers with an array
395a4e727dRüdiger Frankeexploit type info available for function pointers
c3509db1a3Niklas Worschechfix merge conflicts cpp tests
cce45c7c52Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
c11efa1f88Niklas Worschechexpected output for cpp tests
669dc8990aNiklas Worschechmerged OMCompiler/Common
879063bafcNiklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
0500ba250fNiklas Worschechmerged OMCompiler/Common
fd5f8ea373Martin SjölundFix documentation target
336b14a65aNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
605ae75452Niklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
cb21b1cdd4Rüdiger Frankeadd test for function inputs to functions
8c86132057Rüdiger Frankeimplement function inputs to functions
645e8eaba6arun3688check graphcells for input and output cells and then perform the shifting operation
023bd80106vwaurich- function to dump simJac
e23617b863Per ÖstlundAdded test case for #3386.
629f329b8aPer ÖstlundFix for #3386:
9e20c7d937vwaurich- make try/else around orderExtVars
108a8453f8vwaurich- order external vars correctly
9c088a9adfNiklas Worschechfix in Kinsol if perturbed system matrix, system evaluation was missing after system was solved
7079463490Per ÖstlundFix for #3401:
1f60d7ef16Niklas Worschechexpected output for cpp tests
f075b8cfb2Niklas Worschechexpected output for cpp tests
44ef6fe2d4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
0754291968Niklas Worschechexpected output for cpp tests
73a2a8853fhkielMerge pull request #1 from hkiel/ignorefiles
608abd4a9dhkielMerge pull request #1 from hkiel/ignorefiles
c0bf1407c6Niklas Worschechexpected output for cpp tests
19b3593bd4hkielignore generated files
49c2bbeaf3hkielignore generated files
820257d964adrpoupdate .gitignore with new template file
da53bff3a2adrpoupdate test after library bump
c1e9293545Willi Braun - expected output
7a723b578aWilli Braun - added testcase for reinit
a504a6249aWilli Braun - fix elsewhen handling in BackendDAECreate
686f1b577dNiklas Worschechexpected output for cpp test
8f9d0fbfc3Niklas Worschechexpected output for cpp test
0f4a303ea4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
1654145f0dNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f79d9636e8Niklas Worschechadded initialization method for parameter equations to cpp system fix in Kinsol, function evaluation was missing after system was solved
a183840855Willi Braunexpected output
32ed7bfc9dWilli Braunrevise isDiscretExp function for zero-crossings
45e4f5066cWilli Braun- removed most stuff that deals with WHEN_CLAUSES
73d71fada2Willi Braun - expected output
e949cdd3afMarcus Walther- added makefile dependency from runtimeCPPinstall to omc, because the suitesparse libraries should be used by the cpp-runtime - the "--nls_continue" flag is now working again, if the kinsol solver is used
92eaf4ad18Willi Braun -fix BackendInline.inlineWhenEq
afb23b09bdWilli Braun - fix replaceWhenEquation
25ccddf12cMartin SjölundRevert "disable failing C tests to get Cpp committed"
6e09a680d1Rüdiger Frankedisable failing C tests to get Cpp committed
5f8a13a0d6Rüdiger Frankeadd test for string handling
40f10917b6Rüdiger Frankefix recently added tests
98b6821bf5Rüdiger Frankechange import order for duplicates like crefStr
2d797bbfe2Rüdiger Frankeadapt Cpp terminate() to other runtimes
9e1a6c1effWilli Braunexpected output
005f9dc905Willi Braun replace WHEN_EQ with WHEN_STMTS
46442658a8Martin SjölundRewrite using more recent language features
97de296ec7Martin SjölundFix for GCC 5.x
c765b69517Adeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
8e6c142bcdAdeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
3396d2671cWilli Braunexpected output
d7cac0c610Willi Braun- added testcase for removing when clauses
fed7fe571fWilli Braunfix variable transform replacements
e965b64ea4Willi Braunfix CPP-Runtime
8d63159d8cWilli Braunfix XMLDump output
108b0bd5d2Willi Braun - fixed Serialized model info
e7db13c225Willi Braunmore fixes to make when equation work again
88a5a6610aWilli Braunadapt SimCode and Codegeneration
e351ab13ebWilli Braunfixed module detectSparsePattern
69e92993c3Willi Braunfixed module removeSimpleEquations
d09df9ffbbWilli Braunfixed module encapsulateWhenConditions
d97b9f4cc4Willi Braunfixed module clockPartitioning
f7635bb3faWilli Braun- push further new when equation record
ce9bdb5e16Willi Braunstarted to remove when clauses
07dceaca72Rüdiger Frankeadd test for tuple return with records
3a46e9d1b9Rüdiger Frankeadd treatment of tuple return with records
ce835a2c20Rüdiger Frankereduce max file size back to 684k in sanity check
8cf492e533Niklas Worschechfix in Ida, Ida did not stop if an error accrued in non linear solver
6fdcf3601fNiklas Worschechremoved BOM in Kinsol
5cf2b90b95Niklas Worschechsome fixes in Kinsol of cpp runtime - reduced max number of iterations - increased tolerance for function norm - start earlier with line search method - increase tolerance for jacobian eps, if Kinsol fails in line search method
3d953f0628Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4906ef49e0Niklas Worschechfix in Ida, Ida did not stop if an error accrued in non linear solver
3c9629485aAdeel AsgharUse diffModelicaFileListings to preserve users indentation. Only single class single file case is working now. Packages with with single/multiple file structure are not supported yet. Fixes #3054.
81ecb9fce8Adeel AsgharUse diffModelicaFileListings to preserve users indentation. Only single class single file case is working now. Packages with with single/multiple file structure are not supported yet. Fixes #3054.
6bcab709b3Rüdiger Frankeremove pragma once from main compilation files
c79c991cc4Niklas Worschechsplitted cpp template file throw exception if Newton stops with error Kinsol always throws exception if Kinsol stops with error
fc2558adefNiklas Worschechremoved BOM in Kinsol
52249f276fNiklas Worschechsome fixes in Kinsol of cpp runtime - reduced max number of iterations - increased tolerance for function norm - start earlier with line search method - increase tolerance for jacobian eps, if Kinsol fails in line search method
ed2fbf807fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
03cb48d003Niklas Worschechsplitted cpp template file throw exception if Newton stops with error Kinsol always throws exception if Kinsol stops with error
44f0b9150aRüdiger Frankefix memory error in OMEdit options parser
23a483a99cMarcus Walther- Metis-Scheduler is now working if n was set to 1
7f2317642cMarcus Walther- Logger of cpp-runtime can now be disabled by passing an argument to cmake - removed a lot of logger output in FMUWrapper.h
85dbcb379fMartin SjölundDo not use a macro called time
6f5626c10eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
2e38570883Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
49329bba59adrpoincrease max file size to 800k in sanity-check
ce556f3701Martin SjölundFixes for listFile
7180491cd9Rüdiger Frankeenable pull request for CodegenCpp.tpl
50ff4c2705Rüdiger Frankecherry pick initialization of record variables
9027f74ab6Niklas Worschechremoved BOM in Kinsol
68654dbd1aNiklas Worschechsome fixes in Kinsol of cpp runtime - reduced max number of iterations - increased tolerance for function norm - start earlier with line search method - increase tolerance for jacobian eps, if Kinsol fails in line search method
630c7beb53Niklas Worschechremoved BOM in Kinsol
d8f3d68defMartin SjölundAdd test for listFile+setSourceFile
573d09bb02Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
887bfa485aNiklas Worschechsome fixes in Kinsol of cpp runtime - reduced max number of iterations - increased tolerance for function norm - start earlier with line search method - increase tolerance for jacobian eps, if Kinsol fails in line search method
fd7495952dadrpofix bug #3291 - set default values for record members in functions
0a5dcc786aadrpoupdate tests due to fixing of bug #3291
9f28039fe2Marcus Walther- forgot new getter/setter in global settings for FMU 2.0 export
89f49e69deMartin SjölundMerge pull request #4 from rfranke/options
f0b6faea12Marcus Walther- fix for new sundials-version in cpp-runtime
b5906fa4a4Marcus Walther- removed wrong enum forward-declaration - fix for new sundials-version in cpp-runtime
61b36136e0Marcus Walther- function arguments for the !WITH_SUNDIALS functions are now up to date again
12f2912dc8Marcus Walther- removed the old Kinsol_lapack - flag of the cpp-runtime - KinsolLapack will now work with new and old versions of sundials - Non linear solver can now continue simulation instead of throwing an exception, if it does not reach the given precision, by passing a flag to the executable
3e376747b5Rüdiger Frankeimplement terminate() in Cpp runtime
5ccde2312eRüdiger Frankeuse explicit StatArray constructors and operator=
a892206ef9Martin SjölundMove threadData away from simulation data
2f482f2e6dRüdiger Frankesaveguard array copy operations against zero size
0ea812e171Willi Braunexpected output
3917c8111dWilli Braun - add DIVISION replacement also for symbolic jacobians
1c2c804215Marcus Walther- removed debug output
21c6f3bd7eMarcus Walther- _AMaxColors is now initialized with 0, to prevent access to uninitialized value from cvode
d093e95c03Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
d3a395374eMarcus Walther- added some helper functions to extract data from objects (getCompsOfMatching and getSimVarMappingOfBackendMapping) - HPCOM is now able to handle models with NO_MATCHING()
ef23054608Rüdiger Frankerelax precautions for wrong uses of StatArray
19060fd4e7Rüdiger Frankerename Cpp command line arguments
ec7758a02aRüdiger Frankerename Cpp command line args
6ac54189ccRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ec27dd855bMarcus Walther- fixed a stack overflow in HPCOM
2d7e7249b4RuedKamp-enabled test for real time with msvc
9819b58213Marcus Walther- logger can now be used in several classes (including the model class) of the cpp-runtime - cpp-runtime is now build in debug-mode by default on linux/mac - internal StatArrays can now be applied to internal StatArrays
a0f0122e49Niklas Worschechfix in Array getData and getDataCopy for segmentation fault
a037dd8471Niklas Worschechfix for missing include in FactoryExport of Kinsol
74d4e2f374Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c34f65ceceNiklas Worschechfix for missing include in KinsolLapack of cpp runtime
28f13edca8Marcus Walther- fixed FMU generation if kinsol is used as non linear solver
2d652462aeMarcus Walther- removed the old documentation stuff -> it's now part of the openmodelica-doc-project
e5cd1b4d11Niklas Worschechfix for missing kinsol_klu include in cpp runtime
6f0267d16fNiklas Worschechadded missed files for cpp runtime
f4ba1f47d4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
de80e2bfc9Niklas Worschechfix for getStateJacobian method, wrong return type was generated added additional linear solver to Kinol solver which uses complete pivot lu factorization fix for Kinsol solve iteration, added iteration method section
9d54400166Rüdiger Frankefree memory of strings from external C functions
9352ce6a8eMartin SjölundFix for OSX stack overflow check
fad22bf5c2Marcus Walther- changed expected output
ca2d5343e3Marcus Walther- fixed some test with failure "unknown testcase status" by reordering them in the makefile - removed the max counter of 5 that is part of the simulateAll-script
198ef81487Martin SjölundMerge pull request #3 from MarcusWalther/master
f9a05a162aRüdiger Frankefix treatment of outputs of external C functions
a05d7975ccAdeel AsgharSte the proper value for FMU initial attribute by using the combination of variability and causality as defined in FMI specs section 2.2.7.
ce91f7c0c3Adeel AsgharUpdate FMI tests to new xml structure. Move failing tests up.
c8ffe0bcb1Rüdiger Frankefurther Array refinements
0572a415e9Martin SjölundUse the prefix for OPENMODELICAHOME
0777ed59adMartin SjölundUse the prefix for OPENMODELICAHOME
38d2767df2Marcus Walther- added changes to main makefile - removed a useless comment in CMakeLists
868a1c38b4Marcus WaltherNewline added to mainpage
a324f3dd48Marcus WaltherNewline added to flags.dox
bdfc51a89aMarcus WaltherNewline added to gitignore
2fe3abf254Marcus Walther- doxygen template added to documentation - cpp-runtime documentation added - .gitignore-file added
5ccb6bc03eMartin SjölundUse the configure CXX, etc instead of defaults
d9283a5046Martin SjölundUse the configure CXX, etc instead of defaults
d79a8d4184Rüdiger Frankeadd test for LAPACK used by Modelica.Math.Matrices
e182aade28Rüdiger Frankeadapt processing of outputs to recent changes
e2b32ce8c7Rüdiger Frankere-add processing of outputs of external functions
c7ba372bb8Lennart OchelMinor changes to ./runtests.pl -with-txt
80fd0d6206Marcus Walther- updated the gitignore file - README update for Windows build of cpp-runtime - removed the unused --with-cppruntime-args
6732193336Marcus Walther- fixed some typos in configure - output directories for cpp-runtime libraries are now written into Makefile.env - changed README for cpp-runtime
078b80ae5cMarcus Walther- fix for autoconf of cpp runtime
354f8a23cfMarcus Walther- paramters for the cpp-runtime are now handled in configure instead of makefile
992f6e455dMartin SjölundLibraries are not needed for omc-no-sim
dfda18a8e9Martin SjölundFix typo
a2e78b0d4bhudsonMerge remote-tracking branch 'origin/master' into pullrequest
799bcc3307ptaeuber- fix bug in newton solver with fvec
3236596ea8ptaeuberintroduced dynamic tearing
6a414acb2cAdeel AsgharFixed the system documentation link. Removed the link to old users guide.
9e4c1b2e85Adeel AsgharFixed the system documentation link. Removed the link to old users guide.
033aecd5b4Willi Braunupdate tests, so that val() could get wrong result
e522fc2fcfAdeel AsgharDo not create empty documentation folders.
08f747ba8eMartin SjölundSkip the commit message sanity check
ce3000a0eeAdeel AsgharFix #3380: Properly save the replaceable nested classes.
c183a88ca8Adeel AsgharFix #3380: Properly save the replaceable nested classes.
6443c248abRüdiger Frankefix implementation of delay operator
97378f5a81ptaeuberMerge branch 'master' into tearing
d2ac409a43Martin SjölundAdd hook for testing commit messages
ccdc6b74e4Martin SjölundAdd hook for testing 50/72 style
befd0145cfLennart OchelAdded new option –with-txt to runtests.pl
b6c518b288Martin SjölundImprove check for long commit messages
6b6457c830Lennart OchelRemoved unused inputs to get cleaner interfaces
e05e21a35eMarcus Walther- Logger of Cpp runtime is now enabled by default, the standard log level was reduced to "warning" - Kinsol will no continue solving non linear equation systems if the convergence criteria was not reached -> a warning is printed instead until we have a solver that is able to solve the systems correctly
e022a1fdfdLennart OchelMuted annoying test case properly
e427c5c10bLennart OchelRevised createFunctions
228800efc5Lennart OchelRemoved unused vars from createSimCode
2b49180370Lennart OchelMuted annoying test case
50e2ca643fMartin SjölundHandle external string arrays better (fixes #3292)
3b6fb3868eMartin SjölundEnable working testcase StringParameters (#3292)
8b6bf38595Rüdiger Frankefix assignment of pre values of Cpp arrays
738aa2c870ptaeuberMerge branch 'master' into tearing
213805560cptaeuber- revised dynamic tearing test model
c689bad04eMartin SjölundPrevent stack overflow for differentiateExp
6670be24beRuedKamp-bug fix in RTEuler
1e10ce245eLennart OchelFixed regression in BioChem lib
b985f3cbe0Rüdiger Frankemake FMU Cpp compiler optimization flag configurable in local makefile
ff736de64fRüdiger FrankeLet operator= of StatArray copy data like previous StatRefArray
bee37e0fabRüdiger FrankeFixes after first test round
1ffe2deb4cRüdiger Frankeadd runtime checks for proper use
3cf48567abRüdiger Frankefixes to previous commit
832c3beaabRüdiger Frankeextend StatArray to also work with external data
3027167a0dMarcus Walther- added missing return value to default implementation of peer solver
42f521d790Martin SjölundPrint string list default values in Sphinx doc
16fa18465aMarcus Walther- further fixes for HPCOM compare components
7d07b6b0a6Martin SjölundAdd testcase for #3395
49ec8ae577Martin SjölundFixes #3395. Generate lhs crefs instead of rhs.
860b23c2a1Willi Braunchange variability for fmi 1.0 back
49a6e7ecddWilli Braunfix attribute name for causality
e3641b8ea4RuedKamp-some changes for vxworks
4a7ed5cb61RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f4c643a1feRuedKamp-some changes for vxworks
59be825341Martin SjölundAdditional messages if files do not exist
722fdf9d46Willi Braun - added testcase for fmi parameters changes
6fd7783b9fMarcus Walther- fixed MSVC build if openmp was not found
236b21bcfdLennart OchelRemoved obsolete initial() testing
cebbe0416cMartin SjölundFix #3380: Handle save() for short class definitions
4db7025b7bMartin SjölundAdded test for ticket #3380
57a269ecf7hudsonMerge remote-tracking branch 'origin/master' into pullrequest
72c5b339cbMarcus Walther- fixed Intel TBB build with c++ simulation runtime - HPCOM Task-Graph validation should now work correctly
21ff51970eMarcus Walther- peer-cmake should now work if no openmp was found on system
cc84d1c368Marcus Walther- peer-cmake should now work if no openmp was found on system
bd115c168dMarcus Walther- removed some unused code, to stay below 684k and fix the sanity check
259fa727f9Marcus Walther- Peer solver (openMP flavor) is now working - copy constructor of model extension class makes a deep copy of all important variables now - openmp is now added to all simulation runs, if cmake has find it
95c1f364a6Marcus Walther- peer-cmake should now work if no openmp was found on system
bd201bdc4dMarcus Walther- peer-cmake should now work if no openmp was found on system
4cd88de65cMarcus Walther- removed some unused code, to stay below 684k and fix the sanity check
ef76cd6ec4Willi Braunonly evaluate the model if something changed
57646056a4Marcus Walther- Peer solver (openMP flavor) is now working - copy constructor of model extension class makes a deep copy of all important variables now - openmp is now added to all simulation runs, if cmake has find it
22adc2b332arun3688add codes for moving cells up and down and change the hierarchical order, #ticket 2303 added transparent images for the QActions
8d8255a30fLennart OchelUpdated fmi tests
177055d7a5RuedKamp-added handling for singular matrices
927783ca5eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b4d1655bedRuedKamp-commented out boost::math::isfinite for vxworks
fd6076ef33RuedKamp-commented out boost::math::isfinite for vxworks
e7091b642aadrpo- fix conversion script for Annex lib to handle bad input
595dede2fdadrpo- update tests after library bump
494d5cffbaadrpo- check for None in conversion script
cc94341a92adrpo- print the file we convert
e43f7a00abNiklas Worschechfix in umfpack solver, only include umfpack.h if umfpack was found
ebe75f6845unknownadded correct numeric bindings version
35e39f7b42Niklas Worschechadapted umfpack solver of cpp runtime on new Matrix interfaces
fbe1b9dd1fNiklas Worschechremoved wrong version of numeric bindings
3bea645486Niklas Worschechfix in umfpack solver, only include umfpack.h if umfpack was found
91a2bb1e85Lennart OchelAdded default values for matching and index reduction
36c6ff771aLennart OchelAdded default values for "--preOptModules" and "--postOptModules" to help page
1577288a55unknownadded correct numeric bindings version
ec32bc2d8aAdeel AsgharFixed copying of libqjson.
8a1191ed9cAdeel AsgharFixed copying of libqjson.
3f974fc288Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
cbe21ee20aNiklas Worschechadapted umfpack solver of cpp runtime on new Matrix interfaces
2c8a396e31Willi Braun - deactivate symbolic jacobian calculation for fmi2.0, since it's currently not used anyway.
aed449ccecWilli Braunfix some debug output in symbolic jacobain
c96d99c83dWilli Braunexpected output
54e8a066ceAdeel AsgharRemoved duplicate copy commands.
6caa0d3eeeAdeel AsgharRemoved duplicate copy commands.
826515e01bAdeel AsgharAdded internet shortcut for OpenModelica users guide.
564af844c4vwaurich- dont use artificial vars for prestartcalc
5d264adef3adrpo- copy libqjson.dll from its new place to build/bin - more Qt5 adaptation - use the linking flags just for linking, not for compiling
6bc2bcd855adrpo- copy libqjson.dll from its new place to build/bin - more Qt5 adaptation - use the linking flags just for linking, not for compiling
3082af8b2cNiklas Worschechremoved wrong version of numeric bindings
388d52b964gossenSynchronous features improvement
9bbf3adc23gossenReplace expr in Clock constructors to previous(expr)
3d21fe70d5gossenAdd initial synchronous support to simcode and c-codegen
e93d69cb60gossenprevious operator should be marked as known and its variable should be a fixed
ad5f2bd2c8gossenSome refactoring
f9f8aae8bbvwaurich- fix countoperations for small nl-systems
6f2f71529fNiklas Worschechfix in cpp template for getSystemMatrix method
c93a404719Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
4a391c0c45Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
8d089ff3a0Niklas Worschechadded config flag to switch the matrix format in cpp runtime +matrixFormat=[dense,sparse]
e2e030f989Lennart OchelAdded missing vars to SimCode
e392b23c8dLennart OchelFixed duplicated content
ec93d42fc6Marcus Walther- fixed windows build of cpp-runtime
5b0f74e34fMarcus Walther- changed CoupleClutches test of FMU 2.0 ModelExchange (C++ Runtime) to a verified simulation test - all FMU test of the cpp runtime are working now as verified simulations - changed the names of the mos-files, so that they can be identified in the hudson-jobs more easily
cbe8e9dd53Marcus Walther- the number of event indicators should now be correct for c and c++ simulation runtime
b801d5c2c5Marcus Walther- FMU 1.0 test is now working again, if a nls is part of the model
d9b26e6b6fMarcus Walther- Kinsol can now be used for FMUs, by passing a parameter to cmake - added some logger output to the kinsol and newton solver
810476f8adLennart OchelRemoved obsolete cases in RemoveSimpleEquations
fa5acbcb2cMarcus Walther- removed input and output variables from simVar to index mapping, because they are already part of the other variable arrays and thus they are added twice - commented out the -DUSE_UMFPACK statement, until Niklas has delivered a fix for the umfpack solver
cb8678ad54adrpo- give the full path to cmake
0cb1f1e410adrpo- give the full path to cmake
dfee2945ecNiklas Worschechfix for memory leak in algloop system of cpp runtime
201b0726f3Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c61323c25fadrpo- proper detection of mingw32 vs mingw64
924fa65b8dLennart OchelUpdated .gitignore file
5ff3cc0effNiklas Worschechchanged A Matrix to ublas matrix in Algloop class removed template functions in AlgLoop classes to calc A matrix, only one A matrix type can be used now(sparse matrix can be used with a flag later) adapted non linear solvers on new getSystemMatrix method
12822bc2b7unknownupdated numeric bindings
b0fae1745fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4b9aeabacdLennart OchelDon't print empty dimension list
af9687a1c3Niklas Worschechchanged A Matrix to ublas matrix in Algloop class removed template functions in AlgLoop classes to calc A matrix, only one A matrix type can be used now(sparse matrix can be used with a flag later) adapted non linear solvers on new getSystemMatrix method
fd0d73bc4cLennart OchelDon't print empty dimensions list
c01559b855adrpo- fix OMEdit compilation
4a20efd9b9adrpo- fix OMEdit compilation
abed5f49a9adrpo- adapt to Qt5 and mingw64 - updated qjson to latest from: https://github.com/flavio/qjson
7bab2d4a66adrpo- adapt to Qt5 and mingw64 - updated qjson to latest from: https://github.com/flavio/qjson
286efb1304adrpo- fix typo in gcc linking flag
6521fc6058adrpoMerge branch 'master' of https://openmodelica.org/git-readonly/OMNotebook
de17f815eaadrpo- adapt to Qt5 and mingw64
b67297dad4adrpo- update tests after library bump
8302b0ed64adrpo- adapt to Qt5 and mingw64
a49f7c1f49RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
15ba0155c7RuedKamp-some changes for vxWorks
f9c741ae0bunknownupdated numeric bindings
fff5d101fcWilli Braun - fix alpha constant for damping. Fixes partially #3118.
4a52c46f68Willi Braun - fix debug output
af02e95683Willi Braun - expected output
d1656bbac7Willi Braun - revise lambda debug output
6553e43be3arun3688evalall cells in the document by pressing evalall button
65593bf212gossenSimCode refactoring
e7b195fb39Lennart OchelUpdated expected output
c30ebadd3dbernhard ThieleNew Modelica state machine prototype
d4a6de4197bernhard ThieleState machine tests adapted to OMCompiler#124
9ab2afa6faarun3688added eval_all button image
e8d65ec9c4vrugecosmetic changes
4d65de3a88vrugeadded tests for complex function
e3690021bdvrugesome fixes for complex functions
769f1549a3Lennart OchelCleaned up test case 'EventTests.mos'
99a281dbc0adrpo- use -Wl,--enable-auto-import instead of -enable-auto-import
32bc6830eeLennart OchelRevised singularity check for linear systems
d383764cc1Lennart OchelSimplify test case "IfEquation3.mos"
c1cc253beeadrpo- support both Qt 4.x and 5.x
b454d6132evwaurich- warning for singular systems instead error
fca1e8a4favwaurich- continue Translation after SingularSystemCheck
f15f3a2aa5vwaurich- stupid fix for PrismaticConstraint
9a7e0fb793vwaurich- proper debug Matching in IndexReduktion (reverted from commit 1cd837980a2d5e2b708cc0181f0498713d5d912a)
847d505497vwaurich- proper debug Matching in IndexReduktion
9d38b64ce0vwaurich-expected output
0569334526Per ÖstlundAdded tests for stream flow rate threshold, #3382.
ca563fceccPer ÖstlundFix for #3382.
ab4e34c95cRuedKamp-changed evaluateAll in Cvode to evaluate evaluateODE
9573413a95RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4bc045b3cdRuedKamp- added some brackets
cbb3297c9avwaurich- expected output
0db3df1842vwaurich- continue Translation after SingularSystemCheck
c2ea9a5ad5vwaurich- stupid fix for PrismaticConstraint
cc8f06f196vwaurich- evaluate ASUB-Calls partially (fix gravityAcc)
78d8b9ea0cvwaurich- proper debug Matching in IndexReduktion (reverted from commit 1cd837980a2d5e2b708cc0181f0498713d5d912a)
d2e10c48f5vwaurich- proper debug Matching in IndexReduktion
59cca54a35RuedKamp-commented out arkode
3dab5aa47aRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a757ab529bRuedKamp-commented out arkode in CMakeLists.txt
d4cb4a90b4Willi Braun - expected output
26a008ac0bRuedKamp-used anyedit
2024922423Willi Braun - added test-case for implicit inline solver
6a5d5bd001kbalzereit - added step-sie control for symbolic inline solver
890bfba4e5RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
639e64f40eRuedKamp-changed std::vector to double * in AlgLoopDefaultImplementation
006502b58dLennart OchelStop pre/post-optimization on failure properly
51acd42cffLennart OchelUpdate expected output
2fcf8c139fadrpo- ANSI C please to please the MSVC compiler :)
af61d763d0Lennart OchelCleaned up #116
f7b4037a27Willi Braun - fixed indentation
35e6782661kbalzereit - collected commits for improving non-linear solver newton.
4a8e668369Willi Braun - add simulation flag -nlsInfo that generates csv files for every non-linear system for detailed analysis propose
8b345f03b8Lennart OchelFixed typos in flag descriptions
43ce403e5bAdeel AsgharMerge pull request #2 from lochel/smarty-pants
6f1ae9ef16Lennart OchelTurn off smarty pants to display flags properly
74002730a3vwaurich- Errormessage in IndexReduktion
bff5955157vwaurich- some ErrorMessages for IndexReduktion
ce246869e0Lennart OchelFixed nls dump for newton method
26ac8f36d1adrpo- update after library bump
69cde813d2vwaurichsingleThreadSchedule
37686b4752vwaurichrevised partScheduler and reversed idxs in eventgraph
403163e08eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
98141da953RuedKamp-changes for vxworks
5838895b1dRuedKamp-changes for vxworks
cd1ae85700adrpo- add the test to the Makefile
f9c6fadfd4adrpo- add test for flags used in library coverage testing so that we don't break it
b25d1f38d8adrpo- handle BackendDAE.NO_MATCHING inside BackendDAEUtil.getStrongComponents - remove msgpack include as we don't have it anymore in 3rdParty (why is that?)
cb4090c8eaMarcus Walther- fixed expected output of tests
d243ca3455Marcus Walther- added measureTime-test to cppruntime-hpcom - fmu 1.0 modelExchange tests are now simulated after export
eaac1dc068hudsonMerge remote-tracking branch 'origin/master' into pullrequest
160737d24cNiklas Worschechadapted newton solver of cpp runtime for linear tearing
92491bd2a7Marcus Walther- added the old switch-case-statements again, to handle fmu 2.0 export correctly
1caa4f9e37gossenReplace SIMCODE record constructors
41e9fb059cMarcus Walther- fixed wrong variable indices in modelDescription.xml (FMU export for CPP runtime) - fixed FMU 1.0 export of cpp runtime - fixed linker flags for hpcom fmu export (cpp-runtime)
fbd19fb6a1Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
52eb407ccdNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4476180d99gossenDont filter out clocked partitions with removed equations
7c8141652cgossenDo partitioning for removed equations
706508369egossenSplit removed equations beetwen shared and eqsystems sections of dae
b9431117bagossenPrint base clocks in synchronous dump info
9116d28f67gossenRemove FindZeroCrossings getters functions
e728806dc4Marcus Walther- added missing comma to json profiling files
5be3c0864aadrpo- update 3rdParty
db870f4428adrpo- use strol instead of strtoll as MSVC doesn't like it
1b3e57a25eadrpo- do not use atoll as MSVC does not have it
61a6e5aa78adrpo- more fixes for mingw64
a6dc843ba4adrpo- some mingw64 bit fixes
bee07d67f7gossenChanges in removed equation partitioning
24b8c6127agossenPrint base clocks in synchronous dumps
e5c82b6fa9Lennart OchelUpdate expected output
95c827c4d6Lennart OchelCall module "expandDerOperator" before module "clockPartitioning"
a4ddaa188cNiklas Worschechfix in kinsol of cpp runtime for linear tearing system
66ba9e3f3eNiklas Worschechlinear tearing systems using jacobians for A matrix in cpp runtime
d53f8f577fNiklas Worschechadded getJacobian matrix method for an Jacobain matrix index to cpp runtime
6327e130f5Niklas Worschechaktivated linear Tearing in cpp template
33972b1fb3Lennart OchelGenerate cleaner code for when clauses
c302d9763dadrpo- attempt to fix the git sanity check
5d1ef5beafNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
8cb67d01beNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9205fb7d45Niklas Worschechfix in kinsol of cpp runtime for linear tearing system
1ef03bc1b5RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ffbbe2c4a4RuedKamp-some changes for vxworks
1df8f02067RuedKamp-whitespace error whatever
18bbee159fRuedKamp-merged
f9236803f6adrpo- put back --emit_protected for CPP runtime as is used by Hudson library coverage script
d490ce2bf2Lennart OchelGenerate cleaner code for reinit statements
e68c990120Lennart OchelAdd/Update tests for reinit statement
f186db9f33Lennart OchelClear the flag discreteCall on the same level on which it is set
812ef728c4adrpo- fix MSVC build of simulation code
6a820527c2Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
21906db5b5Niklas Worschechlinear tearing systems using jacobians for A matrix in cpp runtime
2839510c68Lennart OchelRevised Initialization.mo
026f2b473fMarcus Walther- changed output point type OPT_EMTPY to OPT_NONE - if outputFormat in mos-skript is set to "empty", no result file is created in the cpp simulation runtime anymore
28fc631a31Marcus Walther- fixed expected output for hpcom fmu tests
cdccd074aeMarcus Walther- tests for outputFormat added to CppRuntime-tests
42f53d1c8bMarcus Walther- removed alias variable initialization - removed some unused flags from cpp-runtime
1a4cb22bd5vwaurich- more trailing whitespace stuff
3b2b0aadc3vwaurich- remove trailing whitespaces
083ced88f0vwaurich- apply GRS for DAe and ZeroFunc System, adapt validateTaskGraph
09e638ba57Lennart OchelUpdate expected output
f04aa02386Lennart OchelHide SimCodeUtil error if initialization fails
1fb463216aMarcus Walther- fixed msl32_cpp tests
79efb124f7Marcus Walther- fixed FMU HPCOM test - added genDebugSymbols-test for cpp-runtime
e50acab7a6Marcus Walther- fmu tests for HPCOM added
2980576bf1Marcus Walther- HPCOM-FMU-Support added - the HPCOM-ODE-System size is now checked against the number of sim code equations - Cpp-Runtime does now create a valid modelDescription.xml
6cd6458be0Marcus Walther- cpp-runtime will now create reference variables instead of defines, if +d=gendebugsymbols is set
db1ab6ea91Lennart OchelReplaced some more record constructors
21bb0ca09bMartin SjölundRevise handling of MM singleton uniontypes
10cb0fb530Martin SjölundMake List.position return failure
6547655f05gossenReplace BackendDAE record constructors
1195db0770Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
916948c9f9Martin SjölundAdd tests for MetaModelica crefs
98ca067f8eMartin SjölundHandle boxed arguments in ranges
1488c5e78eLennart OchelMake use of singleton uniontypes in the back end
129db8b176Lennart OchelReplaced function Util.isSome by built-in function isSome
bd201785abLennart OchelMake use of singleton uniontypes in the back end
4306540e2eMartin SjölundUse singleton records without matching
069390107aMartin SjölundTreat singleton uniontypes as records
0e1c517134gossenUse BackendDAEUtil.emptyClocks function
1f4d2f289cgossenMove base clocks info from SHARED.EVENT_INFO record to SHARED record
1445bcc4e5Per ÖstlundTestcase for functions inside of uniontype.
2362cf33b7Per Östlund- Differentiate between generated and non-generated meta records.
ce51c36113Per ÖstlundMetaUtil cleanup and fixes.
7fcda78a77Niklas Worschechadded getJacobian matrix method for an Jacobain matrix index to cpp runtime
b876223fd3gossenReplace BackendDAE record constructors in VisualXML
a9303a80f9gossenReplace BackendDAE record constructors in SimCodeUtil
ca80204882gossenReplace BackendDAE record constructors in RemoveSimpleEquations
511dbadd29gossenReplace BackendDAE record constructors in IndexReduction
aadcee5bd9gossenReplace BackendDAE record constructors in FindZeroCrossings
14e4611441gossenReplace BackendDAE record constructors in EvaluateParameter
db74734cc9RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c9721cc62agossenReplace BackendDAE record constructors in Initialization
426d2c1bf3gossenReplace BackendDAE record constructors in StateMachineFeatures
5f29c5c7ffgossenReplace BackendDAE record constructors in BackendDAEUtil
08a8ac2adegossenAdd function setSharedOptimica in BackendDAEUtil
d1fdf8210aLennart OchelRevised function preBalanceInitialSystem2
324df49446Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c9ea075081RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
26c02a24bagossenSynchronousFeatures refactoring
b8c8618cbfgossenReplace BackendDAE record constructors in RemoveSimpleEquations
31da2af4e9gossenReplace BackendDAE record constructors in ResolveLoops
23af696ff8gossenReplace BackendDAE record constructors in Vectorization
e2ec7cfd5fgossenReplace BackendDAE record constructors in OpenTURNS
811d799bf5gossenReplace BackendDAE record constructors in Matching
70d59a90aagossen Replace BackendDAE record constructors in InlineArrayEquations
248535d58bgossenReplace BackendDAE record constructors in Initialization
5691325478gossenReplacing BackendDAE record constructors in FindZeroCrossings
fbf521a1afgossenReplacing BackendDAE record constructors in EvaluateParameter
b604146eb0gossenReplacing BackendDAE record constructors in DynamicOptimization
cbf3347ea1gossenReplacing BackendDAE record constructors in CommonSubExpression
8e856290c7gossenReplacing BackendDAE record constructors in BackendDAEUtil
409d49b896gossenAdd function setEqSystMatrices to BackendDAEUtil
afe896e992gossenReplace BackendDAE record constructors in BackendInline
e0c6d316e4gossenReplace BackendDAE record constructors in BackendDAETransform
9cedcedf15Martin SjölundChanged line number
bcde872f80Martin SjölundCompile fewer packages when bootstrapping
ff50eb254fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
452a7cc5f0Martin SjölundRemove unused imports
a5ea4c9637Martin SjölundSplit CevalScript into CevalScriptBackend
4479db008eMarcus Walther- changed the number of threads to 1, to make Hudson happy
e21d1541e7Marcus Walther- added a lot of tests for HPCOM to cpp-runtime, to test various combinations of schedulers and code generators - updated expected output for HPCOM, because the zeroFuncs are now parallelized as well - removed old HPCOM-tests from cpp-runtime
aea876d893Marcus Walther- added zeroFunc-Schedule to HPCOM - fixed windows msvc build for cpp-runtime
bf98442b54Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
5be3936a71Martin SjölundSkip SimCode and Susan tests
509f225c4cMartin SjölundSplit CodegenC into CodegenCFunctions
1b616669efNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
471efb23b9Martin SjölundMake it possible to compile OMC without backend
28efb3efd5Martin SjölundFix c99eeed
cf4272a72aMartin SjölundUpdate tests for new compiler structure
cb40561ea9adrpo- fix compilation
c99eeed8d3adrpo- fix Windows build by prefixing the enumerations in the CPP runtime settings with OM_ as otherwise the MSVC compiler complains madly
dba5362362Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
69e41fc434Lennart OchelCleanup package Initialization
69ba9498f6RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
74f231ca57Lennart OchelFixed typos in flag descriptions
aa6c0e0ad1Martin SjölundFix for missing __func__
b38ffe3751RuedKamp-changed encoding
78af16b84cMartin SjölundUse GNU sed
2a3c85bd69Martin SjölundAdd testcase for #3367
3c606c7109Martin SjölundFixes #3367,#3249 (unknown dim in function call)
5643d00bb1RuedKamp-whitespaces
f5b68bb65eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b65b1532cbRuedKamp-whitespace error
afaf039769RuedKamp-changes reverted
876a71052cRuedKamp-some adaptions for vxworks
94c14f9cc3vrugeupdate expected output
4609f5a099Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
728c5a3f4avrugeimporved "collect" of terms
0beea1ccd0vrugeadded test for recursiveTearing
9db0174121vrugeupdate expected output
6518e3cf9evrugeadded prototype recursive tearing
c5516d9d31Martin SjölundAdd API diffModelicaFileListings
8c65974892Martin SjölundaddComponent API now uses the correct filename
c52d337753Martin SjölundAdded tests for diffModelicaFileListings API
0c8443671eAdeel AsgharFixes #3375 OMNotebook array plotting.
1a677547f9Adeel Asghar- Updated Types patch to fix Windows build.
f9f25dd798Lennart OchelFixed typos, indentation and coding style
226e96dec8Lennart OchelFixed some error messages
8a3220be8cMartin SjölundFix accidental revert in c0723f7
b1e44121d8marchartungFixed Windows bug for conversion const int to LogLevel
4f4dbe2181Martin SjölundCompile the ModelicaDiff lexer with OMC
adab1eea06Martin SjölundAdd target to update the lexer
061bcf60e1Martin SjölundMoved OMCC to separate repository
09c0b45ce7gossenReplace BackendDAE record constructors in BackendDAEOptimize
ddeca2f9f9gossenAdd function clearEqSyst
b895eaab3cvrugefixed whitespace
3467f5cbcdvrugeadded test for simplifyLoops
d0af455d6evrugeupdate test for simplifyLoops
7f24872550vrugefixed whitespace
e4f030addfvrugeclean up
d94675ccdcvrugeimproved simplifySumOperatorExpression
e9b910ea96vrugeimproved symplifyLoops
5942fbcdcevrugeadded post module for simplify loops for the simulation/optimization
e800774fdeAdeel Asghar#3373 - Give more stack on Windows for the QT clients that use the omc dll.
04d407de65Martin SjölundAdd tests for the Modelica diff lexer
2e69619980Martin SjölundMake the OMCC Modelica lexer a single package
4148ee761aMartin SjölundUpdate gitignore
c53af00d32Martin SjölundAdd ModelicaDiff lexer
044832c201Martin SjölundEnforce 50/72 charcter commit messages
49f3f03cadMartin SjölundCheck commit summary and message lengths
e234aa1356marchartungFixed FMU2-Errors. Static member FMU2Wrapper::logCategory is now FMU2Wrapper::LogCategoryFMU
16dee2532cmarchartungLogger for CPP-Runtime updated
7e74d3bc2bMarcus Walther- added boost::atomic to windows cpp-runtime-build
3385317104Marcus Walther- replaced boost_log with logger-class of cpp-runtime - moved the implementation of StaticNonLinSolver-, StaticLinSolver- and StaticSolverOMCFactory to code files (because otherwise we are not able to disable cvode and kinsol for FMU export, easily) - FMU is now using Newton instead of Kinsol by default - FMU has no dependencies to sundials anymore
118cfe8ec1Adeel Asghar#3374 - Added the close button to tabs.
180236b298Adeel Asghar#3374 - Added the close button to tabs.
48def8bdeeLennart OchelFixed typos
4446bdb9fbLennart OchelFixed some typos
45d02162e4Lennart OchelImproved handling of inverse algorithms - Discrete variables do no longer appear as iteration variable - Proper error message for systems that need to have discrete iteration variable
259ec4aaf1Martin SjölundAdd my PhD thesis to the list of publications
82d7955d5bMartin SjölundSome fixes to make OMCC leaner
70c020cb53Martin SjölundPatch the bootstrapping tarball
127ddbfe75Martin SjölundFix some polymorphism checks
91eaa018acLennart OchelMerge branch 'master' into inverse-algorithm
de7a5d6492Adeel Asghar#3373 - Give more stack on Windows for the QT clients that use the omc dll.
d6e903108aAdeel Asghar#3373 - Give more stack on Windows for the QT clients that use the omc dll.
639dcf9c20Lennart OchelSolve for inputs (or a combination of inputs and outputs) of an algorithm section if necessary Therefore, the algorithm is treated as a nonlinear loop. This should be improved for discrete or hybrid systems (mixed continuous and discrete systems). See #3081 TODO: Handle discrete algorithm outputs properly.
28812c9ad7Lennart OchelAdded new tests for inverse solving of algorithms
20148344fcAdeel Asghar#3362 - Updated the question message according to context menu choice.
03def48829Adeel Asghar#3362 - Updated the question message according to context menu choice.
05fbbbb0d1Adeel Asghar#3362 - Use delete for nested classes instead of unload.
e3397c8020Adeel Asghar#3362 - Use delete for nested classes instead of unload.
14c7f83d6eMarcus Walther- support for Intel Compiler added to C++ Simulation Runtime (by Joseph Schuchart)
9847abb110Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
2542dd936aNiklas Worschechaktivated linear Tearing in cpp template
3aa480b21dMartin SjölundAdd missing fail calls
ac6e440cbaMartin SjölundPrint default values
9444ad9af3alash325- Store the interfaces in OMEdit and show list of interfaces for each sub-model
a9b0514a5calash325- Store the interfaces in OMEdit and show list of interfaces for each sub-model
ac44689708Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMShell
99b004e8b2Adeel Asgharignore omc_communication.h/cc
e3b6ee1354Adeel AsgharFetch the initialization methods, linear & non-linear solvers from simulation_options.h
860a0ef3d9Adeel AsgharFetch the initialization methods, linear & non-linear solvers from simulation_options.h
e3d3aa7e22Adeel AsgharOpen the html documentation for integration methods help.
31836b589dAdeel AsgharOpen the html documentation for integration methods help.
a61de9f09eAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
d225e962a7Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
f96db64bf5Adeel AsgharFetch the solver methods from simulation_options.h
a1c898b8adAdeel AsgharFetch the solver methods from simulation_options.h
0986330ba3Adeel AsgharUse standard web fonts for documentation.
08614de3d8Martin SjölundAdd missing file extrarefs.bib
53e4ee4bccMartin SjölundUse pdflatex instead of lualatex
bebfe99273Martin SjölundAdd documentation target to build the docs
072de1ac4aLennart OchelRemoved case for empty algorithms in SerializeModelInfo.serializeEquation There should be no empty algorithms in the backend anymore.
166d282f79Martin SjölundAdd a complete sphinx help text
4a4e34f146Martin SjölundAdd a chapter on the omc flags (help text)
ce2b3a418ealash325- Do not add the same interface multiple times if the interface already exists in MetaModel
4138bfb2edalash325- Do not add the same interface multiple times if the interface already exists in MetaModel
8f1c20209fLennart OchelUpdate expected output
f2102e3559Lennart OchelRemoved optional initialization This removes obsolete code that was introduced to make numeric initialization available as fall-back solution if the symbolic initialization failed. Since the numeric initialization is removed for some time, this should be removed as well.
511a41296eMartin SjölundRemove OMC_API-HowTo.pdf (User's Guide is better)
8927383effLennart OchelDon't add empty algorithms to BackendDAE
f1f5e877c0Martin SjölundUpdate for new MSL
a7d282f0a3Martin SjölundAdd chapter on simulation flags
3c02ab5602Martin SjölundImprove --help=simulation
15bce98e92alash325- Do not show up connection properties and mpManhattanizeShapeAction for TLM editor
438c875455alash325- Do not show up connection properties and mpManhattanizeShapeAction for TLM editor
5d241c5dc3Adeel AsgharOpen the HTML based documentation when user presses F1. We will embed the documentation with in OMEdit later.
6127950037Adeel AsgharOpen the HTML based documentation when user presses F1. We will embed the documentation with in OMEdit later.
501ca0346dAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
b290646d82Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
8f1cfe37a2Adeel AsgharAdded menu items to open the OpenModelica latest & old pdf documentation.
fcd77e531cAdeel AsgharAdded menu items to open the OpenModelica latest & old pdf documentation.
80bf69195dWilli Braun - added test for noevents flags
e832336d7calash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
4087eb4d90alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
8206e21c42alash325- TLM editor updateTLMConnectiontAnnotation API
30f6aff045alash325- TLM editor updateTLMConnectiontAnnotation API
ec9f2b8e42Willi Braun - fix noevents debug flag
dd8b12310eAdeel AsgharFree the memory by deleting the QMessageBoxes when they close.
cf67183ab4Adeel AsgharFree the memory by deleting the QMessageBoxes when they close.
1aa24fb35eAdeel AsgharUpdated the language files.
3809630d9dAdeel AsgharUpdated the language files.
7bfd1f72dbAdeel AsgharAsk for the e-mail address from the user when sending crash report.
5bf300ccd8Adeel AsgharAsk for the e-mail address from the user when sending crash report.
d248ffec9aAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
fadb66a4a0Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
605738f18aAdeel AsgharFixed opening of files passed as command line arguments.
0c261a0987Adeel AsgharFixed opening of files passed as command line arguments.
d8515175f0alash325- TLM Editor createConnection API
c618de1532alash325- TLM Editor createConnection API
9c57e3a680Martin SjölundAdd test for DiffAlgorithm.mo
281db692c4Martin SjölundImplement Myer's diff algorithm
3a59575371Martin SjölundImprove operator overloading and error-messages
ced8714222Martin SjölundHandle array as iterator
7880d7c0c6alash325- TLM editor DeleteConenction API
1094e7b644alash325- TLM editor DeleteConenction API
add672df89alash325- Use API for getTLMConnections
09275d8c99alash325- Use API for getTLMConnections
e60e80cf6eMarcus Walther- added missing umfpack-test
c0723f7bebMarcus WaltherI have added 3 FMI tests to the cppruntime-folder, to test the FMU 1.0 and 2.0 export (model exchange). Furthermore I have removed the old FMU-tests and reactivated the Umfpack-test of the c++ simulation runtime. The new static linking test is not working at the moment and thus part of FAILINGTEST.
7f94546ebealash325- Use mpPlainTextEdit instead of getPlainTextEdit
df58213345alash325- Use mpPlainTextEdit instead of getPlainTextEdit
df85c2b192alash325- Update the MetaModel editor xml object when switching from text to diagram view
3ea1506681alash325- Update the MetaModel editor xml object when switching from text to diagram view
0d87015c05alash325- Check for xml validation when loading the meta-model xml file - Check for xml validation when fetching interface data and co-simulating the meta-model
42527995bfalash325- Check for xml validation when loading the meta-model xml file - Check for xml validation when fetching interface data and co-simulating the meta-model
e924e3c86aMartin SjölundFix umfpack rpath
05fad1a9ffhudsonMerge remote-tracking branch 'origin/master' into pullrequest
b3d69fc029Martin SjölundLook for executable binary files
1077164cf4marchartungAdded Test to HPCOM-Testsuite
9f8ce9c5d5Martin SjölundSupport pattern matching for enumerations
3432e3e7b8Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
2ab80728d2Marcus Walther- added sundials license file to cpp-runtime and to FMU distribution
c464299983Marcus Walther- all libraries of cpp runtime are now compiled with -fPIC on Linux systems - boost log completely deactivated -> I will change the boost logger to the new logger code, soon - fixed FMU compilation (now the static libraries are used)
9b29383bd8Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
47ff858e34gossenReplace BackendDAE record constructors with BackendDAEUtil helper functions
7ae1fb468egossenAdd functions setVars and setEqs to BackendDAEUtil
30ddcebb0dgossenAdd function setSharedInitialEqns
2263f8d82agossenReplace BackendDAE setter functions with new ones with uniform name and prototype
cb3a2fb3baMartin SjölundExpected output
b6d7f284b9Martin SjölundSupport the now standard Connections.rooted
5316bb3677Martin SjölundFix qmake/OSX detection
234e916ba0Martin SjölundFix for OMPCC on OSX
b8c416ede3Adeel AsgharFixed getTLMComponents. Generate default annotation for sub-models that doesn't have any. Some source code documentation.
c487dc4087Adeel AsgharFixed getTLMComponents. Generate default annotation for sub-models that doesn't have any. Some source code documentation.
5942cf8306marchartungFixed Modelica.Thermal.HeatTransfer.Examples.Motor for debug=hpcom
32c115395bMartin SjölundFix duplicate /build/
462a5755bfMartin SjölundGenerate a stand-alone lexer
57342feebbMartin SjölundSome OMCC updates
dd9ec804e6Martin SjölundFix wrong parameter name for regex
825f74c1bfAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
9435fbf1d4Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
0fc9a6d0a1Adeel AsgharAdded API structure for managing the meta-model xml data. Create directories for the sub-models and save their respective model files in them while saving the meta-model xml.
7e4f8d734aAdeel AsgharAdded API structure for managing the meta-model xml data. Create directories for the sub-models and save their respective model files in them while saving the meta-model xml.
9d1079d825Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
6e21b0b839Niklas Worschechremoved referencefiles in common.mos file of cpp runtime tests
12047f1d1bNiklas Worschechremoved referencefiles in common.mos file of cpp runtime tests
e691274579vrugeimproved sortEqnsAndVars
95945478b6vrugeadded: sortEqnsVars -> heuristic for sorting eqns and vars. TODO: improve the heuristic
14bd6a3c93vruge-added test for sortEqnsAndVars -expected output
0fc49fbadaMartin SjölundUpdate system libs list
b0733603c2RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
18b5e7e5e1RuedKamp-added functionblock for vxworks69
d084a77e39Per ÖstlundMade ConnectUtil.sizeOfVariable2 handle array dimensions better.
c3be20b706Per ÖstlundAdded test case for #3360.
1a119b6f81Lennart OchelChange some matchcontinue statements to match statements Remove some unhelpful comments
e8f8cc5947Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
0feb1da876Rüdiger Frankeadd libs of external objects to gcc makefile of Cpp FMI
930ee92427Rüdiger FrankeAdapt Cpp FMI2 to recent changes to make it compile again
c0786262e5Ruediger FrankeRedo 8963da5 to make Cpp FMI2 work again
ef62d68d27Martin SjölundAdd a CONTRIBUTING file
433bd28f9cMarcus Walther- Added measureTime-Regions to thread-functions
c1b896dab9Marcus Walther- fix for undefined MEASURETIME_REGION
44e6e5e4dbMarcus Walther- fixed some linker problems - added measureTime-statements for threads of thread-schedule
164e53e174Martin SjölundFix ipopt compilation on OSX
77a112e21bMartin SjölundAdd weak linking for OSX umfpack
5d52a95fc6Martin SjölundFix sanity check
f3148cae75Martin SjölundFix for MSL update
ee53ba6667Martin SjölundMake a tail-recursive call
390d475331Willi Braun - fix codegeneration of sparse pattern
97c3eb8ad0Marcus Walther- fixed CVodeWriteOutput-Tracing
8e9e1aed60Marcus Walther- fixed CVodeWriteOutput-Tracing
1a975c24c4Marcus Walther- fix for FMU export - fixed CVodeWriteOutput-Tracing
4d21edaad6Lennart OchelFix #3358 (Strange discrete behavior in algorithms)
9aeffbc4f5Lennart OchelFix expected output
b58087d2e8Lennart OchelAdd test case for #3358
ed4808a236RuedKamp-fixed whitespace
d335cc63bbMarcus Walther- further changes on Makefile structure, to disable papi if scorep is used
e052ac0843RuedKamp-fixed whitespaces
59574f7d5bMarcus Walther- removed runtime_static_linking from mingw-makefile - removed threading instruction for scorep
e6aeb1d16eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
69e381087bWilli Braun - change execStat usage a bit to get a better overview
c9cd590a4cHenning Kielsome fixes for compilation on OS X
d32effdcc1Marcus Walther- fixed segfault
f3cb54a807Marcus Walther- added missing static library
39283a106fMarcus Walther- removed runtime_static_linking from Makefile
7b13279fa6Martin SjölundIntroduce new API call listFile
c0aed9a778Marcus Walther- fixed runtimeStaticLinking - fixed ScoreP-Support
823aeb7220Martin SjölundAdd test for listFile
b0dc6e73a6Niklas Worschechfix for external c calls return values in cpp runtime
739170f3b4Martin SjölundAdd example on calling external Python code
a8ff45dda7Martin SjölundAdd attributes
347d15cf03Martin SjölundUpdate common
b160bebe14Martin SjölundUpdate common
5e297bb123Martin SjölundUpdate common
5bd7a94d32Martin SjölundUpdate common
c0c292779cMartin SjölundUpdate common
0af65300b9Martin SjölundUse better version
51d5f523efMartin SjölundAdd macros to get the semantic version of the current release
bd9ddd2013RuedKamp-fixed whitespaces
cddf270173RuedKamp-fixed whitespaces
d92fe2ed0dRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0d8476c322Adeel AsgharGenerate directories for sub models when saving meta-model.
8d105766e6Adeel AsgharGenerate directories for sub models when saving meta-model.
3fdd91dd15Adeel AsgharFixed the ModelFile attribute of meta-model editor.
a076bbc780Adeel AsgharFixed the ModelFile attribute of meta-model editor.
ca33ed1ef0Marcus Walther- fixed mingw build
5753321017Marcus Walther- ScoreP-include added
0c25b668bbMarcus Walther- fixed ScoreP-Handling in Cmake
800439e6eeMarcus Walther- fixed mingw build
371736ec03Marcus Walther- ScoreP-include added
35203b2fb8Martin SjölundUse some inline icons
cb5229fd3dMartin SjölundAlso include a diff for the documentation since the last release
e7e2890301Marcus Walther- fixed ScoreP-Handling in Cmake
1a632d21b6hudsonMerge remote-tracking branch 'origin/master' into pullrequest
7a965d793aMarcus Walther- fixed msvc build
5f59a5b476Martin SjölundInstall pre-commit hook
562f2cb17dRuedKamp-fixed whitespaces
42e3157daeMarcus WaltherMerge remote-tracking branch 'origin/master' into fastMW2
a5bdcbf7b9Marcus Walther- removed experimental PropertyReader - updated gitignore-file
55f5ad0525RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0d01144193Marcus Walther- added missing property reader interface
1ed94c99ffMarcus Walther- cherry picked niklas changes
cf1058ae25Marcus Walther- added XmlPropertyReader-Class - Fix for FMU shared object generation
6f012777d7Martin SjölundFix indentation in release notes
2c70f15c52Marcus Waltherfix for msvc build of cpp runtime fix msvc build in cpp runtime
3663a5bc2fptaeuberMerge branch 'master' into tearing
53189f61bfMartin SjölundAdd intersphinx, fix references
96353e71c6ptaeuber- add new model to test dynamic tearing
3fb89e1ec6ptaeuber- add new model to test dynamic tearing
df48d6ed17hudsonMerge remote-tracking branch 'origin/master' into pullrequest
d36f27a3b5Martin SjölundLook for Susan-generated files
b2427203bfptaeuber- minor bug fix
6f28e4181cPer ÖstlundFix for #3357: - Simplify actualStream when flow direction can be determined from min/max of flow variable.
d116a736b1Per ÖstlundAdded testcase for #3357.
5d7ed28d9bMartin SjölundUse git describe to show the version number
b2d7e9fadfMarcus Walther- first version of initialization XML for c++ simulation runtime added
1abf2a92f2Martin SjölundUpdate sanity check
d9bc4f7f05ptaeuberMerge branch 'master' into tearing
e6dec7cd72Martin SjölundFix MODELICAPATH/OMHOME confusion
f2b42a73fcptaeuberMerge branch 'master' into passSystem
0ddc0e0fb6Martin SjölundAdd bibtexparser dependency
eb988c469eMartin SjölundUpdate OMHOME paths for the new location
7e175de56dMartin SjölundAdd sphinx to the requirements
756db511c9Martin SjölundAdd 'UsersGuide/' from commit '292a85483b90f257280ac2c6f5a1f38ad74ccb19'
292a85483bMartin SjölundFix some references
b0489b2993Adeel Asghar#3354 - Allowing changing the shapes stacking order.
1f6c7351b6Adeel Asghar#3354 - Allowing changing the shapes stacking order.
7db7104f75ptaeuber- pass second tearing set to runtime
8b71ff9618ptaeuber- add new model to test dynamic tearing
16dff7dd3bMartin SjölundAdd OMPython to requirements
bffe982e51Per ÖstlundFixed naming of record constructors when using enumeration arrays.
7f69a46b73Martin SjölundFix pip requirements name
368f220f21Martin SjölundAdd pip requirements
58dc0b9e48Per Östlund- Updated EnumArrayMod1 test.
5e15ef518aMartin SjölundRemove Windows bat-file (need make to build images)
d19334e4f1Martin SjölundAdd images
f60760420cMartin SjölundMove files
9a2338833bMartin SjölundUpdate MDT images
0f3a1f9e23RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
10e080e240vwaurich- remove trailing whitespaces
3a00a4279bvwaurich- fix for var replacements
96c3492bb2vwaurich- extend var replacement to substitute partial function calls
810b701c54vwaurich- remove file that does not belong to this branch
c97550e752vwaurich- remove trailing whitespaces
9b7f32e780vwaurich- fix indexing of partial function evaluation
55f212251bvwaurich- fix function evaluation
eeeb68ede9vwaurich- remove some debug output in eval funcs
8da901279cvwaurich- even mroe fixes
abf4da5399vwaurich- more fixes for eval func epxs
35582b75fdvwaurich- some more stuff for eval function calls
c53f53cdebvwaurich- added evaluation of function calls in exp, replace ceval with this in removesimpleequations
386f480859vwaurich- update EngienV6 tests
788cb1eb8bAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMNotebook
7e6af05c00Adeel Asghar#3351 - Fixed the OMNotebook start up issue.
16a7b8a8fdRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a2f93d6f35Martin SjölundGenerate separate bibliographies
177a9519a3Martin SjölundAdd some targets for making a README
e145aa85f0hudsonMerge remote-tracking branch 'origin/master' into pullrequest
de1412c596Marcus Walther- fix for windows build
cbb42691a0marchartungBugFix level scheduler
7b43f2b660marchartungAdded new statistical profiling feature
a48c2f9e8cmarchartungAdded statistical support for profiling
f4112f439cmarchartungUpdating profiling cpp
47f02a3094RuedKamp-fixed whitespaces
876897cfd3RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
27e85a18a9RuedKamp-added some fixed concerning VxWorks
e2a8885bd2Martin SjölundIgnore OMNotebook.config
f7acdb9ab3Martin SjölundIgnore install-sh
004a350bdaMartin SjölundImprove sanity check by checking all commits
3ec9602ba6Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
f7f3c6652cMarcus Walther- fixed runtimeStaticLinking for C++ Runtime
e096b79745Martin SjölundSplit contributors into its own chapter
a773bf1bb1Martin SjölundMore reference updates
88fcdc83adMartin SjölundFix names of a few more images
b602cc0756Martin SjölundUpdate figures and references for OMNotebook
e9f842dfbbMartin SjölundUpdate images for OMNotebook
8ae31d6c38Martin SjölundFix images and references in OMEdit
6939edcbf4Martin SjölundSome figure/ref updates for OMEdit
907c900980Martin SjölundMDT updates
f8241b3266Martin SjölundMDT debugger update
7c89011046Martin SjölundHandle some modelica:// links as well
4b8b10c984Martin SjölundAdd noevalfunc
752d5e7382Martin SjölundEvaluate NORETCALL function as well
7417377b3bMartin SjölundFix getClassComment
cb404bc6b5Martin SjölundAutomatically generate API functions
e78a319f40Martin SjölundRemove references to OMVisualize
0c65e2d99cMartin SjölundAdd test for stringSplit
bf14425402Martin SjölundAdd stringSplit to the API functions
940803f8d7gossenUse Absyn path equality check function in SCode.hasExtendsOfExternalObject function
5423ecb439gossenAdd endResult to testExternalObject
8d8d325e72adrpo- the MSVC compiler does not like the structure to be constructed while returning from a function; fix function rat2Real
50340df485adrpo- the C language does not have bool and the MSVC crap compiler complains about it, change it to int
e6275f1879gossenAdd flattening test case for external object located in extended class
080582ddccgossenFix typo in InstUtil failtrace messages
8319e8c7d2Martin SjölundTrim trailing whitespace
0694730c4cMartin SjölundRemove generated files from version control
90699f2948gossenModify synchronous tests for new partition algorithm
db90b5d566Martin SjölundSquashed commit of the following:
9300fd4ba8vrugeskipped createStateSets for dummyDerivatives
8d92effe93Willi Braun - improve symbolic jacobian just by removing unionList
76227e3939Adeel Asghar#3352 - Allow creating new result file when doing re-simulation.
146601a798Adeel Asghar#3352 - Allow creating new result file when doing re-simulation.
131f0134fdgossenAdd rational number support in SimulationRuntime-C.
b3481638b7Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
2ac3e23e7cAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
5a8a16914bAdeel AsgharUse mono-space font for Output.
78c8141ea0Adeel AsgharUse mono-space font for Output.
32417fc462Marcus Walther- fixed msvc build
6e8220bc8bMarcus Walther-Added kinsol library to FMU
ebc9ca9923adrpo- return value from Logger::isEnabled
97f4aaf350vrugemakeEquationToResidualExp: added case for Wild
7dfa590eadMarcus Walther- added some gitignore-files for cpp-runtime - FMU includes the kinsol library now
7e2e9c58bfMarcus Walther- changed return type of evluate functions to void
b913ad9c60Marcus Walther- moved creation of build-folder from clean- to runtimeCPP-target
c04586ef15Marcus Walther- removed clean in makefile-target "runtimeCPP", to reduce the build time - removed RUNTIME_STATIC_LINKING from ModelicaConfig (Cpp-Runtime) - Modelica-import in busywaiting-barrier is now correct again
f760fd3fd5Marcus Walther- splitted evaluate-functions
8020ee945aMarcus Walther- fixed initialization
541a4430b5Marcus Walther- fixed fmu-logging
57f18a987eMarcus Walther- fixed linking issue with FMULogger
0232968b3aMarcus Walther- fix for Cpp-Runtime
fcaa46e5cbMarcus Walther- logging can now be switched on and off
8963da5732Marcus Walther- fixed FMU logger and getter- and setters
278ed061c6Marcus Walther- FMU cleanup (CPP-Runtime)
13c46982f9Marcus Walther- added a simple logger class to cpp-runtime - cleaned up FMU files
c0cb378c20Marcus Walther- removed the eclipse stuff because it is part of the superproject
933ebb37b2Marcus Walther- some fmu-cleanups for cpp runtime
71bd4c298dMarcus Walther- changed return type of evluate functions to void
f03a9557dfadrpo- split the CodegenFMU.tpl into several files
2b2d49903dptaeuberpass second tearing set to runtime
9efc6a7cb6ptaeuber- add new model to test dynamic tearing
f7600b21faMarcus Walther- moved creation of build-folder from clean- to runtimeCPP-target
82bcd946f1Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
c885abde30Marcus Walther- removed clean in makefile-target "runtimeCPP", to reduce the build time - removed RUNTIME_STATIC_LINKING from ModelicaConfig (Cpp-Runtime) - Modelica-import in busywaiting-barrier is now correct again
4a67f5c937vrugeupdate test
879a7e057evrugeadded test for loop2con
95d54df03bvrugechange flag +d=extendsDynOpt in loop2con=all added option for loop2con: none, all, lin, noLin
4344719b52vrugeadded flag: nonlinear loops --> nonlinear constraints
ba9c8f95d1alash325- formatting
c031a554e5alash325- formatting
ed6c94996bMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
47955e830aMarcus Walther- splitted evaluate-functions
8d8f136cc0Martin SjölundUpdate instructions
38edcd29fbalash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
151140b7a0alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
32b35ec266Marcus Walther- fixed initialization
f778574a8aMarcus Walther- fixed fmu-logging
b22e36e7bdRuedKamp-added missing files
6adadd7b19RuedKamp-added solver arkode
3c417a6e92Adeel Asghar#3346 Added the camel case for components name.
697cc622d6Adeel Asghar#3346 Added the camel case for components name.
38ee94f657Adeel AsgharUpdated common submodule.
4f0d25536bAdeel AsgharUpdated common submodule.
305ac7d526alash325- Do not use OpenModelica API to fetch interface points
76169ad95falash325- Do not use OpenModelica API to fetch interface points
77fe0f6124Adeel AsgharMoved co-simulation files to TLM directory.
dfaf7cd36cAdeel AsgharMoved co-simulation files to TLM directory.
78a27cd0ffAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
d5d7b9e095Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
f5ad46cdcaAdeel AsgharFetch interface data in a thread.
a8c6795eb4Adeel AsgharFetch interface data in a thread.
f54c86fb37Martin SjölundAdd a sanity check for OMCompiler
bc94b4659balash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
e4bab47969alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
4fe03779f9alash325- Read interface data from the xml file - show the metamodel file unsaved if and only if the file is modified
01fc36015balash325- Read interface data from the xml file - show the metamodel file unsaved if and only if the file is modified
3ef1192bf9Adeel Asghar- Updated common submodule.
0eb4e6054dAdeel Asghar- Updated common submodule.
a7399af886Adeel Asghar- Added GUI for fetch interface data.
336d21a92bAdeel Asghar- Added GUI for fetch interface data.
07d7d9aac0Marcus Walther- fixed linking issue with FMULogger
90b6c5d5davrugecosmetic change
538b90949dvrugegenerateCrefsExpLstFromExp: added case for der(x)
815abe8e7bAdeel Asghar- Find the alabaster theme path properly by using the recommended way suggested by alabaster https://pypi.python.org/pypi/alabaster.
c2017c2f1dMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
0a7c2fae91Marcus Walther- fix for Cpp-Runtime
6380bb6887Martin SjölundAPI updates
dd2aa10d21Martin SjölundLaTeX fixes
915857d34bMartin SjölundSome minor fixes
6ebad16a46vrugedisable optimization OptModules for dynopt where +simCodeTarget=XML
fd13d2c502Martin SjölundCleanup OMPython
19e6bfa4cdMartin SjölundUpdate ignores
33e7b0ef7bMartin SjölundModelica3D updates
c8e04dec81Martin SjölundAdd missing C headers and sources
40f4c66dcevrugeadded test for simplifyConstraints
e5f7de7c93vrugeupdate test after added postOptmodul simplifyConstraints
b3abd2b507vrugeadded postOptModule for dynamic optmization: simplifyConstraints - try to simplify nonlinear constraint in box constraints (expansion planned)
baac1ae9aeMartin SjölundGenerate a report for the profiler
df3bcafde0Martin SjölundMake alt text unique for profiling images
63ec7ef0f2Martin SjölundTypeset C and Python interoperability
334a4f805cMartin SjölundUpdate FMI chapter
4b64eae455Martin SjölundReplace a png with the equation
c2b4b82c19Adeel AsgharFetch interface data for TLM co-simulation.
1c72bdbe02Adeel AsgharFetch interface data for TLM co-simulation.
e0e967fa6cMartin SjölundAdd 2 more master theses (OMNotebook)
76e3d24cfcMartin SjölundAdd some references
e23a6d0b56Martin SjölundExplain that there are no differences in the results
1462eb5d64hudsonMerge remote-tracking branch 'origin/master' into pullrequest
af7caf2d74Martin SjölundAdd a reset directive for OMPython to prevent odd behaviour
8cc1cf792dLennart OchelSome changes to "remove simple equations" and related stuff * [fixed] propagation of variable attribute "unreplaceable" within the back end * [fixed] all variables that have unreplaceable=true will now get skipped by "removeSimpleEquations" * [improved] reimplemented function selfGeneratedVar that is used to figure out if a variable was generated internally (by the back end) * [prepared] After doing casualization no new alias variable will be introduced (substitutions will be still made) by the back end. This will be needed once the system get split up right after the casualization module into systems for initialization and simulation.
9a21804a4eLennart OchelUpdate expected output
ac4dc2e81eMarcus Walther- logging can now be switched on and off
6c67400e1fMarcus Walther- fixed FMU logger and getter- and setters
e481864a20Martin SjölundUpdate 2D-plotting
794c493d0eMartin SjölundMore figures in optimization chapter
780b277df7Martin SjölundDump Optimica cref's
b94ff2ea1aMartin SjölundSome improvements for optimization
44e0fbc511Martin SjölundRemove duplicate text
ce5a592f57Martin SjölundFix citations
41793d5d4dMarcus Walther- FMU cleanup (CPP-Runtime)
64ee465733Martin SjölundMinor fixes to the bibtex database
403265c491Marcus Walther- added a simple logger class to cpp-runtime - cleaned up FMU files
2dcc3bb169Martin SjölundUpdate warnings and errors
0eff9b976cMartin SjölundAdd system overview figure
d364952ee8Martin SjölundAdd parametric plot
d7ec619abfAdeel AsgharMake External model useful for meta modeling. Delete the OriginItem when the component is deleted.
0fa0c95b5dAdeel AsgharMake External model useful for meta modeling. Delete the OriginItem when the component is deleted.
a839e5b5e0Adeel AsgharAdded TLM co-simulation in the Libraries Browser context menu. Allow opening TLM co-simulation output window from TLM co-simulation setup.
fb6b73c014Adeel AsgharAdded TLM co-simulation in the Libraries Browser context menu. Allow opening TLM co-simulation output window from TLM co-simulation setup.
9083bcb5afMartin SjölundAdd option to do a gnuplot
be21653441Marcus Walther- removed the eclipse stuff because it is part of the superproject
bd824ec450Martin SjölundAdd support to filter to CSV
36f6156b98vrugeadded assert for pow(x,0.5) = sqrt(x)
ec3daec074Marcus Walther- some fmu-cleanups for cpp runtime
5b20ca63fdmarchartungUpdate HPCOM-IntelTBB (Task-Arena, Bug-Fix)
be4c5847c4Martin SjölundRemove some old files
2a626a44d1Martin SjölundRunning OMC to generate documentation
26ab95a951Martin SjölundFix indentation
c30b13bf9aMartin SjölundMore syntax highlighting
0bc5a0184eMartin SjölundAdd release notes
fc6b9cd20fMartin SjölundSplit some more chapters
22e66326f3Martin SjölundCompilation to pdf
fc11f769a2Martin SjölundAdd some missing files
9289a4bb5eMartin SjölundSplit the files slightly, update equations a bit in OMNotebook
0a8e313fcavrugeimproved TestExpressionSolve.mos
3d125bde68Martin SjölundAdd used images
bd5ab445beMarcus Walther- removed a whitespace
b38eaf292fMarcus Walther- moved serializer.cpp to the correct location
8d7d1f718dMarcus Walther- added serializer files again
06264302fbMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
25a4f71f3eMarcus Walther- fix for msvc build
7bd064597eAdeel Asghar- Moved some files to appropriate directories.
4b6d893c67Adeel Asghar- Moved some files to appropriate directories.
90d8170527Adeel Asghar- Show the status of simulation in the Archived simulations list.
5168639ad4Adeel Asghar- Show the status of simulation in the Archived simulations list.
d27ba89558Martin SjölundAdd a docx to rst test
79613997f1Per Östlund- Fixed typo.
db388688a0vrugedynOpt: using IndexReduction=dummyDerivatives
fea68cf9a6vrugecosmetic change
7778c46127vrugecosmetic change
89587729ddvrugecosmetic change
f32cefe261vrugecosmetic change
6d53562079vrugecosmetic change
44e54ebc0avrugecosmetic change
8de4ae3011Per Östlund- Fixed typo.
05448f7901Martin SjölundSome updates to a small sphinx project with a few tweaks
ed2e6d04fbMartin SjölundFix bibliography
26d7184d67Martin SjölundTry to add some sphinx project
5ac3367e3dMartin SjölundTesting
eb37127d1eAdeel Asghar- TLM plugin log file named has changed.
30a9c4cb2cAdeel Asghar- TLM plugin log file named has changed.
f1a5f1be6fMartin SjölundAdd a target for hudson to perform a sanity check
25e582bfffMartin SjölundUpdate reference results due to MSL 3.2.1 change
f141d14f09vrugedynOpt: using IndexReduction=dummyDerivatives
dd0e9a6f99vrugecosmetic change
2678ace106vrugecosmetic change
dfb35e8c94vrugecosmetic change
ed177d3b93vrugecosmetic change
0b4809c283vrugecosmetic change
3dcc1b410fvrugecosmetic change
3748371830vrugeupdate test
4db1c9a435Marcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
c5496789c2Marcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
5386ff0bdcMarcus WaltherMerge branch 'master' into masterMW
47155523faMarcus Walther- cmake should now select the correct libraries (either debug or release) for the c++-runtime - fixed fmu export for windows (c++-runtime) - changed default cmake_build_type to debug
61a29c2b52Marcus Walther- static libraries are now created with each build of the cpp-runtime - turn on static linking by using +d=runtimeStaticLinking of omc - cleanups and bug-fixes
450d0f7823Marcus Walther- fixed fmu export of cpp-runtime - cleaned up some static-linking stuff - fixed a segfault with the newly added profiling-points
5ec662ed7fMarcus Walther- added new profiling points to c++ runtime - improved compile performance
2ad8c899fcMarcus Walther- some simple improvements for HPCOM
c537d6e761Marcus Walther- cmake should now select the correct libraries (either debug or release) for the c++-runtime - fixed fmu export for windows (c++-runtime) - changed default cmake_build_type to debug
c1e4ea9b1avrugeupdate test
2512d4a4daAdeel Asghar- Another stupid typo.
a6ded24a22Adeel Asghar- Another stupid typo.
1fa319b5e7Adeel Asghar- Fixed stupid typo.
149bf80d3aAdeel Asghar- Fixed stupid typo.
dbce3475bfMarcus Walther- removed whitespaces
f3cd8338cbMarcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
f5ac5cf2a4Marcus Walther- static libraries are now created with each build of the cpp-runtime - turn on static linking by using +d=runtimeStaticLinking of omc - cleanups and bug-fixes
757ad0519bMarcus Walther- fixed fmu export of cpp-runtime - cleaned up some static-linking stuff - fixed a segfault with the newly added profiling-points
4dba01a2baMarcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
04f6fcaa09Marcus WaltherMerge branch 'master' into masterMW
c7db96163dMarcus Walther- some simple improvements for HPCOM
c8a2562092leonardoAdds serialization of MMC values
272e2c6adbMarcus Walther- static libraries are now created with each build of the cpp-runtime - turn on static linking by using +d=runtimeStaticLinking of omc - cleanups and bug-fixes
8165162b64Martin SjölundIncrease the timeout
e3c2d0a9e0Marcus Walther- fixed fmu export of cpp-runtime - cleaned up some static-linking stuff - fixed a segfault with the newly added profiling-points
673e210570Marcus Walther- changed BouncingBall number of threads to one
5e3b097ec1Marcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
c485867fa8Adeel Asghar- No hover events in Component so no need to enable hover tracking. - Minor formatting & documentation in ModelWidgetContainer.cpp.
a82dea5977Adeel Asghar- No hover events in Component so no need to enable hover tracking. - Minor formatting & documentation in ModelWidgetContainer.cpp.
b407268283Marcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
a8a58f801dMarcus WaltherMerge branch 'master' into masterMW
d11bd4bf54Marcus Walther- some simple improvements for HPCOM
5824e7bf4bMartin SjölundDisable BouncingBall_mcp_omp.mos
1ab4b1ac1dMarcus WaltherMerge branch 'master' into masterMW
e313ab681aAdeel Asghar- Check for existing LibraryTreeNode and display error if already exists.
7f6cbd5694Adeel Asghar- Check for existing LibraryTreeNode and display error if already exists.
5b680aefcdMarcus Walther- added new profiling points to c++ runtime - improved compile performance
7f603ec4ccLennart OchelRemove duplicated interface declaration
7dccb34f5cMartin SjölundMerge remote-tracking branch 'origin/maxDer'
26abf7f516Marcus Walther- some simple improvements for HPCOM
9ae7723b54Per Östlund- Added test case for #3337.
b406a81e82Per ÖstlundFix for #3337: - Lift type modifiers to the dimensions of the component.
9b0b4387c1vwaurich- fix for highestDerivativeAdd a README
201cc12883Marcus WaltherMerge pull request #1 from OpenModelica/master
b7387b3b35Martin SjölundAdd a README
09168902cfMartin SjölundMerge pull request #9 from vruge/disableDynStateSelectionInDynOpt2
c57605b393Martin SjölundMerge pull request #13 from vruge/disableDynStateSelectionInDynOpt3
99f5ac6567vrugefixed: disable dynamic state selction
ca05ec17d3Martin SjölundMerge pull request #12 from vruge/disableDynStateSelectionInDynOpt2
e278710906Adeel Asghar- Allow loading external models for TLM meta-modeling.
2686fdbbbaAdeel Asghar- Allow loading external models for TLM meta-modeling.
b3ffc67c2fAdeel Asghar- Use the preserve aspect ratio and initial scale of the component instead of the layer.
8f8cfe0609Adeel Asghar- Use the preserve aspect ratio and initial scale of the component instead of the layer.
dd51fdd783Adeel Asghar- Make the text readable when component has flipping/rotation.
a7c1e7733eAdeel Asghar- Make the text readable when component has flipping/rotation.
1eb6ca8076Marcus Walther- removed some debug output
d1c4841758vrugedynOpt: addeed case for disable dynamic sate selection
199d2aac1cMarcus Walther- some cleanups in HpcOmMemory - empty-scheduler contains an equation-list now - c++-simulation runtime can now calculate the dae-system in parallel
2ff7145af2vrugeupdate test
28ad2449b0vrugeMerge branch 'disableDynStateSelectionInDynOpt'
3828ff11c3vruge- attempt disable dynamic state selction in dyn. optmization - cosmetic changes in IndexReduction.mo - using for loop construct - scale heutistic in IndexReduction for StateSelection
5992e4a1c4Per Östlund- Fixed encoding of HpcOmScheduler.mo and SimCodeUtil.mo.
b8bb7135cbvwaurich- fix testsuite for now, still have to handle underdetermined systems with derivation loops
c798dca345Per Östlund- Added test case for array expansion of outer parameters.
b98a5ebfe9Per Östlund- Don't treat outer parameters without binding as a special case in Static.elabCref2, to enable vectorization.
df2d272456vwaurich- added information about highest derivative to SimCode.ModelInfo
19efba22f5Martin SjölundMerge pull request #7 from sjoelund/master
dd06f18195Martin SjölundBase everything on @perost commit before vwaurich merge
0a1de37821Martin SjölundMerge pull request #6 from sjoelund/master
89982147f3Niklas Worschechfix for typo
124e8b80acMartin SjölundManually force away some commits
9ca7f93881Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
13d2ab883aMartin SjölundMerge master into branch without b13b350
d32301f99bNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
7357a72093Lennart OchelReplace recursions with loops
94cddf13d8Lennart OchelReplace recursions with loops
89e8201829Per Östlund- Changed recursive instantiation of enumeration arrays to a loop, to avoid issues with type checking.
29b89aceb5vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
8739469937Per Östlund- Fix expansion of enumeration dimensions on bindings when using inner/outer. - Renamed Types.isArray to Types.isNonscalarArray and implemented a new Types.isArray that actually checks if a type is an array.
9991681240vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8) (reverted from commit af3393f641463c913c4c74512d04e941de8abf9d)
ca6d73778avwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
8f4cc512a8Lennart OchelAdd workaround to RemoveSimpleEquations to sort out known vars from alias vars (#3323)
ad3d7cdb20Martin SjölundRemove usertab.c as expected
996bcc1604Martin SjölundRemove usertab.c from cppruntime as it should never be compiled
045b50a999Martin SjölundFixes #3332, ParModelica install paths
a4a032a62eNiklas Worschechreplaced for loop with std::transform in SimVars.initRealAliasArray
c786ac7865Niklas Worschechfix for ModelicaExternalC usertab linker error in cpp runtime
482de6d280Martin SjölundFix 8a7b5a0 by updating to the latest submodules
2af70e228cadrpo- fix testsuite on windows, checking if first char is '/' is obviously not Windows friendly
f8df9d6e7aNiklas Worschechfix for typo in SimController comment
58985dcf02Niklas Worschechfix for debug msvc cpp runtime build
58f885701eNiklas Worschechchanged msvc build type for cpp runtime to release
81b98e355eAdeel Asghar- git describe instead of git rev-parse for getVersion()
6cf73dc424Niklas Worschechadded doxygen call to generate documentation for cpp runtime in main CMakefile it can be generated with BUILD_DOCUMENTATION=true. the documentation is build in SimulationRuntime\cpp\Build\Doc
80fd8be078Niklas Worschechadded doxygen config file for cpp runtime, add doxygen group comments in cpp runtime source files
837ddfba3cLennart OchelReplace recursions with loops
fac1d4ea73vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
185e25ff21vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8) (reverted from commit af3393f641463c913c4c74512d04e941de8abf9d)
af3393f641vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
b13b350383vwaurichMerge remote-tracking branch 'origin/master'
a9d51ea039Per Östlund- Added test case for enumeration array modifier.
e95da2bb8dPer Östlund- Changed recursive instantiation of enumeration arrays to a loop, to avoid issues with type checking.
e8a1675d8cAdeel Asghar- Visualize the Component origin with cross.
f77f376cffAdeel Asghar- Visualize the Component origin with cross.
1a5bab448cPer Östlund- Added test case for inner/outer enumeration dimensions when using bindings.
aec10af19bPer Östlund- Fix expansion of enumeration dimensions on bindings when using inner/outer. - Renamed Types.isArray to Types.isNonscalarArray and implemented a new Types.isArray that actually checks if a type is an array.
72a94bbfeaLennart OchelAdd test case for #3323
0bc3a73e2cLennart OchelUpdate expected output
cc6a016f19Lennart OchelAdd workaround to RemoveSimpleEquations to sort out known vars from alias vars (#3323)
fd2efe96caMartin SjölundRemove usertab.c as expected
a63f61bd41Martin SjölundRemove usertab.c from cppruntime as it should never be compiled
81f8a837b3Martin SjölundMake build dirs
dff6c83120Martin SjölundFixes #3332, ParModelica install paths
04badcea13Niklas Worschechreplaced for loop with std::transform in SimVars.initRealAliasArray
5c9479acfaNiklas Worschechfix for ModelicaExternalC usertab linker error in cpp runtime
c112818594ptaeuberPass casual tearing set to SimCode
6584fe1056vwaurichMerge remote-tracking branch 'origin/master'
eb6f8146f8Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6f309c9710Niklas Worschechfix for typo in SimController comment
d0aef2541dadrpo- commented out debug line
0c3dcc8551Martin SjölundOnly set CXX to g++ if CXX is clang++
9f6854b467Martin SjölundFix 8a7b5a0 by updating to the latest submodules
0e1eab34eaadrpo- fix testsuite on windows, checking if first char is '/' is obviously not Windows friendly
76f2202f97vwaurichMerge remote-tracking branch 'origin/master'
b110e2f9fevwaurich- added information about highest derivative of complete model to modelinfo
8a7b5a0d29Niklas Worschechfix for debug msvc cpp runtime build
1b90621711Niklas Worschechchanged msvc build type for cpp runtime to release
dbe14945acNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c1dcb6563aNiklas Worschechadded doxygen call to generate documentation for cpp runtime in main CMakefile it can be generated with BUILD_DOCUMENTATION=true. the documentation is build in SimulationRuntime\cpp\Build\Doc
6b77a33bb1Martin SjölundMerge pull request #11 from vruge/dynOptUpdate
42ff48fcacvrugeMerge remote-tracking branch 'origin/master' into dynOptUpdate
1583aba683Martin SjölundMerge pull request #10 from vruge/dynOptUpdate
2860aa4314vrugeremove some messages, which are not intresting
537d965fd4Adeel Asghar- git describe instead of git rev-parse for getVersion()
7ac9271f76vrugeimproved test TFC5
53c1cf744cvrugeimproved test LRB2
c91dbbb98evrugeimproved test LRB
9eeccf4322vrugeimproved test DM
ed947eff2aNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
cf3a3f6fc9Niklas Worschechadded doxygen config file for cpp runtime, add doxygen group comments in cpp runtime source files
1bda3b0d74vwaurich- fix for visualization xml
ded2952742Martin SjölundSkip LOG_IPOPT_ERROR as the numbers are not interesting
44a312bd6fMartin SjölundPrint less output to pass the testsuite
5608b79b97Martin SjölundUpdate README.Linux.md
841c42bc44Martin SjölundUpdate README.Linux.md
a87083051aMartin SjölundChange the Linux readme to markdown
3ede179acbMartin SjölundPass CFLAGS/CXXFLAGS to ipopt
f2f0f3925avwaurich- visualization xml stores equations for protected, time-dependent variables
5b2cd4c58aMartin SjölundNormalize line endings, remove generated file
2c1535d6c1Lennart OchelUpdate expected output
576a904ab7Lennart OchelMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
76801feaf0Lennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e0381a2e35vwaurich- added BackendDAE.FOR_EQUATION related to vectorization
d798361669Lennart OchelMerge branch 'qss'
72f9143d87Lennart OchelMerge branch 'qss'
7d0e893664Martin SjölundUpdate runtests.pl exit codes
00c80dcd01Martin SjölundAlways copy the required config.guess, etc
e4416eaae9Martin SjölundFix cppruntime tests
2e0e4dd1d5Martin SjölundAdd the canonical host_short to omhome
bb4056bdf4Martin SjölundRemove Modelica3D from OMCompiler (moved to OMLibraries)
3e5635a2b2Martin SjölundUse g++ for boost threads
060a0ac627Martin SjölundUse the configured CXX in cppruntime
38d0c59d2dMartin SjölundUse C++11 by default
8700c259c9Martin SjölundAdd c++11 macro
a4b524524eLennart OchelUpdate expected output - remove warnings (see #3325)
efc65e1942Lennart OchelUpdate test for system that do not depend on any state
7201a95cb0Lennart OchelMerge branch 'master' into qss
bf6ce68997Lennart OchelFix generation of sparse pattern for systems with just one state
2c578ecf36Lennart OchelMerge branch 'master' into qss
60c93f57dcLennart OchelMerge pull request #4 from ptaeuber/tearing2
77066968bfptaeuberfix SimCodeUtil.mo after merging
6db7559034ptaeuberMerge branch 'master' into tearing2
3f57560dabMarcus Walther- sundials 2.4.0 has support for colored jacobian, so I've changed the ifdef
b3dabebbe6adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0fa54ddeafadrpo- try to improve on #3318 by giving memory back as much as possible to the OS on Windows
230db15a58Adeel Asghar#3123 - Fixed the Component flipping issues.
5dfb4ea46aAdeel Asghar#3123 - Fixed the Component flipping issues.
028b425b0cAdrian PopMerge pull request #9 from vruge/master
b97fedb30eMarcus Walther- fixed the ordering of the array elements in RefArray class - added a counter for the number of ODE-evaluations to CVode - included version check for Sundials, colored jacobians are now enabled if the version is new enough - some typo fixes
5bc2cb9d85vrugedy. optimization: update test
36a39f62e2vrugedyn. optmization: update test
e2a22243eavrugedyn. optmization: attempt to fix CombiTimeTable with Periodic
fbbbebfbefvrugeupdate test
b07755b09aMartin SjölundExpected output
42c07892abMartin SjölundDisable debugging
defa77ce50Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
7abb7cca4bLennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d01c9049e9Lennart OchelRemove unused code - there is no $dummy state anymore
0009dfa139Martin SjölundUse the new paths for the model testing scripts
8b2edc75f5Lennart OchelDon't add a dummy state to generate symbolic Jacobians
5c9cc5de39Martin SjölundDo not add the inst tests
dcf2a053d2mflehmig- Added for-loops to dumpEqs.
57e65788ebmflehmig- Codegen for vectorization using for loops.
3b55904103mflehmig- Cleaned up vectorization. - Fixed upper bound for vectorization.
8171bdfecdMartin SjölundAdd missing SiemensPower test
36b2fae6eaMartin SjölundAdd SiemensPower reference file
4ade77936cMartin SjölundUpdate SiemensPower tests to use the packaged library
1d28717674Martin SjölundUse SiemensPower from the libraries
e145287ec0Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6f15357c6eMartin SjölundAdd the small reference graphs used and compared
268a0405d3Martin SjölundUse same stopTime as reference file
27df1e58e9adrpo- fix windows compilation
ccfba05297Lennart OchelUpdate .gitignore file
6d49a94d6fMartin SjölundMerge outputs 2 and 3 of diffSimulationResults
6a8642c01eMartin SjölunddiffSimulationResults changed back to two outputs
77b04d0230Martin SjölundAdd MSL 3.1 version of reference files
e90e180ceeMartin SjölundUpdate C++ tests using the ModelTesting scripts
ab8f95a54cMartin SjölundBump 3rdParty
2bf2c4e2c8Martin SjölundQuote directory names
0d42956ed0Martin SjölundFix extrapolation error - Use the stopTime for the last point to avoid rounding errors - Add better error-messages if getting the value of a variable fails
73d0a3c992Martin SjölundAdd reference file for 4-bit adder
98e9206e39Martin SjölundAllocate the correct size
5f9e4651a6Martin SjölundAdd reference for ChuaCircuit (2500 intervals)
f9fa9461e7Martin SjölundFixes for SMEE_Rectifier - Use the original reference file, filtered for the expected variables as well as as reduced number of intervals (=1500) - Add support for diffSimulationResults in ModelTesting.mos - Use diffSimulationResults for SMEE_Rectifier - Change SMEE_Rectifier to verified results
eaf99f9ed1Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d52ab4e30bMartin SjölundMake pre-commit hook work with submodules
c5ab20cbddMartin SjölundMerge pull request #8 from lochel/jacobian-warning
ff0fc923d0Martin SjölundExpected output
487b497182Lennart OchelUpdate expected output
ba5b824d94Martin SjölundSimulation results fixes - Add failed variables as output from diffSimulationResults - Add numberOfIntervals flag to filterSimulationResults
6c14d24639Martin SjölundCreate GC_asprintf function
a332da61abNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e1788d44deNiklas Worschechremoved special case for static factory policies
a6b4656e04Lennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b0b4602e69Lennart OchelRemove workaround for dummy state in dassl solver since there is no dummy state for algebraic systems anymore.
710c86d07aMartin SjölundAdd -nodelete option to rtest, for debugging
8064091bd5Martin SjölundUse the MSL 3.1 reference for CharacteristicThyristors
23a54a4225vwaurich- removed some debug dumps in vectorization
0295dd0683vwaurich- some fixes for vectorization
ea135be250vwaurich- extended vectorization (reverted from commit 4e506d6574516164ddaf3ee1eee666e5b4c31857)
bb28025cc3vwaurichMerge remote-tracking branch 'origin/master'
4e506d6574vwaurich- extended vectorization
20a5a0cc9aMarcus Walther- fixed GCC compiler warnings for invalid-pch define and force_inline
c895e990c4vwaurich- fixed appended subscripts for vectorization
8bb9617df2Lennart OchelUpdate expected output
ffa7dad6baLennart OchelAdd test case for ode system that depends on time (and not on states)
c5fb326852Lennart OchelRemove workaround for algebraic systems
6c53415a11Lennart OchelAdd new post-opt module "addTimeAsState" This module introduces $time as state variable (+addTimeAsState).
348b22c3faMarcus Walther- removed the boost shared pointers in the sim var class, because the reference is never passed to the outside - alignment for the sim var arrays is now working correctly
6303044af6Marcus Walther- a lot of typo fixes in CodegenCpp.tpl and CodegenCppHpcom.tpl - removed some unused functions in CodegenCpp.tpl to shrink the size of the file a litte bit - splitted cpp code generation for the initialization of constant values (e.g. string parameter) - improved memory optimization of hpcom - added var to index mapping to the simCode-structure - enums can now be handled in var to array index mapping
97f744c604adrpo- update 3rdParty and .gitignore
a97a2ebd4fLennart OchelUpdate expected output
0bed96358dLennart OchelMinor changes to qss solver - Add warning for the case that all derivatives become zero - Clean-up, formatting, ...
d8cca3fb02mflehmigMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ee02481b33mflehmigChanges towards vectorization
638f287d17mflehmigChanges towards vectorization.
60dd426dceLennart OchelMerge branch 'master' into qss
454c9c45ccadrpo- support -emit_protected for CPP runtime
ec0bb5e2eavrugesymEuler: fixed values for der(x)
ed7da3e898vrugefixed symEuler
7e98375202Martin SjölundExpected output
bae5316c68adrpo- proper include
969cb9c8c4adrpo- more fixes for MSVC compilation
dadc3dc390adrpo- fix MSVC compilation of C runtime
adf53f3a42adrpo- update 3rdParty in OMCompiler
3a9c67069cMartin SjölundAdd absolute path to compiler sources
945b16da01Per Östlund- Fix previous commit, due to constants with wrong type getting eating.
3f8412c0a5Martin SjölundFix compilation of OMShell and mosh
ed483a28dbPer Östlund- Removed unused delayed type checking to simplify SCode.Mod.
b87dfa0849Adeel Asghar- Missing file from last commit.
475d005a5cvrugeextends dyn. optmization: update var direction
cbd3561e07Adeel Asghar- Added common submodule. - Install pre-commit hook. - Added .gitattributes.
c247847197Adeel Asghar- LF as eol. - Install pre-commit hook.
6ca92683a2Martin SjölundUpdate expected results
7f4a2353abMartin SjölundAdd AIMC_withLosses reference file
56f577dec5vrugerelax the rules for reduce and extends dyn. optimization flags
0505769f7bAdeel Asghar- Added .gitattributes. - Install pre-commit hook.
092e7d8201Adeel Asghar- Use LF as eol to keep things uniform.
289644df3aAdeel Asghar- Use LF as eol to keep things uniform.
6913c02b44vrugesymEler: improved generation of helper-var DT
4c1eca3221Martin SjölundUse the model testing script
0bb8a1f250Martin SjölundModel testing script now works better in non-standard directories
d4d323b0d4Adeel Asghar- try whitespace.
4f171b49aaAdeel Asghar- Properly install pre-commit hook for OMEdit.
ec62513e65Adeel Asghar- Make pre-commit work on Windows.
af3435e49fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
74189fa7d3Niklas Worschechremoved special includes for static cpp runtime build
fca40b3cc5Martin SjölundUpdate paths to reference files
9e6d93d424vrugeExpressionSolve: added additional for symEuler(dt == 0)
e5d820d269Martin SjölundUpdate the model testing script to handle MSL 3.1 - Changed some MSL 3.1 simulation tests to use the model testing script
29cd04e2bfMartin SjölundBuild cppruntime into OMBUILDDIR
3ffa3287e4Martin SjölundAdd the HumMod tests
4f787ab67eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3a51e346a4adrpo- add Compiler/OpenModelicaSetup to .gitignore
550f780c3aadrpo- fix library coverage script, have emit_protected defined on all branches, otherwise you get an error when running system
8c0132ba23Martin SjölundFix OMC path for --without-omc
47bae7abd7Martin SjölundHandle filtering negative aliases
d52e6f7cdaMartin SjölundUpdate reference files for hpcom - Re-added files unique for hpcom - Other tests use MSL 3.2.1 reference files
c5ab021ff8Martin SjölundUpdate ThermoPower tests
2f9ab57184Martin SjölundExpected output
6a9078e98eMartin SjölundFix Java tests
ff139a309aMarcus Walther- added a new array-class to c++ runtime (StatRefArray), that can be used to handle sub-arrays of the SimVar-Array - if the array-variables are consecutive, the c++ runtime now generates a StatRefArray - first code snippets for vectorized for-loops added to c++ codegeneration (not working at the moment, because we don't know at which point the iterator-variable is located in the body-expressions)
c160230deaNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
93754c4fe2Niklas Worschechseparated defines and includes in Modelica.h
213ce20f18Martin SjölundUpdate submodules
2bc7193c72Martin SjölundFix OMNotebook compilation
f417640ad9Adeel Asghar- Install the pre-commit hook.
13e820f24fLennart OchelUpdate debug dumps - Replaced large models with dummy models - Restore filtered out tests - Update expected output - Deactivate tests that dump time stamps
b09aaee0f0Martin SjölundAdd filtered reference files for resolveLoops
20f29ce04dMartin SjölundRemove test identical to the MSL test
19beba6c87Martin SjölundRemove unused test ComparisonQuasiStationary2
7653919304Martin SjölundDo not instantiate PlanarMechanics
de41cdb56cMartin SjölundFix off-by-4 error
bc2c1844d7Marcus Walther- updated hpcom tests
08c1d7ead9Marcus Walther- some fixes for hpcom-memory-mapping - isVarIndexListConsecutive-function added to SimCodeUtil - we are now able to check if all elements of an array are stored consecutive
d2765ee71aMarcus Walther- CodegenCpp.MemberVariableInitialize and CodegenCpp.MemberVariableDefine have now a similar interface - scalar variables are now added as #define in C++ code - some cleanups in CodegenCppHpcom.tpl - changed SimVars array getter to non constant return value
0f658eea12Marcus Walther- some bug fixes for hpcom memory - moved some code from hpcom-cpp-template to cpp-template - variable initialization is now seperated into multiple functions
723695e70eMartin SjölundHandle mixed OMC and Dymola names better
bcf0670779Marcus WaltherMerge pull request #1 from OpenModelica/master
7023616eb1Martin SjölundFix a rollback bug
77acafc051Martin SjölundUpdate submodules
e4460295edadrpo- attempt to partially fix #3313 and the library coverage hangs
a09817b40bvrugereduce symEuler-system
6b8dc8e078vrugeMerge remote-tracking branch 'upmaster/master' into symEuler2
5fc88b51dfvrugeimproved symEuler
009ab2dbffMartin SjölundShow the Java test command
10cae8b19bAdeel Asghar#3295 - Added close window, close all window & close all windows but this options in the View->Windows->
ecc9596c28Adeel Asghar- case sensitivity.
4ee2c6cdc2vwaurich- some more infos about arraycrefs in dumpSimCode
8d64f4bf3bvrugeimproved symEuler
7c55968de6vrugeimproved symEuler
db89c1f326vrugeimproved symEuler
6fb6271d2fvrugeimproved symEuler
57c9092901vwaurich- some more fixes for vectorization
ce23826cb8vrugeimproved symEuler
8ad90c5288vrugeimproved symEuler
1ff5d9a01avwaurich- get cref as ident for the visualizationxml objects instead of string
074dd84439vwaurichadded BackendVarTransform.replaceEquationAttributes
3ad6e72d05Martin SjölundChange default path to reference files
66346e3015Martin SjölundUpdate gitignore
15c798a599Martin SjölundImprove the mat4 reader to also lookup Dymola-style names
1cc7d081d7Martin SjölundAdd PlanarMechanics minimal reference files
33ed58aaebMartin SjölundAdditional example for filtering reference files
ca59402d85Lennart OchelUpdate qss test suite
19e5804a6eLennart OchelMerge branch 'master' into lochel/qss
d254dbf4b5Martin SjölundFix detection of version in submodules
cb69a5af4dMartin SjölundFix testing of the Java interface
cbc725d06aMartin SjölundImprove the filtering of results files
805d90b226Martin SjölundMerge pull request #5 from mflehmig/master
06ed6bf71aMarcus Walther- using the var-index mapping of the cpp runtime for hpcom memory optimization - removed debug output - fixed a mapping bug in cpp code generation - updated the git ignore file
7e14015da9Martin SjölundAdd ThermoSysPro reference files
7f652c3d7fmflehmig- Added 'ReferenceFiles' to clean rule in Makefiles where needed.
b4129e37a7Martin SjölundMerge pull request #4 from mflehmig/master
d4080259f8mflehmig- fixed typo.
b83df49b5cLennart OchelHandle systems that are in steady state
ff2cc7c53aLennart OchelMerge remote-tracking branch 'origin/master' into lochel/qss
49f391fa17Martin SjölundCompile latex pdf
03aa6b99cbMartin SjölundAdd 'listings-modelica/' from commit 'fc5a2466d2c760e0d75d13ee3fd8ceb550cfabd1'
336070204fvrugerename: ocp_init.tex -> dyOptInitialGuess.tex
3cf1adf715vrugeadded LaTeX-src for intial guess
5f0cfbfe2aMartin SjölundAdd reference files for solver tests
fa70703afaMarcus Walther- update reference commit
c91e3219f8Lennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c52b5f340aAdeel AsgharUpdate 3rdParty.
673eaa12beLennart OchelHighlight workaround for "symEuler"
5f32b3ae6aMartin SjölundWe do not use the env.var OPENMODELICAHOME
6f8d233d83Martin SjölundUpdate common
eb10ccb412Adeel AsgharMore README updates. Removed README.txt
bd8f9a3cf6Adeel AsgharMore README updates. Removed README.txt
172c00e4d5Adeel AsgharRemoved README.txt
22be200b52Adeel AsgharMore README updates. Removed README.txt
2194ce5557Adeel AsgharCopy DrModelica & DrControl. Updated README.
a0f60b2170Martin SjölundAdd OMNotebookHelp from svn
ea5107f512Adeel AsgharUpdated README
1799708f20Martin SjölundAdd 'DrModelica/' from commit '4aebc12187da9e57445cec7f37d41bd99709bf47'
75965dc6e7Martin SjölundAdd 'DrControl/' from commit '0e380635c4adddf94372cf0ecccf153d304d237e'
2c744c24c7Adeel AsgharUpdated README
9a3c47e85dAdeel AsgharFixed OMNotebook Windows compilation.
e2edb497dfMartin SjölundMerge pull request #3 from vruge/master
b96b563041Martin SjölundMerge pull request #3 from vruge/master
30b173d3fbAdeel AsgharOMShell Windows compilaiton.
9bc4e2e999Vitalij Rugefixed symEuler
96ed92df1fVitalij Rugefixed symEuler
da8398b086Adeel AsgharFixed OMEdit & qjson compilation for Windows.
a5e05b311cAdeel AsgharCopy OMPlot header files.
506ac549faMartin SjölundFix install paths
baef0588e8Martin SjölundPrint the whole path always
a050f2c3dfAdeel AsgharRemoved unused stuff.
d6cbc6179dAdeel Asgharomc/qwt include is moved to omplot/qwt
4cd2000edfAdeel AsgharFixed OMPlot & qwt compilation for Windows.
505d30a626adrpo- properly clean 3rdParty/ModelicaExternalC
f9cb094f90Per Östlund- Remove dead code to get rid of compilation warning.
b1c294da01adrpo- fix compilation of Compiler/Template/CodegenCpp.tpl
c6c4757849Martin SjölundAdd missing file to convert .mat.xz to .mat
2a29996462Martin SjölundReference file updates
dcdf6143d9Lennart OchelDefine HashTableCrIListArray.HashTable in SimCodeTV.mo
96caac0cb0adrpo- more propagation of OMBUILDDIR
14e08b2e49Lennart OchelMerge branch 'master' into qss
77d2e58848Martin SjölundCompile omc-diff with optimization flags
b55e4eee11Adeel Asghar- More fixes for windows compilation.
b8f8ff5da7ptaeuber- prepared SimCode for dynamic tearing - still not able to build omc because of unspecified error
95a869dfebMartin SjölundCompile OMPlot from clean
cf1ac0d3a6Martin SjölundFix configure from clean
0997d2ec1dMartin SjölundAdd searching for libqwt
3d07c1eeb7Martin SjölundAdd gitignore
51478233ddMartin SjölundCopy more files to the build directory
7d696cd749Martin SjölundInclude the scripting API files in build
9296fcf69cMartin SjölundFix compilation from the super project
687e1d940fMartin SjölundNicer omhome messages
aedf3f4ff2Martin SjölundCopy includes to omplot
68fb39e4d0Martin SjölundMake git describe always work
4e57ea427badrpo- use $OMBUILDDIR properly in Windows build
8960bd8dfeadrpo- fix Windows build to use $OMBUILDDIR
ecfaaf73afAdeel AsgharFixed compilation.
70377b4884Martin SjölundFix OMC bootstrapping path
89b699ec55Martin SjölundFix some warnings in logs, skip re-compiling if target already exists
907803b45bPer ÖstlundMerge branch 'master' of ssh://github.com:22/OpenModelica/OMCompiler
a27a9ed3b0Per Östlund- Ignore vim buffer files.
6c148e7973Adeel AsgharOMBUILDDIR absolute path and git HEAD
a4b3fc3f66Martin SjölundUpdate configuration
1d955ae09eMartin SjölundSkip looking for omc build artifacts if we are compiling omc at the same time
a6085583eaAdeel Asgharset OMBUILDDIR in root makefile
07583cf28fMartin SjölundUse the configurable build directory Also fix using the correct CXX in qwt
c422bf07dfMartin SjölundFix compilation using different build directory
521fee19e3Lennart OchelUpdate .gitignore file
bc25068039Martin SjölundUpdate gitignore
aecbc157edMartin SjölundAllow configuration of build directory
9870b17391Marcus WaltherMerge remote-tracking branch 'originMW/master'
d5f6a985b1Marcus Walther- some changes on hpcom memory optimization - added more files to gitignore
5b594bb7eeMarcus Walther- some changes on hpcom memory optimization - added more files to gitignore
5b92c2a9bdLennart OchelMerge branch 'master' into qss
56ab447319Martin SjölundAdd gitattributes
8806a1661dPer Östlund- Ignore input/output when counting connector variables.
d41c2b184eMartin SjölundShare build dirs between projects
cdb6054594Martin SjölundMerge pull request #2 from vruge/master
6720111947Vitalij Rugesimplify test, which test no converge
dad53816deMartin SjölundMerge pull request #2 from MarcusWalther/master
4e29a0caabMarcus Walther- external tool builder for eclipse added
cce4cff385Lennart OchelMerge branch 'master' into qss
873ece23f2Martin SjölundMerge pull request #1 from OpenModelica/lochel-gitignore
2036f9f48dLennart OchelAdd some first tests for qss solver
a4f2a4a28aLennart OchelUpdate .gitignore
6b95dbaab3Lennart OchelInitial commit for elementary qss solver
0b11f8d1fbLennart OchelAdd .gitignore file
ae6d4acb1bRüdiger Frankeupdate -cppruntime tests
d79e9ec0f4Martin SjölundAdd support for new API: filterSimulationResults
23686e66ceadrpo- put back the Windows Makefiles (Makefile.omdev.mingw) - fix windows build of the OMCompiler
77feb896e6Martin SjölundFix paths in bootstrapping tests
4114344242Martin SjölundFix compilation of cppruntime
162277d855Martin SjölundMoved the MSL 3.2.x reference files to the root
9e0ccd5a99Martin SjölundPath to compiler sources changed
fd4bd2d154Martin SjölundDocument removed directories
fc27f01df6Martin SjölundCompile UMFPACK as a shared library
bed6717626Martin SjölundAdd bootstrapping tarball
33c62391a1Martin SjölundIpopt include path
f34600b066Martin SjölundFix ipopt clang compilation
aa74a256caMartin SjölundUse git describe for version
d256b6c67aMartin SjölundFix lis compilation from clean
193371b997Martin SjölundAdd mkbuilddirs
9689db132eMartin SjölundAdd mkbuilddirs
a997190003Martin SjölundFix make clean
f8fba98ebeMartin SjölundRemove qtclients references
623a4772f7Martin SjölundCompilation --without-UMFPACK is now working
b190c2b866Martin SjölundThe OpenModelica testsuite Based on: https://openmodelica.org/svn/OpenModelica/trunk/testsuite/@25901 Removed most files >1MB in size
ae1c524461Martin SjölundGetting a little further, failing at metis now
35e46050f2Martin SjölundAdd Cminpack including OMC patches
d042ebb697Martin SjölundAdd some of the 3rdParty modules
3e1de4b058Martin SjölundAdd a submodule for 3rdParty sources
778d3b394erfrankesupport for loops over Real ranges
a3052d49dasjoelund.seAlso include antlr3config.h
6d4f0161faMartin SjölundWhitespace
292091e17eMartin SjölundUpdate to new OMPlot paths
e9ad6358c0Martin SjölundFix compilation using the new repository
d6652d48b2Martin SjölundUpdate configure
9a08f0d8b8Martin SjölundAdd pre-commit hooks
d5928d96c0Martin SjölundAdd pdf's and word-files that were pruned from the history due to being binary files
f65334da74Martin SjölundMissing omc in the path
d834a7ff66Martin Sjölundantlr3 library changed name to omantlr3
74d8748a7cMartin SjölundAdd host_short to install correct antlr files
5a2380c1afOpenModelica Hudson[Janitor mode] Fix whitespace
da50f0232aMartin SjölundInstall antlr3 includes. Fix OMNotebook linking
556609d758Martin SjölundRename libantlr3.a to libomantlr3.so
dbefb5764eMartin SjölundRemove the old antlr jar-file
a575fd97b8Martin SjölundCopy antlr-2.7.7 as well; it is needed for org.antlr.Tool
c8fd4cb1d4Martin SjölundUpdate java_interface to use the antlr-3.2 jar
6f4aec499dMartin SjölundUpdate README.md
9f50bb3e59Martin SjölundCreate README.md
7384dac2d1Martin SjölundSquash nls files on top of the rest of the repository
2d328d6d1fRuediger Frankeattempt to fix pre variables in algebraic loops
d1043b9f30Ruediger Frankeimplement pre values of arrays
62bbc24dd8Vitalij RugemarkStateEquationsWork: rewrite with while loop
110482475cMartin SjölundCreate README.md
68501e243aMartin SjölundBug reports
0637335fe1Martin SjölundAdd missing makefile, copying, readme
7dd9c1a3ecMartin SjölundSome additional useful m4 checks
4273b13792Martin SjölundFix compilation after git-svn conversion - Added qwt, man-pages, etc
344c23e5e1Martin SjölundLink lapack
6f2dde4dc2Martin SjölundFix compilation of libcsv in C++ mode
0ddc8a1c2cMartin SjölundCopy more results file reading functions with the includes
e80bc51ff1Vitalij Rugesmall improvement
b760c6a985Martin SjölundLock OMNotebook/OMPlot/OMShell for edits since they are being moved to the git repositories
cc098997d1Martin SjölundDelete old directory
e3db361764Martin SjölundAdd autoconf dependencies
021808598fMartin SjölundAdd m4 files for autoconf
c5cc093829Ruediger Frankeprevent clang++ warning "lookup of 'set' in member access expression is ambiguous; using member of 'mapped_type'"
244eeeb828Ruediger Frankebug fix to previous commit r25871
53abf68210Martin SjölundRemove unused directories
aa43b695f7Ruediger Frankeremove double parenthesis from if statements to avoid clang++ warning "equality comparison with extraneous parentheses"
32f158e1abMartin SjölundInitial commit
c92ce0327bRuediger Frankeattempt to fix access to seed variables from algebraic loops in Jacobian evaluation
22f067e171Ruediger Frankefix newlines between Algloop includes of Jacobian files
f14a53ff65Ruediger Frankefix code generation for createArray from functions
4cfa5ba3b4Ruediger Frankeskip initialization of aliases if they are just references now
edbccc71a2Ruediger Frankeseparate ArraySliceConst from ArraySlice to enable slices of const arrays
ce9e27e09bMartin SjölundOSX fix
087afe0bacRuediger Frankedon't use references for external objects (fixes r25804)
d2ab89bd32Ruediger Frankefix FMU makefile after r25821
202be2956cRuediger Frankeremove second accessElement method from ArraySlice
683c60c852Ruediger Frankeadd const qualifiers to array operations
b3594d5cadMartin SjölundFix modelica3d paths
c5df3e60deMartin SjölundMove qmake detection to separate m4-file
35e60a4e09OpenModelica Hudson[Janitor mode] Fix whitespace
b85bc79840Volker Waurich- added template functions for DAE.SUM and SimCode.SES_FOR_LOOP
799136a9d7Martin SjölundInstall cppruntime libraries in the correct directory
998faebc61Martin SjölundFix a broken install path
e07a8fde68Martin SjölundUpdate bootstrapping tarball
9a9e8b9738Martin SjölundSee if bootstrapping is fixed without a new tarball (skip checking for ModelicaExternalC when bootstrapping)
e553b2d810Volker Waurich- removed some debug prints for vectorization
178cbda6c7Martin SjölundFix linker paths
af9a702f11OpenModelica Hudson[Janitor mode] Fix whitespace
8d6ce3a4bfVolker Waurich- some more fixes for Vectorization.mo
9510ad4ef3Martin SjölundFix mkbuilddirs
a0a877257fMartin SjölundMultiarch patch: install libraries to OMHOME/lib//omc - This will allow users to install multiple versions of the simulation libraries at the same time
1e3d33b38bMartin SjölundMultiarch patch: install libraries to OMHOME/lib//omc - This will allow users to install multiple versions of the simulation libraries at the same time
33911b515eMartin SjölundMultiarch patch: install libraries to OMHOME/lib//omc - This will allow users to install multiple versions of the simulation libraries at the same time
7fdfaed4e1Martin SjölundMultiarch patch: install libraries to OMHOME/lib//omc - This will allow users to install multiple versions of the simulation libraries at the same time
f521cf9beeOpenModelica Hudson[Janitor mode] Fix whitespace
df6001a292Marcus Walther- removed for-loop in in RefArray-constructor (sorry, I was not able to remove the cast in RefArray2RefArray) - added missing variables to array-allocation, hopefully this will fix all "Wrong variable index"-exceptions
28e0e8820dOpenModelica Hudson[Janitor mode] Fix whitespace
0595c66d92Volker Waurich- some fixes for alias handling when unrolling variable arrays (for vectorization)
1dd25caabaRuediger Frankeadd support for read access to data of RefArray and make arg of sum_array const
c107825001Adrian Pop- handle Clang also
762167cf9cAdrian Pop- fix Windows build - fix nightly-build (get OMPython from github)
50157ff734Martin SjölundTry to fix fmil dependency in Compiler/runtime
cd70933c19Martin SjölundSome cross-compilation fixes. - Adding switches to disable compiling parts for a bootstrapped compiler. - New switches mainly used to cross-compile a minimal omc on the build platform that can be used to compile omc for the host platform.
876ee3e85fMartin SjölundUpdate makefiles for better cross-compilation
1714881712Niklas Worschechadded cpp runtime config for gcc and msvc
8ec90b9493Per Östlund- Fix flag typo.
dc27e82a37Volker Waurich- remove more whitespaces
d61f402881Niklas Worschechre added missing boost ublas vector
55d8775036Marcus Walther- support for non constant array-indices added to variable - memory - mapping
dbedd11607Volker Waurich- remove whitespace in array subscripts
17812f78baAdeel Asghar#3296 - catch omc_Main_setWindowsPaths exception.
473a03538bMartin SjölundFix installation target (* copies all directories)
1821f5bbe4OpenModelica Hudson[Janitor mode] Fix whitespace
795603189cMarcus Walther- added handling for special case, that variables have a subscript at the end but are not part of an array
af0384daa0Martin SjölundFix installation of idl file
8b738d608eOpenModelica Hudson[Janitor mode] Fix whitespace
2f771a17a5Marcus Walther- added optimization variables to mapping - added some scripts to execute all simulations in the msl with special flags
1a2bb57867Marcus Walther- added a mapping for variables to storage positions, to support efficient code generation that keeps array-variables as arrays - a new HashTable is now part of the code, that maps a ComponentReference to an array of Integers and a list of Integers - HpcOm memory optimization disabled - initAliasArray-interface extended in SimVars-Class - some typo fixes
516588475aOpenModelica Hudson[Janitor mode] Fix whitespace
ad1232f04eVolker Waurich- removed some additional prints to fix tests
6c0221c1acVolker Waurich- added SimCode.SES_FOR_LOOP and DAE.SUM expression to express loop-equations
9ad1051d43Niklas Worschechremoved boost ublas includes for mac os because of build errors
c135e9939aRuediger Frankeexploit new getDataCopy in assign to DynArray
cf8c348455Martin Sjölund#2619 Move OMPython to https://github.com/OpenModelica/OMPython
cd5fbe6aacRuediger Frankeremove irrelevant cases from algStmtAssignArr to fix assignment to array slices
46295b52afRuediger Frankeadd more missing throw
453d33f344Per Östlund- Propagate the actual attributes to match aliases, to allow assigning to them if they are non-inputs.
674a8975f2Adeel Asghar- Set the TLMPluginPath
d8892d1f84Niklas Worschechfix in Array getData, added missing throw
8cd29e2e09Adeel Asghar- Added options for defining TLM manager & monitor processes.
1e37a76cd0OpenModelica Hudson[Janitor mode] Fix whitespace
2db19012feNiklas Worschechfix for precompiled header of cpp runtime msvc build added use of precompiled header for cpp runtime libraries
e4d15d5d8cOpenModelica Hudson[Janitor mode] Fix whitespace
2da1e338ffPatrick Marcel Taeuber- included Jacobian in TearingSet because it differs for different sets - adapt some modules to new tearing structure
fb2ca722abLennart Ochel- Use common variable names (ass1, ass2) to store matching information - Add comments to make clear what is actually stored in ass1 and ass2
46c3015311Lennart Ochel- use new syntax to access arrays
3631bcffa7Lennart Ochel- Restore r25682 and r25683
d6e1ccd303Adeel Asghar- Only allow one co-simulation session. - Fixed display of error messages where filename is empty.
7eab2fc879Ruediger Frankeremove unused outputAllocate from external function code
e20ab9588bRuediger Frankemake Cpp code generation work for Modelica.Math.Matrices.leastSquares
7865309c36Henning Kiel- ignore some more generated files
cc81be1ea8Martin SjölundRename configure.in to configure.ac
45fcbb3aa6Martin SjölundFix builds
6a3fcd4e08Martin SjölundTry to fix builds
e240093a90Per Östlund- Don't simplify MetaModelica array ASUBs in ExpressionSimplify, it doesn't know which side an expression is on.
16cfe1989fMartin SjölundSome fixes for splitting the OM repository - Save idl-file in share/omc - Save qwt includes in include/omc/qwt - Use a corba.m4 so it is easier to update common autoconf parts between repositories (possibly making this part of a small common repository)
8dea18bfecAdeel Asghar- Enable/disable the TLM Editor syntax highlighting.
c33cb3a3a3OpenModelica Hudson[Janitor mode] Fix whitespace
32f9749de4Volker Waurich- add Vectorization.mo
4e0bde5a26Volker Waurich- added first implementation for handling for-loops and variable arrays
fd5af15899Adeel Asghar- Shorten the TLM highlighting preview text. - Removed the unused indentOrUnindent slot.
70d239cb15Adeel Asghar- Generalized the TabSettings for editors.
337e2badcdOpenModelica Hudson[Janitor mode] Fix whitespace
3dab9b1fb4Niklas Worschechmoved linear solver selection to initialization method
90e88f08bbOpenModelica Hudson[Janitor mode] Set auto-props
bae454fef1Ruediger Kampfmann-moved FactoryExport.h to include directory
26a4f091dfRuediger Kampfmann-moved FactoryExport.h to header
831361ef8fRuediger Frankeavoid underflow of unsigned size_t and access to NULL if there are no real variables
6121d35293Adeel Asghar- Fix OMEdit built.
bc4f0bc355Adeel Asghar- Start TLM co-simulation by reading the hostname.
6ddc3165ddRuediger Frankerevert changes of previous commit on CVode.cpp and introduce an internal dummy state instead
c5ef2559c9Ruediger Frankeremove dummy state from Cpp runtime as well (#3057)
e6017b43f7Ruediger Frankefix Cpp code generation for complex types
c3ab2b81ccRuediger Frankereplace memcpy with std::copy to make arrays work with complex types (fixes r25735)
0a7073df93OpenModelica Hudson[Janitor mode] Fix whitespace
d8ec3c18a0Ruediger Frankereplace specialized string arrays with a converter for external "C"
1c319f65d4Adeel Asghar- Save the TLM LibraryTreeNode before starting simulation.
eca7582fe3Adeel Asghar- Set DrModelica.onb as default notebook.
4fa3765049Martin SjölundFix OMNotebook locale settings
2d119c70f8Lennart Ochel- Use "listEmpty(...)" instead of "listLength(...) > 0" or similar expressions
2736819c38Ruediger Frankeremove const qualifiers from data constructors of RefArrays (fixes r25725)
c26c9da3abRuediger Frankeadd some more array constructors
e2e732694fRuediger Frankeadd const qualifiers to data arguments of array constructors
f23c302e6fRuediger Frankefix StatArrayDim3
f628fa0cdaVitalij Rugesimplify adjacency row for tearing - important for symEuler
d17bcea524OpenModelica Hudson[Janitor mode] Fix whitespace
5147a694bbVitalij Rugeadded symbolic implicit euler. Improvements will come!!
681f96c3e9Ruediger Frankeimplement POW_ARRAY_SCALAR in Cpp runtime
b0ef8b7a97Adeel Asghar- Cleaned up linking of libraries.
5b55c6d9d1Adeel Asghar- Removed linking of omniORB as is not needed anymore. - Copy the QtXmlPatterns4.dll
f8b06e60f3OpenModelica Hudson[Janitor mode] Fix whitespace
260ebb95bbOpenModelica Hudson[Janitor mode] Set auto-props
a1df6c76dcAdeel Asghar- Added missing function.
c1efe5ba5cAdeel Asghar- Merged OMEdit TLM branch with trunk.
31c0256c7fAdeel Asghar#3290 - Keep the cursor as cross when making connection and restore it when the connection is done.
7bf8847761Henning Kieleliminate List.isNotEmpty() and List.first() (replaced by listEmpty() and listHead())
045668adaeNiklas Worschechfix for linker error in StatArray.resize
db58904418Niklas Worschechfix for r25703
044184b84fOpenModelica Hudson[Janitor mode] Fix whitespace
a114ce4455Niklas Worschechadded special assignment operator one,two and three dim StateArray which call assignment operator from base array
bd6eb589fdRuediger Frankefix negation of aliases for boolean variables
53ce52a124Adeel Asghar- Fix builds.
6a15f12781Adeel Asghar- Fix build, - Don't use Qt threads with OpenModelicaCompiler shared library.
679fd4d091Adeel Asghar- Fix build, - Don't use Qt threads with OpenModelicaCompiler shared library.
7181721821OpenModelica Hudson[Janitor mode] Fix whitespace
95060f73c7Adeel Asghar- Removed the plotSilent flag. - Added argument forceOMPlot to plot APIs.
5a13db85b1Adeel Asghar- Removed the plotSilent flag. - Added argument forceOMPlot to plot APIs.
e4baa369c3Adeel Asghar- Removed the plotSilent flag. - Added argument forceOMPlot to plot APIs.
753a764becRuediger Frankeremove reindex(1) from DynArrays to get the same zero based indexing as in other arrays
4e83a6303eRuediger Frankemove iterator from DynArray to DynArrayDim1, where it was before
3ae39f71ebRuediger Frankeintroduce base classes StatArray and DynArray to avoid repeated code
05a6017853Adeel Asghar- Call omc_Main_setWindowsPaths on Windows so that APIs like simulate can work properly.
352560911dAdeel Asghar- Call omc_Main_setWindowsPaths on Windows so that APIs like simulate can work properly.
73fa6370f6Adeel Asghar#1768 - Set a call back function for plot commands. - Updated OMNotebook to use the OpenModelicaCompiler shared library.
b0f6071fcdAdeel Asghar#1768 - Set a call back function for plot commands. - Updated OMNotebook to use the OpenModelicaCompiler shared library.
43d9b432e8Adeel Asghar#1768 - Set a call back function for plot commands. - Updated OMNotebook to use the OpenModelicaCompiler shared library.
8a9f3b41b4Lennart Ochel- Removed List.isEmpty
aa7cd40ce4Volker Waurich- uncomment separation of parameter dependent and variable dependent asserts, have to fix dae-task-graph generation first
31ea9af71dOpenModelica Hudson[Janitor mode] Fix whitespace
c0ea844a8bLennart Ochel- Reverted r25682 and r25683 until the bootstrapping tarball is updated
d62f8e8bfeVolker Waurich- put parameter dependent asserts in the paramEquation section and not in all-equations
2d01a1a8a8Lennart Ochel- Removed workaround for #3281
6cdd11dd44Lennart Ochel- use new syntax to access arrays
1902e06c36Ruediger Frankeremove reference array code from static arrays
038cffed53Patrick Marcel Taeuber- Generate a second tearing set for simulation DAEs with weaker constraints in solvability (not passed along to the runtime yet) - Renamed some functions in Tearing.mo - Use list instead of list> for the order of the inner equations in tearing sets
b35172a8abPer ÖstlundFix for #3281: - Fixed handling of subscripted MetaModelica array crefs.
b0bedfc972Lennart Ochel- avoid unnecessary wrapping
4d1f61e3fcLennart Ochel- Fixed sorting of boolean parameters
2729e7deb2Adrian PopFix: #3288 - properly convert between modelica_string to fmiString - some warning fixes in SimulationRuntime/fmi/export/fmi1/fmu1_model_interface.c
28657dfddcOpenModelica Hudson[Janitor mode] Fix whitespace
5d4fa21ee8Ruediger Frankeimplement specific classes for reference arrays accessing simvars
854821e85dRuediger Frankemore universal version of previous commit
84b3de38dfRuediger Frankeimplement assign from ref arrays
ec198e99ffLennart Ochel- Oops!
43f2f50766Lennart Ochel- Some improvements to Tarjan's algorithm
79fa406454OpenModelica Hudson[Janitor mode] Fix whitespace
4c16895d85Volker Waurich- dump alias vars in dumpSimCode
bb207eed74Lennart Ochel- Merged TarjanTransposed and TarjanTransposedPartial
aee0b0eb15Patrick Marcel Taeuber- remove inadvertent comments
e6644252e4Patrick Marcel TaeuberPrepared Backend for the introduction of dynamic Tearing (tearing set can be changed during runtime) In detail: - introduced record BackendDAE.SOLVABILITY_SOLVABLE, which means the equation is analytically solvable for the variable, regardless of how the variable occurs in the equation - function BackendDAEUtil.tryToSolveOrDerive (old: getFactorForX) can be activated by parameter in getAdjacencyMatrixEnhancedScalar - introduced uniontype BackendDAE.TearingSet, restructured record TORNSYSTEM - introduced ConfigFlag "dynamicTearing"
4172d0007eOpenModelica Hudson[Janitor mode] Fix whitespace
dcb7ea9124Lennart Ochel- Use new implementation of Tarjan's algorithm in omc tearing - Removed old implementation of Tarjan's algorithm
651b1ba6d6Lennart Ochel- Use new implementation of Tarjan's algorithm for blt sorting
bc0e5047d2Niklas Worschechremoved shared array from simvars
c04e35cf06Niklas Worschechfix for typo in SimVars initBoolVar
5156f823a5OpenModelica Hudson[Janitor mode] Fix whitespace
fd6dd1edb9Niklas Worschechadded method for the initialization of alias arrays in cpp runtime
44426d1681Lennart Ochel- cleanup BackendDAETransform
a0a74f0bc7Lennart Ochel- cleanup calculateJacobianRow2
8a732ad4e3Lennart Ochel- Removed obsolete module strongComponents
846c4873ecOpenModelica Hudson[Janitor mode] Fix whitespace
2dc3048dceMarcus Walther- removed debug output in HpcOmMemory - some simple improvements in HpcOmMemory - CodegenCpp.tpl: Number of real, int, bool and pre variables can now be passed as argument to simulationMainFile-template - some more fixes for hpcom code generation -> memory optimization is still not working for arrays with the new variable structure - sim var arrays are now aligned to default cache line size of 64 byte - testsuite update for some hpcom tests
5dbaa55236Lennart Ochel- Use new implementation of Tarjan's algorithm for OnRelaxation
0e17b8f745Lennart Ochel- Use new implementation of Tarjan's algorithm for uncertainties
599c412cc4OpenModelica Hudson[Janitor mode] Fix whitespace
19d996953bOpenModelica Hudson[Janitor mode] Set auto-props
874da4bb06Adeel Asghar#3285 - Generate relative components paths for classes contained in package.
eff2d7ecf7Volker Waurich- moved visualizationXML dump to extra files - dump ast for complex expressions in visualization xml
da1dbb5ca0Lennart Ochel- Use new implementation of Tarjan's algorithm for evaluating parameters
c399b9fb73OpenModelica Hudson[Janitor mode] Fix whitespace
face8330f4Lennart Ochel- Use new implementation of Tarjan's algorithm for index reduction
381f8b500aNiklas Worschechadded special StatArray constructor for alias arrays
3e154216a9Lennart Ochel- Added new package "Sorting" to collect all the different sorting algorithms
e39a232312Ruediger Frankeremove templates that became obsolete with last but one commit
cbfb3fa19eOpenModelica Hudson[Janitor mode] Fix whitespace
f0c15aedf9Ruediger FrankeSupport multi-dimensional arrays in the external "C" interface again (#3286)
d329ff27adMichael Kloeppeladd missing changes
287faafcaaMichael Kloeppelexchange custom sparse matrix format in c++-runtime umfpack for boost::ublas sparse format adapt test case
89effa21c3Adeel Asghar- Removed unused functions from StringHandler.
bdc18edf3dRuediger FrankeReduce impact of new internal matrix layout
69f49b8e79OpenModelica Hudson[Janitor mode] Fix whitespace
d8d901e806Ruediger Frankemove check of program options to precompiled OMCFactory
8f85408fe2Ruediger Frankeoptimize access to elements of DynArray's
12f2ec1901Ruediger Frankebug fix for r25611
0fe9b188e7Adeel Asghar- reload the child items when parent item is updated.
7146485478Adeel Asghar#1540 - Handle quoted identifiers simulation.
7965cf276eRuediger FrankeAdd missing pieces for changed internal storage layout (#3286)
2c274efde4Ruediger FrankeChange internal storage layout of arrays in Cpp runtime to improve linear algebra (#3286)
25474a7bc2Ruediger Frankereplace std::vector _tmp_data with boost::multi_array to make ArraySlice work for bool as well
15772169f6Ruediger Frankestore dimensions of array slice to reduce code size and speed up getDim
1aa60b7d52Adeel Asghar- Do not set unnecessary text option on the editor.
25860e39bdHenning Kiel- fix some warnings - spellfix
4c48b7ff9fHenning Kiel- fix some warnings - spellfix
7133aabe50Adeel Asghar- Set the QPlainTextEdit pointer.
e8fd706ef1Lennart Ochel- fix indentation
5604fc874cLennart Ochel- Added transposed version of Tarjan's algorithm
8da9195c09Lennart Ochel- Simplified interface for function PerfectMatching
1ae29dcfeaNiklas Worschechfix in ArraySlice operator(), does not return a value
02c5931b26Adrian PopFix bug: #3243 - set the useStream array as done in simulation_runtime.cpp, function setGlobalVerboseLevel - maybe we should have a function that sets these things which could be called from FMI and not use variable useStream directly
5c52f069c7OpenModelica Hudson[Janitor mode] Fix whitespace
c6b8c970fcMarcus Walther- some smaller fixes for hpcom memory optimization - MemberVariablePreVariables-code is now separated from the simulationCppFile-Code in the CodegenCpp.tpl - _event_system is now initialized to NULL in the continousEvents-Class
3072a77326Adrian Pop- fix Windows / Linux differences in testsuite/openmodelica/parser/* - proper interface for omc_Absyn_isDerCref - make testsuite/openmodelica/parser/ParseModel.mos more friendly as on Windows the output from system command is not shown
2e037259d8OpenModelica Hudson[Janitor mode] Fix whitespace
511bafb28dRuediger Frankefix and generalize transpose_array
78e0e43d30Adrian PopFix bug: #3282 - allow parsing of {} for mos scripts
22d069adb5Ruediger Frankeavoid nested comments and quintuple printout of ExpressionDump
ef6eda1740OpenModelica Hudson[Janitor mode] Fix whitespace
64c81a2d82Bruno Scaglionibib items fixed
9b2eab43edVitalij Rugeextend flag for inputs from r25582
a9cf8445c0Ruediger Frankeuse int instead of size_t in reduction expressions (see also r25564)
0efc38a35cHenning Kielreplaced "if listLength(lst)>0 then" with "if not listEmpty(lst) then" to reduce run time (O(n) -> O(1))
0db243462dRuediger Frankemake linkage of LAPACK libs platform independent (fixes r25566)
267c74d43aOpenModelica Hudson[Janitor mode] Fix whitespace
aa1e97b23eVitalij Rugenew debuge flag: added new_var = var/nominal where var is state
494ff73568Bruno Scaglionibibliography updated
36b0ad4092Jan SilarFixed C# template after numeric initialization removal.
c587032389Adeel Asghar- Visualize whitespace in editors.
fa2287b127Henning Kielmake OMNotebook usable on OSX again
20f6a9086cBernhard BachmannSome improvements to the matching algorithm
a26562da48OpenModelica Hudson[Janitor mode] Fix whitespace
d448b0b6a4Niklas Worschechclean uclean up static array class for assign and operator= method in cpp runtime expected output
39f82c0664OpenModelica Hudson[Janitor mode] Fix whitespace
c83dfc4cc6Ruediger Frankea more rigorous attempt to fix the "targTest91" problem (#3263)
5fe6f5075cRuediger Frankeadd support for external F77 to Cpp runtime
d8230ff99aAdeel Asghar- Use the appropriate tab stop width. - Start the next line based on previous line indentation.
b817b4dad9Ruediger Frankelet getDim of Arrays return int instead of size_t
fcbdf2728fRuediger Frankerevert r25560 back to r25552 because functions returning arrays need assign with const arg
1e754dd403OpenModelica Hudson[Janitor mode] Fix whitespace
71fa8503feNiklas Worschechclean up static array class for assign and operator= method in cpp runtime
4823b9e213Ruediger Kampfmann-adapted VxWworks for SimVars
4e2e897487Lennart Ochel- New implementation of Tarjan's strongly connected components algorithm
bb7689a6b9OpenModelica Hudson[Janitor mode] Fix whitespace
396ed5a698Ruediger Kampfmann-adapted VxWworks for SimVars
3ccb61267dOpenModelica Hudson[Janitor mode] Fix whitespace
0bbced24ebVolker Waurich- estimate execution costs for removedEquations as well
4960dab035Nils Menageradded functions to factoryexport for bodas and vxworks
beabea06aeNiklas Worschechfix in getDatCopy for dynamic array in cpp runtime
a22ca5ff93Ruediger Frankerevert CodegenCpp.tpl from previous commit
e2a7d2400eRuediger Frankeadapt ArraySlice to r25546
3e44371d71Martin SjölundUse pagetotal instead of pages since otherwise bibtex renders the "p. 13" instead of "pp. 13"
cc66014554OpenModelica Hudson[Janitor mode] Fix whitespace
780062938fNiklas Worschechfix for reference array methods assign,operator= and getData in cpp runtime
e9f1e1a1a0OpenModelica Hudson[Janitor mode] Fix whitespace
26d28e4c0cMarcus Walther- basic structure for DAE-parallelization to HPCOM added - simcode now contains only one hpcom element - list scheduler is not used anymore, if the selected scheduler fails - update for expected output
6b1e7bb36eLennart Ochel- revise implementation of Tarjan's strongly connected components algorithm
63116a4106Patrick Marcel Taeuber- use while loop instead of recursion in Tarjan matching
806fe1d29fLennart Ochel- fix indentation
d8ebf83117OpenModelica Hudson[Janitor mode] Fix whitespace
fa793d48e4Volker Waurich- added stuff to dump a xml file that contains information about visualization objects
0b36bac82cAdeel Asghar#3279 - Fixed the re-simulation crash.
fb7d0d028eOpenModelica Hudson[Janitor mode] Fix whitespace
f2eeacd1d2Vitalij Ruge- attempt to fix partial negation of the lhs inside createNonlinearResidualEquationsComplex - added warnings for generateCrefsExpFromExp and generateCrefsExpLstFromExp
1d39a038a6Adeel Asghar- Start the line numbers of sub models from where they actually starts in file.
364f69f6c0OpenModelica Hudson[Janitor mode] Fix whitespace
f124afbf56Nils Menagerchange in SimController (_simMgr is now member variable again)
92b049bf0aVitalij Rugeimproved r25524
a863589dd5Lennart Ochel- clean implementation of some dumps
79efc13314OpenModelica Hudson[Janitor mode] Fix whitespace
ddad86f116Vitalij Rugeadded flag for diasbale Msg from omc
56d931389dLennart Ochel- cleanup
48537f9806Willi Braun - added additional flags for dassl for output control in non-equidistant mode
4e56867dadOpenModelica Hudson[Janitor mode] Fix whitespace
e4b05e70afVitalij Rugesymbolical QR-solver: added householder(default)
3facf89d0bOpenModelica Hudson[Janitor mode] Fix whitespace
4e44eca2fcPer ÖstlundFix for #3250: - Rewrote Static.replaceEnd to handle qualified/fully qualified crefs correctly.
1417f82308Adeel Asghar#3275 - Set GraphicsView scroll bars policy to `Qt::ScrollBarAlwaysOn` to avoid unnecessary resize events.
56d5208e77Adeel Asghar- Fix documentation examples.
17967e7d09Marcus Walther- fixed HPCOM-Cpp-Tests (memory optimization is still broken) - added some HPCOM-Cpp-Tests to Hudson
305ab23be6Ruediger Frankefix name clash if a Modelica model uses a variable pow (#3268)
6385b63f44Adeel Asghar#3271 - Handle tabbed dock widgets while switching between perspectives.
9fdfa27b98Ruediger Frankeadapt FMI2 to new SimVars
8a93f2fa45Adeel Asghar#3270 - Redraw plot when curves are removed. Preserve the users zoom level when Auto Scale is unchecked.
2aabc0e417Adeel Asghar#3270 - Redraw plot when curves are removed. Preserve the users zoom level when Auto Scale is unchecked.
eb6913ba8bAdeel Asghar- Handle the Esc key for Editors & FindReplaceWidget.
a322bc6531Adeel Asghar- Removed the unnecessary ReleaseInformation message.
d9e3df55d4Lennart Ochel- minor changes to some comments
08bd5e0ccaLennart Ochel- Avoid redundant code
52f33df515Lennart Ochel- Use new matching implementation in Initialization.mo
36a2492d97OpenModelica Hudson[Janitor mode] Fix whitespace
2b7a190244OpenModelica Hudson[Janitor mode] Set auto-props
cdfcc84626Niklas Worschechadded SimVars class to cpp runtime which stores all model variables removed [Model]PreVariables class in cpp template and moved functionality to SimVars class modified get/set methods,array class,eventhandling classes to new SimvVars class
166d96bb4fRuediger Frankeunify name of iteration variable in ranges to avoid c++ warning about changed lookup rules
ab7e76478eAdrian PopFix bug: #3269 - add code for deleteFile in Compiler/Script/CevalScript.mo - add test in: testsuite/openmodelica/interactive-API/Bug3269_deleteFile.mos
14ffb438a4Ruediger Frankeadd ModelicaExternalC and ModelicaStandardTables to Cpp targets
2c0590eb15Ruediger Frankeimplicit treatment of multiplication of zero dimensional arrays
0feaf9285dAdeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
3844793bd7Adeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
65089a7f12Adeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
7d9a87e77fAdeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
1e8e07225eRuediger Frankeimplement multiply_array for 1D and 2D arrays
105fdb28a6Adrian PopFix bug #3255 - append the annotation from the constrained class to the annotations of the component - added test inside testsuite/openmodelica/interactive-API/choicesAllMatching.mos
94212d130fAdeel Asghar- removed unnecessary forward declarations.
d6ee7ce70eOpenModelica Hudson[Janitor mode] Fix whitespace
bbc6f03020Bernhard BachmannAdded another implementation of the "usual" matching algorithm. Method also works in combination with the available index reduction methods.
74cdd7078fVitalij Rugeimproved r25421
73cf25aa1fAdeel Asghar- convert \n to
in error message.
e33cf67b8aOpenModelica Hudson[Janitor mode] Fix whitespace
fcb1fadd8cLennart Ochel- increase informative value of some error messages
409e11db29Lennart Ochel- Preparation for new "remove simple equations" module: This introduces a new variable attribute named "unreplaceable". This is needed to prevent unintended replacements for generated variables (e.g. symbolic jacobian, encapsulated when conditions, substituted common sub-expressions, ...)
f158abb933Ruediger Frankemove call to initializeAlgloopSolverVariables from initialize to constructor
148ec3d5cdOpenModelica Hudson[Janitor mode] Fix whitespace
2ae042b5bdNils Menagercleanup of Policy Files for Bodas and VxWorks
294834078fOpenModelica Hudson[Janitor mode] Fix whitespace
ffdd23ba69OpenModelica Hudson[Janitor mode] Set auto-props
a9009b7e38Ruediger FrankeFMI2 Cpp: separate initializeMemory from initializeFreeVariables to avoid memory leak in fmi2Reset and to speed it up
e296a44cadRuediger Kampfmann-added files for vxWorks
2644fd5b0fRuediger Kampfmann-added files for vxWorks
761b251cc7Nils Menagerchanged function name for BODAS and VxWorks Factory function (cpp runtime)
2398851ee3Ruediger Frankeoptimize ArraySlice to avoid internal copy of a given index set (#3263)
adf3b4eb1dMartin SjölundFix typo
99e78374adAdeel Asghar#2831 - Add the user current directory in PATH before starting the simulation executable.
d6d55cbd56Ruediger Frankemake Cpp code using BOOST_FOREACH work with DynArrayDim1
22c2202ad2Adeel Asghar- Check and load dependent libraries for checkModel, checkAllModelsRecursive, instantiateModel, translateModel, translateModelFMU and translateModelXML.
80ecad3dd3OpenModelica Hudson[Janitor mode] Fix whitespace
ded222d732Adeel Asghar- Moved the exception handling to OpenModelicaScriptingAPIQt.cpp. Just emit the signal with exception from there and show it in OMEdit.
cee9227083Adeel Asghar- Moved the exception handling to OpenModelicaScriptingAPIQt.cpp. Just emit the signal with exception from there and show it in OMEdit.
267f1de608Ruediger Frankeuse ArraySlice for rhs expressions as well, replacing create_array_from_shape
d115a52ef7Adeel Asghar- Always check for error messages for translateModelFMU.
c05b369f92Adeel Asghar- Reopen stderr in OMEdit to get the OMC console messages. - Shows the stderr messages on MessagesWidget.
cbd5978508Ruediger Frankereplace unsigned int with size_t for sizes
c5560490c0Ruediger Frankeremove useless const's from *ArrayDim2, typo, some whitespaces
6e9befcf41Ruediger Frankeadd getDim method to arrays to avoid temporary vectors if just one size is wanted
b109d6407bRuediger Frankemore const refs
41b38230f1Adeel Asghar- Re-implement start & exit to handle Thread loop.
ce0bfafcccRuediger Frankeadd missing const qualifiers and pass indices by reference for to access operator
ad75c46aa6Adeel Asghar- Reopen stdout in OMEdit to get the OMC console messages. - Shows the stdout messages on MessagesWidget.
504a45ce68Ruediger Frankeadd support for SLICE expression
3abb26c7e7Nils Menageradded ifdef's for BODAS in RTEuler
db703eb4d4OpenModelica Hudson[Janitor mode] Fix whitespace
9a24136aacOpenModelica Hudson[Janitor mode] Set auto-props
10fc0ebb53Ruediger Kampfmann-added RTEuler
9d6750f727Ruediger Kampfmann-added RTEuler
885c6e3872Ruediger Kampfmann-added RTEuler
e446f56227Ruediger Kampfmann-added RTEuler
87d477b30aVitalij Rugesymbolical QR-solver: - improved handling for const exp - added scaling
3905d14e75Nils Menageradded boost::algorithm::string to Modelica.h in cpp runtime
4be42e29ebOpenModelica Hudson[Janitor mode] Fix whitespace
ccc0e9ecccOpenModelica Hudson[Janitor mode] Set auto-props
c1810e5414Nils Menageradded BodasFactory to cpp runtime
153ff9f9a5Ruediger Kampfmann-removed obsolete method setcycletime()
d086b470a1Lennart Ochel- don't observe strictly singular systems during initialization (just for testing)
ff32e76855Nils Menageradded Policies in cpp runtime for BODAS
3dd5a11b79Adeel Asghar#3267 - Remember the last used directory.
144e4154e4OpenModelica Hudson[Janitor mode] Fix whitespace
456f638bf1Vitalij Rugesymbolical QR-solver: improved handling of know-vars
bd14462cd2Ruediger Frankeinstall new file ArraySlice.h (#3263)
25108d4792Lennart Ochel- blanks
46ec26287aOpenModelica Hudson[Janitor mode] Fix whitespace
f20f727138Volker Waurich- added removedEquations to the DAE-TaskGraph
1509df2452OpenModelica Hudson[Janitor mode] Fix whitespace
22abefc689Ruediger Frankeintroduce ArraySlice to treat assignments to subarrays on the lhs (#3263)
4661b7ed9eRuediger Frankefix initialization of array output and implement assignment of a range to an array (#3263)
f98f34d1dbAdrian Pop- attempt to add -fPIC even if getconf LONG_BIT != 64 (as it seems to be on ARM)
a4075f4dc5OpenModelica Hudson[Janitor mode] Fix whitespace
81a6c7930cRuediger Frankerevert changes to FMI1 again (r25397), because they are incomplete
07ccc17cf3Ruediger FrankeFMI2 Cpp: implement fmi2Reset function
2fd6859223OpenModelica Hudson[Janitor mode] Fix whitespace
8b611a2a90Ruediger Frankeseparate initialization of free variables from initialization of bound variables
48e080c126OpenModelica Hudson[Janitor mode] Set auto-props
e9f66624cfAdeel Asghar- Added CEditor with basic C Syntax highlighter.
93f84e29b5Adeel Asghar- Better syntax highlighting handling. - Removed TLM references. Merge the TLM branch when it's complete.
cbc5bf1970Adeel Asghar#3260 - Fixed duplication of Packages.
c3a75a1da9Adeel Asghar#3265 - Changed copy to duplicate.
229d3ebd50Ruediger FrankeFMI2 Cpp: additional changes to remove writing of output file from FMU
6c18317f2cRuediger FrankeFMI2 Cpp: remove writing of output file from FMU
18dd1410fdRuediger FrankeFMI2 Cpp: upgrade initialization
f2e146ea3bRuediger Frankeformattings
f956dabf93Ruediger Frankefix r25379
d152f3ff0dRuediger FrankeFMI2 Cpp: add rpath to solver libs
25a53cd649Ruediger Frankefix FMU solver names
d4e2b94c14Adrian PopMore fixes to bug: #3261 - use '!' instead of '|' which could be used when overriding the regular expression from variableFilter
f6abf617a3Adrian PopProperly fix bug: #3261 - replace ',' with '|' when not inside arrays and then tokenize on '|' - update test: testsuite/simulation/modelica/others/Bug3261.mos to test for -output and one dimensional array
5eb0f62f72Ruediger Franketreat multiline doc strings (cf. r24891)
a8fde2f1a4Ruediger Frankefix initialization of dependent variables
b077351ae9Ruediger FrankeFMI2 Cpp: apply runtime license
981451851aAdeel Asghar- More standardization of text editors. - Better find/replace.
6787788d35Adrian PopFix bug: #3261 - support parsing the variable names containing array indexes (which contains ",") - added test: testsuite/simulation/modelica/others/Bug3261.mos
e418ae346cWilli Braunfix #3251
7aaefa843bOpenModelica Hudson[Janitor mode] Fix whitespace
2a962db71cWilli Braun - adapt BackendDAEUtil.reduceEqSystem for symbolic jacobians and utilize it.
9992292ac9Marcus Walther- fixed build
97ef07226cOpenModelica Hudson[Janitor mode] Fix whitespace
c12a0de124Marcus Walther- moved mixed array vars from SimCode to ModelInfo-SimVars - cpp tests updated
eeb3c94d5cAdeel Asghar- Use monospaced font as default for TextEditor. - Use TextEditor instead of QPlainText when showing generated files.
82d0a198cfAdeel Asghar- Standardized a lot of functionality in editors. - Made the BaseEditor an abstract class with indentation, commenting, key handling, context menu etc. as pure virtual functions.
2820451b80OpenModelica Hudson[Janitor mode] Fix whitespace
77636ee68aRuediger FrankeFMI2 Cpp: resolve alias variables in new getters and setters
3e36691a59Ruediger Frankefix memory leak in ModelicaSimulationError (#3256)
9c7baf7613OpenModelica Hudson[Janitor mode] Fix whitespace
4affa10c77Ruediger Kampfmann-fixed #3258: Missing AlgebraicModelJacobian::initializeColoredJacobianA()
2f79736366Volker Waurich- addded proper ordering for metis scheduler - added messages if parallel simulation isn't worth
3a4f448cf6Martin SjölundSome fixes to compile with parmodelica
0b3b011a8cRuediger Frankecosmetic changes to r25337 (#3253)
460d445b92Olena Rogovchenkofigaro changes
16830d325dAdrian PopFix bug: #3254 - return component annotations that are not graphical classes also - added test: testsuite/openmodelica/interactive-API/choicesAllMatching.mos
ca0f0dc615Adrian Pop- fix Windows builds broken since r25335. - make sure that BOOST_EXTENSION_EXPORT_DECL is not undefined for Windows! - force cmake show what is doing (verbose makefile).
aa24eef336Ruediger FrankeFMI2 Cpp: add libOMCppMath_static to FMU (#3238)
ee8884ee73Adeel Asghar#1482 - Added indentation support in OMEdit.
07c4c4475eMartin SjölundHandle empty origin and rotation
b853bbc7d5OpenModelica Hudson[Janitor mode] Fix whitespace
9160007852Ruediger FrankeFMI2 Cpp: introduce new getters and setters
80a062f8deOpenModelica Hudson[Janitor mode] Fix whitespace
db98b830e2Ruediger Kampfmann-adapted cpp runtime files for vxworks
efada569bfOpenModelica Hudson[Janitor mode] Fix whitespace
a8fa5985eaMarcus Walther- added additional information to sim code, about array-variables that contain state or state derivative variables together with other variables
a045c5533dOpenModelica Hudson[Janitor mode] Fix whitespace
367e696b9dOpenModelica Hudson[Janitor mode] Set auto-props
289da2cdfbNils MenagerAdded necessary ifdefs for ModelicaSimulationError on RT targets (cpp runtime)
a1bc23b9ecRuediger Kampfmann-some changes concerning colored jacobians
e6b9337271OpenModelica Hudson[Janitor mode] Fix whitespace
a639d116dfOlena Rogovchenkofigaro changes
39174d74ceOlena Rogovchenkofigaro changes
d9490d4f90OpenModelica Hudson[Janitor mode] Fix whitespace
4d73bbf47dRuediger Kampfmann-some changes concerning colored jacobians
69f32e07b9Martin SjölundGC library changed name
a8e54ba775Martin SjölundChange libgc to libomcgc to make sure we link against the correct version of boehm-gc
055bfe8a43Martin SjölundChange libgc to libomcgc to make sure we link against the correct version of boehm-gc
2b4c9defd2Ruediger Frankeallocate options vector optv dynamically (fixes r25299)
10b18ebc55Adeel Asghar#1464, #1761 - Clickable error messages.
1c36eccf3eRuediger FrankeFMI2 Cpp: remove macro OBJECTCONSTRUCTOR
0f669b27fcRuediger FrankeFMI2 Cpp: distinguish model identifier from model class
26bd25889eRuediger FrankeFMI2 Cpp: fix name of FMU binary for hierarchical models
0b93dff21dOpenModelica Hudson[Janitor mode] Fix whitespace
c0099a237aOlena Rogovchenkofigaro changes
089ffc1923Olena Rogovchenkofigaro tweak
6c71abdf0bOlena Rogovchenkofigaro tweak
1b94ea5cbeAdrian Pop- plot only the last week for the detailed library trend
5bffb6b0d6Ruediger Frankeremove some clumsiness of previous commit
0aa3aa315eRuediger Franketreat OMEdit override option in Cpp runtime (#3233)
44fea8357cRuediger Frankeremove symbolic link from Cpp makefile for Linux
5ccd835fceRuediger Frankeadd default options to Cpp executable (#3233)
bb8a5eb52cAdeel Asghar#3196 - Added vectorization support in OMEdit.
18bc2720b8Vitalij Rugecosmetic change
406d1ee032Adeel Asghar- Fix build.
31c55daf85Niklas Worschechchanged the name for the simulation executable of the cpp runtime to [Model].exe
f315596ddcAdeel Asghar- Directly use the getClassInformaiton struct generated by OpenModelica scripting API.
d8bd7a383cAdrian Pop- helper to bug #3196 - added setComponentDimensions(class, component, {dim1, dim2, dim3}) - added test for it in testsuite/openmodelica/interactive-API/interactive_api_calls.mos
65f22e71feVitalij Rugeimproved reduceDynamicOptimization
7ceb890ddeRuediger Frankeadd exception handling to fmi2Instantiate
4977eb57a1Ruediger Frankefix getReal of Cpp FMI 1.0 and correct sizes of _tmp_real_buffer
c932275eaeRuediger Frankefix Cpp getInt/Bool/String
5c94581030Vitalij Ruge-improved reduceDynamicOptimization -added test for combination reduceDynamicOptimization and extendDynamicOptimization
936a7af8aaAdrian PopFix #3247 - use the class modification from the environment
8395c45118Adeel Asghar- Do not use or & and as conditional operators.
dfe96404eeAdeel Asghar- Make sure switch to text view is correct.
3e8fc88eb8Marcus Walther-Boost real paths can now be used optionally
0e7a877fe6OpenModelica Hudson[Janitor mode] Fix whitespace
a9cf315d82Marcus Walther- improved memory management with +d=hpcomMemoryOpt - graphml-graphs now contain information if the nodes belong to the ODE- or eventsystem - cpp-locks are now memory aligned - lapack-support for sundials can now be used with the c++ runtime - update for one hpcom test
b7d3ed76b6OpenModelica Hudson[Janitor mode] Fix whitespace
450ee5e691Vitalij Rugeadded module reduceDynamicOptimization (Thanks, Willi) - remove eqs and vars, which are not part of the optimization problem
74781e3225Ruediger FrankeFMI2 Cpp: add FMU2 to installation
1c2faebd22Ruediger Frankefix uint
5fef56ddc1OpenModelica Hudson[Janitor mode] Fix whitespace
87b383371aBernhard BachmannPrototype of a new RemoveSimpleEquation module added
2dcb8805a3Adeel Asghar- Fix the checkModel output. - Fix failing tests.
5e2cdf6b8cAdeel Asghar- Fix the checkModel output. - Fix failing tests.
9f1186ac31Adeel Asghar- Print the messages in correct order.
8a60b27f84Adeel Asghar- return empty string when checkModel fails and set add error message. - Only show InformationDialog if instantiateModel & checkModel succeed otherwise put the error message in Messages Browser.
81cdc58c5dAdeel Asghar- return empty string when checkModel fails and set add error message. - Only show InformationDialog if instantiateModel & checkModel succeed otherwise put the error message in Messages Browser.
4537d4b105OpenModelica Hudson[Janitor mode] Fix whitespace
1ed8728959Willi Braun - added config flag for removeSimpleEquation to select the choose method
c9556dcc95Adeel Asghar- Create only one editor object. Use the BaseEditor class.
bb1ac6c378Per ÖstlundFix for #3245: - Fix code generation for assignment to record slices in functions.
ba6fe3e764Marcus Walther- forgot to update one cmake version
ea7c1aaa80Marcus Walther- changed minimum cmake version to 2.8.6 - changed DIRECTORY to PATH keyword, because this is not available in CMake < 2.8.11 (this should fix the linux nightly build)
1a009710fcRuediger Frankecosmetic change
9ce5e954aeRuediger FrankeFMI2 Cpp: add debug logging and exception handling
b369c6dd46Adrian Pop- allocate the structure, not the pointer
36dd31ed78OpenModelica Hudson[Janitor mode] Fix whitespace
d6f59bde58Adeel AsgharAnother try to fix FMI tests
4c0cb1346bAdeel Asghar- Updated Figaro labels.
3a574f3954OpenModelica Hudson[Janitor mode] Fix whitespace
bff8ce0824Mahder Alemseged Gebremedhin- Keep External decls.
623e897365OpenModelica Hudson[Janitor mode] Fix whitespace
b0f7d5bbd1Volker Waurich- fix for preCalculateStartValues
30ee7b5083Ruediger FrankeFMI2 Cpp: fix ordering of real variables (aliases behind parameters)
4be6003730OpenModelica Hudson[Janitor mode] Fix whitespace
a496e139afAdeel Asghar- Try to fix FMI tests.
0e77d95e0aVitalij Rugefixed extends dynamic optimization formulation - initial guess with file - handling der(x)
56bd4dceedRuediger FrankeFix _dimReal to size expected by getReal and setReal, including aliases and states
20e53ecbcdRuediger FrankeFMI2 Cpp: re-add boost libs to Makefile (got lost in r25209)
bd33e054b5Ruediger Frankeadd extra parser to accept OMEdit options
a0bdd00244Adeel Asghar#3240 - Fixed FMI 2 import issues. - Generate code for enumerations. - Generate nice Modelica code to get rid of initial condition are not fully satisfied warning. - Make sure exported parameters are generated as parameters in the imported code.
08efd30871Mahder Alemseged Gebremedhin- ParModelica interface update
b3ed891209Marcus Walther- improved cmake error handling if umfpack was not found
f62345fbcaOpenModelica Hudson[Janitor mode] Fix whitespace
5cde2c4298Marcus Walther- some more cleanups for path-stuff in cpp-runtime - added some debug output to see the content of the ModelicaConfig.inc file at the beginning of cmake-build - update for reference-file of NPendulummath-test (umfpack cpp runtime)
87be1d4179Mahder Alemseged Gebremedhin- Clean up of tuple return handling.
4f6b67a104Marcus Walther- improved path handling of cpp-runtime
574dcac200OpenModelica Hudson[Janitor mode] Fix whitespace
04a519d343Marcus Walther- try to fix Ticket #3232 - Paths in ModelicaConfig.inc - file are now relative to OMHOME-Makefile variable - Boost-Header files that are required for windows-cpp-runtime simulations are now copied into build/include/omc/cpp - msvc-build on windows not testet at the moment
1211dd856aRuediger FrankeFMI2 Cpp: remove duplicated generation of simulation files as contextFMI does not appear to make a difference.
131bf48be2Ruediger FrankeFMI2 Cpp: fix naming to consistent use of short model identifiers (#3241)
5d4eb06e20Lennart Ochel- update DSS dump
c00f64013bAdrian PopFix bug #3239 - merge modifiers in correct order outer -> inner - add testsuite/flattening/modelica/redeclare/Bug3239.mo Fix typo in SimulationRuntime/c/util/libcsv.h
0097e5dc54Ruediger Frankepermit repeated simulation with Cpp runtime by removing already existing link
899c1fb410Ruediger Frankeattempt to treat #3233 by just warning about unrecognized command line options
0be801ec4aRuediger FrankeFMI2 Cpp: generate missing source files and extend Makefile (#3238)
32ac8d115eOpenModelica Hudson[Janitor mode] Fix whitespace
85ead7a222Ruediger FrankeFMI2 Cpp: adapt generated model wrapper to FMI version
993877cbd0Ruediger FrankeFMI2 Cpp: generate appropriate modelDescription.xml
9b531d4e0dRuediger Frankere-fix whitespace (see r25194)
9696bb73f2Ruediger Frankefix wrong LDFLAGS (#3238)
97c73b4702OpenModelica Hudson[Janitor mode] Fix whitespace
4d1eb66722Ruediger Frankerevert unintended change of previous commit
0a27636438Ruediger FrankeInitial version of FMI 2.0 export with Cpp runtime (#3238)
57ea85f84aVitalij Rugefixed handling der(x) in extends dynamic optimization formulation
857b7d76f0Volker Waurich- added BackendDAEUtil.isSimulationDAE()
08cc985806Adeel Asghar#3196 - Better vector connections support.
021c789b03Volker Waurich- some fixes for constant jacobian evaluation
925859c7f1Adeel Asghar- Store the partial prefix information instead of asking it again and again.
72fad54b2eOpenModelica Hudson[Janitor mode] Fix whitespace
056f99f660Vitalij Rugeimproved extends dynamic optimization formulation
397fdbed5bAdeel Asghar#3234 - Use try catch for omc APIs.
71e1aeceabAdeel Asghar#2676,#2677,#3025 - Fixed OMEdit saving issues.
27c2636c48Per Östlund- Fix ThermoPower tests.
d2570c43cbMahder Alemseged Gebremedhin- Keep restrictions.
ffeb988e6fAdeel Asghar- Do not create MessageItem on heap.
44e072f07aAdeel Asghar#3234 - Call getMessagesStringInternal after the exception to get the real error message.
47cf694d18Adeel Asghar#3234 - Catch the exception thrown in the OpenModelicaScriptingAPIQt.cpp - Only done for translateModelFMU. We need to do it for all calls.
dac91d5f30Adeel Asghar- Also look for automatically loaded libraries after loadFile.
7c369972fbAdeel Asghar- Add the automatically loaded libraries to Libraries Browser.
df00103d3aOpenModelica Hudson[Janitor mode] Fix whitespace
544cf65b13Mahder Alemseged Gebremedhin+ fix parmodelica kernel function interface generations.
2ebb2d8441Mahder Alemseged Gebremedhin- Add missing decalrations for in_* functions. We need them declared as extern C.
f432f940f2Per Östlund- Prepare Mod.elabModValue to return the cache.
72597fbf64OpenModelica Hudson[Janitor mode] Fix whitespace
3392478c76Vitalij Rugeadded module for move loops as equal constrains in NLP - cheaper,simple evaluation for jacobians, DAE - bigger NLP open issues: initial guess.
654278ccc4Adeel Asghar#3207 - Do not make the compound variables disabled.
95593e3657OpenModelica Hudson[Janitor mode] Fix whitespace
83251a0bc8Per Östlund- Make Mod.elabModValue fail if Ceval prints an error message.
a4e433aef8Volker Waurich- array equations that solve non-array vars have to be handled as non-linear systems
9b852f186dMartin SjölundTry to output \r for string literals that used \r explicitly
2c55fff2aeMartin SjölundSimplify trimming for whitespace
c0e2b8e61dMartin Sjölund#3169 Try to fix darwin name again
14d8de4574Adeel Asghar#3222 - Proper handing of line thickness.
7d2cc18143Adrian Pop- ISO week number
e974a71973Adrian Pop- even more fixes to library trend plotting
3b6b907413Adrian Pop- more fixes to library trend plotting
5559a103feAdrian Pop- more fixes to library trend plotting
466d7721dcAdrian Pop- try echo 0 not 0.
514d1eee3dAdrian Pop- add verification curve to library trends (set to 0 now if it doesn't exist)
b53a9615cbLennart Ochel- use hash set instead of hash table to collect variables used in when clauses
42051949b1Lennart Ochel- cleanup
c2eb4de3e3Lennart Ochel- remove unnecessary cases for when/elsewhen in algorithms
5e7ac6fe6bAdrian Pop- fix bad typo in ModelicaBuiltin.mo
2fb5d6b151Adrian Pop- increase version to 1.9.3 nightly
80b135dbffAdrian Pop- switch version to 1.9.2
290b631b0eOpenModelica Hudson[Janitor mode] Fix whitespace
c555854041Mahder Alemseged Gebremedhin- Fix one of #3214 issues. - Fill in missing subs with whole dims when elaborating subs. - Update overlooked array assignment case in code generation for arrays.
70799a2bedPer Östlund- Fix naming in OMEdit for classes which have default names.
02db2b276cVolker Waurich- solve linear systems with constant jacobian and variable b-Vector symbolically with +d=constjac
62783d021fAdrian Pop- partial fix to #3067 - move initialize*Systems from fmi2EnterInitializationMode to fmi2Instantiate because after an fmi2Reset fuction fmi2EnterInitializationMode will be called again which would allocate memory for systems again
09c5cf1bb1Adrian Pop- bump gitlibs to [changeset:69daa48/OpenModelicaLibraries] - remove class counting from the LibraryCoverageTrend.sh, will be in the Hudson job for easier adding of libs
5c8a28d0f9Mahder Alemseged GebremedhinFix List.combinationMap1 too.
9478fb9336Mahder Alemseged Gebremedhin+ workaround for cpp runtime until the template gets updated for array handling changes.
5a9c2c7e8aOpenModelica Hudson[Janitor mode] Fix whitespace
b8529bac16Mahder Alemseged Gebremedhin+ Handle nested array types when creating array equations. + Correct subscript ordering when expanding crefs. + Fix List.combinationMap to properly order combinations and combination lists. Also accumulate the results. + Added List.combination.
2f3e6ec127Willi Braun - fix the counting of #3217, but record of arrays are currently not supported by the runtime.
4d3a80016ePer Östlund- Fix Expression.typeof for ASUB with non-scalar subscripts.
a798a5f887Per ÖstlundFix for #3212 and #3213: - Changed Expression.expandSubscript to use expandRange, so that it's able to also handle non-integer ranges.
8cd1d4b7b5Lennart Ochel- rename Expression.traverseExp to Expression.traverseExpBottomUp
bd3df36b36Lennart Ochel- minor cleanup to traverseExp
9863ec82c4Martin SjölundReplace MM trig functions with Modelica equivalents
89457a026aLennart Ochel- cleanup
1c2ae3cc51Vitalij Ruge added flag for using ExpressionSolve in adjacencyRowEnhanced - can be used e.g. for warmstart in dyn. optimization
64a4089a3bAdeel Asghar- Fixed OMShell build.
d94fa40edbAdrian Pop- switch back to 1.9.2 Nightly
f5ac4fe57dHenning Kieluse realTan instead of realSin/realCos
a9f40e4bebHenning Kieldo not translate keyboard short cuts
0779485654Adrian Pop- revert r25066, modelica_string is *NOT* const char*, is MetaModelica string, defined as: typedef modelica_metatype modelica_string;
93983ebd64Adrian Pop- switch version to 1.9.2 Beta2
f7944834fdMahder Alemseged Gebremedhin- c++ compatibility. const correctness required.
47730a812aLennart Ochel- prepare module to encapsulate all function calls
dce49f5c0aPer Östlund- Fix some bad enum to int conversions in the back end. - Some code clean up.
b640ae0bf6Mahder Alemseged GebremedhinFix wrong array scalar marking.
4b47dbdb40Lennart Ochel- don't handle homotopy in cse module
fa61ca65c4Lennart Ochel- fix indentation
a15b84d666Volker Waurich- revert r25052, will fix it later
a285b3f241Volker Waurich- array equations solving non-array variables are actually non-linear systems
8f4e8a851fMartin FlehmigAdded cppFlags to simulation makefile.
138f2b4fdfMartin SjölundClean cmake crap better
0acd505b09Adrian Pop- make sure is gcc before you add the extra flags - make the cmake verbose for easier build debugging
00dc56ddd3Adrian Pop- pass the cc flags to metis building
52096b79a0Martin FlehmigAdded flag 'cppFlags' in order to commit flags for C++ compiler in CppRuntime.
0fa91a6515OpenModelica Hudson[Janitor mode] Fix whitespace
3464a66793Per Östlund- Handle other types than integer ranges in BackendDAEUtil.extendRange.
361b4a6c1eMartin FlehmigAdded config flag 'cppFlags' in order to commit flags to C++ compiler in cppRuntime.
c9c8e4d160Henning Kielfix color tables in png to remove warning when starting OMEdit
3f94931f25Henning Kiel- replace most List.isEmpty/List.isNotEmpty by internal listEmpty - replace recursive function with while loop
6570b17c7eLennart Ochel- typo
08082c4d9dOpenModelica Hudson[Janitor mode] Fix whitespace
c8db6a2d12Niklas Worschechfix for getReal method in cpp template expected output
a31b4dff99Marcus Walther- metis added to bootstrap-dependencies
cfee79625fMarcus Walther- metis include added
8dff8e64aeLennart Ochel- some cleanup
1ed8384f6bMarcus Walther-enabled metis for linux and mac by default
c78e112b20Marcus Walther- added metis to windows build (mingw)
76e956b972Adrian Pop- fix code generation for OpenTURNS (Uncertainties) which was broken since r22958 (bad assert).
3e4a58a97cAdrian Pop- more tries to fix #3056 by fishing in the dark :) - update 3rdParty to r137/OpenModelicaExternal
3b82e2ac60Willi Braun- fixing Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation by changing alias start-value and nominal-value selection. - prioritise the own variable attribute-value - downgrade test Modelica.Fluid.Examples.HeatingSystem.mos for now.
0f31e5760aAdrian PopAttempt to fix #3056 - only for Darwin: add -DBOOST_ROOT=/opt/local/include/boost/ to modelica3d build if /opt/local/include/boost/array.hpp exists
918039efdfWilli Braunmake Modelica.Fluid.Examples.PumpingSystem working again - by adding hybrid solver to the homotopy solver
950d9f44beAdrian PopFix #3209 - keep only unique equations for initialization
d5a87d2468Martin SjölundHandle different host vendors (default is unknown; dpkg uses pc)
6c1dd7cfc3Lennart Ochel- revert r25012, since it breaks some stuff
09180c42b9Lennart Ochel- attempt to fix #3211
418a23ae50Adeel Asghar- Add a default start value for inputs.
caab11c207Martin SjölundSerialize algorithm sections with a single assignment differently
de0228feffMartin SjölundHandle array assignments
9cd11c89ffAdeel Asghar- Fixed fmiEventUpdate.
14abf44abbAdrian PopFix #3204 - give a warning on stdout if override name not find in model - i would prefer to do it on stderr but LOG_STDERR doesn't seem to exist
6d2afdd64cLennart Ochel- disable warning if removeSimpleEquations failed for a subsystem - cleanup
0776a08d0aLennart Ochel- skip subsystems if removeSimpleEquations failed
08e1c29bc6Adeel Asghar#3205 - Fix output causality.
96fb6d9bdaAdrian Pop- msvc friendly implementation
2826f4eaddOpenModelica Hudson[Janitor mode] Fix whitespace
bdcc4ccf9aNiklas Worschechfix for Jacobian initialization in cpp template
3010a0bb91Martin SjölundFix printing of sparse Jacobian matrix (crashed for large systems) - Also skip printing the system unless the stream flag is set
5dffe2aac6Martin SjölundFix type checking error - `Type mismatch in assignment in colorMap := {{0, 0, 0}} of Real[n_colors, 3] := Integer[1, 3]`
a66a652088Adrian PopFix #3095 - add class modifiers from extends to the environment - add testsuite/flattening/modelica/modification/MissingModifiersPackages.mo - 55 tests will fail, I'll update them asap
360a84ea8dMarcus Walther- changed implementation of tpl.iterSeparatorAlignWrapString to while-loop instead of recursion, to fix stack overflow for large rexroth model
8ce63e596eAdrian PopFix #3051 - merge modifiers for the class from the environment - add tests: testsuite/flattening/modelica/modification/MissingModifiers.mo, testsuite/flattening/modelica/modification/TestMissingModifiers.mos
d0a00165d3Mahder Alemseged GebremedhinRevert output counting changes until we fix all the issues.
66c19d2b7bOpenModelica Hudson[Janitor mode] Fix whitespace
a4fa7a9a8eMahder Alemseged Gebremedhin- Hanlde multi dimensional array exressions in array equations. - Fix cref expansions.
95053ca323OpenModelica Hudson[Janitor mode] Fix whitespace
953f298061Per ÖstlundFix #3193: - Made TplParser.restOfTemplLine iterative to avoid stack overflows.
42447f5465Adrian Pop- a bit more optimization in the TplParser for #3193 but still not good enough, rewrite needed to use match instead of matchcontinue in TplParser.restOfTemplLine
f8b44dd8b3Adrian Pop- fix unparsing of Absyn.AS
d5eff898aaVitalij Rugefixed r24971
081be3adebOpenModelica Hudson[Janitor mode] Fix whitespace
17abe8bdb1Vitalij Rugeusing time grid inside model for dyn. optimization
d924b0fb65Mahder Alemseged Gebremedhin- Improve r24961.
95c013ff51OpenModelica Hudson[Janitor mode] Fix whitespace
e87391212dAdeel Asghar- FMI 1.0 co-simulation API skeleton.
49c55782eeAdeel Asghar#3034 - Define default start value for input causality.
849516ba83Lennart Ochel- improve error message of transformation module "sort components" - cleanup pattern matching and unused arguments
4a344db818Lennart Ochel- some cleanup
d768c90b93Adeel Asghar#3171 - Do not generate the empty TypeDefinitions section.
314bdd897dAdrian PopFix #3187 (well, not really) - re-added support for array equations of the form: der(x_arr) = fcall() * x_arr; in SimCodeUtil.createSingleArrayEqnCode (r24947 changes removed that) - added test testsuite/simulation/modelica/arrays/Breaker_total.mos - minor change in Compiler/Template/DAEDumpTpl.tpl
9be3b1cffeLennart Ochel- mark function createStateSets as protected
f7e4fa2243Ruediger Kampfmann-new target vxworks69
ec62468866Martin SjölundFix number of spaces
78d1b2497eOpenModelica Hudson[Janitor mode] Fix whitespace
51aca84c19Ruediger Kampfmann-new target vxworks69
c55c29d686Vitalij Rugeadded interface for user time grid in dyn. optimization
a4189ad556OpenModelica Hudson[Janitor mode] Fix whitespace
6bac956339Mahder Alemseged Gebremedhin- Improved array-equation handling in the backend - Array equations now contain Exp for lhs - Fix #3184 again (broke it with r24930) - Test cases for #3184 and #3188
2c510caea5OpenModelica Hudson[Janitor mode] Fix whitespace
01ea458dfcBernhard Bachmannsome cleanup and correction to the nonlinear homotopy solver
88e15bf553Adrian Pop- revert r24941 (and r24942) as it breaks the builds
7777505707Adeel Asghar- Fix build
e6c3fbc18fOpenModelica Hudson[Janitor mode] Fix whitespace
090894a0beRuediger Kampfmann-new target vxworks69
145fbaeeb4Marcus Walther- revert revision 24937, because windows build fails
eff9e59011Adrian Pop- small change on DAE.VAR printing - add element source type list dumping, commented out for now
04830c8fd3Adeel Asghar- Start generating co-simulation FMUs. The FMU doesn't contain valid code yet but will soon.
c712037951Marcus Walther- changed cvode to cvode_lapack - some cleanups for ILapack.h
871b241b16OpenModelica Hudson[Janitor mode] Fix whitespace
1ab23ac23eNiklas Worschechfix for Jacobian variable names in cpp template
de54b76dddVitalij Rugeimproved time grid in dyn. optimization
76f0fa74a2Mahder Alemseged GebremedhinFix #3190
c2593a15b5Mahder Alemseged GebremedhinFix boolean slice assignments in c runtime. Fix #3188
936719c7b6OpenModelica Hudson[Janitor mode] Fix whitespace
73113bd2f1Adrian Pop- fix the type source for the enumeration type inside DAE.ElementSource.typeList (port from rml branch)
e19d57d522Bernhard Bachmannspeed-up of non-linear homotopy solver by adding new stop criteria
4d0c547a40Mahder Alemseged Gebremedhin- Improved handling of slice arrays - Fixed slice array assignments - Fix #3184
ae11989ce8Lennart Ochel- remove obsolete util stuff
61172b73a8Lennart Ochel- change directory separators in some description strings
3f5f21e4b4OpenModelica Hudson[Janitor mode] Fix whitespace
dd21d7e7c2Marcus Walther- dumpCrefToSimVarHashTable function added to dump the crefToSimVarHT informations - a lot of refactoring in HpcOmTaskGraph - additional fields to task graph meta added, that show if a component belongs to the ode or event system
582614e977Adrian Pop- fmilib needs shlwapi, not OpenModelicaFMIRuntimeC
adae419984Adrian Pop- order matters shlwapi needs to be after fmilib
d168428b22OpenModelica Hudson[Janitor mode] Fix whitespace
b826ccff69Patrick Marcel Taeuber- improved Cellier tearing, now it is able to handle large components
efd471ab6cMartin SjölundDocument symbolic operations
9abaddacc8Adeel Asghar#3128 - Added shortcuts to switch between perspectives & views.
a463dd5ce5OpenModelica Hudson[Janitor mode] Fix whitespace
a645f637ddNiklas Worschechfix for string array in cpp template
9429d8e971Adeel Asghar- Change the view at one place.
395cb1eb8dLennart Ochel- change messages
5ba911295cHenning Kielfix some warnings
a37b7ea482Henning Kielfix some warnings
9e24c0accaLennart Ochel- initialize spare structure for jacobian A if qss solver is used
93d28498e2Adeel Asghar- Only connect for specific type.
63ea0b9dd6Adrian Pop- better handling of lib strings for +target=msvc
d1f47f79faAdeel Asghar- Use one constructor for ModelWidget to avoid duplicating the same source code.
9176dcb67aOpenModelica Hudson[Janitor mode] Fix whitespace
2d85d41dd4Willi Braun - improved handling of differentiated variable names for symbolic jacobians
0342f2cf2cAdrian PopFix #3187 - seems that SimulationRuntime/c/util/boolean_array.c got stuck with some old code (i now used the one from integer_array.c) - removed commented out code from SimulationRuntime/c/util/real_array.c
949fd208a6Marcus Walther- fixed some cpp-runtime-tests
697b89a8f9Adrian Pop- suppress library not found message when running the testsuite.
f8470726dfOpenModelica Hudson[Janitor mode] Fix whitespace
d40dee77e0Mahder Alemseged Gebremedhin+ Use exps in array assignments instead of direct crefs. + Fix array algorithm assignment generation.
1e44714176Adrian Pop- increase simulation executable stack size on Windows
4623b8113dMarcus Walther- changed PreVariables-Array from dynamic to static - added a "isSome"-function to the Util-module
348afb1cefNiklas Worschechfix for initialization of string parameter in cpp template
6227835a18Martin SjölundAvoid generating platform-specific Modelica code for FMU's
c983b602f0Martin SjölundAdd %APPDATA% to get a directory to store user files on Windows
8c28716778Martin SjölundFix assertion of json text
cf0390dacaOpenModelica Hudson[Janitor mode] Fix whitespace
293a54fe35Vitalij Rugeaktived postOptModul lateInlineFunction
0aab849754Niklas Worschechfix for cpnvertBoolToInt in cpp runtime
3dfe5c9642Martin SjölundFix the debug info according to the schema
94a443a4caVitalij Rugefixed makeNoEvent?
ab6c8f4ce6Lennart Ochel- more cleanup
b36365b9feOpenModelica Hudson[Janitor mode] Fix whitespace
93cad0ec1fNiklas Worschechfix for initialization of string alias variables in cpp template
8d0f908eabVitalij Rugerevert r24844, don't work
26071c2342Vitalij Rugeimproved handling of not derivable function calls in ExpressionSolve
60240740ccLennart Ochel- some cleanup
3848114630Lennart Ochel- mark public templates in CodegenC.tpl
38aa136d90Lennart Ochel- cleanup of some obsolete templates
e3c80b8047Volker Waurich- dump type information for equations in +d=dumpSimCode
1cb172cbacOpenModelica Hudson[Janitor mode] Fix whitespace
7803d9ab73Per Östlund- Completely wreck scodeInst.
b339f9cbd9Henning Kielsome cleanup
00c28f7b36Lennart Ochel- prepare qss solver development (using euler method as place holder)
7c3bb7807eOpenModelica Hudson[Janitor mode] Fix whitespace
1935b7aabaLennart Ochel- fix string handling
aa906305c2Niklas Worschechfix for pre call for array in cpp template
3754f6b1dcOpenModelica Hudson[Janitor mode] Fix whitespace
ae60742912Lennart Ochel- add auxiliary function for printing sparse structure of jacobian A
2cdd472a6aRuediger Kampfmann-removed argument cycletime in calcOneStep and runSingleStep
91056c7bbaRuediger Frankeremove call to dimensionKnown from Static.elabBuiltinDiagonal (#3168)
e88f2c1f0dAdrian PopFix #3180 - fix unparsing of dummy derivative operations in Model_info.json
ec580e2fc3Vitalij Rugeadded simplify rule for differentiation of function call (active with flag)
ce92a6a3e7Adrian Pop- split the detailed trend into a new file
8a75ddc3f8Vitalij Rugeactivated some optimization for jacobians
1c1431e43bHenning Kielfix warning fix memory leak
f398394ac2Henning Kielfix warning fix memory leak
2e796ee83aLennart Ochel- remove unused import statement
deee448b7aLennart Ochel- move auxiliary functions to BackendDAEUtil
70fdb7c0b0Lennart Ochel- translate html dump into English
daa3a56f57Lennart Ochel- fix trailing blanks
9fa79540d6Lennart Ochel- some more cleanup
da2f81e151Lennart Ochel- cleanup DumpHTML stuff
721d9d0043OpenModelica Hudson[Janitor mode] Fix whitespace
041dcfb9dbLennart Ochel- new xml dump that can be placed at each position of the pre/post optimization phase
c765b0e83cLennart Ochel- cleanup dumpXMLDAE implementation
e416fb86aaLennart Ochel- new dump that can be placed at each position of the pre/post optimization phase
d659af3c89Lennart Ochel- dump states properly (LOG_DASSL_STATES)
f4cd0419d4Lennart Ochel- dump tolerances properly (LOG_SOLVER)
b61c576d47Vitalij Rugefixed output
3b0a884843Marcus Walther- copy-constructor added to cpp-runtime model-class - some cleanup and fixes for arrays in membervariabledefine in cpp-template and cpp-hpcom-template
46ba65620bOpenModelica Hudson[Janitor mode] Fix whitespace
5ce643a009Volker Waurich- fix hpcom for empty system, set numProc correctly for empty systems
f92b988605Adrian Pop- better handling of detailed trend part
91927af25dAdrian Pop- generate also *-trend-detailed.svg and png with the last 2 weeks
8f626cbb4cAdrian Pop- make it executable
578cd5aac2Adrian Pop- add the trend generator to svn
e674424fcdOpenModelica Hudson[Janitor mode] Fix whitespace
fe1b3b8856Olena Rogovchenkofigaro export bug fix in xml generation
a561f6c5ceMartin Sjölund- use cd() for current directory as you cannot call System.pwd inside ModelicaBuiltin.mo
daed35fea2Adrian Pop- use "." for current directory as you cannot call System.pwd inside ModelicaBuiltin.mo
e3f87030c8OpenModelica Hudson[Janitor mode] Fix whitespace
459a498a4bHenning Kielfix mkdtemp according to definition from man page
be2b428a80Olena Rogovchenkofigaro export bug fix
37c80aa48aMartin SjölundAllow --std=latest to change to the default (was previosuly impossible)
e10c23c17fOpenModelica Hudson[Janitor mode] Fix whitespace
0e6484e67dPer Östlund- Improved deduction of implicit iteration ranges in for-loops. - Added ALG_ASSERT, ALG_TERMINATE and ALG_REINIT to SCode.Statement, to mimic how SCode.EEquation is structured. - Various code cleanup.
165374bf27OpenModelica Hudson[Janitor mode] Fix whitespace
958e4fecfeMarcus Walther- fixed a strange segmentation fault of gcc, if hpcom-openmp code is used
74314a7ffdOpenModelica Hudson[Janitor mode] Fix whitespace
6823b02b3fLennart Ochel- new flag to deactivate partitioning
46db20a4e0OpenModelica Hudson[Janitor mode] Set auto-props
be66770e16Lennart Ochel- separate dumpGraphML stuff from index reduction
f636fff6d0OpenModelica Hudson[Janitor mode] Fix whitespace
1a0275d135Per ÖstlundFix for #3178: - Fix dead store elimination for loops.
01a71e1a09Volker Waurich- output cpCosts for level-Scheduling
54bb76f42dAdrian Pop- don't write after the end of the string, read the mkdtemp definition (template ends in 6 chars which are rewritten in place)
44bbb15fa6Marcus Walther- removed cachemap-dump if hpcom-dump-flag is set
997ee5f21aHenning Kielfix generation of tmp path in mkdtemp
9cfe86c96cVitalij Rugefixed output
313fe2bc87Adrian Pop- use rand instead of uuid to get rid of some dependencies
c1457fe747Adrian Pop- fix MSVC includes
7458ec6ce6Adrian Pop- implement mkdtemp for MinGW and MSVC
56be07b866Vitalij Rugeinitial guess with file for dyn. opt.
94cf0d3c44Martin SjölundRemove odd linux32/linux64 hacks from when omc started using the wrong fmu platform string
a63f281aa2OpenModelica Hudson[Janitor mode] Fix whitespace
0f64ea66b9Lennart Ochel- clean up index reduction
18b2b15b15Adeel Asghar- Adapt to new exportToFigaro API structure. - Updated exportToFigaro to use scripting API.
d796a6ff46Martin SjölundAutomatically compile used libraries if Resources/BuildProjects is available
7f4b1c7cecOpenModelica Hudson[Janitor mode] Fix whitespace
d9bc2f1d9cOlena RogovchenkoFigaroExport interface update
4e9952f3ffLennart Ochel- add proper cse debug output of substitution - remove unused/duplicated variables
540518342bOpenModelica Hudson[Janitor mode] Fix whitespace
9d4364206aLennart Ochel- fix internal generation of discrete cse variables
d87131102fWilli Braun - fixed #3053.
681bc84ce6Lennart Ochel- fix type of cse binary substitution - add debug output to trace unsupported cse types
2788d6ebacOpenModelica Hudson[Janitor mode] Fix whitespace
c789f13b17Lennart Ochel- fix statistics of cse call expressions - proper cse debug output of creating cse statistics
9e59c0c84eLennart Ochel- dump equations after variables, since this is the way we dump most stuff
e96b610251Lennart Ochel- fix binary statistics of cse module
6e920f8527Lennart Ochel- clean up (remove unused variables, ...)
7e833383cdMartin SjölundRe-enable looking for libraries
ed98b2996aAdrian Pop- disable the check for now to make the builds work
07e9fbdec5Adrian Pop- make it a warning until we sort things out
956256c239Martin SjölundAdd some code that checks if the external Library from the annotation exists before trying to compile Later on, we can use this as a heuristic to automatically compile the C-sources
4950de8510Martin SjölundChange := in modifications to a warning instead of error, fix MM sources
2bd5e821b0Martin SjölundDo not allow using := in modifiers
bd4959b6c8Martin Sjölundm:#1595 Do not use := as modifiers in functions
d4c85dad34Henning KielOSX is always special
511d028be3Adeel Asghar- Updated the Figaro interface.
f59da8963eBernhard ThieleDisabled debug output
6f47d5a0b9Bernhard ThieleAdded one sample period "delay" to avoid executing twice at t=0
1d1e10b53aLennart Ochel- fix initialization of state machines
e39faa2604Martin SjölundPatch _main.c twice
02642a98b3Martin SjölundFix compilation
94763c9703Martin SjölundPatch `_main.c` to avoid a new tarball
c55967eb25Henning KielStatic analysis fixes
db68426f71Martin SjölundFix compilation
d0bc4bfabcMartin SjölundFix compilation
1888ecac48Martin SjölundStatic analysis fixes
e2ac4ce611Martin SjölundImprove the static analysis
edd88e18d9Lennart Ochel- add hints to README in case that one wants not to place OMDev into c:\OMDev
ca4a9ccf50Marcus Walther- CVode and IDA are now calculating the "final time point" correctly - Added a simple getter for global-settings
6acedf7590OpenModelica Hudson[Janitor mode] Fix whitespace
37ff87af8fBernhard ThieleDeleted unintentionally ressurrected resurrected directories "SimulationRuntime/interactive" and "SimulationRuntime/c/simulation/libf2c"
d7d5bbf2d0Volker Waurich- rule in startValue calculation that (time > -1.0) is not evaluated
db2e171018Adeel Asghar- Added the fmi interface files inside fmu. - modelDescription.xml not required in sources directory.
34c5af0472Adrian Pop- support both the old Modelica.Math.Matrices.LAPACK.dgelsx and the new one so one can use evaluation with older MSLs too
5c429bd1a3OpenModelica Hudson[Janitor mode] Fix whitespace
b2ba263e09Bernhard ThieleMerged StateMachine branch back into trunk!
bf2593f319Volker Waurich- added Flag to disable pre-Calculation of start-values - disable start value calculation for linSymSolConstA test
eeeb02637dVolker Waurich- activate PreCalculateStartValues
854976105cMartin SjölundFind first
a369e43b74Martin SjölundStatic analysis
6382bf1801Martin SjölundCompile using CXX; feature-check C++ variadic macros (part of C++11)
dd529a91a4Martin SjölundStatic analysis
7c619223bbMartin SjölundFix warning
5bff6b5176OpenModelica Hudson[Janitor mode] Fix whitespace
7a4dc582a3Mahder Alemseged GebremedhinFix Cpp test.
18d5d57d60Adeel Asghar- Add instruction about how to enable OMC CLI.
c809bca1d7Adeel Asghar- omc_config not required.
4adabc7234Adeel Asghar- Removed CORBA stuff from OMEdit. - No need to USE_OMC_SHARED_OBJECT define anymore.
b366981fa2Adrian Pop- min and max does not exist in C Linux it seems
225b154888Adrian Pop- MSL 3.2.1 (m:r8095) changes the interface of Modelica.Math.Matrices.LAPACK.dgelsx - adapt our interactive evaluation of Lapack to match the changes
c843f04e22Adrian Pop- you need to strdup the message otherwise you get bad messages containing invalid XML characters, see: https://test.openmodelica.org/hudson/job/MSL_trunk_cpp_Simulation/351/console and https://test.openmodelica.org/hudson/job/OpenModelica_TEST_LIBRARIES/ws/OpenModelica/BuildModelTest/MSL_trunk_cpp/BuildModelRecursive.sim.xml
544c14bc6aMartin Sjölund#3169 fix going into the correct case when using osx
0bc41237a0Martin Sjölund#3169 Fix OSX name in FMU's
0b1d872b9dAdrian Pop- use the alloc interface not malloc directly
18a23d0bdaMartin SjölundFix typo
fa33eb30a4Henning Kielsome code cleanup
0e6a26a89dOpenModelica Hudson[Janitor mode] Fix whitespace
b010babf56Mahder Alemseged GebremedhinHandle Slices in simulation contexts. Use correct types when creating common subsexpressions. Fix faulty array expansions.
7d1a1f7c52Vitalij Rugeimproved solveLinearSystem
f1599b9509OpenModelica Hudson[Janitor mode] Fix whitespace
47506f42aaMarcus Walther- fixed static linking of cpp-runtime - fix for missing kinsol-includes
ff39f086b3Bernhard Bachmannimproved convergence criteria of Newton solver (within Homotopy solver)
3c1329f3a9OpenModelica Hudson[Janitor mode] Fix whitespace
84731f6227Marcus Walther- added a function to find all parameters of an equation - parameter-equation-mapping is now part of hpcom - improved HPCOM-GRS - some HPCOM code improvements
061cf87f99Henning Kielfix last commit
2a44b01375Henning Kielfixed some annotations
65f1416ed5Lennart Ochel- fix initialization of over-determined systems containing when-clause
b74f69360bMartin Sjölund#3166 Escape \r in C strings
466b1a8d8cOpenModelica Hudson[Janitor mode] Fix whitespace
6a1a75d4fdNiklas Worschechseparated LoadSystem Method in SimController class in LoadSystem and LoadSimData
cf0776bd80Volker Waurich- enable BackendEquation.traverseExpsOfEquationList to replace crefs with constants - removed fail message
7f784b9398Volker Waurich- revert last commit
6fd4d4fee7Volker Waurich- activate preCalculateStartValues (will be reverted)
338816bf81OpenModelica Hudson[Janitor mode] Fix whitespace
9c4fd4cdc0Henning Kielsome code cleanup sin(acos(e)) = cos(asin(e)) = sqrt(1-e^2) sin(atan(e)) = e/sqrt(1+e^2) cos(atan(e)) = 1/sqrt(1+e^2)
1b352cf706Volker Waurich- dont replace discrete vars in cseReplacement
3f3b49b4dfWilli Braun - fix #3151
7135184438Lennart Ochel- code simplifications and more debug output
c87d04985cHenning Kielfix some warnings
0a284a1fa8Volker Waurich- added missing files
3b73d9e68fVolker Waurich- added preCalculateStartValues (not activated now)
f6178d4ac3Adrian Pop- more removal of __attribute__
822ca225f3Adrian Pop- attempt to fix builds
491f09af29Adrian Pop- attempt to fix builds
f3fd414a59Willi Braun - improved assert output further with debug - fixed #3074
17420d7d73OpenModelica Hudson[Janitor mode] Fix whitespace
3a87bcd3deMahder Alemseged GebremedhinAttempt to fix PowerSystems tests.
b88ecfb92dMahder Alemseged GebremedhinRe-enable diagonal() simplification with minor changes. Back-end can't handle unsimplified ones in some cases.
fbd8cc7f6aHenning Kielsmall optimizations
c74f4f6baaAdrian Pop- ansi c for msvc
5750854f4cOpenModelica Hudson[Janitor mode] Fix whitespace
588735d7bdMahder Alemseged Gebremedhin+ Fix #2726. Handle diagonal() in code generation instead of simplifying it.
e985982bfdVolker Waurich- keep the correct type when replacing constant alias vars
8d4137598fVolker Waurich- added partition scheduler
4811323785Lennart Ochel- fix output format "ia" for strings
900d0e1304Ruediger Kampfmann-typo fix
3bdec1d45dWilli Braun - added more information for a triggered Modelica assert - fixes partially #3074
8612d77128OpenModelica Hudson[Janitor mode] Fix whitespace
456d6db75aMahder Alemseged Gebremedhin+ Removed some unnecessary asub creations. + consider subscripts when looking for cref dependencies.
b895d5acf7OpenModelica Hudson[Janitor mode] Fix whitespace
7e8b29f163Vitalij Rugeadded structure for der(input) for dyn. opt.
9822673c9dAdrian PopFix bug: #3157 - handle also empty Name annotations, i.e.: annotation(Name); - add test testsuite/openmodelica/interactive-API/getDialogAnnotation.mos
4ba9af062eAdrian Pop- fix Windows builds, msvc doesn't like empty arrays with no initializer.
c80c47b331Willi Braun - moved debug flag "doLinearTearing" to config flag "disableLinearTearing"
c00de9fea3OpenModelica Hudson[Janitor mode] Fix whitespace
112fcfc4d9Willi Braun- added singular system solver for umfpack - added support for linear tearing systems to umfpack and lis - added more test-cases (e.g. EngineVN)
db81d2920fLennart Ochel- code simplification of function getNominalAsserts
8eb3ff7b47Martin SjölundPass some DAE.ElementSource when doing CSE
6ae1d9a211Lennart Ochel- code simplification of function getMinMaxAsserts
53ee5b5853Martin SjölundTry to only use the GCC workaround if gcc version is 4.8
2e7ebe9dceMartin SjölundPut back the GCC 4.8 flags
a6ff312287Martin Sjölund#3147 - Use `goto` instead of `MMC_THROW_INTERNAL` when possible
c9162b8fbbMartin SjölundAdd missing file SanityCheck.mos
eb336e8f42Martin SjölundAdd target sanity-check
257f828e7cMahder Alemseged Gebremedhin+ Fix Build.
7b6e7e2803OpenModelica Hudson[Janitor mode] Fix whitespace
99a799a8d2Mahder Alemseged Gebremedhin+ Cleaned up ComponentReference handling in the code generators. Less clutter. Reuse functions as much as possible. + Now we can use offsetting to index arrays in generated code. works for qualified Crefs as well. - Some issues still remain (e.g. alias elimination) so we don't use offsetting by default. only used when the cref involves variable indexes for now. Still might give erroneous results if some array members are missing though. + Improved handling of multi-variable return functions (*tuple returns). + fix for a case where wrong types were used when creating crefs in front-end.
674bc95582Martin SjölundStrip -g from FMIL. Comment why we pass CC twice to FMIL.
ada3543e50Adrian Pop- pass CC/CXX flags to make
27d844d3e8OpenModelica Hudson[Janitor mode] Fix whitespace
b14d6d1074Willi Braun- changed sparsity pattern translation - moved mapping (BackendVar->SimVar) from runtime to compile time - added FMI 2.0 modelStructure to SimCode
06ee0c207aPer ÖstlundFix for #3155: - Handle subscripts that use for-loop iterators better.
74cccab623Henning Kielremoved unnecessary temporary allocation of heap
64b1facbf2Henning Kielfix checking of existance of variables in cvs files
83484cfd8eJoseph SchuchartRemove superfluous const int return type definition to fix compiler warning
46dd119835Adrian Pop- use remove(messageFile) instead of system("rm -f " + messageFile);
34bce09b4bAdrian Pop- use MMC_IS_INTEGER instead of doing bitwise and directly
a4bd9d9b8dAdrian Pop- initialize modelica_string variables to NULL otherwise the debugger breaks searching for the type of un-initialized meta variables
28a78677acOpenModelica Hudson[Janitor mode] Fix whitespace
f4afd920d2Jan SilarPDE tests started some 2D models
8b1c62bff9Adeel Asghar- Added scrollbars for OptionsDialog. Because on some screens with small resolution it is almost impossible to use OptionsDialog.
4816ffff2dAdrian Pop- fix target runtimeCPPmsvcinstall, use static cminpack.lib for msvc too - add FMI +target=MSVC test for C runtime - update testsuite/openmodelica/cruntime/msvc/Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.mos
83d65d4d06Adrian Pop- strdup to allocate memory
8565fb84bfOpenModelica Hudson[Janitor mode] Fix whitespace
ddf67c7782OpenModelica Hudson[Janitor mode] Set auto-props
42aecfbb09Adrian PopAdditional fixes to #3137 - fix FMI generation and import for +target=msvc - build static cminpack.lib for msvc - export equations in Model_05evt.c - compile fmil msvc (unfortunately static does not work for some reason) - fix ansi C in the FMI interfaces files - more CMakeLists.txt fixes in SimulationRuntime/c/
6f3411b59eAdeel Asghar- Added `set print elements` for gdb to print long strings. This can be handled via debugger settings in options.
7bdfc0d8f5OpenModelica Hudson[Janitor mode] Fix whitespace
37eb6040bfAdeel Asghar- logging of arrays.
2a1d2238aaAdrian PopFix #3137 - revive +target=msvc - compile umfpack, cminpack and cdaskr files - update CMakeLists.txt
b92fc6d1bcHenning Kielmalloc via GC fix some warnings
0b2f124aeaAdrian Pop- get the proper process exit code for System.systemCall command on Windows - put the error code inside the Model.log file - remove Compiler/scripts/CompileMSVC.bat as is not used
0d5d7815beMarcus Walther- changed BOOST_REALPATH to Boost_REALPATH, because cmake is case sensitive at this case
35becd6874OpenModelica Hudson[Janitor mode] Fix whitespace
92b054e17cAdeel Asghar- Added toString method for structs for logging.
d0bbda974cAdeel Asghar- handle modelica_string type.
107d190c7bAdrian Pop- too many 'end match'
cf21081726OpenModelica Hudson[Janitor mode] Fix whitespace
c901fef50eMartin FlehmigIndent; added missing 'end match's
9b4234220fAdrian Pop- fix _omc_copyMatrix()
68ccca1829Henning Kielspellfix
9fa7fec8ccHenning Kielfix some warnings proper implementation of _omc_copyMatrix()
525e2aecdfHenning Kielfix some warnings proper implementation of _omc_copyMatrix()
73c4823fccMarcus Walther- added the possibility to pass CMake-Parameters through the makefile.common to the cpp runtime cmake (e.g. 'make runtimeCPPinstall CMAKE_SUNDIALS_ROOT=$HOME/local')
a4ba91938aMarcus Walther- changed boost libraries to realpath, to prevent issues with different installed boost versions
dd9c8806f8Marcus Walther- fix for missing "umfpack.h"
35c2404338OpenModelica Hudson[Janitor mode] Fix whitespace
8931a2d211Marcus Walther- fixed issue with discrete event class and static linking on windows
150db6a015OpenModelica Hudson[Janitor mode] Fix whitespace
9b1b9b8242Marcus Walther- added IDA-library support for static linked cpp-runtime - fixed static cpp-runtime linking on windows - all static generated libraries have now the suffix "_static" - changed all busy-waiting tests to n=1
337c35cdb9Adrian PopFix bug: #3150 - do not use the constant-ness of iterator when calculating the constant-ness of the array reduction
4ff29a9a09Adrian Pop- ddlspec(dllexport|dllimport) should be first before the return type
6ee280ade5OpenModelica Hudson[Janitor mode] Fix whitespace
d084ea1f0cOpenModelica Hudson[Janitor mode] Set auto-props
40a760f83dNiklas Worschechchanged SimulationError exception class of cpp runtime
1aabc0b7edOpenModelica Hudson[Janitor mode] Fix whitespace
17e24b6d47Per ÖstlundFix for #3041: - Implemented deduction of implicit iteration ranges for reductions.
120de98947Martin SjölundRemove some -I flags so the headers copied from simulation runtime works without changes
4377493938Martin SjölundUse `__attribute__` from omc_msvc.h
6959bd6295Adrian Pop- some compilers have no idea what __attribute__((unused)) is
ca2549bfe3Adeel Asghar- Do not escape strings when sending data directly.
016a235823Martin SjölundFix some unused variables
25d5f60a17Martin SjölundFix some unused variables
ed7bdecbf7Adeel Asghar- Generate command arguments as string for logging.
0249252274Adeel Asghar- Generate response as string for logging.
08d8b97285Martin SjölundRemove %>
73d30dc619Henning Kielsome code cleanup
1d00cd6b5aAdeel Asghar- Moved getComponentModifierNames to ModelicaBuiltin.mo. - updated getComponentModifierNames to scripting API.
0f2b05ade0Adeel Asghar- Moved getComponentModifierNames to ModelicaBuiltin.mo. - updated getComponentModifierNames to scripting API.
8b67827353Martin SjölundRemoved some -lf2c that should not be needed
2012aef1a2Adeel Asghar- Moved getParameterValue to ModelicaBuiltin.mo. - updated getParameterValue to scripting API.
1c86e217a7Adeel Asghar- Moved getParameterValue to ModelicaBuiltin.mo. - updated getParameterValue to scripting API.
8ecb212d05Adeel Asghar- Moved getClaasRestriction & getParameterNames to ModelicaBuiltin.mo. - updated getClaasRestriction to scripting API. Removed some unused APIs from OMCProxy.
4a5443854bAdeel Asghar- Moved getClaasRestriction & getParameterNames to ModelicaBuiltin.mo. - updated getClaasRestriction to scripting API. Removed some unused APIs from OMCProxy.
35a59d9f70Adeel Asghar- updated is* to scripting API.
ead213b5d6Adeel Asghar- Fixed isEnumeration.
d5f3d459e5OpenModelica Hudson[Janitor mode] Fix whitespace
93c777363fAdeel Asghar- Moved some class restriction query APIs to ModelicaBuiltin.mo.
122cb678c0Adeel Asghar- updated parseFile, parseString to scripting API.
0bb85f6388Lennart Ochel- #3138: add assertions for not dependent parameters
9e45cdf6a1Martin SjölundFix stack overflow
887a839e21Lennart Ochel- fix wrong else case of function selectSecondaryParameters
3788eadfe6Lennart Ochel- #3138: remove wrong asserts of secondary parameters
caed35ea68Vitalij Rugesmall improvements of the derivatives for dyn. optimization
97ab2d3662Adrian PopFix #3140 - add XML_ParserFree(parser); at the end of modelInfoXmlInit - thanks go to Mathilde for reporting this
36e2623864Adrian Pop- attempt to fix #3136
1516a3e6b3Vitalij Rugefixed generation of dyn. optimization vars
2b807def79Per ÖstlundFix for #3070: - Fix dependency analysis of some cases of redeclares classes.
498cab6e99Martin SjölundBetter makefile for parallelism
a887df1d83Adeel Asghar- updated loadFile & loadString to scripting API.
b9a33546eaAdeel Asghar- Try to fix Windows build. - Converted few more API calls in OMEdit to use scripting API.
c1a432fbe7Martin SjölundRemove OpenModelicaScriptingAPI.mo as Adrian updated the tarball
e1fc90ce2dAdeel Asghar- Generate struct field names based on function output names. - Converted few more API calls in OMEdit to use scripting API.
33d3e2ddf1Adeel Asghar- Generate struct field names based on function output names. - Converted few more API calls in OMEdit to use scripting API.
2900bdefcdNiklas Worschechchanged exception call in cpp template
fa3e21b525OpenModelica Hudson[Janitor mode] Fix whitespace
8c864cca03Ruediger Kampfmann-some fix for older C++ standard
537e27498aAdrian Pop- fix Makefile.omdev.mingw - remove some warnings
37ed16a48aAdrian Pop- split qt-clients build on windows so one can build just the ones who is interested in - better Compiler/Script cleaning - clean OMEdit generated files on clean - get rid of some warnings - do Print.clearBuf() a bit differently in Main
ae940428eaAdrian Pop- split qt-clients build on windows so one can build just the ones who is interested in - better Compiler/Script cleaning - clean OMEdit generated files on clean - get rid of some warnings - do Print.clearBuf() a bit differently in Main
5688a32649Adrian Pop- missing -f
1cb536a4f4Adeel Asghar- Use searchClassNames & getClassInformation via direct scripting API. - Removed OMC_API.h/cpp files as not needed now.
020116c712Adeel Asghar- Allow users to specify a name for FMU via FMI export settings.
4239033361Adeel Asghar- Use getClassNames via direct scripting API. - Removed some unused APIs.
063b01f121Adeel Asghar- emit signals from scripting API for logging.
cd436af2f9Adeel Asghar- emit signals from scripting API for logging.
43bacd0ec7Lennart Ochel- restore indentation
8aba4fd3edVolker Waurich- fix ordering of parameter equations - removed start value calculation - extended dumpSimEqSystem
9f0d670eceAdeel Asghar- Use translateModelFMU directly.
78ca76b32cMartin SjölundInitialize to 0
ca7a56eee7Martin SjölundForce updating the scripting API to the latest version when bootstrapping
426de2d52bMartin SjölundUse only 1 version of the threadData and symbol table
5d3e19235bMartin SjölundUse only 1 version of the threadData and symbol table
24e9acf3beMartin SjölundSet IMPORT_INTO for all files on Windows (to avoid accidentally breaking MMC_THROW)
39c71b81e4Martin SjölundFix accidental spaces
559a06862eMartin SjölundMove the copying of the Qt cpp and header files from bootstrapping to omedit target
e56a24408cAdeel Asghar- make OSX happy.
f98ff9b4b6Martin SjölundMake sure the scripting API is generated
b4970240d0Lennart Ochel- remove duplicated function
84e9228b4aLennart Ochel- remove obsolete debug flag "+d=symbolicInitialization"
1b526bb623Lennart Ochel- remove obsolete debug flag "+d=dumpoptinit"
3628240ef1Lennart Ochel- remove obsolete optimization module "optimizeInitialSystem"
e9dfd6555dLennart Ochel- remove obsolete function
a375b7d1c8Martin SjölundChange OMNotebook default stack size to 64MB (highest)
5fe31636bdAdeel Asghar- Removed the OMOptim documentation as it is already part of OpenModelicaUsersGuide.pdf.
fa46752f52Martin SjölundUpdate scripting API
be73191e19Martin SjölundAdd getComponentsTest API (typed version of getComponents)
b79038690fAdeel Asghar- explicitly tell the user about simulation success/failure and not just show the exit codes.
11df4e4fc9Per Östlund- Some minor optimizations.
abdc5218deLennart Ochel- cleanup
9464ecdc9bAdeel Asghar- Better message to generate operations for transformationalDebugger.
097a10f176Adeel Asghar- check if equations has operations.
f3e214ea74Niklas Worschechfix for c-lang build error in SimController class
0e04f58838Lennart Ochel- add flag "+d=disableComSubExp" to disable module "comSubExp" since it breaks some models
905705ad3eOpenModelica Hudson[Janitor mode] Fix whitespace
77727f6c51OpenModelica Hudson[Janitor mode] Fix whitespace
a3cec11019Adeel Asghar- minor changes in Qt API interface.
cf6179485aAdeel Asghar- minor changes in Qt API interface.
c43b6291f4OpenModelica Hudson[Janitor mode] Fix whitespace
713904dea9OpenModelica Hudson[Janitor mode] Set auto-props
00003439b8Niklas Worschechadded new exception class for all simulation errors in cpp runtime
f800645a39OpenModelica Hudson[Janitor mode] Fix whitespace
9599667346Adrian Pop- expand uniontype records into metarecords on loadFileInteractiveQualified (helps MDT give content assist for uniontype records)
a45c9e4ab6Willi Braun - fix the huge linear solver failings output
3c8cce3aa8Henning KielGive OMNotebook the right icon on OSX
86f06df367OpenModelica Hudson[Janitor mode] Fix whitespace
7cd499eb34Michael Kloeppelfix IDAGetDky issue
990e467e49OpenModelica Hudson[Janitor mode] Fix whitespace
a9979fbdbcMartin SjölundFix assertion output (uses the API for log messages)
f43a23b7adHenning Kiel- try to fix OMNotebook on OSX by increasing stack size. Now, OMNotebook does not crash here. Please test.
4612ff0f30Willi Braun - switch the linear solver, to lapack with totalpivot as fallback
727a5df4ddMarcus Walther- RUNTIME_STATIC_LINKING is now working for Windows systems (MinGW)
27f7b48f23Martin SjölundModelicaUtilities should output to the chosen log format
aa2160398dOpenModelica Hudson[Janitor mode] Fix whitespace
da36c48ab7Michael Kloeppeladd IDA solver to CPP runtime
94150145d1Per ÖstlundFix for #2977: - Allow fewer subscripts than dimensions.
ddc308080eAdrian Pop- use in Windows the same error reporting for dll loading as in Línux
bcdda87201Adrian Pop- back to 1.9.2 nightly
d22c585707OpenModelica Hudson[Janitor mode] Fix whitespace
9e1ce973e3Lennart Ochel- there is no jacobian G anymore
da958b846cLennart Ochel- remove more code from numeric initialization approach
5bb9ff382dNils MenagerFix for time events that occur in every cycle in calcOneStep()
1378b569a2Lennart Ochel- remove obsolete functions traverseAlgorithmFinder and createInitialParamAssignments
ee8830b445Adrian Pop- switch version to 1.9.2 beta1
2ce7805a56Adrian Pop- back to 1.9.2 nightly
135390e5e2Adrian Pop- switch version to 1.9.2 Beta
1a9082062fAdeel Asghar#3098 - Better plot colors for 3rd & 4th variables.
0c4a290866Adeel Asghar#3119 - Removed simflags: "-iom=*" and "-iim=numeric" from OMEdit
ca81b4654fAdrian Pop- fix some typos
a92c746f9dAdrian Pop- try some voodoo
79a0deac14Adrian Pop- use runProcess("cmd /c command") on windows instead of system(command) so that no console window appears - remove some f2c include directories - enable parallel mark in windows
e5df72f80fLennart Ochel- remove more code for removed numeric initialization
e40489727fLennart Ochel- remove more code for removed numeric initialization
7680a65610Martin SjölundFix some abs/fabs warnings (possibly abs was also part of f2c and was an fabs in disguise)
9c48a4acf8Martin SjölundDon't call max() in generated code
83e9f56075Martin SjölundLogic fix
6013e6fdb2OpenModelica Hudson[Janitor mode] Fix whitespace
c376912ae1Ruediger Kampfmann+ some fix due to inputs for vxworks
b76a1d6ec0Lennart Ochel- fix call to min
1b823e9fb3Martin Sjölundmin/max fixes after f2c.h was removed
ca48d9a359Martin SjölundRemove call to min
f2969f964dMartin Sjölundf2c.h fixes, remove some math files from svn
4f13e7004aMartin SjölundThere is no more f2c.h
74a5354253Martin SjölundNo more f2c.h
9c5ae60a39Martin SjölundRemove f2c and a bit more from the simulation runtime (thanks to r24305)
2c49ede02bAdrian Pop- avoid having extern twice
695318ebffAdrian Pop- build OMEdit using the OpenModelicaCompiler.dll on Windows - i think we should have both dll loading and corba in the same OMEdit and toggle it on a flag (so that is easier for testing) - make handleCommand public in Main.mo as otherwise you cannot import it
df9bef23f3Adrian Pop- build OMEdit using the OpenModelicaCompiler.dll on Windows - i think we should have both dll loading and corba in the same OMEdit and toggle it on a flag (so that is easier for testing) - make handleCommand public in Main.mo as otherwise you cannot import it
a8f724fa3bMartin SjölundFix performance profiling for info.json files
55721f2ce3Martin SjölundFix performance profiling for info.json files
17a0ef3c02Adrian Pop- in Windows somehow it matters the order of includes
9ce04411fcAdeel Asghar#3099 - Option to reset the messages number before each simulation run. - The messages number will also reset when user clears all the messages.
8ecb6e7a4bAdrian Pop- on some weird systems case matters :)
dc4d75be86OpenModelica Hudson[Janitor mode] Fix whitespace
e79e4e434aNiklas Worschechadapted BufferReaderWriter of cpp runtime to new writer interface
31db4b3190Lennart Ochel- removed deprecated numeric initialization approach - removed simflags: "-iom=*" and "-iim=numeric" - another commit will remove more code that belongs to the numeric initialization approach
e10c650284Adrian Pop- send threadData to dynamically loaded external function - do not fail in writeBuf if there is no buffer or there is no data - update test BatchPlant_StandardWater
b68318f6ebPer Östlund- Added new package StringUtil for string utility functions. - Improved Util.stringWrap and renamed it StringUtil.wordWrap.
109ae13385Martin SjölundPrint the source files used to run the script
50403286b5Lennart Ochel- #3114: handle empty system in initialization
617aa90fc7OpenModelica Hudson[Janitor mode] Fix whitespace
5b3738643bMartin SjölundTry to make msl-external-libs thread-safe
7899e7aef7Lennart Ochel- #3113: fix missing implicit defined initial conditions
65e1319098Lennart Ochel- remove redundant case
0f73a1a4b9Adeel Asghar- default figaro process location.
336ad043b7Lennart Ochel- fix initialization of inactive when-equations (example from #3092)
678e229acaMartin SjölundDetect der() being used inside a function
3736f27c70Marcus Walther- Threads are now joined correctly after simulation
dec4b3cb80Martin SjölundDo not require setting PATH to run the compliance suite
0fed5cf8abAdrian Pop- don't generate SourceInfo_SOURCEINFO again as is already in meta_modelica_builtin.c and we get duplicate definitions in Windows - small optimization in Compiler/BackEnd/BackendEquation.mo, don't start from 1 (findFirstUnusedEquOptEntry consumes 12% for Spice3BenchmarkFourBitBinaryAdder)
587a307493Adrian Pop- more fixes for Windows - add include to omc_config.h - ansi-c for the highness
f8a291ffd7Willi Braun - update help text.
0c9873e2cbVitalij Rugefixed hessian structure
a3b4047c4eWilli Braun - update help text
0e37c9cd9fMartin SjölundTry to fix OSX build
42f70caabbMartin SjölundHandle more things for minimal simulation runtime: - Numeric initalization disabled - f2c disabled - Most NLS solvers disabled due to f2c dependencies (Only set with OMC_MINIMAL_RUNTIME=1)
f0b538a602Martin SjölundFix compilation
b94f6a4f04Willi Braun - move cse module to the postOptModules - activate it for simulation/libraries/3rdParty/ThermoPower/Bug2537.mos, since it reduce drastically the time of the critical path in the testsuite.
7ac7506063OpenModelica Hudson[Janitor mode] Fix whitespace
90d4309b67Marcus Walther- improved memory optimization
7615f9d478Martin SjölundFix spelling
0a1aa2782cMartin SjölundFix compilation
587c764d79Martin SjölundFix compilation
be4d21b9e9Martin SjölundFix compilation
e709a5e65dAdrian Pop- space junkie
c7a474099bOpenModelica Hudson[Janitor mode] Fix whitespace
5523e30429Martin SjölundFix compilation
44e9c29156Martin SjölundAdd make option OMC_MINIMAL_RUNTIME=1, which skips compilation of many object files in the simulation runtime (to make it easier to cross-compile for real-time targets)
32ea17000eVolker Waurich- use initial values of parameters from binding expressions
336a3e0222Jan SilarPDE extension experiment Plotting scripts
a9f97c5a1bVitalij RugeExpressionSolve: fixed sign in pow(x,y) = z with respect to x
e2e08967c0Adrian Pop- change alarm to also kill the children (the entire process tree) on Windows
89620a531dMarcus Walther- fixed FMU-Cpp Tests
af7ae50923Lennart Ochel- remove unused variable
6d9aa04acaLennart Ochel- #3094: fix some asserts that were not formatted according to "logFormat"
0af4437cd3Marcus Walther- fixed levelfix-scheduler
96c539f91aOpenModelica Hudson[Janitor mode] Fix whitespace
8480703f43Marcus Walther- fixed hpcom of cpp-runtime (levelfix-scheduler still broken) - fixed measure time of cpp-runtime
b4b45cec26OpenModelica Hudson[Janitor mode] Fix whitespace
52c412c1a6Willi Braun - fix differentiate that results in a zeroExp.
c94f64d654OpenModelica Hudson[Janitor mode] Fix whitespace
fd7de1966cWilli Braun - use BackendEquation.travese* functions, to not change the ordering of the given variables and equations
8ec2622d7fMartin SjölundRemove unused code
a49a2f3b06Martin SjölundSwap Linux/Windows
0fbfc87698Martin Sjölund#3107 Send SIGALRM to children when the alarm is triggered
868687a718Adeel Asghar#3094 - escape the text section.
7e55368c13Willi Braun - remove workaround case
61bcfa035bOpenModelica Hudson[Janitor mode] Fix whitespace
dd53542c6dWilli Braun - improved CSE module further. - a remaining isssue that lot of models have issues with the indexReduction if cseCall is activated
922c68509eWilli Braun - fix isRecType
013ebfbfc4Vitalij RugeExpressionSolve: improved numeric for qe
7c9df043f8Martin Sjölund#3106 We no longer install txt-files as documentation
b46fb2dcb2Marcus Walther- changed library order to fix cpp-build with statically linked boost
f90635f44aVolker Waurich- changed cost estimation model
32df748bd0Martin SjölundDo not evaluate functions marked `__OpenModelica_Impure=true`
1a3b70f140Henning Kielfix #2939 again (for windows)
011d9903edOpenModelica Hudson[Janitor mode] Fix whitespace
d160160ce5Niklas Worschechfix for algloop vars initialization for analytic Jacobian
c2ae48960eOpenModelica Hudson[Janitor mode] Fix whitespace
f69fefcd4bWilli Braun - fix SimCode generation for expression like TUPLE() = f().
a6b3a321b8Marcus Walther- forgot one file
b418da2f0aOpenModelica Hudson[Janitor mode] Fix whitespace
c7556d2b5eMarcus Walther- changed name of "Analyzation_Mode" to "Runtime_static_linking" - removed flag "hpcomAnalyzationMode" - moved Runtime_static_linking into cpp-template - added a flag to link boost statically to the cpp-runtime
0fd212813fOpenModelica Hudson[Janitor mode] Fix whitespace
b5d2be1ddbWilli Braun - fix minor issues in some aux functions
7c755e4a34Lennart Ochel- recover communicateStatus since it is used by OMEdit
395ff9b613Henning Kielfix some compile warnings
abdeca1f21Henning Kielfix #2939
ef36822064Vitalij RugeExpressionSolve: - used Vieta's formulas for qe - improved initial guess
a9c82c35adMartin SjölundTry to fix the builds
4f4b59c80cLennart Ochel- remove interactive flag properly
6bbba9c2fbLennart Ochel- remove communicateStatus properly
492d18befaLennart Ochel- remove communicateStatus once more
0ee476a662Lennart Ochel- remove communicateStatus (interactive simulation)
614a89a3eeMartin SjölundRemove interactive flag from help text
c56b70ca61Martin SjölundRemove interactive simulation couplings from simulation_runtime.cpp - Add socket.cpp to c/simulation (TODO: move to c/util as a C interface)
a2757ce315Willi Braun - remove more interactive stuff
e60bd9449eMartin SjölundRemove libinteractive stuff
bfd6aee57dMartin SjölundRemove interactive simulation
0d8fa46b57Vitalij RugeExpressionSolve: update rule for x^y^ = z
426fec1db1Martin SjölundAllow installing qt interface files to fail
2ddfb15227Martin SjölundInstall qt scripting API files into build
871d00a022Marcus Walther- fixed hpcom codegeneration
0f687cb1a0Martin SjölundUpdate OpenModelicaScriptingAPI (Qt version)
ec9e301c2cMarcus Walther- now hpcom codegeneration is working again
d1b7f9308cMarcus Walther- some changes in hpcom to get it running again, but it's still not working
e379abd81bVitalij RugeExpressionSolve: improved rule for solve abs(.)
78a111aaa9Adrian Pop- back to 1.9.2+dev
48966ac372Adrian Pop- switch version to 1.9.2 Beta
d0d6cba8ebOpenModelica Hudson[Janitor mode] Fix whitespace
cfb28f509dVitalij RugeExpressionSolve: fixed initial guess
a7e494d3dcOpenModelica Hudson[Janitor mode] Fix whitespace
087ed2b511Vitalij RugeExpressionSolve: - improved cos(x) - added rule for sin(x) and tan(x) update tests
2c2d9a1d5eOpenModelica Hudson[Janitor mode] Fix whitespace
596c31daaeWilli Braun - added debug pre-opt-module addDerAliases, fixes some issues in algebraic loops, but doesn't work for all models. - can be activate via +d=addDerAliases
25217f1fdbNiklas Worschechfix in cpp template for DiscreteEvent file include
e89830ea7fMartin Sjölund#3096 Implement prototype for dot operator
56877377c9Willi Braun - fix the order of equations dumped by simCodeDump
cba6a8aedbMarcus Walther- fixed build
e1a5eb36baHenning Kiel- some code cleanup - converted recursive matchcontinue to simple while loop
5216c43148Martin SjölundWork in progress Qt interface
8cd3650279Vitalij Rugepartial revert of r24150 - side effect of the tearing - broke some examples
5789935d8dWilli Braun - fix the function BackendEquation.replaceDerOpInEquationList
ba453bfe9cMarcus Walther- simple bug fix - improved error handling in cmake
ba9308aa6aAdeel Asghar- updated MDT link.
b84cafbe4bVitalij Rugeactivated solveSimpleEquations for initialization - probably fixed #3091
e961d211d2Jan SilarPDE extension experiment Euler equation tests
a991a08b3cOpenModelica Hudson[Janitor mode] Fix whitespace
5502c6dbebNiklas Worschechfix for delete objects in cpp template, removed includes SystemDefaultimplementation of cpp runtime
75100a4b38Vitalij Rugeactivated solveSimpleEquations
8dfdb422e2OpenModelica Hudson[Janitor mode] Fix whitespace
c5329635f9Niklas Worschechfix in cpp template for DiscreteEvents in algloop- files
6ef1ec20c9Lennart Ochel- keep pattern clean
9eeca3b1b2Lennart Ochel- cleanup
611c0dd425OpenModelica Hudson[Janitor mode] Fix whitespace
44120c9fabWilli Braun - improve return value handling in cse module.
02c371776bWilli Braun - added debug flag dumpSimCode.
42857722ccOpenModelica Hudson[Janitor mode] Fix whitespace
5af15bc5b8Willi Braun - fixed #2669.
f7981e150bOpenModelica Hudson[Janitor mode] Fix whitespace
8259cd6507Willi Braun - fixed #3092
9d3b8921aaJan SilarPDE extension tests new matlab scripts to visualize arrays
fe85339fb4Niklas Worschechfix in fmu cpp template for missing PreVariables file
d9e9f3389aOpenModelica Hudson[Janitor mode] Fix whitespace
affedaeb6fOpenModelica Hudson[Janitor mode] Set auto-props
6d2782c99fLennart Ochel- new pre-opt module: CSE - eliminates common sub expression in acausal environment - Different options are available: - +cseCall: consider duplicate call expressions - +cseEachCall: consider each call expressions - +cseBinary: consider duplicate binary expressions - NOTE: This is currently just an experimental prototype to demonstrate interesting effects
dad9896ed6Niklas Worschechsplitted EventHandling class in DiscreteEvents,ContinuousEvents and PreVariables
d649b41e33Per ÖstlundFix for #3075: - Fixed Util.stringWrap so it handles strings ending with a space properly.
20b84827ffOpenModelica Hudson[Janitor mode] Fix whitespace
1c5687786aMarcus Walther- initAlgloopSolverVariables is now called in initialize, to prevent an invalid free - renamed initAlgloopSolverVariables to initializeAlgloopSolverVariables - added umfpack to analyzation mode
dbc94f245cAdrian Pop- use +version instead of ++v which is not available anymore
9d69d14e7aAdrian Pop- somebody played with the flags, use +version instead of ++v
32939a616cOpenModelica Hudson[Janitor mode] Fix whitespace
77598f17e4Patrick Marcel Taeuber- Temporarily use omcTearing for strong components bigger than 200 variables until problem with Cellier Tearing is fixed
cf31ae1191Willi Braun - move printCurrentStatesVector to get more information
107762076aPer Östlund- Changed version flag back to --v, -v was already taken by vectorization limit.
907b96332aPer ÖstlundPartial fix for #3075: - Improved the flag parsing and added a test case for it.
487cfb734bLennart Ochel- Fix result via tcp/ip
28ba3743deOpenModelica Hudson[Janitor mode] Fix whitespace
6daf323e77Willi Braun - added debug outputs for dassl evaluation context - added simulation runtime flag LOG_DASSL_STATS, which outputs current states vector
7df0eb838dWilli Braun - added statistics for all non-linear solvers
b596e53035Adeel Asghar#3085 - Use resizeColumnToContents instead of setStretchLastSection. - Better tooltip for equations browser.
67edf005d2Lennart Ochel- random cleanup
95cd2c5b69Lennart Ochel- fix typo
2ddf94510dAdeel Asghar#3085 - setStretchLastSection of TransformationsWidget so that Horizontal sliders appear.
a3eb49f5afHenning Kieluse "else" instead of "case _ then" in match(continue) expressions
9024c893faMarcus Walther- changed default hpcom-code to openmp
05f745045aOpenModelica Hudson[Janitor mode] Fix whitespace
6f45669755Per Östlund- Improved the handling of if-expressions to better handle arrays with different sizes in the branches.
a3d3b120ddLennart Ochel- update some error messages
af308d3c85OpenModelica Hudson[Janitor mode] Fix whitespace
9646883422Jan SilarTesting MOL Euler equations, Riemann problems
5e36cd4710OpenModelica Hudson[Janitor mode] Fix whitespace
bb6000a8efVitalij Rugeimproved simplification of relations
7fc2156c83Henning Kieluse match instead of matchcontinue where possible use try/catch instead of matchcontinue
7752284aa5Lennart Ochel- update some error messages
778a445c84Adeel Asghar- Added a click slot for model switcher button.
db2e82fa90Nils MenagerIntegration of Component ModelicaCompiler to cpp runtime in CMake File and LibrariesConfig.h.in
3b283b6941OpenModelica Hudson[Janitor mode] Fix whitespace
0c05fbfa9fMarcus Walther- renamed "HpcOmTaskGraphMeta.nodeDescs" to "HpcOmTaskGraphMeta.compDescs" - improved the array-unrolling functions in HpcomMemory - changed CheckODESystemSize of HPCOM -> it checks the scheduled graph now - added a resize-function to the cpp-arrays (required for array unrolling)
7cfec8bb8aLennart Ochel- fix format string
1454ee1c54Bernhard BachmannFixed LOG_NLS_JAC dump
7d04c7c42fAdeel Asghar- Added FMI version settings. - Allows exporting version 2 FMUs.
a36a7d7cf3Adeel Asghar- Added FMI version settings. - Allows exporting version 2 FMUs.
6cfc839a1bLennart Ochel- add missing keywords (pure and impure)
9e1f9451beLennart Ochel- remove unnecessary simplifications before pre-opt modules
02da4b2b7eWilli Braun - fixed assert handling during event iteration and event handling
5105359e49OpenModelica Hudson[Janitor mode] Fix whitespace
35c73126c1Lennart Ochel- declare numeric initialization as deprecated
0396498549Lennart Ochel- put trace dump on flag
1cf0e4cabbOpenModelica Hudson[Janitor mode] Fix whitespace
b4515949bfLennart Ochel- Fix initialization of primary/secondary parameters. The analysis of the symbolic initialization is now used instead of the one from the old approach.
1870e97869Vitalij Rugefixed r24047.
82a4bdb3a7OpenModelica Hudson[Janitor mode] Fix whitespace
bf1a3ecec7Vitalij RugedifferentiateExpSolve: guard if() and sign()
0f0e06547cOpenModelica Hudson[Janitor mode] Fix whitespace
571159ce6dVitalij RugecreateResidualExp: reduce fractions
f4bb4fbcdbAdrian Pop- fix typo, hopefully Mac can start simulating models again after r23974
c015ec3bf1Willi Braun - activate case from r24039
3927067b0fOpenModelica Hudson[Janitor mode] Fix whitespace
8bbe824ab8Willi Braun - added case to avoid generation of nonlinear systems for record constructor in tuple calls (e.g. (R(r1,r2),x) = f(x)).
451d91eac0Adeel Asghar- Adjust the default scene rectangle size to show it properly.
b63d2f5056Adeel Asghar- Some fixes for querying of components and inherited components.
95eaaf57b6OpenModelica Hudson[Janitor mode] Fix whitespace
3ab706f2faVitalij RugecreateResidualExp: using fraction for simplify residual
43b807bf40Martin SjölundFix elab/simplify/ceval for identity and diagonal
62ab4d132eNiklas Worschechmodified setStartValue and getStartValue in cpp runtime
395fbba79eOpenModelica Hudson[Janitor mode] Fix whitespace
976ec43276Niklas Worschechmodified pre method in cpp runtime, removed second parameter expected output
26a21f0e6aMartin SjölundEnable modelica3d with --enable-modelica3d
4ff428c9ebVolker Waurich-extended dump of compInfo
bf86c821a9Adeel Asghar#2956 - Do not set a default value of origin. Use the origin as transformation origin point only if it is defined in actual modelica code otherwise extract it from extent points. - Only call snapPointToGrid when creating a shape/component otherwise use movePointByGrid.
bf32ebd2bfAdeel Asghar#2956 - Do not set a default value of origin. Use the origin as transformation origin point only if it is defined in actual modelica code otherwise extract it from extent points. - Only call snapPointToGrid when creating a shape/component otherwise use movePointByGrid.
4a5d82dea6Martin SjölundFix Modelica format strings on 64-bit platforms
96d909e002Marcus Walther- result-file is now only written if outputFormat!=EMPTY and outputPointType!=EMPTY
0adcbc0e08OpenModelica Hudson[Janitor mode] Fix whitespace
fb8f8ed60eVitalij Rugefix numerical hessian structure for dyn. optimization without nonlinear constraints
33e60d65daVolker Waurich- extended countOperations for division
f92dbf352aOpenModelica Hudson[Janitor mode] Fix whitespace
cae79583f3Marcus Walther- added memory-map for cpp-runtime default behaviour and thread-scheduling - LocCo-included (a heuristic value to evaluate memory structure for parallel simulation runs) - c++-classes are now memory-aligned - improvements for hpcom-testsuite - removed metis-debug-output
de2f4d4223OpenModelica Hudson[Janitor mode] Fix whitespace
e97f44777fVitalij Rugefixed empty dyn. optimization
15b286cb94Martin Sjölund#3063 - Fix switch of string in cases
df6b717f8bOpenModelica Hudson[Janitor mode] Fix whitespace
4e8d6e323aPatrick Marcel Taeuber- Added error message if discrete variable cant be solved explicitly in none of the equations - +d=tearingdumpV now also contains the dumps of +d=tearingdump
d079dd07c6OpenModelica Hudson[Janitor mode] Fix whitespace
d4946d490aVitalij Rugeadded postOptModules for solving linear system symbolical in BackEnd (based on QR decomposition) Improvements will come!
2b4b277df3Martin SjölundDon't filter out every component in the record constructor
ebbaacf84dOpenModelica Hudson[Janitor mode] Fix whitespace
8f08f3eea7Martin Sjölund#2978 Make it an error to add ExternalObject components to records - Update modelica3d
125504b7edLennart Ochel- restore r23957 partially (introduce __DEBUG_TRACE_HANDLE)
484c891fefLennart Ochel- move initialization of stateSelection properly
dc6377d81bMarcus Walther- try to fix windows and mac OS build
6f1e3d2bdeAdrian Pop- ansi C
60a34f0a05OpenModelica Hudson[Janitor mode] Fix whitespace
17683717daWilli Braun - added linear sparse solver umfpack for large linear algebraic loops - activated umfpack for default compilation - revise and adapt all a bit linear solver - added measurment clock for all linear solver - added more linear test cases
af9cf5c6b1Willi Braun - fix #3064 by moving the stateSelection after the intialization
2b389a7eb5Adrian Pop- fix sending constant strings to external functions - added test for ExternalMedia model: testsuite/simulation/modelica/external_functions/ts.mos
df2693cac4OpenModelica Hudson[Janitor mode] Fix whitespace
0b33566fdcLennart Ochel- add more TRACE information
a7b270dfcfOpenModelica Hudson[Janitor mode] Fix whitespace
3e3e58f6bdLennart Ochel- add TRACE information to more generated functions
fc15467c5fMartin SjölundFix stack overflow, expected output
8f4ce6be9dWilli Braun - fix #3057
a01449dd3bLennart Ochel- revert r23957
b3705ef6cbOpenModelica Hudson[Janitor mode] Fix whitespace
f1d0190095Lennart Ochel- new flag –lv=LOG_TRACE to control TRACE-dump for debugging purpose
9b0d7a8d70Martin FlehmigTypo
7e49f27e12Marcus Walther- fixed wrong measureTime results for evaluateAll
06fedd0173OpenModelica Hudson[Janitor mode] Fix whitespace
1112fba0b6Patrick Marcel TaeuberSwitched default tearing method to Cellier Tearing. Following tests have problems with Cellier Tearing and still run with omcTearing: ./simulation/libraries/msl31/Modelica.Electrical.Analog.Examples.CharacteristicThyristors.mos ./simulation/libraries/msl32/Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.mos ./simulation/libraries/msl32/Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.mos ./simulation/modelica/events/bug1228.mos
c43f2cdb6dWilli Braun - inner equations of the non-linear solver are updated by the solver
23cb85baa7Willi Braun - fix #3060.
1d9d15fefaWilli Braun - next attempt to fix the testsuite
3aa1f42c1eWilli Braun - fixed bisection by calculating the maximum needed iterations for a given tolerance - 04_HandleEvents.mos needs a finer grid, since otherwise some events are missed.
da4d075e52Lennart Ochel- cleanup
60bb840863Willi Braun - attempt to fix fmu binaries path name, mention in #3057.
bf805554daWilli Braun - belongs also to r23943
524f93112aWilli Braun - belongs to r23943
090ba38a15Willi Braun - adding relativ tolerance for bisection event search
903aeec88fOpenModelica Hudson[Janitor mode] Fix whitespace
2768e5e5c9Marcus Walther- hpcom is now able to handle empty ode-systems correctly -- this should fix the simple resistor test
611f0d23a6OpenModelica Hudson[Janitor mode] Fix whitespace
6bbd9ee83dWilli Braunfixed variables sorting in FMI 2.0 (see #3057 part 2)
b8923aa450OpenModelica Hudson[Janitor mode] Fix whitespace
c8e68bad0cWilli Braunprevent adding a dummy state if no states are present - don't use dassl if no state are present
703b0bfe40Volker Waurich- transfer initial value for replaced common sub expressions
74cb4e6447Lennart Ochel- don't overwrite primary parameters while initialization (e.g. #3050)
fa62b150b8Vitalij Rugeimporved negate for binary
ceb43d3c2cOpenModelica Hudson[Janitor mode] Fix whitespace
0d851d6176OpenModelica Hudson[Janitor mode] Set auto-props
474170a3d0Vitalij Rugeadded some docs for dynamic optimization
ebaae8568bVitalij Rugeimproved solveSimpleEquations
b79fe717b2OpenModelica Hudson[Janitor mode] Fix whitespace
61d1eadbe2Nils MenagerTime Event fix
87f4492a58Nils MenagerGet new states after time event
e4a96be035OpenModelica Hudson[Janitor mode] Fix whitespace
11366f67c7Vitalij RugeExpressionSolve: improved handling of modelica functions
744bd1ce03OpenModelica Hudson[Janitor mode] Fix whitespace
b363c87293Vitalij RugepostOptModules: added solveSimpleEquations with manipulations from ExpressionSolve (disable)
e6c0107b6bHenning Kielsome code cleanup: match ... else then ... -> match ... else ... case (exp as ...) ...exp... -> case (...) ...inExp...
4da0c1d2baWilli Braun - revert for now r23902, since it break some build
e5f52ba512OpenModelica Hudson[Janitor mode] Fix whitespace
ecb10bcf81Willi Braun - added linear sparse solver umfpack for large linear algebraic loops - activated umfpack for default compilation - added measurment clock for all linear solver - added more linear test cases
611c14d293Willi Braun - fix dist-clean by adding synonym for really-clean
f0bedf7330Vitalij RugeExpressionSolve: - solve cos(x) = y
043c82b5caVitalij RugeExpressionSolve: - simplify qe case
afff8b130dOpenModelica Hudson[Janitor mode] Fix whitespace
07dc484f55Vitalij Rugemproved DynamicOptimization: use - if-else-construction - for-loop-construction
426142a4d5Willi Braun - added min, max and nominal attribute to FMI 2.0
4805bdb13eOpenModelica Hudson[Janitor mode] Fix whitespace
af3b5bc4e1Vitalij Rugeimproved DynamicOptimization: use if-else-construction
025e732163OpenModelica Hudson[Janitor mode] Fix whitespace
55023e5266Willi Braun - improvement of r23889.
07cf0aa9b0OpenModelica Hudson[Janitor mode] Fix whitespace
f64a9be198Willi Braun - added rule for max of an array expression. - fixed #3048
a5215c2304Adeel Asghar#3043 - Send the correct step size to simulation executable.
372bad0d17Adeel Asghar- Handle the fileName returned by `getClassInformation`.
299db8c4faAdeel Asghar- Don't copy the SourceInfo so that user can save the copied class to new location.
5b491ed1bdAdeel Asghar- Don't copy the SourceInfo so that user can save the copied class to new location.
bee6fff234Adeel Asghar#2781 - Settings for Messages Browser. - Allows settings output size, font and color for messages.
504e79d313Vitalij Rugeadded test case for dyn. optimization
b4221d2b95Vitalij Rugedyn. optization: fixed handling case with dummy state
e8b7995a7aVitalij Rugeclean up ExpressionSolve.mo
603fc12521Adeel Asghar- Do not print filename twice.
38598c5021Adeel Asghar#3042 - Fix the stupid copy paste.
e78c2433f8OpenModelica Hudson[Janitor mode] Fix whitespace
ad31576ef6Volker Waurich- restrict cse functionality until next year
c7f12ec14dVolker Waurich- dont remove state vars in cse
901d5c56c9Marcus Walther- fixed metis clustering
1d32a22413Volker Waurich- fix for cse
7d679c60a1Adrian Pop- use +n=1 for Makefile.depends bootstrapping target (it seems to deadlock on Windows)
8d1192a255Lennart Ochel- add reminder to prevent secondary parameters from being overwritten
48d16fcafbAdeel Asghar#2746 - FMU type ModelExchange and CoSimulation is not supported yet.
68c71a0613Adeel Asghar#1761, #2781 - Text based error messages since QTreeView gets very slow with multi-line messages and many entries. - Create links for errors.
34e3d0bf69OpenModelica Hudson[Janitor mode] Fix whitespace
e7eb8f33cbAdeel Asghar- Make FMI 1.0 co-simulation work.
b0914b2a78Adeel Asghar- Use the fileName argument of parseString & loadString.
eff1d76b80Volker Waurich- fix for cost estimation
4d03efe82bMarcus Walther- GC is now disabled if HPCOM-Flag is set - added BDP-Modell to hpcom testsuite
4c37e90766Adeel Asghar#3040 - Check if class is partial.
ee9b2eaadfAdeel Asghar#3040 - Only allow simulation for Model, Class & Block.
1daea97fdbLennart Ochel- Fix initialization of dependent parameters - Detect cyclically dependent parameters - except for some special cases, e.g. parameter Real p = 2p;
8ea9c8b8abAdeel Asghar#3016 - Make result item selected in Variables Browser. - Added some more information to the Archived Simulations list.
1bc9fc0badOpenModelica Hudson[Janitor mode] Fix whitespace
e887372481Marcus Walther- vector-name of state derivatives can now have a different name than "__zDot" - fixed a issue with memory optimization of hpcom - removed some debug output in BackendDAEOptimize - added scheduler specific GRS for levelfix-scheduler - fixed hpcom code generation for cpp-runtime
6fea97e37eOpenModelica Hudson[Janitor mode] Fix whitespace
98b4b7c2c8Marcus Walther- reverted evaluateODE-call in evaluateAll (cpp-runtime)
0312dda704Vitalij RugeExpressionSolve: improved handling of sqrt
804573d075Adeel Asghar- more fixes for tree branches.
66503245eeVitalij RugeExpressionSolve: added case for quadratic equation - a*x^n - b*x^m
2c02aad5b4OpenModelica Hudson[Janitor mode] Fix whitespace
53f7ebe12bVitalij RugeTestExpressionSolve: - improved solve of quadratic equation
a7a74ad2cbAdeel Asghar- Fixed display of tree branches.
212febd5ccAdeel Asghar- Display warning if model_init.xml file not found.
aa34db7fb6OpenModelica Hudson[Janitor mode] Fix whitespace
2ac4703119Willi Braun - fixes for FMI 2.0 - corrected some case of initial, variability and causality - fixed Boolean handling - added test cases for Boolen and Integer
74612094b7OpenModelica Hudson[Janitor mode] Fix whitespace
21a005c604Vitalij RugeTestExpressionSolve: - solve some kinds of quadratic equation
8ebe0db36dMichael Kloeppelfurther fix for METIS scheduler
057f79d84dOpenModelica Hudson[Janitor mode] Fix whitespace
b3bbecf147Volker Waurich- introduce der calls for equation systems too (plts)
60d5b2e4aaWilli Braun - fixed fmu import for zero states case
1771a44f85OpenModelica Hudson[Janitor mode] Fix whitespace
e4fbdab56eMichael Kloeppelfixes for METIS scheduler and UMFPACK solver
f65b079464Volker Waurich- reintroduce der calls in new residual equations for plts
e20f76b75eOpenModelica Hudson[Janitor mode] Fix whitespace
5df5805bcbVolker Waurich- assign start values for auxiliary variables
257a7f6c42Volker Waurich- deactivate plts
beb8e9519aVolker Waurich- remove debug print
434194655dVolker Waurich- activate plts
29749ccbceOpenModelica Hudson[Janitor mode] Fix whitespace
a8fa928454Vitalij Ruge- improved expPow - added case for isNegativeOrZero
398516f08dVitalij RugeTestExpressionSolve: added case for cosh
6749782f68Adrian Pop- use i386-pc-linux instead of linux-i686 as Willi suggested (unfortunately I have no idea what $host is returning inside configure)
391396b77eVolker Waurich- equation systems of size 1 are ok when there is a dummy state - removed prints for partlintornsystems
e0fcc8b987Willi Braun - fixed fmi platform for linux32
91a0a0f4c6Adrian Pop- the platform string has changed in r23795, attempt to fix the testsuite.
c42cec5135Vitalij RugeExpressionSolve: - improved cases for abs, pow(x,n) with Expression.isPositiveOrZero - improved cases for sinh, tanh with tmp vars
7743e11046Volker Waurich- dont apply partlintornsystem for systems including dummy states
f79268868cWilli Braun - fix for #2840 - a bit of clean up in the fmi interfaces
58fad24bc4Willi Braun - fmi2: use platform strings according to the spec: linux64 and linux32
2984f03e82Per ÖstlundFix for #3028: - Workaround for compiler bug in Static.getOptionalNamedArg.
e89c071ddfAdeel Asghar- update the icon in tree when iconView of model is changed.
dd83af385cAdeel Asghar- Set the ItemSendsGeometryChanges flag for shapes.
abde7d1f64Martin SjölundUse host instead of uname to determine platform (since we compile 32-bit files on 64-bit OS)
1306067a03Adeel Asghar- Added 2014 contributors.
359cc86c90Vitalij RugeExpressionSimplify.simplify2: - fixed simplifyMulJoinFactorsFind for case "e11-e12 and e12-e11, negative -1.0 factor"
d5e5273b18Willi Braun - fix #3036 by adding an event at terminal()
afb7e55eb6Marcus Walther- swapped the __x86_64__ and __i386__ cases in measure time - hopefully this will fix measureTime on x64 machines
8479333528OpenModelica Hudson[Janitor mode] Fix whitespace
4cd26e08caVolker Waurichfurther extension for countOperations
cf2b87f52bOpenModelica Hudson[Janitor mode] Fix whitespace
0d3bd335a5Niklas Worschechremoved saveDiscreteVars in cpp template, activated get and set method for variables only for fmi code generation in cpp template
631b813582OpenModelica Hudson[Janitor mode] Fix whitespace
14a8735bf0Willi Braun - fixes and testcase for #3034
2c7c62c8e2OpenModelica Hudson[Janitor mode] Fix whitespace
60b2c6811fNils MenagerHandling time events at one time instant at once
df6a4389b6OpenModelica Hudson[Janitor mode] Fix whitespace
9a0d8e60f3Niklas Worschechsplitted write values in cpp template
cad9e5cf41Vitalij RugeExpressionSolve: improved numeric for makeProduct
22347782e5Adeel Asghar- fixed typo.
c9615a7892Adeel Asghar- fixed typo.
92d28f37e1Adeel Asghar- Handle the mouse press events in a more better way. - To start a connection click and drag same as Dymola. This is done so that users can double click and view parameters window even for connector type components. This will also fix weird click behaviors like one mentioned here https://www.openmodelica.org/forum/default-topic/1464-gui-error-you-cannot-connect-two-components.
f2b07d93b2OpenModelica Hudson[Janitor mode] Fix whitespace
d89adcd9f0Volker Waurich- get more precise information with countOperations
3cf7b7505fOpenModelica Hudson[Janitor mode] Fix whitespace
87cef19b70Marcus Walther- added intel tbb and pugiXML to the CMake-Configuration of the cpp-runtime - fixed the old tbb-code for HPCOM - changed hpcom-default-scheduler to the level-scheduler - extended the testsuite for hpcom with some tests for tbb and levelfix-scheduling - evaluateConditions is calling evaluateAll now in generated C++ Code
01058b1d38OpenModelica Hudson[Janitor mode] Fix whitespace
867c206b6cNiklas Worschechfix for one dimensional arrays in cpp template
ec6e2d5decPer Östlund- Updated documentation for simulate/buildModel.
79efe3758bRuediger Kampfmann-fix in SimManager
088f47034bRuediger Kampfmann-fix in SimManager
b2ac5a13b9Ruediger Kampfmann-fix in SimManager
a4d6717b14OpenModelica Hudson[Janitor mode] Fix whitespace
a9c029a1cbMarcus Walther- improved splinlock and busy-waiting barrier of cpp runtime - changed the busy wainting tests to n=2, so that they can be executed on dual core machines
29158def85Niklas Worschechchanged 3d array of cpp runtime to row-major order
560aea7f0dOpenModelica Hudson[Janitor mode] Fix whitespace
7ad52f0b79Marcus Walther- prototype for scheduler based graph rewriting rules added to HPCOM - adopted the new cpp file structure to cpp-hpcom - added a filterOnFalse-function to the list module - some new test models are now part of the hpcom cpp testsuite - fixed listr-scheduler of cpp-runtime - fixed mergeSimpleNodes
9fb71ed070Adrian Pop- use GC_malloc_uncollectable for stringVars in initialization.c too
f2367a9e9eAdrian Pop- fix testsuite (we fixed using GC_malloc_uncollectable in one place but there were more places)
7db0bbb8b0Vitalij RugeExpressionSolve: improved solve for if-expression
e4dbe3b136Adrian Pop- return something in SimulationRuntime/c/util/integer_array.c - hopefully fix condition in SimulationRuntime/c/simulation/solver/initialization/initialization.c - try to use proper data types in function interfaces - get rid of some of the warnings - transform to char* where needed
44803eccbeAdrian Pop- transform to char* where needed
fa3f55ac8dHenning Kiel- added skew() and symmetric() to CodegenC.tpl
e53ed782f2Henning Kiel- implement unary minus for integer arrays - fix pow, exp, division for integer array alloc version
46b35a983dHenning Kielfix matrix multiplication for integer arrays in SimulationRuntime/c
db2b683b95Henning Kieladded element wise multiplication of integer arrays to SimulationRuntime/c
18aed9c03fHenning KielFix type casting in CodegenC.tpl
70c1514ea4OpenModelica Hudson[Janitor mode] Fix whitespace
966250816fVitalij RugeExpressionSolve.solve2: fixed $_initialGuess and tmp vars.
9322b32bc5Niklas Worschechfix for create array in cpp template
5aa69a5ddeHenning Kielfix typo
a23b8a80e7Henning Kiel#3026 - Fixed some more integer array operations.
9541f6e29fAdeel Asghar#3026 - Fixed the boolean array assignment. DoublePendulum test should work now.
f59b12accbOpenModelica Hudson[Janitor mode] Fix whitespace
522a7e427eNiklas Worschechreomved start index for writeparams in cpp template
79c0219843OpenModelica Hudson[Janitor mode] Fix whitespace
f8c56cfef4Vitalij Rugeimproved r23722 - handling of sign() by solve e.g. abs(x) or pow(x,2)
0a5b7c3588Adeel Asghar#3026 - Fixed the integer array assignment.
2eca0f4eddAdeel Asghar- Only check for invalidNumber & nullPointer when NUMBER_OF_STATES > 0.
3917aaf61cAdeel Asghar- Fixed FMI import code generation.
a138e6b25dOpenModelica Hudson[Janitor mode] Fix whitespace
cf82a10725Vitalij RugeExressionSolve.solve2:
e522f22871Adeel Asghar- Check the result variables list size before creating variables tree.
645b24a2a1Adeel Asghar- print the error level
aa168dc445Volker Waurich-another fix for cse
b0d170c6b3Niklas Worschechfix in cpp template for array indeces
d8841b6bddAdeel Asghar- Avoid `FMU could not converge in event update` error by setting the iterationConverged to true.
ad664f7957Volker Waurich- fix for cse
090a0c4434Vitalij Ruge#3023 createSingleComplexEqnCode2: update case tupple() = f() - check crefs from lhs inside rhs
14cc257c23OpenModelica Hudson[Janitor mode] Fix whitespace
6617dd1337Niklas Worschechseparated array initialization in cpp template
01855e1427Adeel Asghar- Fix last commit.
10d936a7bfAdeel Asghar- Remove the eol comma separator from csv output.
2e58dbd1deMarcus Walther- fixed pthreads_spin codegeneration for hpcom - improved measure time and busy waiting locks - added cvode-metrics to measuretime
6a2471888dHenning KielFix type of parameter
9ba42c7999Martin SjölundIgnore errors
f2eae9ee89Martin SjölundAutomatically generate OpenModelicaScriptingAPI.mo
7b223d6371Martin SjölundUse the impact package listing in getAvailableLibraries
0b42a4b3cbAdeel Asghar- Simulation executable outputs HTML entities so use Qt::convertFromPlainText.
337c485ec9Martin SjölundFix not loading too low package versions
69bbeb1628Martin SjölundAdd `loadModel(requireExactVersion=true)`, which does not automatically load MSL 3.2.1 if MSL 3.2 is requested
0128ee596cMartin SjölundRemove duplicated function introduced in r23676
0c53cff3c0Martin SjölundAlso only install libraries if the user libraries path is on the MODELICAPATH
da5bbac063Martin SjölundDuring `loadModel`, use the `impact` command if the user has impact installed
9e90ddcd2eNiklas Worschechfix for wirteParams in cpp template
bba24ff86aAdeel Asghar- Better names for flow control variables.
ad72f292faMartin Sjölund#3019 Serialize `NEW_DUMMY_DER`
1cb0dbaebcLennart Ochel- Removed some unnecessary local variables
7a1c087775Lennart Ochel- Use of try-else-construction
5cb155271eAdeel Asghar- Raise the ModelicaError when any of the fmi* functions fail. - Fixed the assert tests.
8cac80f70cLennart Ochel- adapt statistics dump to make it collapsible in the new simulation output view of OMEdit
bbf01770adAdeel Asghar- fmiSetString should work the same as fmiSetReal/Integer/Boolean.
f9962402c2OpenModelica Hudson[Janitor mode] Fix whitespace
6b78d10d00Per Östlund- Optimized some excessively used functions (crefPrefixOf, crefEqual, expEqual) - Small pattern matching optimization, don't match against RECORD() patterns in switch-optimized match-expressions (the switch already does the matching).
e8bcc2cc55Adeel Asghar- Dump the variables in a better way.
f13d08e6f8Willi Braun - added statistics section for linears systems - revise linear system
48fe8db03dMartin SjölundFix clean, log same times as with CORBA
06158644d4OpenModelica Hudson[Janitor mode] Fix whitespace
2cfcbd3923Marcus Walther- Some more detailed information about level-scheduling added if hpcom dump is set - Removed "simulationMainFile" template function from hpcom-susan file - Improved Profiling of cpp-runtime
f66863f2ddAdrian Pop- do not load files in parallel for target Makefile.sources
a0a22f20caOpenModelica Hudson[Janitor mode] Fix whitespace
44d2ee1460Adeel Asghar#2130, #2776, #3011 - Call fmiSet* for parameters before initializing the FMU. - Call fmiGet* for dependent parameters after initializing the FMU. - Created a separate section for FMU instantiate and FMU initialize. - Generate a better Modelica code to avoid initialization warnings.
2e8c09e885Lennart Ochel- fix #3014
e09f1fecb7Lennart Ochel- fix #3009
f09c7f8290OpenModelica Hudson[Janitor mode] Fix whitespace
09e7e3ea42Niklas Worschechsplitted writeParams method in cpp template
7062c16435Marcus Walther- added cpp-file splitting to hpcom template
df185a957aOpenModelica Hudson[Janitor mode] Fix whitespace
779ad03e71Marcus Walther- profiling of the cpp-runtime can now be enabled with the help of the makefile argument 'RUNTIME_PROFILING="true"'
c2ad1b127cOpenModelica Hudson[Janitor mode] Fix whitespace
0dfde5b240Niklas Worschechsplitted initialization and writeoutput files in cpp template
ee2785259eOpenModelica Hudson[Janitor mode] Fix whitespace
f28fb27db9Vitalij RugeBackendEquation.solveEquation: - passed DAE.FunctionTree - inline function calls
d9c07f2329OpenModelica Hudson[Janitor mode] Fix whitespace
e701ae7d47Lennart Ochel- revert r23613, because it breaks initialization of parameters in some cases
344fbe715cPer Östlund- Fix tests.
27936a328eMarcus Walther- removed some debug output commands from HpcOmMemory.mo - additional time points for measure time added to cpp runtime
696fbb4d27Adeel Asghar- No need to hard code StateSelect since it is part of built-in environment and can be accessed via API.
e3786a3136OpenModelica Hudson[Janitor mode] Fix whitespace
91c5ffb925Martin Sjölund#3012 Add StateSelect to ModelicaBuiltin.mo
f9116f5934Marcus Walther- fixed hpcom windows builds
7cf3e3082aAdeel Asghar- Fixed some display cases of initialization values.
c9096710b9OpenModelica Hudson[Janitor mode] Fix whitespace
707489b3c8Vitalij RugeExpressionSolve: - try to solve modelica functions - inline function calls and hope ExpressionSolve can solve new expression
ccb0e1be36Per Östlund- Fix tests?
434807444aPer Östlund- Fix build.
c51018a578OpenModelica Hudson[Janitor mode] Fix whitespace
6081006161Adeel Asghar- emit sendCompilationFinished.
18e8fd8be1Per Östlund- More cleanup of Static.
51246e7eabAdeel Asghar#2391 - Improve handling of modifiers in OMEdit.
0b23e35df7OpenModelica Hudson[Janitor mode] Fix whitespace
09ad2d89feMartin FlehmigRemoved redundancy in templates, brief review
ba0ab84651Nils MenagerSmall fix for calculation of sample cycles
e4b3acf636Adeel Asghar- Hard coded the StateSelect drop down in the code. It will be nice to get it from API so that we won't have to update OMEdit when the predefined type's literals change.
78da5d02feOpenModelica Hudson[Janitor mode] Fix whitespace
34fd6de974Niklas Worschechfix for array index operator call in cpp template, separated external vars initialization in cpp template
a467730378Vitalij RugeExpressionSolve: - added more nonlinear cases for sinh,cosh,log10 - change collect-strategy - update test
879ff2493bOpenModelica Hudson[Janitor mode] Fix whitespace
d8975aedb2Marcus Walther- fixed deleteObject() in hpcom cpp-runtime - disabled memory optimization for level scheduler
7bfa7b63c3Bernhard Bachmannproper initialization of counter "numberOfIterations"
82ea5cdb0cAdeel Asghar#2550, #2390 - Fully support showStartAttribute in OMEdit.
771a0a80cfAdeel Asghar#2550, #2390 - Fully support showStartAttribute in OMEdit.
8470c7d421Lennart Ochel- attempt to fix initialization for parameters that have no binding but a start value
5d17b4dfc6OpenModelica Hudson[Janitor mode] Fix whitespace
6e0b98f05fVitalij RugeExpressionSolve: - update expand-strategy - improved cases for pow - added and update tests
0a2fddeeafOpenModelica Hudson[Janitor mode] Fix whitespace
4ff378b890Marcus Walther- memory optimization of hpcom can now handle int and bool variables - cpp-runtime uses hpcom variable positions now as defines
8358a94f15Adeel Asghar- Show the proper color for simulation output in formatted text mode.
7fd6d2c8d3Adeel Asghar- Display the simulation output parser error.
74ce4ad90fHenning KielCreate real fake files
1da7f35996OpenModelica Hudson[Janitor mode] Set auto-props
322396cedcAdeel Asghar- Fixed some re-simulate scenarios. - Separated the SimulationOptions from SimulationDialog.
55da51ea04Adeel Asghar- qRegisterMetaType StringHandler::SimulationMessageType for SimulationProcessThread.
6353b5b831OpenModelica Hudson[Janitor mode] Set auto-props
587d6a0395Adeel Asghar#2540, #2778 + Added a new tree like structure for simulation output. The old text based also exists. The user can switch between them via Options->Simulation->Output. + Added a incremental xml reader for simulation output. + Fixed the display of multi line messages. Now uses the word wrap at word boundaries. The text is also automatically wrapped when the item is resized. + Rewrite the Messages Browse to use model/view architecture. Is required to successfully utilize the word wrap feature for error messages.
2835d11d4dOpenModelica Hudson[Janitor mode] Fix whitespace
bfd431f70dVitalij RugeExpressionSimplify: - improved log and exp rules - exp(e*log(x)) -> exp(...*log(x)*...) - log(1/x) -> -log(x) log(sqrt(x)) -> 1/2*log(x)
660d44547dBernhard Bachmannsome fixes from static analysis adapted test case
985aa85d70Bernhard Bachmannadded more debug information on nonlinear systems
ce91d43edcMarcus Walther- fixed profiling in cpp runtime on windows machines
da5bfb6f96OpenModelica Hudson[Janitor mode] Fix whitespace
aecd360d8bVitalij RugeExpressionSimplify.simplify: simplify check for Expression.operatorEqual(a,b) or Expression.operatorEqual(c,d)
a344d2eb59OpenModelica Hudson[Janitor mode] Fix whitespace
f1c02f164bVolker Waurich- fix partlintornsystem for Asub expressions
8dd40f9e20Vitalij Rugeupdate some cases for createResidualExp2
55eb47ae73OpenModelica Hudson[Janitor mode] Fix whitespace
6ed4967d93Bernhard BachmannUpdate of homotopy solver: - improved assert handling - improved numerical jacobian - introduced mixed solver strategy (homotopy/hybrid) - removed unused code - added better damping strategy - reduced function calls -> performance increase - update test suite
b0d65689afVolker Waurich- fix partlintornsystem for linear systems that have to be solved numerically (contain function calls with x as inputs)
dd80764ffaVolker Waurich- fix partlintornsystem if there are scalar array exps that hide inside cref exps
24e4c4822aVitalij Ruge- change sum for residual (order) - activated simplify in moveDivToMul
820a8b6b31Henning KielRemove quotation marks
4e9e185cf2Adrian Pop- more proper clean
0fcfe95211Adrian Pop- more proper clean
f1fa2b1e8eOpenModelica Hudson[Janitor mode] Fix whitespace
c9754243a1Jim NutaroUpdates to the sparse FMI generator
cc2791ead0Per Östlund- Allow enum variables in metarecords.
a4ea0f82afMartin SjölundMark some more allocation uncollectable
fe436818baVolker Waurich- fix partlintornsystem if states are involved
09a16679c5Martin SjölundChange daeExpSconst to use MMC string literals (since we do not optimize away all literals in simulation context)
acacf03163OpenModelica Hudson[Janitor mode] Fix whitespace
d0f2d560fcNiklas Worschechfix for 3d array in cpp runtime, added stop method to solver interface,
e03dabef3aAdrian PopFix bug #2980 - use GC_malloc_uncollectable to signal that the arrays of strings are roots - added test gc2980.mos
bf1014d347Volker Waurich- extended decomposition of equation systems by Cramer Rule
4bd920581fAdrian Pop- partial fix for bug #2980 (the model given in the ticket works but the last model in the comments does not yet) - use malloc_atomic instead of malloc_string as use use modelica_string now - typedef m_string as modelica_string - use *malloc instead of *malloc_atomic in some more places - add test gc.mos
a376f1d126OpenModelica Hudson[Janitor mode] Fix whitespace
ebccc8012eVitalij Ruge- fixed ExressionSolve.solve: remove wrong case for cosh - improved Expression.createResidualExp2: clean up cases, try to simplify more than once
7eed77f4eaOpenModelica Hudson[Janitor mode] Fix whitespace
31f0529e94Nils MenagerSmall fix for memory issues in CVode
47134f35ecWilli Braun - update help text
4e11ebe5fdAdeel Asghar- Removed references of unused class SimulationBrowserWidget. - Removed the context menu while creating connection.
b2357afc35OpenModelica Hudson[Janitor mode] Fix whitespace
e14505d6dfVitalij Rugeimproved ExpressionSolve.solve: - added more cases like - sqrt(x) - sqrt(f(x)) = 0 - improved case 1/(x) + 1/(x+1) = 0
268f3ca4a4Adrian Pop- use GC_malloc instead of GC_malloc_atomic as WE DO HAVE POINTERS in the string arrays - fix typo
b469c4c76cAdrian Pop- support 7.2 gc version too (which does not have GC profile stats)
3bf34a0e62Bernhard BachmannAdded new nonlinear solver based on damped Newton algorithm in combination with homotopy strategy. Set as default nonlinear solver for running the coverage tests tonight. Already support of current testsuite, although some details are not implemented completely: - Proper assert handling - Use of Modelica homotopy operator - Improved scaling of homotopy functions - ...
2b833b0fccOpenModelica Hudson[Janitor mode] Fix whitespace
a29e760d09Per Östlund- Fix build.
2ab8d71a6ePer Östlund- Some cleanup of Interactive.evaluateGraphicalApi.
6d58d6e9ebOpenModelica Hudson[Janitor mode] Fix whitespace
48044ef1bcMarcus Walther- moved sorting of hpcom sim equations to the HpcOmSimCodeMain-module - fixed memory optimization for fixed level scheduler
ffd6bbd04cAdeel Asghar- Use availableGeometry instead of screenGeometry.
4c2b8e693aOpenModelica Hudson[Janitor mode] Set auto-props
63bb98db5dAdeel Asghar- Missing files from last commit. - Compiler flags should be disabled when re-simulating.
3ff7ddcd57OpenModelica Hudson[Janitor mode] Fix whitespace
7ee423866fAdeel Asghar- Compilation and simulation is done in a separate thread now. So parallel simulation is possible.
b77bd71416Vitalij Rugeadded preprocessing for ExpressionSolve.solve: sort and split equation like h(x,y) = g(z) -> h(x) = k(y,z,pre(x),delay(x,const),start(x)) - remove some recursive parts - move some solver rules inside preprocessding - using loop - not need swaps args, because equation is already sorted - support more cases e.g. - tanh, sinh, cosh, if() +- if(), pow(x*y,z)*x = 0, abs(x) = 0, delay(x,const) = x,... - added testcase - remove pow(f(x),y) = z -> sign(pre(x))*pow(z,inv(y)) - rewrite some rules - work with "terms" and "factors" (see Expression.terms, Expression.allTerms, Expression.factors) and not longer with localy expression neighborhood - fixed some rules for der(x) - solve (hope all) linear expression without derivation
1af56e0a57Per ÖstlundFix for #2995: - Added boolean literals to Expression.isValidSubscript and subscriptContants.
9b12f9de21Martin SjölundUse getInstanceName() to query function names automatically (updated automatically as the the functions are moved)
a18cd0c751OpenModelica Hudson[Janitor mode] Fix whitespace
3ff65a98f9Per Östlund- Fix java stuff.
a61b477764Henning Kiel- some fixes for successful compilation on rasberry pi (arm) or other slow machines - fix some typos
1adcd213bbOpenModelica Hudson[Janitor mode] Fix whitespace
ee4e5e6262Nils MenagerAdded time events for oneStepMode
69f1e27b92Lennart Ochel- don't create lists to pass single elements to functions if possible
55353face2Volker Waurich- fix for partlintornsystems(zeros in b vector) - added Sarrus rule
15e59288baVitalij Rugeimproved extraPolate value insinde [min,max] exception old value was not insinde [min,max]
bb7b8441d9Adrian Pop- more matchcontinue -> match
36d923a2bbAdrian Pop- use match instead of matchontinue (to hopefully get tail recursion in these functions)
91800275bdMartin FlehmigIf flag 'useMPI' is active, a MPI evironment is initalized but computation is not MPI parallel .
a8123ef956Per ÖstlundFix for #2995: - Don't try to expand already expanded equations.
e40f9fb1edPer Östlund- Reverted r23504, seems to cause bootstrapping issues for some reason.
9157d5a31eOpenModelica Hudson[Janitor mode] Fix whitespace
7ab2b1ca1aPer Östlund- Cleaned up Interactive.evaluateGraphicalApi.
93de56d201Martin SjölundDo not add errors if subscriptInt fails
bf2c9f5c1fLennart Ochel- improved names for some auxiliary functions
64f76acba0Martin Sjölund- Add half-implemented API call generateScriptingAPI - Handle variables with dimension false and true in SimCode
70cc730c5aVolker Waurich- fixed partlintornsystem for equation systems
7ced61c024OpenModelica Hudson[Janitor mode] Fix whitespace
b1240e5390Volker Waurich- apply Cramer Rule to EquationSystems of size 2
a2b340055eAdrian Pop- update MSL 3.2.1 to latest: m:r7901 - update tests - some small Windows changes
fcfdb09952Adrian Pop- handle size({}, dim) as zero in Compiler/Template/CodegenC.tpl
cbc63db0cbLennart Ochel- Hide warnings about not imported start values for self-generated variables
4ebd2092e7Vitalij RugecreateResidualExp: added heuristic for a-b=0 or b-a=0
20ffbea2a6Per Östlund- Recommit r22962.
3667844743Jan SilarFix for CSharp template - removed wrong shift in algebraic int and bool indexes
9eeeee10bbOpenModelica Hudson[Janitor mode] Fix whitespace
47269e8fc3Vitalij Rugeimproved createResidualExp - reduction of sub and mul operations
6552508e5dPer Östlund- Removed misleading documentation annotation from listDelete.
23d1cc6b8cPer Östlund- Removed deprecated arrayNth too.
d6fbc97637Per Östlund- Keep listNth in simulation runtime until we have a new tar-ball.
c70276b9e4Per Östlund- Removed deprecated listNth.
eae25c1d4eHenning Kielmodifications for compilation on arm
a128a85fc9OpenModelica Hudson[Janitor mode] Fix whitespace
ba50b00750Lennart Ochel- Changed BackendDAEUtil.mapEqSystemAndFold to not create unnecessary tuples - Some random cleanup
33f4b4f292Per ÖstlundFix for #2966: - Improved setComponentModifierValue API functions.
556de0a269Martin SjölundFail if type-checking fails (did not assign to the output)
bb8d008646Lennart Ochel- Use of List.mapFold2 to avoid unnecessary tuples
b0b4369184OpenModelica Hudson[Janitor mode] Fix whitespace
1fd9250d9aLennart Ochel- Renamed/revised some more auxiliary fucntions: - traverseExpsOfEquationList (from traverseBackendDAEExpsEqnList) - traverseEquationArray (from traverseBackendDAEEqns) - traverseEquationArrayWithStop (from traverseBackendDAEEqnsWithStop) - traverseEquationArrayWithUpdate (from traverseBackendDAEEqnsWithUpdate)
7b0b3eda07Martin FlehmigAdded debug flag 'useMPI'. This adds MPI init and finalize to main method and MPI compiler wrappers to makefile.
c25aef220dMartin FlehmigIndent
f468a6e0ecLennart Ochel- Renamed following auxiliary functions: - BackendDAEUtil.traverseArrayNoCopyWithUpdate (from BackendDAEUtil.traverseBackendDAEArrayNoCopyWithUpdate) - BackendDAEUtil.traverseArrayNoCopyWithStop (from BackendDAEUtil.traverseBackendDAEArrayNoCopyWithStop) - BackendDAEUtil.traverseArrayNoCopy (from BackendDAEUtil.traverseBackendDAEArrayNoCopy)
6384b9c371Lennart Ochel- Moved module encapsulateWhenConditions to FindZeroCrossings.mo - Cleaned up some patterns - New auxiliary function List.mapFold2 to avoid unnecessary tuples - Changed +d=dumpEncapsulateWhenConditions to +d=dumpEncapsulateConditions
0e0300b04aMartin SjölundFix building of OMEdit without corba configured
6380b36142Marcus Walther- fixed AliasVar-Codegeneration of CPP-Runtime
2aed85361cVitalij Ruge- improved expAdd,expSub, expPow - added test for expAdd, expSub, expPow
2ddef83790OpenModelica Hudson[Janitor mode] Fix whitespace
6146605055Martin Sjölund#2987 alternative method of getting the OPENMODELICAHOME from a .dylib file
b2f7f015f8Adeel Asghar#2993 - Allow tiling of sub-windows horizontally and vertically.
4e1ed68d8eAdeel Asghar#2993 - Allow tiling of sub-windows horizontally and vertically.
88e11398a3Martin SjölundHandle some invalid uses-annotations, like `annotation(uses(Modelica))`
e446dfd2dfVitalij Ruge- update SimplifyTest - added rule a-(-b)/c = a+b/c - small fixes inside simplify
4788bb40c3Martin SjölundFix OSX
e39ecddc27Adeel Asghar#2992 - Fixed the resizing/movement of the component. Try not to generate fractional origin/extent points. - Change the refine snapping from shift to control key since the refine movement from keyboard is with control key.
048cf73e87Vitalij Rugeupdate SimplifyTest
c928cd25beJan KokertSpeed up vertical and horizontal scroll bars (almost like in Dymola).
fa23f7bab0Martin SjölundRun mkbuilddirs for qwt
aca1b7f63cAdeel Asghar#2992 - round the connection start & end points.
b3fbd8f2b7Adeel Asghar- unparse getClassInformation output in case of CORBA interface.
c099be2129Vitalij Ruge-improved simplify -update test
d123e4f47aAdeel Asghar#2988 - Zoom In/Out with MouseWheel.
7c1c4f20f6Adeel Asghar#2991 - Use the correct boundingRect for ellipse shape.
f32c3d3944OpenModelica Hudson[Janitor mode] Fix whitespace
0eb2422763Patrick Marcel Taeuber- Introduced "TearingSelect" as variable attribute in BackendDAE.VAR
7930e507f4Vitalij RugeFix simplify: simplify(((e1 op2 e) * e3) op1 ((e4*e5) op2 e))
0c218aec74OpenModelica Hudson[Janitor mode] Fix whitespace
52695a0baeVolker Waurich- use Cramer Rule instead of Gaussian for partlintornsystem
7158968e6fOpenModelica Hudson[Janitor mode] Fix whitespace
322ad41c48Volker Waurich- fix for bipartite graphDump, only edges between state vars and equations with der(state)
75bbe541d2Martin SjölundFix simplify: simplify((-x) / y - x / z) = (-x) * (1.0 / y + 1.0 / z)
72dae91e78Martin Sjölund#2987 Try to fix OSX again
7583445214Martin Sjölund#2987 Try to fix OSX issues by forcing rpath to be used for libOpenModelicaCompiler.dylib
535538bb3aLennart Ochel- fixed #2990
4490009e4aVolker Waurich- fix cse for Annex60 model
3b5ade5c01Adrian Pop- fix #2989 (build shared compiler on Windows) * on Windows compile the main inside the lib so that all globals are used from the dll (as in Windows the process and the loaded dll DO NOT SHARE the same global data)
2a7043f132Adrian Pop- fix typo
13e8a6f6d7Adeel Asghar- Use QImage instead of QPixmap while exporting to image. - Added tiff in the export as image option. - Added copy to clipboard option.
db2f024b3fAdeel Asghar#2984 - Keep the sub windows state unchanged when switching between perspectives. - Added the cascade & tile windows options in `View->Windows` menu.
b2434cd25aOpenModelica Hudson[Janitor mode] Fix whitespace
7bfda4aa30Willi Braun - fixed #2981
c4afe24157Adeel Asghar#2477 - snap to grid for custom shapes while dragging with mouse. - call QGraphicsItem::mousePressEvent otherwise QGraphicsItem::itemChange will be triggered for all items.
705db3412aOpenModelica Hudson[Janitor mode] Fix whitespace
26e387c4c0Per ÖstlundFix for #2925: - Don't force ceval of reduction iterators in functions. - Fixed ceval of min/max of arrays.
c8fec8ec2cOpenModelica Hudson[Janitor mode] Fix whitespace
051c7d400dWilli Braun - added mixedSystem flag for nonlinear systems. Not used, yet.
42f5de67a5Lennart Ochel- remove obsolete attribute from SimCodeTV.SIMCODE
e56ba910d1Henning Kiel#include if compiling rtclock.c for unsupoorted target
70efb94daaOpenModelica Hudson[Janitor mode] Fix whitespace
3157ccca70Per Östlund- Some code cleanup.
7f91f596f5Volker Waurich- activate CSE
7b1ae1b4c4Martin SjölundCompile OMEdit even if omc is configured without CORBA bindings
e6993d81eeMartin SjölundCompile OMEdit even if omc is configured without CORBA bindings
82f63c6550OpenModelica Hudson[Janitor mode] Fix whitespace
be8b179657Volker Waurich- print number of merged tasks for hpcomDump
0b3a478fefVolker Waurich- refactored mergeParentNodes
de58286d72Adrian Pop- remove BOM from files
b2b8e3a5a3Jan KokertSnap to grid refinement changed to div/4, because fractions of 0.5 are more convenient then 0.2
64850c74d5Martin SjölundTry to fix Windows build
2f52b936baMartin SjölundGenerate the shared object directly in build/lib/omc
205dfffb48Martin SjölundTry allowing undefined symbols at compile time in OSX
02606a0600Martin SjölundTry to build a dynamic omc on OSX
7d39a388adMartin SjölundTry to change my name so asap does not fail to build the parser
68397f7e5dMartin Sjölund- Add capability to OMEdit to link directly against omc (gives a good performance increase especially if calling used functions directly without requiring parsing strings) - Add OMCOutput parser to OMEdit, to parse the most common OMC Values.Value outputs (no records yet; only sequences and values); the output is a QVariant - Update getClassInformation to use ModelicaBuiltin.mo - Add a mockup of the OpenModelicaScriptingAPI.mo we should be able to create from ModelicaBuiltin.mo, and OMC_API.{cpp,h} that should be automatically generated Qt/C++ files corresponding to the same API
282334ae07Martin Sjölund- Add capability to OMEdit to link directly against omc (gives a good performance increase especially if calling used functions directly without requiring parsing strings) - Add OMCOutput parser to OMEdit, to parse the most common OMC Values.Value outputs (no records yet; only sequences and values); the output is a QVariant - Update getClassInformation to use ModelicaBuiltin.mo - Add a mockup of the OpenModelicaScriptingAPI.mo we should be able to create from ModelicaBuiltin.mo, and OMC_API.{cpp,h} that should be automatically generated Qt/C++ files corresponding to the same API
204c869e15Adeel Asghar- Do not remove the item since it is already unlinked from the scene.
616374407aAdeel Asghar#2930 - Fixed the printing of models. - Added OMEdit.manifest file so that Windows PrintDialog shows the controls in Windows Aero theme.
3c5791fcccAdeel Asghar#2506 - Implemented Manhattanize shape. Takes a curves connection and creates a right-angle lines connection of it.
7aabce223bAdeel Asghar#2506 - Also remove redundant points when starting to move the connection.
4e4736a653Adeel Asghar- Fix last commit.
84a85d8275Adeel Asghar#2506 - Remove redundant points while moving the connection.
fd7668a2c9Adeel Asghar- Tooltip for connections.
5d297ed4acAdeel Asghar#2908 - Only cache the commands that are not dependent on other models. We need a better handling of caching when there are dependent models.
7d1194cca5OpenModelica Hudson[Janitor mode] Fix whitespace
9afcf3092eVolker Waurich- fix build - added Symbolic Gaussian to HpcOmEqSystems.mo
ce01598b8fOpenModelica Hudson[Janitor mode] Fix whitespace
25e5292739Volker Waurich- refactoring GRS, only mergeSimpleNodes for now
5afb32df86OpenModelica Hudson[Janitor mode] Fix whitespace
3186d69b0fLennart Ochel- Fixed dump of event information (Wrong event information were dumped for c runtime since event information are stored redundant to provide different data structures for different runtime systems.)
4fa24ee117Adeel Asghar#2506 - Keep the connecting lines manhattanized.
204dc37162OpenModelica Hudson[Janitor mode] Fix whitespace
44bc61fd7cWilli Braun - #2975 fixed.
ddeeba38a3OpenModelica Hudson[Janitor mode] Fix whitespace
cdfd5d09c9Marcus Walther- splitted large generated cpp functions into smaller ones
d1dcc1cf77Martin Sjölund#2982 Sort if-expressions correctly in function context
1ff3a639e7OpenModelica Hudson[Janitor mode] Fix whitespace
11cfa24e0cVolker Waurich- added cse module
abfc842d42Willi Braun - a bit cleanup of the nonlinear solver
1b87e16b1fMartin SjölundDisplay the error-message instead of the help-text
4d396dbb76Martin SjölundSimplify handling of result files
98e932b622Henning Kiel- fixed some types
4cc53996bcHenning Kiel- improved performance of exp_real_array/exp_integer_array functions
a4bf598676OpenModelica Hudson[Janitor mode] Fix whitespace
c86dccd9d4Martin FlehmigAdded function intRandom an interface to C/C++ rand function
5d15ce582cMartin FlehmigAdded random scheduler to HPCOM module
96133c32feMartin SjölundUse the better randomness also during matching
d5f884af19Willi Braun - fix build warnings
cfca2acbccOpenModelica Hudson[Janitor mode] Fix whitespace
667f376da3Marcus Walther- improved memory layout for fixed level scheduler (HPCOM) - fixed measure time: - cpp-runtime produces correct time values now that are mapped correctly to the task graph
5df37cbd5fMartin SjölundFix System.intRand (low bits did not have enough entropy)
f51fb0d19fAdeel Asghar- send getVersion as the first command to connected omc.
4cad513802Martin SjölundUse proc/self to find omc from OMEdit on Linux
29141f0dd2Martin SjölundChange the Modelica string to be implemented as a MetaModelica string (boxed) - Note: Some Modelica functions might have become slower if string literals were not put into the _literals file
fae56d99afOpenModelica Hudson[Janitor mode] Fix whitespace
5cce585b71Per Östlund- Fixed some code generation issues for subscripted crefs in tuples. - Code cleanup. - Updated and enabled some MetaModelica tests which had started to work.
6c836e660cMartin Sjölund#2976 Add depends to _includes.h files
c4e2396e58Adeel Asghar#2477 - Snap to grid for annotations. Use shift for refined movement. - Set the grid enabled by default.
cf643e7ccaAdrian Pop- fix File.write test fputs using EOF, seems to work on both Linux and Windows.
82fa79d96fAdeel Asghar- Set 5 as default value for -maxIntegrationOrder flag.
f78ab67a57Adrian Pop- fix File.write (why would you expect fputs to always return 1??!!)
8e76bb53f2Adeel Asghar- Remove the LibraryComponent object when we delete the class.
4fd8b91a08Adeel Asghar#2956 - Fixed the movement of components through keyboard.
6c358bc1bcAdeel Asghar- Only call getClassRestriction if getClassInformation fails to fetch the data.
416d9f181fMartin SjölundChange to using Model_info.json by default
e486297292Martin SjölundOMEdit: handle equations also for Model_info.json files
71b4e00060Martin SjölundOMEdit: handle equations also for Model_info.json files
0245655f97Lennart Ochel- Clean up some more patterns.
0c1daf1624Per Östlund- Dump comments in the correct place for for-equations/statements.
126efba134Lennart Ochel- clenup pattern of createOdeSystem2
ecd3174aaaLennart Ochel- Generate homotopy information for all systems. Until now, these information were only available for initialization and not for simulation. - Mark each system locally if it contains a homotopy call. Until now, there was only a global marker that indicates if there is a homotopy call at all.
3a65f95bd4Martin SjölundChange transformation uses/deps to use QList and equation kind to simply be a string
5c27cbe127OpenModelica Hudson[Janitor mode] Fix whitespace
4bfa251e3eMarcus Walther- forgot to add barrier file
1495f53090Marcus Walther- HPCOMLevelScheduling: - Tasks are now ordered regarding their executiontime, to handle big tasks first - CPP-Runtime Profiling: - getThreadNumber is now part of the main file, to make it available for profiler initialization - improvements - HPCOM LevelFixedScheduler: - uses a busy waiting barrier now - HPCOM: - fixed openmp deadlock in codegeneration - The array-module has now a reduce function, similar to List.reduce
5e98ba286fMahder Alemseged Gebremedhin+ Put correct types when vectorizing qualified assignments. - this used to send wrong types all the way to code generation.
81fbc24007Lennart Ochel- cleanup of traversingisDiscreteExpFinder
be43a219cfLennart Ochel- fix comments
38e87a7e8eMartin SjölundRefactor/remove some no-op code
21474792abMartin SjölundTry a different approach to speed up test-suite (parse files at the same time as before; on demand instead of parsing all files at the beginning)
ff215b5ac7Lennart Ochel- typo
8afa180ad0Adeel Asghar- Set the minimum width so that the value text will be readable.
736de63b60Martin Sjölund- Fix loadFiles() when parsing only 1 file - Use loadFile instead of loadFiles in GenerateInterface since it always loads exactly 1 file
0611eee04bMartin Sjölund- Add missing file in previous commit
3e9d57c2a1Martin SjölundEnable parallel loadModel (gives 2~3x speed-up depending on CPU)
17b9de4efdAdeel Asghar#2906 - Drop down menus for Enumeration and Boolean types. - Added a new API getBuiltinType.
efcf9b574eAdeel Asghar#2906 - Drop down menus for Enumeration and Boolean types. - Added a new API getBuiltinType.
7dc01b66f3OpenModelica Hudson[Janitor mode] Fix whitespace
89f00133c2Per ÖstlundFix for #2947: - Optimized usage of BackendDAE.VARIABLES in the backend to improve performance. - Some cleaning up.
090dde8055Martin SjölundParse all operations correctly for JSON
da98a1f2aeMartin SjölundParse all operations correctly for JSON
8d3347ad82OpenModelica Hudson[Janitor mode] Fix whitespace
68215995b0Lennart Ochel- changed r23269. relations/zero crossings get only dumped if LOG_EVENTS_V is used
024812dcc0OpenModelica Hudson[Janitor mode] Fix whitespace
74d0abdc3eLennart Ochel- dump relations/zero crossings after events
0501fdf148OpenModelica Hudson[Janitor mode] Fix whitespace
68693d61a5Niklas Worschechfix for assert in cpp template
6aeb900812Martin SjölundAdd check for using reserved identifiers as components
4e9730ef45Martin SjölundRe-add check for duplicate names in enumeration
522c324393Martin SjölundSkip _= in front of arrayUpdate calls
ad5de84ff7Martin SjölundRemove some unused calls, removed _ from some that are used
2dd6c8569aWilli Braun - fixed #1228, by adding when equation also to other torn equations.
3e37c7dfd1Adeel Asghar- make sure we close the settings group otherwise settings file will get corrupted.
c02de7619eMartin SjölundRemoved some calls that should not do anything
027cda71efMartin SjölundCheck performance when not adding replacements already in the hashtable
92b4dd462eMartin SjölundSome HashTable implementation changes
7cbb7ad8ebMartin SjölundSkip unused get call in VarTransform
8ace60b1ecMartin Sjölund#2968 Treat function calls as a variable being used (if it is an unbound function pointer)
3c3d38e862Adeel Asghar- more typo fixes
5024622084Adeel Asghar#2481 - Added GUI for dassl simulation flags.
c080d1632cAdeel Asghar- Fixed typos in dassl simulation flags.
26b3ad3badOpenModelica Hudson[Janitor mode] Fix whitespace
40aef38c6aNiklas Worschechmoved allocating of algloop vars in initialization
d5e4477575Martin SjölundRefactoring `REC(_)=>REC()`
819a2ff176OpenModelica Hudson[Janitor mode] Fix whitespace
98e1440c2bVolker Waurich- added flag +graphml to dump a bipartite graph after causalization and a task graph on SCC level. use yEd for visualization
1be83ab285Martin SjölundRefactor some more things away
79faad14d9OpenModelica Hudson[Janitor mode] Fix whitespace
16ad28b1f3Adeel Asghar#2190 - Added a new copyClass API. - Added GUI for new copyClass API in OMEdit.
a279a49468Adeel Asghar#2190 - Added a new copyClass API. - Added GUI for new copyClass API in OMEdit.
263f1870adMarcus Walther- Peer Solver preliminaries added to CPP-Runtime
6f83bdcdeeOpenModelica Hudson[Janitor mode] Fix whitespace
f9fb8f7ecaMartin SjölundUpdated the refactoring script, handling `REC(name=_)=>REC()` - Ran the refactoring script
43dbce1df4OpenModelica Hudson[Janitor mode] Fix whitespace
8630439e93Niklas Worschechfix for paramater initialization, fix for allocating A matrix in cpp template
4385e1a40eMartin SjölundUse lookupType instead of lookupClass to handle DIM_ENUM/DIM_BOOLEAN
72320b341cMartin SjölundUpdate traverseType to not create a tuple in each step
ff43ec6a9bMartin SjölundFix logic error in assertion (checking the level condition before it was assigned)
25bc12b9d7Adeel Asghar#2390 - Added some support showStartAttribute. There seems to be some issues with setComponentModifierValue API.
e41145dcd2Willi Braun - fixed #2878.
485a7a1d58Lennart Ochel- Some random cleanups.
f8d6c7f444Henning Kiel- remove superfluous strlen() - add short description strings for builtin functions
e0e9c63b94Martin SjölundGuard against some domain errors for trig functions
20d9fe73acMartin SjölundDo not use C++11 features
ab77fa60f0OpenModelica Hudson[Janitor mode] Fix whitespace
c4259c1bdcWilli Braun- fixed #2867 by fixing the calculation of adjacency rows for ASUB expressions
353d55ad02Martin SjölundPartially support opening JSON files in the transformations browser
d9892249c3Lennart Ochel- fixed compilation
a888b87bd0OpenModelica Hudson[Janitor mode] Fix whitespace
3334f8e635Nils Menageradded call of initialization functions for the jacobian in cpp runtime
22beed0e92Volker Waurich- use partlintornsystem only flag controlled
4736f03b95Volker Waurich- extended simplification in partlintornsystem
aca8ab8e49Martin SjölundAdd SerializeModelInfo (JSON) version to the compiler, using +d=modelInfoJSON - JSON is faster to generate and parse than the XML format (roughly 10 seconds saved for running the testsuite) - Not enabled by default since: - OMEdit needs to fully support it - 1 test fails with different results: fmi/ModelExchange/2.0/HelloFMIWorldEvent.mos
9898297892OpenModelica Hudson[Janitor mode] Fix whitespace
f3f25f6887Volker Waurich- extended partlintornsystem
035e213fc9OpenModelica Hudson[Janitor mode] Fix whitespace
cb6c654530Lennart Ochel- Added functionality to dump zero crossings during runtime
2fe6e0853fLennart Ochel- Removed obsolete functions from SimCodeUtil.mo (all these functions were protected and not used anywhere including comments): - filterNonConstant - extractDiscEqs - emptyHashTable - stateindex - createAlgorithmAndEquationAssertsFromAlgsEqnTraverser - bytesToRealMBString - indexSubscriptToExp - isMixedSystem - getCallPath - removeDuplicatePaths - Belonging auxiliary functions were removed as well
23b28c25dcAdeel Asghar#2392 - Indicate default values in ComponentParameters window.
323b0c0a6fAdeel Asghar#2960 - Don't use the ComponentParameters class to show the parameter values for TextAnnotation. - Show progress bar and status message when opening the ComponentParameters & ComponentAttributes windows.
ba9d529c10Adeel Asghar- Set the GraphicsView drag mode to RubberBandDrag.
71756960b2Martin SjölundOnly restrict root user from using the interactive interfaces (sockets/CORBA)
dc16af3495Bernhard ThieleCollecting outgoing transitions of a mode/state in MODE data structure
42e7722261Per Östlund- sourceInfo returns SourceInfo, not FileInfo.
1d01378a91OpenModelica Hudson[Janitor mode] Fix whitespace
a7e28ab1f9Bernhard BachmannImproved linear solver "LU with total pivoting" for solvable underdetermined systems
609a3454edLennart Ochel- Modified epsilon of event hysteresis - Remove unnecessary counter from BackendDAE.EVENT_INFO
cc239e281aPer Östlund- Some cleaning up.
0ca107670dLennart Ochel- fixed dumped number of zero crossings and updated test cases
f6e5763646Lennart Ochel- revert r23183 temporary
7f3ee651dfLennart Ochel- fixed dumped number of zero crossings
d8535eba8eLennart Ochel- improve info message by adding current time value
b0599b43a7Bernhard ThieleAssigning equations to states
38dc646c9eVolker Waurich- use list scheduler as default hpcom scheduler
0b28874918OpenModelica Hudson[Janitor mode] Fix whitespace
cdc647607cLennart Ochel- Collect all linear solver names and descriptions to provide automatically generated help text for available linear solver methods - Revised interface to new linear solver "totalpivot" from r23167 - Fix ls/nls description in simulation_options.c - TODO: This should be automatically generated
b8ab116598Volker Waurich- fix for partlintornsystem, debug dump for jacobian
b34d13015aAdeel Asghar#2872 - Use `loadString` to send expressions to OMC.
e9adbbf9e5Adeel Asghar#1762 - Consistent interface for instantiation and checking.
c0114700adAdeel Asghar#2611 - Fixed the zooming issue. Qt only scales and attaches the scrollbars to scene's rectangle which is bit weird. I have to set the scene huge to cover the screen so that scaling works in accordance to scrollbars.
e5f4fe1dc5OpenModelica Hudson[Janitor mode] Fix whitespace
fbebb86f4eAdeel Asghar- Fix build.
4fd863a3cdBernhard Bachmannadded new linear solver based on LU decomposision using total pivoting - activated it also as default - updated some tests
73bf57e583Adeel Asghar#2481 - Updated the list of integrators. - Added a button with an external link to IntegrationAlgorithms.pdf next to integration drop down. - Added support for -noEquidistantTimeGrid.
ba4e44540dVitalij Rugeimproved output for optDebugeJac
e2436e3a5fMartin SjölundWeird work-around for size(arr /* suze [0,2] */, 2) to return 0 at run-time (used by Modelica tables)
2155696d7bMartin SjölundMake sourceInfo() testsuite-friendly
aed7ecd9e1Martin Sjölundmake clean: remove generated templates
86e0233b39Martin SjölundFix r23156
8cd2a88fceMartin SjölundAdd sourceInfo() to all Error.addInternalError calls
64bbc7de08Martin SjölundRename flag "nodoSCodeDep" to "noscodeDep"
9fcdd6a708Martin SjölundRemove unused flag usedep
225ad80facMartin SjölundTail recursion
8592b2fe02Per Östlund- Got rid of some listArray/arrayList calls.
bb15576c63Vitalij Ruge-support min and max values by extraPolate -imporevd output for nonlinear solver
5a4ae1254cOpenModelica Hudson[Janitor mode] Fix whitespace
51f68989e3Per Östlund- Fix Array.map.
458751587cWilli Braun - added flag for SKF TLM Master Solver Interface.
1505656a4fMartin SjölundSome refactoring to use assignment to fields
148e7c737bOpenModelica Hudson[Janitor mode] Fix whitespace
9002e08f71Per Östlund- Removed Array.append (since we have arrayAppend now). - Optimized some Array functions. - Some random cleanups.
d51b7bf84cMartin SjölundDo not dump bindings to outputs in the interface functions
2569667d19Martin SjölundFix indexes of some metarecord literals (Susan does not warn you shadow the variable index with a new index)
8bd5d5b17aVolker Waurich- rewritten partlintornsystem module
4066c642dbVitalij Rugeimproved output for optDebugeJac
8e374aa390Martin SjölundPrint SourceInfo to MM definitions
e64cd0c31eMartin SjölundAbsyn no longer needs to be its own dependency class (Util no longer imports Absyn)
fc59b4b371Martin SjölundSusan no longer depends on Absyn
b6f399e877Martin SjölundBig changes. You will need to bootstrap omc from scratch. - Added function `sourceInfo()`, which returns the file and positions of the call in the source code (useful to produce error-messages that point inside the compiler itself). - Changed all Absyn.Info to the built-in SourceInfo uniontype - Added SourceInfo to GlobalScript.IEXP (previously only statements had SourceInfo) - Changed System.readLine to fail if the file does not exist. The scripting function returns an empty string on failure.
6f72cec470OpenModelica Hudson[Janitor mode] Fix whitespace
073404243cMartin SjölundSusan: Handle builtin uniontypes
72145782c8Vitalij Ruge- improved optDebugeJac compare analytical and numerical jacobian
1035e2ce63Adeel Asghar- Added details to the executable using the RC file.
5db24959b4Adrian Pop- fix bug #2882 (careful with the evaluation of expressions having DAE.T_CODE type)
78fddfeeaaAdeel Asghar- Fixed the return value of changeDirectory.
7ce663d032Adrian Pop- fix bug #2943 (the error was introduced in r23049) - added test: testsuite/openmodelica/interactive-API/Bug2943.mos
c05e51db91Adeel Asghar- Send commands to omc as utf-8. - All files generated by OMEdit are now utf-8. - check for errors after setting/changing the working directory of omc.
08ba06d655Martin SjölundFix code generation for assignment to metarecord fields
cee22a2a01OpenModelica Hudson[Janitor mode] Fix whitespace
8e56d0c3a3Henning KielRecommit change from r23112 with appropriate fixes
cb6049377dNiklas Worschechfix for dae exp reductions in cpp template, fix for memory leaks in cpp runtime
68dad5b2d6Per Östlund- Reverted part of 23112 that broke the build.
cc1a03d040OpenModelica Hudson[Janitor mode] Fix whitespace
7a27ec3e2bPer Östlund- Some optimizations in BackendDAEUtil.
28e9ca2a3fHenning KielFix some uninitialized values.
820667c8b9Henning KielFix some uninitialized values.
4e79073f37Martin SjölundRemove pointless call
29e81496d6Adrian Pop- make distclean for gc on top clean
405cae2b13Adrian Pop- disable parallel mark for GC in Windows as it crashes dll loading - override CFLAGS in some places so the CFLAGS given at command line get propagated correctly - remove MMC_INIT from in_function generated for dll loading
b3d2e0e17cPer Östlund- Removed arrayAdd, it's unused and very inefficient, and arrayAppend can do the same thing.
31303c737dPer Östlund- Implemented builtin MetaModelica operators arrayAppend and MetaModelica.Dangerous.arrayCreateNoInit.
3747ceda29Martin Sjölund- Add new package Util/GC.mo. Moved functions from System into GC - Added new flag --debug=gcProfiling, which uses a new call to gc_prof_stats - Added GC_expand_hp to ModelicaBuiltin.mo; used it for the library tests - Disable munmap in the gc configure
03d7d9d6d5Lennart Ochel- moved BackendDAEUtil.analyzeJacobian to package SymbolicJacobian
dee4d7cee9Martin SjölundAlways dump builtin external declarations since it affects the interface
fa7bbfa91fMartin SjölundMissing changes in CevalScript
53d85a2dfbMartin SjölundStrip external sections and class comments for the interface files
385bedda27Willi Braun - fixed #2754.
6d0c42fda9Willi Braun - fixed nominal, min and max attributes for linear systems
4fd5ed2013OpenModelica Hudson[Janitor mode] Fix whitespace
d470248679Willi Braunfixed #2868 and #2754 partially - by using the in BackendEquation.equationToResidualForm and SimCodeUtil the same function createResidualExp
c61d210220Adrian Pop- GC_expand_hp 150M for Windows, 300M for others
bc53862654Adrian Pop- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt) - increase size given to GC_expand_hp to 300M to get a bit more speedup
f6cf013539Vitalij Rugefixed optDebugeJac
a1d8cbe9a2Marcus Walther- fixed analyzation_mode
e8cc177c9bVitalij Rugefixed optDebugeJac
eb682eb2ebLennart Ochel- removed functions: - BackendDAEUtil.addAliasVariables - BackendDAEUtil.calculateSizes (and auxiliary functions) - moved functions to package SymbolicJacobian: - BackendDAEUtil.addBackendDAESharedJacobian - BackendDAEUtil.addBackendDAESharedJacobians - BackendDAEUtil.addBackendDAESharedJacobianSparsePattern - removed unnecessary match/matchcontinue statements - marked functions as protected if possible
1871879ba6Adeel Asghar#2595 + Added a checkbox `Build Only` in SimulationDialog.
7577765895Lennart Ochel- removed obsolete functions: - traverseequationToResidualForm - calculateJacobianEnhanced - varsInEqnEnhanced - varsInEqnEnhanced1 - moved functions: - BackendDAEUtil.calculateJacobian -> SymbolicJacobian.calculateJacobian (and depending ones) - BackendDAEUtil.traverseEquationToScalarResidualForm -> SymbolicJacobian.traverseEquationToScalarResidualForm - marked functions as protected if possible - some more clean-up
43229ae413OpenModelica Hudson[Janitor mode] Fix whitespace
72429c5f45Ruediger Kampfmann-added some functions required for vxworks
19e6ea1368Marcus Walther- fixed cpp runtime build
b7bd3c8a56Marcus Walther- moved Solver header files into the include folder to fix windows build
6f85d2ed2aVitalij Rugefixed 23080
b3b1e196a0Vitalij Rugefixed output
d1eb10784eVitalij Rugefixed output format
67f59119e2Martin SjölundRemove RML references from the readme
bd6aa738c2Vitalij Rugeimproved debuging of the jacobian matrix in dyn. optimization
a4b691fd87Per ÖstlundFix for #2935: - Rewrote flag parsing: * Now handles both - and -- flags correctly. * -- now stops processing flags like most Linux commands, so e.g. omc -- -somefile works. - Changed + to - and -- in the help text to be more unixy (+ flags still work as usual) and removed text about runtime flags.
47ea0a53f7Martin SjölundEnable Figaro
4b598ffa73Martin SjölundTweak arrayCreate (inline)
10b89b93faLennart Ochel- Enabled some error messages by default: don't hide error messages of failing functions as long as the function is not supposed to fail in certain cases - Fixed zcEqual and getMinZeroCrossings to also handle sample-calls - Cleaned up more patterns
faf7e01364OpenModelica Hudson[Janitor mode] Fix whitespace
f3bb4db316Martin SjölundClean CevalScript.compileModel
8666ba5de2Nils MenagerAdaptions for VxWorks and Bodas in Kinsol and AlgLoopSolverFactory and cleanup of files in cpp runtime
d8a615c844Lennart Ochel- Cleaned up more patterns
e4f7af7f67OpenModelica Hudson[Janitor mode] Fix whitespace
b1a2bc297cMarcus Walther- improved scorep-support for c++ runtime profiling - fixed analyzation mode -> precompiled headers are used now - profiling sections can now be turned on and off in measure_time.hpp
174f34e650Vitalij Rugeadded option for debuging derivations
31624e1c08Adrian Pop- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt) - set G_SLICE to always-malloc - GC_expand_hp only 150M (1G is too much, maybe we should do it when we have plenty of memory)
c5e95d232dAdrian Pop- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt) - time the bootstrapped compilation in Makefile.omdev.mingw
609848d543Adeel Asghar#2938 + gridlines using a slightly lighter gray (as in Dymola). + show/hide gridlines is now persistent.
4b27d211eaAdeel Asghar- minor typo fixes.
a63d6916e5Adeel Asghar#2183 + Updated almost all icons from PNGs to SVGs. + The toolbar icon size can be changed via settings. + The library icon size can be changed via settings.
35ca2e96b7Martin SjölundCall `GC_expand` in main to make the test suite 100% (hopefully)
201c5cd3f5Vitalij Rugefix indentation
ae867502c4Bernhard ThieleModelica state machines data structure extension
ddb11c91a7OpenModelica Hudson[Janitor mode] Fix whitespace
2a8f86017dJulian Opheyfix in cpp template for external functions
e567c70a41OpenModelica Hudson[Janitor mode] Fix whitespace
d6355a4417Martin SjölundRemoved the old MetaModelica operators from the parser (+& ==& +. ==., etc)
38435b1968Per Östlund- Some case merging and various improvements.
36d0f700e4Lennart Ochel- fix r23046
d50f4dbf68Willi Braun - fix printMatrix
7d7218be0aLennart Ochel- clean-up some patterns
9ae856bc02Lennart Ochel- Removed unnecessary cases - Merged cases if possible - Some more clean-up
9b94e295e8Per Östlund- Improved Util.stringWrap.
a174a5927bMartin SjölundStart removal of Debug.mo: Removed bcall* fcall* bprint* fprint*, etc
33fc8e5da5Bernhard ThieleRestricting special inner outer rules for variables in state machines to output variables
182def48b9Willi Braun - fixed nominal, min and max attributes for linear systems
eb68f0c549Martin SjölundAdd System.dladdr for easier debugging of things that should not go wrong - dladdr returns the C name of a symbol in the file (typically a function pointer)
56fd672a08Per Östlund- Readd listReverseInPlace in List, doesn't seem to be the issue.
aa4758e35dPer Östlund- Remove all listReverseInPlace to see if they are causing issues with FourBitBinaryAdder.
648f3bbeaaPer Östlund- Removed some potentially unsafe listReverseInPlace.
d36312faffLennart Ochel- Merged functions collectZCAlgs and collectZCAlgsFor - Removed unused function arguments - Some more clean-up
64513156caLennart Ochel- fix documentation of one more function
7f15d5e974OpenModelica Hudson[Janitor mode] Fix whitespace
e4dba6c72cLennart Ochel- revise new 'math library' from r23023 - fix some wrong pointers - fix documentation
03e6c640eeAdrian Pop- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt) - fixed e^-N where N is integer constant - fixed some other bad cases in Expression.mo and ExpressionSimplify.mo
808acc6d9eWilli Braun - some preparation for linear solver improvments
3b464114e1Willi Braun - more fixes for omc_math library
e95e409360Adrian Pop- fix Windows build
082b08a320OpenModelica Hudson[Janitor mode] Fix whitespace
e66ac81defWilli Braun - update lapack solver to use omc_math
d5fa00c67aWilli Braun - added own small math library for vectors and matrix
5b068ec0e1Adrian Pop- update boehm gc to latest from github (via OpenModelicaExternal 3rdParty/gc) - rename 3rdParty/gc-7.2 to 3rdParty/gc
52b690ec7cAdrian Pop- update boehm gc to latest from github (via OpenModelicaExternal 3rdParty/gc) - rename 3rdParty/gc-7.2 to 3rdParty/gc
324e1bdb29OpenModelica Hudson[Janitor mode] Fix whitespace
0aca84eea5Lennart Ochel- remove unnecessary lists
ed2525c987Lennart Ochel- fix Util.if_
4453b9091cBernhard ThieleReverted back to r23007 since last commit of file was unintentional
0b8a191f9bOpenModelica Hudson[Janitor mode] Fix whitespace
4c603f1fc3Bernhard ThieleModelica State Machines module (not ready, yet). Module is not yet activated (entry commented out in Flags.mo).
e09fc1ac6eLennart Ochel- use BackendDAEUtil.mapEqSystem instead of BackendDAEUtil.mapEqSystemAndFold
676db7eeadLennart Ochel- don't search in shared object for zero crossings
8f96a65e13Lennart Ochel- don't search in initial equations for zero crossings
7a09487808OpenModelica Hudson[Janitor mode] Fix whitespace
891509c9f6Per Östlund- List optimizations by using dangerous listReverseInPlace.
d0a8032fe9Martin SjölundReplace `Util.if_` with if-expressions
a7bb0f209dOpenModelica Hudson[Janitor mode] Fix whitespace
f2f0c0c51bVitalij Ruge-imporved error msg for dyn. optimization -some fixes from static analysis
090e12d229Lennart Ochel- use zc::lst instead of listAppend({zc}, lst)
258654df98Nils MenagerAdaptions in Kinsol (Cpp Runtime) for VxWorks and Bodas
925a4248a3Martin Sjölund- Add FileInfo to the top-level scope and fix the builtin environment to build the data structures needed to use this - Handle import MetaModelica in the dependency analysis
967779ca20OpenModelica Hudson[Janitor mode] Fix whitespace
9bc199fc96Niklas Worschechfix for get start value in cpp template
0ac8b0b6c7Lennart Ochel- Split up package BackendDAEOptimize (moved some stuff to new package SymbolicJacobian and other packages) - Marked functions as protected if they should be - Removed redundant/obsolete code - Removed symbolic matrix G that was used to improve old initialization approach, since it is deactivated for a long time and isn't working anymore anyway
c8ddc965f8OpenModelica Hudson[Janitor mode] Fix whitespace
ca4471bf7bMarcus Walther- added defines for measure time, to support scoreP - scoreP support to c++ profiling added
045378016dMartin SjölundIncrease time limits for library testing
fe7c64eea6Marcus Walther- fix for hpcom analyzation mode
2ce864d355Volker Waurich- replace numArrayDim with ExpressionDump.dimensionIntString only in the simCodeVar and not in the backendVar - some dumpSimCode extension for constant and parameter vars
70ab734f12Martin SjölundReplace matchcontinue without accumulator with a reverse for-loop
fdf9cbab1cOpenModelica Hudson[Janitor mode] Fix whitespace
17f361c580Willi Braun#2481 - added flags for better control of integration methods - flag for initial step size of dassl - flag for choosing jacobian of dassl - flag for no equidistant time grid -noEquidistantTimeGrid - flag to avoid restart dassl after an event - removed some of the old solver methods
66da7d0feeMartin Sjölund#2932 Do not make protected functions static
74a3c79b4aAdeel Asghar- Only try to remove connection if we have a valid ModelWidget.
78dc30aecbAdeel Asghar- Updated more icons from PNGs to SVGs. - Removed some unused PSDs.
f1208de2e0OpenModelica Hudson[Janitor mode] Fix whitespace
6b7fbc97cdNils MenagerCleanup of Cpp Runtime files
53333de854Lennart Ochel- some cleanup, removed unnecessary matchcontinue statements, ...
5b0863d864Volker Waurich- use the size instead of the Absyn.path in ExpressionDump.dimensionString()
f837a7bc9bOpenModelica Hudson[Janitor mode] Fix whitespace
4511848726Per Östlund- Fixed logic in Main.main2.
efdaa466d9Niklas Worschechdeactivated function parameter generation in cpp template
1312a9bf04Martin SjölundUpdate tarball for partial function evaluation - Removed List.fold5 and List.fold6 (called directly using `List.fold(..., function f(x1=y1,x2=y2)`
3d5bf5be5fMartin SjölundHandle metaarray when generating code
4037b0a74cLennart Ochel- Make more functions work with one-based indices: - List.replaceAt - List.positionOnTrue - List.positionList - Use listGet instead of listNth in some places - Add tests for List.List.replaceAt and List.replaceAtIndexFirst
de29fb1035OpenModelica Hudson[Janitor mode] Fix whitespace
dff9b25406Per Östlund- Case merging.
20ca1f20aeLennart Ochel- Unraveling some indices by making List.position work with one-based index.
d88ae5f86dMartin SjölundRemove bootstrapping version text since RML is no longer in use
253cb47804Martin SjölundRemove RML references from configure
708c137eb3Martin SjölundDo not expand-expand-...-expand crefs hoping this will change the results
4daf4d1e4cAdrian Pop- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt)
8da37a600fMartin Sjölundcppruntime uses cminpack
1a65260776Per Östlund- Fix previous fix.
41a6753638OpenModelica Hudson[Janitor mode] Fix whitespace
d08bfbc472Per Östlund- Another try to fix build, avoid function partial evaluation.
fa69a34e5cPer Östlund- Try to fix build, function partial evaluation seems a bit buggy.
194a5d1d64OpenModelica Hudson[Janitor mode] Fix whitespace
d8ea3a0271Per Östlund- Rewrote List package to take advantage of bootstrapped features. - Refactored Util, moved some functions to new Array package, some to List. - Better handling of conditional components. - Various optimizations to handle larger models.
bd3faed4e4Martin SjölundKeep System_isRML until we make a new tarball
9a56a9c69aMartin SjölundRemove some RML stuff
76df8c9b21Lennart Ochel- Removed function List.delete, since it was just an rml workaround - Changed listDelete to work with one-based index (mm:#1623)
6690dc7078Martin SjölundRemove generated susan files (should not be needed since we always have omc available)
24cec0328bMartin SjölundRemove the NONE check from the parser; we no longer need special checks for RML stuff
45e3c96f2fAdeel Asghar- fix last commit.
80bc5c2bf7Adeel Asghar- Updated some icons from PNGs to SVGs.
7c246abb39Adrian Pop- no more rml_compatibility.h
f6a9a76c1bAdrian Pop- more cleanup - use CFLAGS=-g -O2 -falign-functions on Windows
f1fee065abAdrian Pop- mk_* -> mmc_mk_*
102e4dacfbAdrian Pop- more proper RML cleanup
a84edccfe7Per Östlund- Removed strict RML checks.
214ddf5b64Adeel Asghar- indentation
7268e5ccdbAdrian Pop- more rml cleanup
9fd0b89903Adrian Pop- Compiler/omc_release is no more, nothing to clean
242e84445cMartin SjölundDon't generate omc_release
6fbeedd303Martin SjölundRemove RML version of BlockCallRewrite.mo
8560c0e0bfMartin SjölundRemove some RML stuff
386c20d2b3Adrian Pop- build the omc-bootstrapped by default on Linux also
6bc74cdfb6Adrian Pop- switch version to 1.9.2+dev
0a5b77a94bAdrian Pop- update version to 1.9.1 release
0f60125e59OpenModelica Hudson[Janitor mode] Fix whitespace
2b5888f2a7Lennart Ochel- removed obsolete/unused code from package Differentiate - function getFunctionResultTypes - function differentiateExpCrefFunction - function differentiateExpCref - function differentiateFunctionPartial - function differentiatePartialFunctionwrt - function addElementVars2AllVars - function addElementVars2InDep - function addIndependentVars
3c69a09d77Lennart Ochel- marked some functions as protected - removed a few unused variables
c333452929OpenModelica Hudson[Janitor mode] Fix whitespace
2ab8ae445eRuediger Kampfmann-adapted cpp runtime files for vxworks
51a2318346Adrian Pop- fix bootstrapping - fix UTF-8 encoding
42b5aebceaOpenModelica Hudson[Janitor mode] Fix whitespace
c6c97bc07cOpenModelica Hudson[Janitor mode] Set auto-props
e518546f1aRuediger Kampfmann-adapted cpp runtime includes for vxworks
fb4672a596Ruediger Kampfmann-added for vxworks
79dd4ff82fOpenModelica Hudson[Janitor mode] Fix whitespace
5766264bcfWilli Braun - added tranformModelFMU to scripting commands
f107cb633dPer Östlund- Optimized the adding of connect equations to the DAE.
e7c59cfd95Jan SilarPDE extension Working on artery model
09bcd6563bOpenModelica Hudson[Janitor mode] Set auto-props
729f0309f4Martin SjölundUTF-8 fixes
01de4cf284Lennart Ochel- Update unit check module - Use of hash tables instead of lists - Minor fixes (e.g. messages)
a0315728acOpenModelica Hudson[Janitor mode] Fix whitespace
6178f9c772Nils MenagerAdditional changes in include files for Bodas and VxWorks in Cpp Core
e2824ca6efOpenModelica Hudson[Janitor mode] Fix whitespace
58510d5758OpenModelica Hudson[Janitor mode] Set auto-props
cdd125a0b8Nils MenagerIntegration of Bodas and VxWorks functions into Cpp Simcore
64604bb5f3Adeel Asghar#2480 - Added IntegrationAlgorithms.pdf to build/share/doc/omc/SimulationRuntime/IntegrationAlgorithms/. - Added references of Appendix C in sections 2.5.1 and 14.1.5 in users guide.
9934577fa0Ruediger Kampfmann-added include for vxworks
2a9396c39cLennart Ochel- remove redundant functions
5d7c17caf5OpenModelica Hudson[Janitor mode] Fix whitespace
40bcdea6ebNils MenagerExtension for VxWorks and Bodas
4a898735dfAdeel Asghar#2481 - Added the -noEventEmit simulation flag option.
222c7c1053Lennart Ochel- add missing optmodules description
d78f14e7bbLennart Ochel- fix indentation
01f4145ee6OpenModelica Hudson[Janitor mode] Fix whitespace
1a6edc450eRuediger Kampfmann-added stepStarted method
474d83cb99Niklas Worschechfix in SimCodeUtil, correct number of outputs
0165625c1fOpenModelica Hudson[Janitor mode] Fix whitespace
c7ac9f5ce8Niklas Worschechadded library path to Simcode, used for external functions in shared libraries
eca612a816Martin Sjölund- Load dependent libraries when using the command-line (`omc a.mo Modelica` now loads ModelicaServices) - Allow calling the compiler without running any files (`omc +i=Modelica.Blocks.Examples.Filter`) - Print a parser error message if we fail to load a library from command-line (also if this is the "main" file)
f2ec8ee280Adeel Asghar#2922, #2674 - Implemented natural sort for Variables tree.
e0f14562cdAdeel Asghar- Added missing file from last commit.
b9f5c0fecaAdeel Asghar- Made transformationalDebugger more easily accessible for users.
213280cccfMartin SjölundFix bootstrapping without updating tarball
c80fed2bbcMartin Sjölund- Add loadFile(uses=false) to not use the uses-annotation to load additional libraries - Automatically call loadModel() if the model is missing when running the front-end
f612a29403Martin SjölundAllow failing to load a model from uses-annotation. Append the regular MODELICAPATH when searching for packages in uses-annotations
1fedf0520cMartin SjölundMake loadFile("Modelica/package.mo") also consider the uses-annotation and load those packages (just like loadModel does, but with a different MODELICAPATH)
30255aa295Adeel Asghar- Made re-simulate more easily accessible for users. - Added new svg icon for re-simulate.
2406f95310OpenModelica Hudson[Janitor mode] Fix whitespace
1ee2d85439Julian Opheyfix in cpp template for external objects
1144193ff2Per Östlund- Make continue work in cases also.
1dd6aa6b35Adrian Pop- fix bug: #2917 - handle protected sections better
231155d319Willi Braun - fix events in fmi 2.0 - added more tests for fmi 2.0
6705932418Adeel Asghar- Fixed the MainWindow title changes when user switches between different models, plots & perspectives.
e4bb7632c5OpenModelica Hudson[Janitor mode] Fix whitespace
2cd7fe437bAdeel Asghar- Fixed some warnings.
848214c750Willi Braun - fixes for FMI 2.0 import and export - reorganize testsuite for fmi
51d7e25e22Martin SjölundAdd missing imports
3356e5d3f3Martin SjölundCreate package Util/ClockIndexes (used to be part of Script/GlobalScript) in order to decouple susan from the front-end modules
48413dce99Per Östlund- More RML fixes (RML seems to be making errors up now).
8c7c8d2c96Martin SjölundRML fix
e53218167fMartin SjölundAdd package BackendInline (the backend parts of Inline are moved there) - Marked more packages as using Interface="backend". Now only BackendInterface.mo has Interface="backendInterface"
dac27359e5Per Östlund- RML fix.
1ad1ef9801Per Östlund- More RML fixes.
6a7a33716eMartin SjölundIndentation
41a7c0bffaPer Östlund- Fix RML compilation.
d4a5709dc8OpenModelica Hudson[Janitor mode] Fix whitespace
7e6f28e2c8OpenModelica Hudson[Janitor mode] Fix whitespace
a88f41d7e9Per Östlund- Added a backend interface package so that frontend modules doesn't use backend modules directly. - Moved some code around to further separate the frontend from the backend.
8c63eb91f9Julian Ophey-fix in cpp-template for external objects/external functions
6551d11df4Martin SjölundFix compiler sources for r22831
f99931e41cMartin Sjölund- Added support for a new annotation `__OpenModelica_Interface`, and the corresponding scripting function `checkInterfaceOfPackages` - Using this function and annotating every source package, it is possible to restrict and document which packages are part of the front-end and which are back-end modules - The interface types are given in the call to `checkInterfaceOfPackages` - Currently, too many packages have the backendInterface type (allowing front-end modules to call it even though it is a back-end module. Only one package should be a backendInterface once we refactor) - Improved Susan to be able to insert a custom class annotation at the end of the class (so we automatically add the required `__OpenModelica_Interface` packages) - Note that this requires installing an updated omc in order to compile susan files. (or run touch Compiler/Template/*.mo to skip trying to compile these, then touch the tpl files once you have an updated susan compiler) - Improved SCodeDumpTpl to include non-blacklisted class annotations without +showAnnotations - Removed the non-standard built-in function differentiate (re-add it as a scripting function if needed, or using bootstrapping tests to test differentiation)
fe5bb5a890Niklas Worschechfix for bat file in cpp template
42a9ba8f1eAdrian Pop- fix bug: #2916 - ignore Connections.root and Connections.potentialRoot and Connections.branch getting crefs being arrays of zero size - return false from Connections.isRoot, rooted wich get crefs being arrays of zero size - do not consider potential variables having equality constraint as counting in connector balance (return 0 for T_SUBTYPE_BASIC with equality constraint) - do not simplify T_SUBTYPE_BASIC types with equality constraint - handle T_SUBTYPE_BASIC in CodegenC.tpl - proper error message in BackendDAEUtil.mo instead of print
175cd228ddAdeel Asghar#2903 - Added interface for -emit_protected flag. - Now there is a Protected Variables checkbox in Output tab.
26899f6357Adeel Asghar- Made algorithmicDebugger more easily accessible for users. - Added new svg icons for simulate. - changed Debugger Log to Debugger CLI.
6a0e3c39acPer Östlund- Updated swedish translation of OMC.
6528e5f99aWilli Braun - #2911 fixed. replace also comma in a generated variable
012006740bWilli Braun - fix some typos in fmi
1975f0e79dNiklas Worschechfix for assign array in cpp template
4086780698Adrian Pop- fix bug #2899 - partial fix for bug #2484 (still needs some work on dae declaring complex components, i.e. connectors inside expandable connector)
9ee276449dAdrian Pop- fix bug #2877 - add "_total" to the dummy class that we build extending the class we want - actually unparse the modfiers on model extends X(mods) when dumping the SCode (ignored before) - always show the string comments, show annotations only if +showAnnotations is given
96b97c795cAdrian Pop- fix FMI crashes?
ee0b6b9b83Adrian Pop- don't go searching where you shouldn't
ccaa86a140Henning KielFree allocated memory again.
3806e270daAdrian Pop- attempt to fix SimulationRuntime/cpp compilation on Win MSVC, target runtimeCPPmsvcinstall
019ae0028aWilli Braun#2840 - added assertion handling to fmi1 and fmi2 export
9894e2c819Martin Sjölund#2898 ComplianceSuite should no longer need to delete classes
4a763fb242Per ÖstlundFix for #2898: - Made the compiler less sensitive to errors in unused models.
9fd6a90cfaAdeel Asghar- Updated the crash reports post link.
bf3ee01f09Adeel Asghar- copy search browser action in Edit browser
fda29e5b62Adeel Asghar- Removed unnecessary code.
f8c00794a1Adeel Asghar- Removed the test code.
df7c541b37Adeel Asghar- fix include headers
cd1a62c933OpenModelica Hudson[Janitor mode] Set auto-props
b386415225Adeel Asghar#2865 + Added new crash reports dialog. + Posts the log files via http. - Removed the old crash reports email.
9b26ab20d0Jan SilarPDE extension modifying mostly full extnsion doc.
5568f743ecMartin Sjölund#2889 Fix for r22769 accidentally reverting r22763
a327ab48f4Martin Sjölund#2897 Implement continue statements in MetaModelica
b33cd4c698OpenModelica Hudson[Janitor mode] Fix whitespace
bbab77eb46Vitalij Rugeimproved r22777
f9f64b54e6OpenModelica Hudson[Janitor mode] Fix whitespace
9c278624dcVitalij Rugeadded some rules for simplification of residuals e.g. sqrt(f(x)) = 0 -> f(x) = 0, exp(x) - exp(y) = 0 -> x-y = 0
3bca16ee71Willi Braun - fix FMU makefile, to be able build a fmu just with the source directory.
447047ce34OpenModelica Hudson[Janitor mode] Fix whitespace
e963b0287cWilli Braun#2888 - fix for #2888
9fedfd520fOpenModelica Hudson[Janitor mode] Fix whitespace
c1aaa75dcaMarcus Walther- moved SimCode.SimVar to SimCodeVar.SimVar to prevent circular dependencies in HPCOM - added SimVar object to dependency tasks in HPCOM - some updates for the measure time functionality of the cpp runtime - added measureTime to CVode - changed default hpcom-scheduler to levelfix and codegen to pthreads
7cdd71f3b3Martin Sjölund#2897 Replace continue with cont (preparation for continue becoming a keyword)
ada0fdc17cLennart Ochel- revert r22764 (and r22765), since it breaks the bootstrapped stuff
6a2360f76aMartin Sjölund#2896 Fix simplify asub when `array` types are involved
f118ef0bc6Lennart Ochel- Update unit check module - Use of Hash Tables instead of lists - Minor fixes (e.g. messages)
6eb97b4ad1Martin Sjölund#2889 Save default binding of SimCode.FUNCTION_PTR
3d22103a47Martin Sjölund#2890 Sort record declarations before generating code
71acece909Martin Sjölund#2885 Allow function partial application to be used as general expressions (MetaModelica only)
25fb0533edMartin SjölundFix parser for gcc
52ad968455Martin SjölundImplement #2886 and #2887 - Added try/else statements to MetaModelica (syntactic sugar for matchcontinue) - Added support for algorithm sections in match-expressions (equations are still possible to use)
bc9f9ad924OpenModelica Hudson[Janitor mode] Fix whitespace
4a29dfab73Mahder Alemseged Gebremedhin+ clustering support for the dynamic scheduler. Have been sitting on it for a while. + Some more minor fixes and timing informations.
5be18078e2OpenModelica Hudson[Janitor mode] Fix whitespace
34f2e23bd3Mahder Alemseged Gebremedhin- Update task system dumping and reading of linear and non-linear systems.
c8f36f7378Vitalij Rugesome fixes from static analysis
67ae819488OpenModelica Hudson[Janitor mode] Fix whitespace
188e8a4138Niklas Worschechfix for const vars in cpp template
67f9335196OpenModelica Hudson[Janitor mode] Fix whitespace
997af4edf3Niklas Worschechadded string array to cpp runtime
8a93f33b35Jan SilarPDE extension Introducing changes after consulting with Peter into docs
f1c754b469Vitalij Rugeimproved solver rule for pow(f(x),y) = g(z) => f(x) = h(pre(x))*pow(g(z),1/y)
c030536038Vitalij Rugeadded rule for abs(-x) = abs(x) and pow(-x,2) = pow(x,2)
bd55949f6eOpenModelica Hudson[Janitor mode] Fix whitespace
8391b5fc66Vitalij Rugesplit some function inside dyn. optimization
8caa260789Vitalij Rugefixed assert handling in dyn. optimization, thanks Willi
2402f4c8bfPer Östlund- Made clang happier.
e29ce8cccaMartin SjölundAdd tail recursion for NORETCALL in match-expressions
8f7a983994Niklas Worschechfix for fill array in cpp template
4d06274f85Lennart Ochel- separate Simcode from BackEnd
7754588402Adeel Asghar- Fixed wrong documentation example.
10a3b864baAdeel Asghar- Show device error if file open fails.
4475b4c749Martin SjölundHandle connections of subtype of basic (Real)
fe688a6e24Per Östlund- Reverted part of r22716, fix wasn't good enough.
a4c55be82fOpenModelica Hudson[Janitor mode] Fix whitespace
09965cd757Per ÖstlundFix for #2881: - Skip analysing recursive modifiers in NFSCodeDependency. - Fixed order of conditional expression and constraining class in SCodeDumpTpl. - Allow redeclare of non-replaceable components if the type isn't changed.
273e2e5bf3Martin SjölundHandle arrays of mixed Integer and subtype of basic type (Real)
babae436beJan SilarPDE extension Documenting simplified version
914b9fba6eMartin SjölundFix simplify `{a,b,c}*0.0`→`{0.0,0.0,0.0}` instead of `0.0`
20601e0ec7Martin SjölundUse --version for for checkSettings since -v is verbose in clang
63834ee948Martin SjölundSimplify `vector()` expressions
4723729ff8Per ÖstlundFix for #2879: - Better implementation of r22703. - Also handles multiline strings in comments.
bf0ffe2193Per ÖstlundFix for #2879: - Fixed Absyn, SCode and DAE dumping of multiline comments.
a5b51b6375Martin Sjölund#2873 Implemented for-loop for MM arrays
df3fc54f0cMartin Sjölund#2318 Use `_` instead of `{}` in lhs of equations
f64b0b10c8Martin SjölundFix #2695, add testcase
6c91ee96c4OpenModelica Hudson[Janitor mode] Fix whitespace
24a9ea525aVolker Waurich- some optimization for partlintornsystem to get less equations
978e2327ebMartin Sjölund1.9.1 beta4 was released
1c98030ac6OpenModelica Hudson[Janitor mode] Fix whitespace
1831165535Mahder Alemseged Gebremedhin+ Improve r22851. Fix 2452. + Proper counting of algorithm section outputs. Make sure we don't count sections from array components multiple times.
dd53ee410aMartin SjölundKeep flattening operation for array equations
61f7c21fb6Volker Waurich- moved partlintornsystem to the post-opt-modules
0a904feacdNiklas Worschechexpected output
e6f2e7651bOpenModelica Hudson[Janitor mode] Fix whitespace
d346797e52OpenModelica Hudson[Janitor mode] Fix whitespace
62abd92c25Volker Waurich- fix for partlintornsystem
a1d9f8a815Martin Flehmig* Begin of MPI parallelization in HPCOM module.
6cfb6f53c8Adrian PopFix bug: #2853 - more careful reverse lookup for functions
9084d05aecAdrian Pop- back to 1.9.1+dev
40487f5a68Adrian Pop- update version to 1.9.1Beta4.
9615d45cdeAdrian PopFix bug #2871 - as the new env has references and destructive updates we need to clone it when returning it in Builtin.intialGraph
da5f75346aVitalij Rugesmall changes for expAdd and expDiv
79e29af154Adeel Asghar#2872 - Added getErrorString after every command except quit().
e98009ce30Vitalij Ruge remove workaround inside equationToScalarResidualForm
126e985461Adeel Asghar#2872 - Created a new file omeditcommands.mos
6e4eecc6abVitalij Rugefixed BackendEquation.solveEquation for RESIDUAL_EQUATION
6f34b0ef95Volker Waurich- add functionpath to parameter crefs in function calls to get unique parameter crefs, only for CPP runtime
38a1dffc13OpenModelica Hudson[Janitor mode] Fix whitespace
8239c18e04Vitalij Ruge- added new flag for dyn. optimization - greating dyn. optimization became more user friendly with OMEdite - change default values like numberOfIntervals for dyn. optimization - added test for it - update application optimize
5e59cebf54OpenModelica Hudson[Janitor mode] Fix whitespace
21de29f1efNiklas Worschechfix in kinsol of cpp runtime for kinsol vectors
880e77247eOpenModelica Hudson[Janitor mode] Fix whitespace
45e92f3383Lennart Ochel- handle mixed systems using tearing (new approach) - remove poor handling of mixed systems from the back end (old approach) - remove unused record BackendDAE.MIXEDEQUATIONSYSTEM - remove flag +d=MixedTearing - update two result files - break Modelica.Fluid.Examples.HeatingSystem (msl32) due to non-linear solver issues - fix #1728, #2432 (and probably more)
0f55ac7567Marcus Walther- disabled parallel write output to fix clang tests
6ad1c0dffbMarcus Walther- fixed log and parallel writeOutput - parallel writeOutput is now enabled if boost::threads are found
842508659dOpenModelica Hudson[Janitor mode] Fix whitespace
e7c9fd3addLennart Ochel- enable tearing for all systems
2d59380c49Niklas Worschechfix for tmp vars in cpp template
4ed0e67216Adrian Pop- back to 1.9.1+dev
14e6bd8321Adrian Pop- update version to 1.9.1Beta3.
b279e11d60Adrian Pop- forgot some bad lines in there.
4e3b1498f3Adrian Pop- remove Compiler/FrontEnd/Env.mo (bye bye, you served us well for quite some years now) (replaced everywhere by Compiler/FrontEnd/FGraph.mo and Compiler/FrontEnd/FCore.mo) - other minor changes - let's see how it goes and a 1.9.1 Beta3 will come next
e72eef49a7Adeel Asghar#2865 - Fixed the paths used in email.
86489508a4Marcus Walther- small msvc fix for hpcom code based on openmp
4c66278c13Volker Waurich- moved reshuffling of systems of equations from Tearing.mo to ResolveLoops.mo, added post-opt module for this
37dfab03bcVolker Waurich- remove resolveLoopsInCOmps from BackendDAEOptimize.mo
a299497422Vitalij Rugeadded rule atan2(0,x) = 0
eaa9d77b3fMartin Sjölund#2862 - testing performance of not replacing `size(exp, 1)` with a non-constant expressions
b6301f4e36Martin SjölundFail at once if encapsulateWhenConditions fails. Print more error-messages on opt-module failures.
3d1405e9a5Martin SjölundAdd line numbers to error-messages from RemoveSimpleEquations
65a1588d10Volker Waurich- comment out columark and mark in Tearing.tearingBFS
3f0ccddf8bVolker Waurich- rewritten HpcOmTaskGraph.updateContinuousEntriesInList
736144a973Adeel Asghar- Don't check the components list when making decision about default annotation.
181b5d0e28Adrian Pop- ignore illegal components in records and give a warning - display the restriction first, then the path in Types.unparseType - fix typo in testsuite/flattening/modelica/redeclare/Makefile - update test (Linux has 64 bit, use that)
f1d702dd74Martin SjölundHandle array-reductions with more than one dimension (as long as the inner dimensions have known sizes)
f04d176bfbAdrian Pop- properly propagate attributes of components on redeclare - properly fill cref subscripts in Static.fillCrefSubscripts (still stuck in old days with T_ARRAY of only one dim) - show the connector components when there is a connection mismatch
6d432deb0aAdeel Asghar#2792 - Don't allow movement of complete connection lines through mouse or keyboard.
1808e46019Martin SjölundPrint an error in the template instead of when compiling code
4e965d2b6cMartin SjölundChange array_alloc_x_array to take `array_t` as input instead of `array_t*` (solves codegen issues for MSL trunk)
56b8c1556aMartin SjölundSwitch the default flag for evalConstFuncs to true (`+d=noevalConstFuncs` now disables instead of `+d=evalConstFuncs` disabling (logic error))
b3bcf473eeAdrian Pop- add proper error messages in some cases where print was used - handle DAE.INITIAL_NORETCALL in the BackEnd/BackendDAECreate.mo and FrontEnd/DAEUtil.mo (thanks to go to models: Buildings.Fluid.Chillers.Examples.ElectricEIR|ElectricReformulatedEIR)
1290f9c634Adrian Pop- partial fix for #2858 (does not yet work with for iterators indexing the array of records) * some tests are now actually giving correct results - partial support for Connections.uniqueRoot and Connections.uniqueRootIndexes * non standard operators: Connections.uniqueRoot and Connections.uniqueRootIndices are only partially implemented * Connections.uniqueRoot currently does nothing, only collects information * Connections.uniqueRootIndices needs to be implemented, it returns an array of ones (1) of size of first input * See specification for these here (Modelica_StateGraph2): https://github.com/modelica/Modelica_StateGraph2 and https://trac.modelica.org/Modelica/ticket/984 and http://www.ep.liu.se/ecp/043/041/ecp09430108.pdf * any takers for the actual implementation? is not that complicated :) - changed the way array types are printed out to be easier to follow
b4d050d5b1Adrian Pop- all MSL 3.2.1 now compiles - add the previously failing tests to the testsuite
6a8a8d8526Jan SilarPDE extension Documenting simplified version
dd8afe7c9aOpenModelica Hudson[Janitor mode] Fix whitespace
223969c9b5Mahder Alemseged GebremedhinFix #2452. Improve #2271 (and also #2112 maybe ?). Counting of algorithm section equation outputs involving arrays and records.
d42a6c3aedMartin SjölundChange the build script to not symlink or copy files into the build directory '''''Note: You will need to update the omc version that you are using to compile omc. The old one is unable to bootstrap omc. (It should also be possible to use the Makefile.sources from the tarball in order to skip this step as a temporary workaround if you do not want to bootstrap from the tarball.)'''''
41caac0bdbMartin SjölundSimplify some record references in reductions Used in MSL trunk Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource. No test-case was added because models saved with saveTotalModel worked.
391e2eadc4Martin SjölundDo not create a version scope for operator records
f579503436OpenModelica Hudson[Janitor mode] Fix whitespace
112569e1c2Ruediger Kampfmann-vxworks include
cedb83fdf2Ruediger Kampfmann-vxworks includes
5105e612ffRuediger Kampfmann-vxworks includes
23d9d2daebRuediger Kampfmann-vxworks includes
de977fb38eRuediger Kampfmann-vxworks includes
030bc8d7dfRuediger Kampfmann-vxworks includes
cb95afc032Ruediger Kampfmann-vxworks includes
bda162335fRuediger Kampfmann-vxworks includes
1f1710e19aRuediger Kampfmann-vxworks includes
0a007820d6OpenModelica Hudson[Janitor mode] Fix whitespace
6813105692Ruediger Kampfmann-vxworks includes
4989ebfe62Ruediger Kampfmann-vxworks includes
203f1ccd3eRuediger Kampfmann-vxworks includes
2ac436ea20Ruediger Kampfmann-vxworks includes
c28fb95b2aOpenModelica Hudson[Janitor mode] Fix whitespace
853e5c2755Ruediger Kampfmann-vxworks includes
b0fa405d45OpenModelica Hudson[Janitor mode] Fix whitespace
2e1cd00398Ruediger Kampfmann-vxworks includes
cd4b840006Ruediger Kampfmann-vxworks includes
352ad76367Volker Waurich- extend shuffling for torn systems
1b5b0b3e0bLennart Ochel- **workaround**: generate dummy attributes, since symbolic jacobians break generated c-code
ba20d9ab0eOpenModelica Hudson[Janitor mode] Fix whitespace
ff45d32c53Lennart Ochel- provide additional information (nominal, min, max) for **linear** systems
34e26cc221Bernhard ThieleDifferent handling for "outer" variables if declared in a State Machine state instance
b9cb34e0aaLennart Ochel- **ugly** fix for initialization of symbolic jacobians - add test for #2673
63abd6d0b5Martin SjölundInclude the time taken to run each mos-script for debugging
cb8e7f88e8OpenModelica Hudson[Janitor mode] Fix whitespace
47bcf276e6Adrian Pop- hopefully properly silence the coding style.
2d25e014ebVitalij Rugeupdate tests
1d605b23c8Adrian Pop- silence the coding style.
1db8c03912Vitalij Ruge- update ipopt settings - update tests - added a flag for dyn. optimization for warm start - added test
aacc16cb22Volker Waurich- the hpcom GRS doesnt need so many iterations as before
2b970b6739Martin SjölundAdd new option `readSimulationResultVars(readParameters=false)`, and use this for the reference file comparison
c4fbafd1acOpenModelica Hudson[Janitor mode] Fix whitespace
7502ca1422Lennart Ochel- new unit check module (flag +newUnitChecking, disabled by default) - for all variables unspecified units get calculated if possible - inconsistent equations get reported in a user friendly way - new debug/dump flags for unit check module: dumpUnits, dumpEqInUC, dumpEqUCStruct - add some examples for testing
5179589465Martin SjölundReset the alarm before the call to buildModel
215683e0ffMartin SjölundNote about config
566b709e76OpenModelica Hudson[Janitor mode] Fix whitespace
e8f42564baMarcus Walther- added more parameters to codegencpp.tpl-functions, that allows us to remove some duplicated code in codencpphpcom.tpl - deactivated the "Deactivate profiling if you want to simulate in parallel" - feature, because performance benchmarks are now possible with hpcom
4407c7e8b4Lennart Ochel- fix fmi stuff
e8db5f148dOpenModelica Hudson[Janitor mode] Fix whitespace
8b0f30e496OpenModelica Hudson[Janitor mode] Fix whitespace
8f3b64b0e7Lennart Ochel- fix non-linear system solver for iteration variables with bounded attributes (#2841)
7d61c46ed8Ruediger Kampfmann-removed boost bind
492ea2d0faAdrian Pop- switch colors in trend plots (blue for compilation and green for simulation) to be more visible.
d5469bb952Lennart Ochel- make some dumps and record names less confusing
ed133b8ea9Adrian PopFix bug: #2854 (do scope versioning also in the top scope, but not for builtin classes and builtin types) - note that flattening/modelica/declarations/Constant12.mo is actually correct now, see m:#1397, well, except for the fact that it should tell that A.y does not have a binding
61e34ace9fOpenModelica Hudson[Janitor mode] Fix whitespace
6eb5a8bde5OpenModelica Hudson[Janitor mode] Set auto-props
338b60a693Niklas Worschechchanged math library to shared library
1287830a2aNiklas Worschech missing modified CodegenCpp.mo file
99742351c7OpenModelica Hudson[Janitor mode] Fix whitespace
78d78b81feOpenModelica Hudson[Janitor mode] Fix whitespace
3e12519e6fRuediger Kampfmann-removed boost bind
bc86917b76Ruediger Kampfmann-removed boost bind
6aea557ba4Lennart Ochel- improve +d=backenddaeinfo - show backendaeinfo for initial system - dump dae kind
377b9e2d59Ruediger Kampfmann-removed boost bind
4214eeb470Martin SjölundFMI 2.0 spec uses the horrible name darwin64 for the binary location of x86 code... Whatever.
e426d9050fMartin Sjölund#2761 Add testcase for System2.mo from Buildings (used to generate a seg.fault)
e2f0debb4cAdrian Pop- don't use System.gettext for Modelica constructs
070507520bAdrian PopMerged branches/FFrontEnd into trunk/
2a3e9ebb58Adrian PopFix bug #2851 - handle named arguments for homotopy
3e6692efa7Martin SjölundFix code generation for simulation executables (broken by r22482)
a9813ab1e1Martin SjölundMake protected functions static in the generated code
e09b5f74e4OpenModelica Hudson[Janitor mode] Fix whitespace
1f43726f81Niklas Worschechfix for typo in cpp template
d7e5c54a8aLennart Ochel- rise priority of imported start attributes compared with bounded start attributes (see #2673) - disable openmodelica/modelicaML/twotankmodel.mos since it seem to be wrong anyway for a while
019c02aec4Martin SjölundFix bibtex database
deeba0a3eeBruno ScaglioniUpdated bibliography
41e2892a9bOpenModelica Hudson[Janitor mode] Fix whitespace
535b5f2855Niklas Worschechfix in array operations sum_array and dot_array
fc738cecceOpenModelica Hudson[Janitor mode] Fix whitespace
2c13e06dbdRuediger Kampfmann-some changes in divide_array
7d936167caOpenModelica Hudson[Janitor mode] Fix whitespace
5f2e6abcc2Ruediger Kampfmann-some changes in divide_array
838c7ea12dAdrian PopFix bug #2837 - properly handle array equations in RemoveSimpleEquations.mo
82b1afbadaOpenModelica Hudson[Janitor mode] Fix whitespace
451f9c6225Ruediger Kampfmann- some improvements concerning array.h
29a8943527Ruediger Kampfmann- some improvements concerning array.h
41f185b647Ruediger Kampfmann- some improvements concerning array.h
31835f52e5Lennart Ochel- fix indentation
73b0786627OpenModelica Hudson[Janitor mode] Fix whitespace
65a2be73faRuediger Kampfmann-changed removed a senseless copy in the end of functions
935d236484Martin Sjölund#2832 Propagate annotations into DAE.EXTOBJCLASS
bde9d59754Martin Sjölund#2817 Handle unknown dimensions better when initializing a function variable from a binding
1704d24e48OpenModelica Hudson[Janitor mode] Fix whitespace
e8b466d47bRuediger Kampfmann- changed initialization of parameters in functions
4d007c6621OpenModelica Hudson[Janitor mode] Fix whitespace
ea005e73f8Volker Waurich- get thick lines in graphML output for solvable edges and thin lines for nonsolvable edges
fc23d16489Marcus Walther- fixed msvc build
e4a3ac81f2Martin SjölundTail recursive filter1OnTrueSync_tail
cbc75e6029OpenModelica Hudson[Janitor mode] Fix whitespace
a814f4ac09Marcus Walther- splitted the writeOutput-function to speed-up complile time a little bit - activated papi in cmake
1c72b31caeOpenModelica Hudson[Janitor mode] Fix whitespace
4f8d431edaVolker Waurich- added experimental functions to manipulate systems of equations (work in progress)
ccd5f2fb97Marcus Walther- fixed my previous commit
31f9503c45OpenModelica Hudson[Janitor mode] Fix whitespace
4f656e742dMarcus Walther- optimized parallel write output - added profiling points for the write output functionality - added profiling based on papi counters to the cpp-runtime
487c23dbe0Martin SjölundFix the type of list/listReverse comprehensions with multiple iterators
6c7ffee606Per Östlund- Fixed dependency analysis for classes redeclared multiple times.
ccbfa81309Marcus Walther- fixed hpcom
2f976ad689Per ÖstlundFix for #2834: - Don't print out builtin attributes in type mismatch errors, they just make the errors harder to read.
7c0e1744efJan SilarPDE extension experimental solver string with algebraic variables fixed
c612384b67Per ÖstlundFix for #2836: - Handle builtin types better in NFSCodeDependency.
c6d215bddeOpenModelica Hudson[Janitor mode] Fix whitespace
4d4ba627e4Volker Waurich- added stringVar as type for the communication type in hpcom - extended HpcOmTaskGraph.getUnsolvedVarsbySCC for strings and enumerations - some changes in graphML dump for systems of equations regarding indexing of nodes in torn systems
f1353a1c78Vitalij Rugesome fixes from static analysis
351ba91eb4Adeel Asghar#2767 - If fmi2Terminate is called and then fmi2Reset is called then reinitialize the data.
1935535d13Adeel Asghar#2764, #2765 - Added the InitialUnknows section in modelDescription.xml
360abbc4ecAdeel Asghar#2765 - Use StartString2 instead of initValXml.
fbc604ac94OpenModelica Hudson[Janitor mode] Fix whitespace
c2e5686b5eVitalij Ruge#2833 fixed - added solver rules for e.g g(.) + f(.)/h(.,x) = 0.0 - improved rule for x^r = x^(1/r)
898ec0055fLennart Ochel- update unused interactive stuff
10f0ca8d96Lennart Ochel- improve #2614
db42c3198cMarcus Walther- temporarily disabled colord jacobian
0dbd5bedeaWilli Braun - deactivate dae dumps for symbolic jacobians
c717716fbdNiklas Worschechfix in dot array of cpp runtime
9f2caf5eb4Volker Waurich- added flag to set tolerance for reshuffle algorithm +reshuffle=0/1/2/3
cfa38aae5bAdeel Asghar#2767 - Fixed fmi2GetDerivatives & getReal. - Added LogCategories to modelDescription.xml
74ba08cc3eLennart Ochel- unfix #2830
d899f94a5fOpenModelica Hudson[Janitor mode] Fix whitespace
991c2be7c2Niklas Worschechadded terminate function to cpp tempalte
f8f5b0e015Jan SilarPDE extension experimental solver working on algebraic variables
6795340c45Volker Waurich- added some functions to benchmark exeCosts for tasks in HpcOmSimCodeMain.mo
61d069a2c9OpenModelica Hudson[Janitor mode] Fix whitespace
6e54882fecMarcus Walther- tabified precompiled header file - made measure time functionality available for windows (mingw) - FORCE_INLINE is now defined for gcc and msvc
269a95a698Vitalij Ruge- remove cot,coth rulse // not exist in Modelica // thanks Martin - added some rules for e.g. sin/tan, sinh/tanh
d03b6e89b9Lennart Ochel- fix #2830
b739f823bfMartin SjölundFix errorneous message for `String(format=...)` and expected output
e470e7f0ebOpenModelica Hudson[Janitor mode] Fix whitespace
bec64d29a2Martin Sjölund#2829 Print errors for missing arguments
d5497ec152Volker Waurich- removed print message
721d03a050Marcus Walther- splitted the getInt-Function - fixed HPCOM of CPP-Runtime
0bbf7dab81Marcus Walther- improved error handling - reactivated colored jacobian
b7d6d38f92OpenModelica Hudson[Janitor mode] Fix whitespace
b42e0c23c2Volker Waurich- added variability to record constructors
a25546391aOlena Rogovchenkoblockcall update
e46df41c5cOpenModelica Hudson[Janitor mode] Fix whitespace
aa6621ccb6Vitalij Rugeadded rules for sinh,cosh,tanh,coth
d3891372a2OpenModelica Hudson[Janitor mode] Fix whitespace
3475fc4a36Vitalij Rugeadded rules for sin, cos, tan, cot
76e345f0c7Adrian Pop- don't expect that functions with the same name in different scopes are recursive extends! - fixes a model that Francesco is working on.
30c98d3d49Jan SilarPDE extension experimental string model finished, arterial model started
77735d58fbMahder Alemseged GebremedhinCreate correct array types for complex type using the prefix dim info.
3d6fa34550OpenModelica Hudson[Janitor mode] Fix whitespace
30463bda58Adrian Pop- fix typo in r22359
455a003213Niklas Worschechfix for some modelica internal functions in cpp template
9a3a2cb7e1OpenModelica Hudson[Janitor mode] Fix whitespace
8af57bb07cMartin SjölundFixes compilation
162383d8a8Olena Rogovchenkoblock call prototype
a8a35a4c26Martin Sjölund#2801 Propagate visibility to DAE.FUNCTION
701dc333b6OpenModelica Hudson[Janitor mode] Fix whitespace
254816c013Olena Rogovchenkoblock call prototype
6ee8e5f06aOlena Rogovchenkoblock call prototype
295dd47a38Martin Sjölund#2823 Speed up replaceLiteralExp for large lists
49c391b78eMartin Sjölund#2827 Handle more MM types in code generation
fde96ad72dMartin SjölundRML crap
69c7dea535Martin Sjölund#2824 - Create new internal foldName and resultName when simplifying reductions with multiple iterators
4b7f24ec71Niklas Worschechdeactivated call CVDlsSetDenseJacFn in CVode.cpp
b95409cbe3Martin Sjölund#2798 Fix crash when saving models in OMEdit - A function returning a bool did not return any value, causing the crash - Enabled compiler warnings since it was suppressed before and warnings are 'very' useful
5b149a6662Martin Sjölund#2798 Fix crash when saving models in OMEdit - A function returning a bool did not return any value, causing the crash - Enabled compiler warnings since it was suppressed before and warnings are 'very' useful
ddff833fcaVitalij Rugesome fixes from static analysis
655b3c7f39Vitalij Rugekeep extrapolate inputs inside bounds
37e475349dOpenModelica Hudson[Janitor mode] Fix whitespace
8898506117Vitalij Rugefixed output from dyn. optimization
238eaef461Niklas Worschechremoved includes in CVode.h
1e7f61b648OpenModelica Hudson[Janitor mode] Fix whitespace
345482ccbaJan SilarPDE extension experimental string model
4a4b649820Niklas Worschechtry to fix compiler error for CV_JCallback
3df8e4555dMartin SjölundClean omc_communication.*
35a3c9408dMartin SjölundClean omc_communication.*
3db3d33620Martin Sjölund#2822 Also consider derived functions when looking for function to compile
19eead66f1Martin Sjölund#2804 Optimize `(x,_,_) = fn(y)` into `x = TSUB(fn(y),1)`. Triggered some unwanted optimisations/inlining of function calls that were handled by forcing ceval of some function calls in the backend
9ef6f32b8dOpenModelica Hudson[Janitor mode] Fix whitespace
c924d55c5cWilli Braun - fixes for FMI dependencies calculation
5c5fbfac97Vitalij Rugefixed discrete vars and events in dyn. optimization
5f4bd3e1ebOpenModelica Hudson[Janitor mode] Fix whitespace
3f57eed2bdLennart Ochel- Change some back end data types for base-/sub-clock partitions - Change some names (e.g., INFERREDCLOCK to INFERRED_CLOCK) to match common code style - Update expected output
0f312a9b05Per Östlund- Made Types.matchTypes tail recursive. - Made Static.elabBuiltinTransition3 not fail.
2bd62ee2f8OpenModelica Hudson[Janitor mode] Fix whitespace
47cd2a56d9Niklas Worschechfix in cvode for write output
afc1870033Per Östlund- More listFirst -> listHead.
c362bfdeecPer Östlund- Fixed bootstrapping implementation of listHead/listRest so that they fail on empty lists instead of segfaulting (and are named correctly...).
9b83729280Adrian Pop- coding style utf-8 without bom use (C) instead of the Copyright sign
26f1abe1afOpenModelica Hudson[Janitor mode] Fix whitespace
48acc4b9cdBernhard ThieleMoved all definitions for "Clock"-Type from Absyn.mo to DAE.mo: Probably cleaner solution since the "Clock" type is not part of the grammar.
27b0b0007bAdeel Asghar- Updated to FMI 2.0 files.
474c547e77OpenModelica Hudson[Janitor mode] Fix whitespace
a63c700081Vitalij Rugefixed -lv LOG_IPOPT_ERROR for final cosntarints
77ef913662Vitalij Rugesome fixes from static analysis
9a91e9175fAdrian Pop- fix bootstrapping
edf4a5e1c9Willi Braun - fix c compiler warning
2c4594f8c1OpenModelica Hudson[Janitor mode] Fix whitespace
806b1625c0Willi Braun#2764 - FMI: added dependecies feature for derivatives and outputs
be7ef973a6Adeel Asghar#2818 - Copy the model's experiment annotation values to the generated FMU.
7f2db9f8f9OpenModelica Hudson[Janitor mode] Fix whitespace
84a82e444eMarcus Walther- optimized measureTime
821b3a507aMartin Sjölund#2815 Handle fold reductions of user-defined functions with polymorphic types - Also handle folding functions of type A,B->B, if the second argument has a constant default binding
3c23445fb9Jan SilarPDE extension experimental code
dac1c9996fOpenModelica Hudson[Janitor mode] Fix whitespace
dd75640ea5Marcus Walther- measureTime of CPP-Runtime produces a valid json-file now - the hpcom json file reader will now exit correctly if the json file is invalid - fixed a bug in HPCOM-TaskGraph -- the execcosts of the nodes are correctly mapped to the json-file-values - moved execstat measure commands to the correct locations
ef99e6ccd2Adrian Pop- fix build
de3b0ee53fPer Östlund- Removed dependency on List _tail-functions in Static.
b7a5aca2f5Martin SjölundAdd support for threaded reductions using +g=MetaModelica
299cdd8690OpenModelica Hudson[Janitor mode] Fix whitespace
4f516aa601Michael Kloeppeluse umfpack only for (very) sparse matrices fix umfpack test's Makefile
6afa020c12OpenModelica Hudson[Janitor mode] Fix whitespace
35a6f78c16Mahder Alemseged Gebremedhin+ Propagate dimensions in prefixes so that qualified crefs get the correct type and dimension. + Fix wrong uses of subscripts as dimensions. - Disable non-expanded array compilation test for now. It is broken.
eb2b3eb118Per Östlund- Implemented isNone/isSome in the bootstrapped compiler.
60336d023cAdeel Asghar- Use the simulation arguments when debugging. - Use monospaced font for output and logs.
0d3b421d62Martin Sjölund#2813 Allocate temporary variable used by the for statement *before* generating the body statements (prevents re-use of indexes)
f47b4c8179Volker Waurich- fix in EvaluateFunctions.mo for empty tuple type in CallAttributes
19061898b6OpenModelica Hudson[Janitor mode] Fix whitespace
a24658baa9Niklas Worschechfix for int_max in cpp template
8a7f3086c0Volker Waurich- fix for getEventTaskGraph
65ff40cd42Martin SjölundFix reinit of subscripted crefs
475bb7fdf7Martin SjölundGenerate notifications for invalid typespecs like `list` already during the Absyn to SCode phase
ebcf936c0cAdeel Asghar- Added support for conditional breakpoints.
2a53044278Per Östlund- C99 issues.
f53eacf380Per Östlund- Updated OM for FMIL 2.0.
7c65241781Martin Sjölund#2794 Add some error detection for div/mod by zero - Also added line information to external C functions - Moved external function includes to a separate file (`Model_includes.h`), and added #line directives so the debugger can point to these lines of code
936e526b3eOpenModelica Hudson[Janitor mode] Fix whitespace
21563c0b01Vitalij Rugeimproved DynamicOptimization.mo
7e792af765Marcus Walther- disabled always_inline attribute, to fix msvc build
3b96e94b75Adeel Asghar- Keep arrayLength static inline. Gives performance. - New function for debugger mmc_gdb_arrayLength. - Use the new function in OMEdit.
ac3a54883dAdeel Asghar- Set display C & unknown frames enabled by default.
364e40a87eAdeel Asghar- Do not make the arrayLength function static inline.
2e7480a0e4OpenModelica Hudson[Janitor mode] Fix whitespace
6a970489a7Niklas Worschechfix for copy pdb files of cpp runtime
ea172c4b44Martin Sjölund#2811 Allow iterating over lists in for statements
13d19e0207Marcus Walther- SimCodeTV.mo was not merged correctly
64fb00309aOpenModelica Hudson[Janitor mode] Fix whitespace
57bfe738f4Marcus Walther- redo changes of rev22212, but this time without circular dependency
5543876ff8Martin Sjölund#2810 fix segmentation faults on case guards
302a6072edOpenModelica Hudson[Janitor mode] Fix whitespace
851e633ca9Vitalij Rugefixed hessian in dyn. optimization
182b7a9a5fNiklas Worschechfix for append array in cpp runtime
bc7c422da0Adeel Asghar- Allow adding ignore count property for breakpoints. - Handles the -break-after command of gdb.
00f6b4034cMartin Sjölund#2786 - Fix code generation for multiple iterators (threaded) - Ceval constant function calls in the front-end
63840b582bNiklas Worschechdeactivated colored Jacobian in cvode
700695c289Martin SjölundRevert to r22211
b6cdd978ecOpenModelica Hudson[Janitor mode] Fix whitespace
9f41cd4a61Marcus Walther- improved levelfix-scheduler of HPCOM - improved measureTime-functionality of cpp-runtime
8ad1c8e9b6Per Östlund- Reverted accidental commit of wrong file.
aa7fea92d7Per Östlund- Even more fixes.
90495a60aePer Östlund- And some more fixes.
08e94269afPer Östlund- More fixes.
8403fa8bc2Per Östlund- Some more fixes for r22200.
00cda59400Adrian Pop- fix grep and replace from r22200
2ecb6b8256Adeel Asghar- Open debugger backtrace in text editor.
88447259bdAdeel Asghar- Delete global QSettings object when application quits.
4b091f598cOpenModelica Hudson[Janitor mode] Fix whitespace
bbc2331dcfPer Östlund- Reverted (mostly) the previous commit due to RML grumpiness.
d276a6d454Per Östlund- Fixed builtin listEmpty and replaced List.isEmpty with it.
b6136b9aaeVolker Waurich- added attr varKind to SimCode.Variable - some debug print functions
c6dfea8563Per ÖstlundFix for #2806: - Remove input/output also from record components that are not top-level.
d54087515bAdrian Pop- fix bootstrapping
4ba144b3f7Vitalij Rugeimproved scaling of goal function in dyn. optimization
bd34281600Adeel Asghar- Using setIniCodec utf8 with QSettings is important. We might forget to set it if we are creating the instance of QSettings on different locations. Use one QSettings object for whole application.
f0d5948da4Adeel Asghar- New options to clear the debugger output & log windows on new run. - Use the UTF-8 for settings object throughout the application.
4d1024b77eAdrian Pop- proper MetaModelica (RML) fix (RML doesn't like things thaat start with "_": _complexity)
102855e687Adrian Pop- fix MetaModelica (RML) compilation
a7c0893c65Adeel Asghar- Add -g to CFLAGS if +d=gendebugsymbols is set.
87e118ff53OpenModelica Hudson[Janitor mode] Fix whitespace
16759baf5bNiklas WorschechActivated colored Jacobian in cvode
ad491c9d2aMartin Sjölund#2800 - Rewrote traverseExp and traverseExpTopDown to take a function with 2 inputs and outputs instead of using tuples
5e5591c150Willi Braun#2808 - fixed #2808
23d4ef9e16OpenModelica Hudson[Janitor mode] Fix whitespace
fe07115210Per Östlund- Fixed getVars in SimulationResultsCmp so that variable names don't get corrupted and make the Compare.mos test fail. - Got rid of Clang warning in optimization runtime.
2845735f07Per ÖstlundFix for #2806: - Remove input/output from variables which are not at top-level or inside a top-level connector.
198e349c13Volker Waurich- fix simpleResistor test
ad3a5bde8bVolker Waurich- rewritten HpcOmTaskGraph.cutTaskGraph
fdc7cda155Marcus Walther- fixed RML build
5882315d02OpenModelica Hudson[Janitor mode] Fix whitespace
07ad137d75Marcus Walther- added var indices to hpcom-communication-object
a982de4eb7OpenModelica Hudson[Janitor mode] Fix whitespace
c987ace0ffVitalij Ruge- fixed start-values in dyn. optimization - added test
41534e650cOpenModelica Hudson[Janitor mode] Fix whitespace
9eba358355Niklas Worschechexpexted output, fix for min max function in cpp runtime
582fe68491OpenModelica Hudson[Janitor mode] Fix whitespace
28ce7eea0fMahder Alemseged Gebremedhin+ Move includes from headers to the source files. Reduces binary sizes considerably. Every package/source includes all the headers it needs individually so there is no need to have the chain includes.
905362dd00Marcus Walther- fixed measureTime in CPP-Runtime
a091d5a4d7Michael Kloeppelfix umfpack issues under windows
188060622bMarcus Walther- fixed RML-build
c23611b749OpenModelica Hudson[Janitor mode] Fix whitespace
fcc7fbb1f9Marcus Walther- removed ASSIGNLOCKTASK and RELEASELOCKTASK and added a new Structure called DEPTASK
821909b148Marcus Walther- removed deinitialization of measure time
b35e62d705OpenModelica Hudson[Janitor mode] Fix whitespace
a1813b01fbNiklas Worschechfix for sum array in cpp template, reverted cvode changes for colored jacobian
baa0654300OpenModelica Hudson[Janitor mode] Fix whitespace
e16a51947eMarcus Walther- fixed segfault in measureTime
f0103e786cOpenModelica Hudson[Janitor mode] Fix whitespace
ca69856b59Niklas Worschechfix for dot and div array in cpp tempalte.Colored Jacobian in cvode of cpp runtime
d9329e372fBernhard ThieleAdded clock constant in dispatch for Expression.traverseExpTopDown1
52a577ba6dOpenModelica Hudson[Janitor mode] Fix whitespace
f61e67157eNiklas Worschechfix for promote and transpose array in cpp template
1dc9639149Vitalij Rugeadded a warning in dyn. optimization
3fa198cdc9Vitalij Rugefixed 22127
d78dc7d3fcVitalij Ruge- added protype interface for external state estimation data //important for nmpc loops - fixed final constraints
060ef56c99Jan SilarPDE extension Experimental code for advection eq
2a078d6a28Lennart Ochel- fix sub-clock partitioning (sub-clock indices were twisted due to a wrong listReverse)
1eb13ccd1eLennart Ochel- conform the buttons to the quit-message of OMShell
62cee526baLennart Ochel- conform the buttons to the quit-message of OMShell
bb60015908Vitalij Rugeimproved derivatives for arctan2 and r^x
f85cb1c055Adeel Asghar#2797 - Handle the Dialog annotation groupImage attribute.
046efec7cfAdeel Asghar- Enable/disable the input field of the parameter based on dialog annotation.
39206fcd21OpenModelica Hudson[Janitor mode] Fix whitespace
b34f41cf33Marcus Walther- dump graph to graphml can now be influenced with GraphDumpOptions
a6244e3e91Lennart Ochel- conform the buttons to the quit-message of OMNotebook
2e7834b419Vitalij Ruge- fixed r22109
ff2ea6887fVitalij Ruge- fixed cmake
5d4efc6c66Michael Kloeppelfix msvc build
344af77aa4OpenModelica Hudson[Janitor mode] Fix whitespace
aa0ccf9d34Vitalij Ruge- support partial final constraint via annotation marker - added structure for final constraints - codegen for final constraints - modification dyn. optimization methode for final constraints - added tests for final constraints
59dee8ddfeOpenModelica Hudson[Janitor mode] Fix whitespace
08750ba171Niklas Worschechfix for cat array function in cpp template
df6c408133Bernhard ThieleCleaned up code
3e89aea130Marcus Walther- fixed measure time linker error (GCC)
492f289d27Michael Kloeppelfix build
c4fb485761Michael Kloeppelfix build
c28f099611Michael Kloeppelumfpack related changes to Makefiles and CMake scripts
5867ce35ccMarcus Walther- fixed clang build
d672ec9d9dMarcus Walther- some more clang error fixes
fe5e6c28a6Marcus Walther- fix clang build
bd015150ecOpenModelica Hudson[Janitor mode] Fix whitespace
777ce4c02dMarcus Walther- separated the communication variables of hpcom into int, float and bool
d7025f4d2dOpenModelica Hudson[Janitor mode] Fix whitespace
9218d724b7Ruediger Kampfmann-fixed an error concerning colored Jacobians
970f5538a3OpenModelica Hudson[Janitor mode] Fix whitespace
491439a27bRuediger Kampfmann-fixed an error concerning colored Jacobians
6022db6f9dRuediger Kampfmann-fixed an error concerning colored Jacobians
183696c865Adrian Pop- fix bootstrapping
ec7415ce72Bernhard ThieleImproved the elaboration of state machine operators
0674aabeecOpenModelica Hudson[Janitor mode] Fix whitespace
755749e14fRuediger Kampfmann- colored Jacobians
7de849d2ecPer Östlund- Fixed CodegenCpp (no german characters please).
2b6ea0abeeAdeel Asghar#2796 - Use UTF-8 so that HTML entities render correctly.
a8e227df0cOpenModelica Hudson[Janitor mode] Fix whitespace
ed560c86fbRuediger Kampfmann- colored Jacobians
04b92504c6Ruediger Kampfmann- colored Jacobians
ed0d9dbcbcPer ÖstlundFix for #2793: - Hack to handle messed up cref types when checking subscript bounds for connects.
5bb2490c48OpenModelica Hudson[Janitor mode] Fix whitespace
a66c486e7eNiklas Worschechfix for fill_array in cpp template
1c60034dfbOpenModelica Hudson[Janitor mode] Fix whitespace
f4c5d09da8Per ÖstlundFix for #2790: - Implemented type checking of array dimensions for array modifiers. - Fixed Types.getDimensionNth to work for all kinds of dimension configurations.
7b8fcc602cAdrian Pop- fix bootstrapping
812fe69afeOpenModelica Hudson[Janitor mode] Fix whitespace
7a145f4909Vitalij Ruge- rewrite DynamicOptimization parts in BackEnd - create DynamicOptimization.mo - mv some parts inside DynamicOptimization.mo - added annotation marker for DynamicOptimization - update tests for DynamicOptimization
38a8d7f2a1OpenModelica Hudson[Janitor mode] Fix whitespace
142c4e2f35Niklas Worschechchanged A matrix for linear systems to static array in cpp runtime
ad76695223Adrian Pop- compile without optimizations for bootstrapping - better handling of verification of if equations that do not "set" anything i.e. (x = y): if cond then reinit(v, 0); reinit(s, 1); else reinit(v, 2); reinit(s, 3); end if; maybe we should also check if the same reinit variables are used in the if branches (no idea what the spec says). unfortunately the back-end doesn't support yet reinit inside if equations in when clauses.
23bb4be538Bernhard ThieleAdded state machine operators to front end
71fefdc9c8Marcus Walther- fix for clang
212781eca7OpenModelica Hudson[Janitor mode] Fix whitespace
528a33b185Marcus Walther- separated umfpack-include from cflags
97b3a93ad3Marcus Walther- oeprator() defined for SparseMatrix-type
47ae17a129Niklas Worschechfix for precompiled header msvc build
cbaeb876d6Marcus Walther- excluded precompiled header just for msvc build
a506449764Marcus Walther- deactivated precompiled header temporarily to fix msvc-build
ceb830c9f6Michael Kloeppelcorrected umfpack-clean target in Makefile.common
02d1168eacMichael Kloeppelallows to compile umfpack in 3rdParty and use it in cpp-runtime only the LGPL version in 3rdParty is used
40d25e00c5Marcus Walther- fixed realDiv mistake
cbd0b02fd0OpenModelica Hudson[Janitor mode] Fix whitespace
8a876879deMarcus Walther- removed the Include/Core - Folder from the Include-Path (this will break the CPP-Runtime on Windows with MSVC) - moved some header-files from cpp/Core to cpp/Include/Core - added experimental version of level-scheduler (levelfix) to HPCOM
73856dbefbMartin SjölundFix Expression.isConst to also work for function calls. Changed most ExpressionSimplify routines to call isConstValue instead (since they try to do things like constant folding which fails for compound expressions anyway).
45b0986b02Adeel Asghar- build antl3config.h for Makefile.common also. - Define ANTLR64.
17f5a8ddf3Adeel Asghar- The openmodelica.org news rss feed link is changed.
dad861cc98Adeel Asghar- Breakpoints can only be added to saved files. - Updated the translation files.
fbbbf2ffcdAdeel Asghar- Fix build.
bf0506ae30OpenModelica Hudson[Janitor mode] Set auto-props
5bdf0da902Adeel Asghar- Merged the debugger branch with the trunk. - Generate the GDB parser make files.
50ae6c5c22Adeel Asghar- Merged the debugger branch with the trunk. - Generate the GDB parser make files.
8e92d60a1cOpenModelica Hudson[Janitor mode] Fix whitespace
beaf160571Per ÖstlundFix for #2789: - Restructured modifier handling to provide better error messages.
3cf1f11bddVitalij Ruge-updated and added new tests for the dyn. optimization
a3f75f01deJan SilarPDE extensin documentation Euler equations
6844d5bd66Marcus Walther- fixed Expression.isCrefListWithEqualIdents
4111c31288Niklas Worschechfix for add array function in cpp template
691b01e75eMartin Sjölund#2791 Rewrite multiple iterators to nested reductions
f15686dc21Niklas Worschechadded accidentally removed function in cpp template
e48ee4f178Adeel Asghar- Handle the plot of two or more variables.
2ca1f03e1fRuediger Kampfmann-changed input parameter in division from std::string to const char*
7d063dfaa3Ruediger Kampfmann-changed input parameter in division from std::string to const char*
3838fccf8aOpenModelica Hudson[Janitor mode] Fix whitespace
9170c0fa25Niklas Worschechadded append method to array class in cpp runtime.
7055590f19OpenModelica Hudson[Janitor mode] Fix whitespace
4234f3a958Ruediger Kampfmann-changed passing of structs from call by value to call by reference
14a2065573Per Östlund- Removed duplicated cref<->path functions in Static.
000242bedcOpenModelica Hudson[Janitor mode] Fix whitespace
7b41e89291Per Östlund- Slight optimization of elaboration of EnumToInteger.
b94cd80a96Lennart Ochel- revert r21963 and change the test from #2788
1854729e16Lennart Ochel- partially revert r21426 to fix #2788
c0579fbcbeVitalij Rugeimproved guarding for if-exp
574188afe1Lennart Ochel- hide sub-clock partitioning information by default
864744f3a6OpenModelica Hudson[Janitor mode] Fix whitespace
585c4de317Lennart Ochel- sub-clock partitioning (each equation gets assigned an sub-clock partition index)
15a8310b36Jim NutaroAdded linear system solver to sparse FMI, working on events
e66c1dd3c5Vitalij Rugefixed #2787
faed7a5142Jan SilarPDEModelica extension proposal update
23faeaaa25Vitalij Rugefixed pre sim in optimization
95a4bfc572Martin SjölundAdd PDF link as the paper was requested many times via email
4585f51448Martin SjölundAdd some more publications to the database
7c10ecf09fOpenModelica Hudson[Janitor mode] Fix whitespace
eeb534f07bPer Östlund- Actual commit of stuff that should have been committed in r21937 (accidentally only committed testsuite in that commit).
7e83e3b0baMartin SjölundFix the elaborated result tuples sooner, so moving the last statement works
cca816ac56Martin SjölundAdd error message for when SCodeUtil fails to translate an operator that uses class extends (which is lacks a valid legal use case and we thus lack a case for)
63643f304fMartin SjölundStarted using elabExpInExpression instead of elabExp in many places (so functions returning multiple outputs work better) Note: This interferes slightly with the MetaModelica type system (things RML did not handle; so no changes needed). The changes cause MetaModelica models using equations with tuples to fail (but that is okay; we do not use MetaModelica in models)
8fb864aa56Marcus Walther- changed "#include " to "#include "
518d93a9dbMarcus Walther- changed "#include " to "#include "
49aaadd883Marcus Walther- changed USE_THREADS to USE_PARALLEL_OUTPUT, because otherwise the boost_thread library can not be used by HPCOM - some updated for the hpcom testsuite
b7085cf8c9OpenModelica Hudson[Janitor mode] Fix whitespace
8c1b40dce4Marcus Walther- isCrefListWithEqualIdents - added to the expression-module, to check if a list of expressions uses the same cref-identifier
c29e1bad53Marcus Walther-rml fix
5795ae2de5Martin SjölundFix configure script
0be828f33eOpenModelica Hudson[Janitor mode] Fix whitespace
95d964bc8cMarcus Walther- all String are now exported into a CDATA-Field in GraphML - improvement for level-scheduler added - debug output of HpcOmMemory changed - cleaned up the HpcOmTaskGraph-file
08f4d8d97eMartin SjölundUse the file info from the binding when generating an error about type mismatch in the binding (since it is very hard to know where the binding is coming from compared to finding out the type of the declared component)
b6d6d29125Vitalij Rugeadded simplify rule
9fcdb695f3Vitalij Rugeadded simplify rule
8062860d0fOpenModelica Hudson[Janitor mode] Fix whitespace
4d64e3fca9Vitalij Rugeadded solver rule
9ff5f64f5dVitalij Rugeadded some simplify rules
10ac602da2OpenModelica Hudson[Janitor mode] Fix whitespace
ce76a7e788Ruediger Kampfmann-changed declaration of temp strings
cf4120a426Martin SjölundSkip compressing some unnecessary files in the tarball
004e15f89cAdrian Pop- fix omc-bootstrapped target for Windows MinGW (still some issues with un-tarring of sources)
34c844135dMarcus Walther- fixed build of ANALYZATION_MODE
5e06d6bd01Martin SjölundAdded some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)
f040d6415aNiklas Worschechfix for some function calls in cpp template
59389f97eeMarcus Walther- some changes in the measure_time functionality - fixed stack overflow of MCP-Scheduler
d9e41cc845Vitalij Rugesome fixes from static analysis
2b2468252bMartin SjölundTail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)
c5a0fedca3Martin SjölundTail recursive getMemberOnTrue
4f8d37dff3Martin SjölundFix some tail recursion
2c2f5671c2Martin SjölundImprove the error-messages for domain errors like `log(<0)` (make it part of the messages using the XML output)
c3e9a96627Marcus Walther- fixed i386 compilation of RDTSC
c61fb7afe5Martin SjölundBootstrapping fixes
d2101dee9bNiklas Worschechadded flag for use threads in cpp runtime
1a14a33fb8OpenModelica Hudson[Janitor mode] Fix whitespace
e25466d39cMarcus Walther- added profiling-support to cpp-runtime - fixed deadlock in hpcom-cpp simulation runs
c00fd07414OpenModelica Hudson[Janitor mode] Fix whitespace
d26ed5e439Jim NutaroMore work on the Sparse FMI back-end
e71ac19471Niklas Worschechrevert unfortunately check in cmake file
f69795357aNiklas Worschechfix for function signature with no arguments in cpp template
7f9a891544OpenModelica Hudson[Janitor mode] Fix whitespace
75843b5dc2Niklas Worschechfix for function output type in cpp template.
2fffcd4585OpenModelica Hudson[Janitor mode] Fix whitespace
77960f4090Niklas Worschechchanged datatype in TextFileWriter and MatFileWriter of cpp runtime
431bc16446Ruediger Kampfmann-changed functions from call by value to call by reference
26f9d7d71dOpenModelica Hudson[Janitor mode] Fix whitespace
6b6993dce6Ruediger Kampfmann-exchanged some for loops with std:copy
30b4991213OpenModelica Hudson[Janitor mode] Fix whitespace
9574839fb5Ruediger Kampfmann-changed functions from call by value to call by reference
f77677a0d9Ruediger Kampfmann-removed assign(0.0)
dad8e948d2OpenModelica Hudson[Janitor mode] Fix whitespace
0fbe9568d2Niklas Worschechchanged array type in function arguments to BaseArray in cpp template
e242b04081Marcus Walther- destructors of array-classes are now virtual - hpcom cpp-codegeneration is now generating the new array classes
7a66c38ad2Marcus Walther- fixed state selection bug
d9f1b3513cNiklas Worschechfix in stateselection getAMatrix in cpp template
f736ef7f5dMarcus Walther-fix rml-build
a69ec4c004Marcus Walther- rml-fix
511b2596cdOpenModelica Hudson[Janitor mode] Fix whitespace
40f0496dd0Marcus Walther- fixed hpcom-cpp-runtime integration - removed some spelling mistakes in CPP-Template - some array unrolling improvements for hpcom
d562959fceOpenModelica Hudson[Janitor mode] Fix whitespace
f9d96f635eNiklas Worschechtemporary removed unused array classes
15bae9b306Ruediger Kampfmannsome errors fixed
5595109315OpenModelica Hudson[Janitor mode] Fix whitespace
7a00d6afa6Vitalij Rugefixed jacobian index handling in optimization
cdc1875045OpenModelica Hudson[Janitor mode] Fix whitespace
7704927697Niklas Worschechfix for correct array variable names in simulation results file
6fe245ceccRuediger Kampfmannsome errors fixed
d8af7859ffRuediger Kampfmannsome errors fixed
260c6afc4eNiklas Worschechfix in Array assign in cpp runtime
efa25b005cOpenModelica Hudson[Janitor mode] Fix whitespace
51a5cccce3Niklas Worschechadded assign operator to DynArray class
83a0ffc354OpenModelica Hudson[Janitor mode] Fix whitespace
80fb1b1537Niklas Worschechfix for assign array from function return, adapted state selection for new array class
16787abf9fJim NutaroSparse FMI works for simple systems in state space form
619995e342Niklas Worschechfix in Array.h getDims
624bedde3eMartin SjölundFix cpp tests (unisgned int != size_t)
91e2dd2d62Martin SjölundFix template indentation
397a9c6ae1Martin SjölundFix C++ compilation...
f6cd1884f0Martin SjölundFix bootstrapping
e9b77930e4OpenModelica Hudson[Janitor mode] Fix whitespace
a0a287885cOpenModelica Hudson[Janitor mode] Set auto-props
55155a312bRuediger KampfmannAdded new array class to cpp runtime. Changed arrays in cpp template.
18e2f163b5Martin SjölundFix for compiling modelica3d on OSX (force libstdc++ instead of the default libc++ since OSG is compiled against libstdc++)
f9e20a539eOpenModelica Hudson[Janitor mode] Fix whitespace
790055515cNiklas Worschechseparated initialequations and getReal,setReal method in cpp template
83966e5e3eOpenModelica Hudson[Janitor mode] Fix whitespace
6af96bbf4eJim NutaroMore work on SparseFMI
7387a820c3Martin SjölundMake dimensionsKnownAndEqual not fail if the inputs are DIM_UNKNOWN()
12952dd168Martin SjölundAllow DIM_EXP on both sides of a matrix multiplication
a21efc5955Niklas Worschechfix for typo in SimCodeUtil.mo
f21f70d839Martin SjölundAllow DIM_EXP():=DIM_EXP() (do run-time checks since we cannot do everything at compile-time)
cf88681a69OpenModelica Hudson[Janitor mode] Fix whitespace
2223624fb3Niklas Worschechremoved some result output variables in cpp template
6939e8350cMartin SjölundReport flattening errors in the coverage reports when there was an error instantiating the functions (previously, the function list would not be checked until the lowering phase)
e11cec6f19Lennart Ochel- listDelete is using zero-based indexing instead of one-based indexing as it should use. List.delete is added as a workaround. - for now, List.delete should be used instead of listDelete - I will push my fix to listDelete as soon as the rml stuff is gone
27aed168c2OpenModelica Hudson[Janitor mode] Fix whitespace
e6c884a6d2Patrick Marcel TaeuberModified Tarjan Matching a bit
e940461fadMartin SjölundSome documentation
9862e28815Martin SjölundAdd scripting function stringVariableName Also made it possible to do things like `val(stringVariableName("b"),...)` or `v:=stringVariableName("b");val(v,...);`
557f2cd5f5Lennart Ochel- BackendEquation.mo - remove obsolete code, fix typos and comments, fix bugs (even if they did not appear yet)
c461bf7b9aVitalij Rugefixed some issues with optimization: - jac handling - memory - output
2278f0bba7Lennart Ochel- fix rml compilation
2372f3c196Martin Sjölund#2757 Fix the types set when simplifying reductions
0d8f7259b2Lennart Ochel- review BackendEquation.mo
d88b430bebVolker Waurich- replaced HpcOmTaskGraph.transposeTaskGraph with BackendDAEUtil.transposeMatrix
2f6a8ed2edOpenModelica Hudson[Janitor mode] Fix whitespace
57ef971387Vitalij Rugeadded rule x/(r*y) => (1/r)*x/y
1228cd4ccaMartin Sjölund#2772 Do not exit the master thread when unloading FMU's. Cancel the worker threads in thread objects instead.
76aa90efa3OpenModelica Hudson[Janitor mode] Fix whitespace
2d1f6c3b2bVitalij Rugeadded rules: - a*x*b + c*x = x*(a*b + c) - a*x + b*x*c = x*(a + b*c)
f3b69cc516Vitalij Rugeswapped args in hasOnlyFactors
7d9fa2e8e3OpenModelica Hudson[Janitor mode] Fix whitespace
1ab69827edVitalij Ruge- added rule for a*x*c + d*x*e => x*(a*c + d*e)
aeaea6d24dMarcus Walther- fixed Susan Indent level
ba6522566eOpenModelica Hudson[Janitor mode] Fix whitespace
54311b27dcJim NutaroMore work on the sparse FMI generator
feac7048acLennart Ochel- remove BackendEquation.equationNth0 since it is deprecated (equationNth1 can be used instead)
274adf08e9Martin SjölundFix last commit (ModelicaReference does not need to be loaded)
4db9f7bf87Martin SjölundWhen generating documentation, also add a case-insensitive .zip for Windows systems
30c76ef547Lennart Ochel- fix r21757
2c48a9259fOpenModelica Hudson[Janitor mode] Fix whitespace
f19450e7d1Lennart Ochel- don't use zero-based indexing for (equation) arrays
9c93085023OpenModelica Hudson[Janitor mode] Fix whitespace
0bd0421818Vitalij Ruge fixed r21754
6ccc986764Vitalij Ruge- added some rules in ExpressionSolve
9bc19264b1Vitalij Ruge- improved some rules in ExpressionSolve
81cb9ea63cLennart Ochel- fix initialization of fmi example
58c09c91fdOpenModelica Hudson[Janitor mode] Fix whitespace
f160476841Vitalij Ruge- added rule for simplify if
0a931426f9Lennart Ochel- revise some functions
73d78b46baMartin SjölundFix bootstrapping (broken by r21745)
4754df08caOpenModelica Hudson[Janitor mode] Fix whitespace
d78f5d9392Jim NutaroAdded start of a sparse FMI generator for creating QSS compatible FMIs
01f7157100Martin Sjölund#2768 Instantiate partial functions in the normal way when running checkModel
c5b3732c6cMarcus Walther- update for msvc hpcom code generation
4968dc2404Martin Sjölund#2769 Traverse the function body of used partially evaluated functions when looking for unused functions...
3b9a7c99e0Martin Sjölund#2770 Handle vectorization of function calls with unknown array dimensions better
36a12e6510OpenModelica Hudson[Janitor mode] Fix whitespace
5441ab1530Marcus Walther- hpcom msvc support added - debug output for hpcomMemory included to find array unrolling issues
37959e2292Martin SjölundImprove message for mismatching array dimensions
24d7c69efbOpenModelica Hudson[Janitor mode] Fix whitespace
202151f727Martin Eitelanother buffer optimization in MatfileWriter.h
0ccc50e8ecMartin SjölundTypo
41912ee230Martin SjölundSome refactoring
03a6c8a8d9Marcus Walther- fixed bootstrapper
affaf685bdVitalij Rugeadded some solver rules
07dc105ec0Vitalij Rugeadded solver rule for power
47406332d0Vitalij Ruge- solver rule for power
f8c335f979Lennart Ochel- break redundant calculations
212bc30344Lennart Ochel- cleanup and simplification - generate more efficient data structures - setupVarReplacements (former equationsReplaceEquations) is now only traversing marked components instead of all of them - function compsMarker - ... generates now also a list with all indices of the marked equations - ... will be revised completely in one of the next revisions
1f74e224c0OpenModelica Hudson[Janitor mode] Fix whitespace
201e144ab7Niklas Worschechdisabled write parameter vars for csv in cpp template
86af412d41Lennart Ochel- avoid unnecessary recursions - avoid array to list conversions and vice versa
3994679339OpenModelica Hudson[Janitor mode] Fix whitespace
21f3aafbccMarcus Walther- fix for hpcom: the hpcomMemory logic is now fully disabled if the hpcomMemoryOpt-Flag is not set - hpcom execstats slightly changed
82730c9021Marcus Walther- fix for NOTFOUND - Bug if boost log is not installed
ac453cff19Vitalij Rugefixed r21710 (atan2)
aeb3692fabOpenModelica Hudson[Janitor mode] Fix whitespace
7a48a1e542Vitalij Ruge- fixes from static analysis - uncomment diff(atan2(y,0)) rule
bd4ed227d2OpenModelica Hudson[Janitor mode] Fix whitespace
66c0c054a2Lennart Ochel- merged revision(s) r21547-r21703 from branches/initialization/ - completely new initialization approach for under-determined, over-determined and simultaneously under- and over-determined systems - symbolic consistency check for over-determined (sub-)systems
100c73a214OpenModelica Hudson[Janitor mode] Fix whitespace
76f42ac47aNiklas Worschechremoved unnecessary initialization in cpp template.
7e5a61edb6OpenModelica Hudson[Janitor mode] Fix whitespace
c8d620cf0bVitalij Rugeadded some rules for atan2
c7a4c0dee7Martin SjölundAdd function stringTypeName, the inverse of typeNameString
68b75685fbOpenModelica Hudson[Janitor mode] Fix whitespace
66c25e78c3Volker Waurich- replace crefs in nonlinear systems for tds
35e14af659OpenModelica Hudson[Janitor mode] Fix whitespace
b7b7440a30Marcus Walther- Cpp-Runtime: initializeParameterVars-function is now seperated into blocks of 100 variables - HpcomMemory: some more dump functions added
88badee9f2OpenModelica Hudson[Janitor mode] Fix whitespace
285282dff0Volker Waurich- some fixes for tds
a1a4b77f1cMartin SjölundCevalFunction: Handle `size(arr,1)` where arr is an array with unknown dimensions (previously, 0 was used regardless if the array had been assigned to)
74ea2b7764OpenModelica Hudson[Janitor mode] Fix whitespace
166ea80c92Volker Waurich. fix tds for systems with discrete equations
bfad62f191Willi Braun - fix differentiation of atan2
4de7557d72OpenModelica Hudson[Janitor mode] Fix whitespace
39f02fcb9fVolker Waurich- reassign all indexes of simEqSystems when duplicating tasks
76475bdb57Adrian Pop- fix bootstrapping (BackendDAE.EQ_ATTR_DEFAULT_INITIAL is a constant, not a record constructor)
457763ab3aAdrian Pop- fix bootstrapping (BackendDAE.EQ_ATTR_DEFAULT_UNKNOWN is a constant, not a record constructor)
641f1ad929OpenModelica Hudson[Janitor mode] Fix whitespace
180519f77cAdrian Popimplement #2760 - allow comments with // only in the override file
445b5291b1OpenModelica Hudson[Janitor mode] Fix whitespace
cbf20223fdMartin Eitelusage of temp buffers in MatlabFileWriter.h optimized
cf3a305e4bWilli Braun - fixed iterator variables for symbolic jacobians
bacb3f99a5OpenModelica Hudson[Janitor mode] Fix whitespace
cb83b441bcLennart Ochel- use predefined default equation attributes
c45cf3fc84Lennart Ochel- use predefined default equation attributes
895e199666Lennart Ochel- rearrange equation attributes - new equation attribute for sub-clock partitioning
ff35d4a203Willi Braun#2762 - removed findSimVar and replaced by findSimVarCompare
dc2841fbdaOpenModelica Hudson[Janitor mode] Fix whitespace
4734579909Volker Waurich- update equations in linear systems when duplicating tasks
e0b690d70bOpenModelica Hudson[Janitor mode] Fix whitespace
bb93cf3df0Martin Eitelreduced the number of allocating and reallocating temp buffers
7b1e4349f5OpenModelica Hudson[Janitor mode] Fix whitespace
013a42bf70OpenModelica Hudson[Janitor mode] Set auto-props
37b566e81bMartin EitelAdded MatFileWriter to cpp runtime. Adapted cpp runtime testsuite for the new MAT file output.
2011c642e3Adeel Asghar- minor enhancements in importNgspiceNetlist. Use QFileInfo to check for the file parts.
4fd8f648feOpenModelica Hudson[Janitor mode] Fix whitespace
f429e9294dRakhi WarriarAdded ngspice netlist to Modelica code converter in OMEdit.
a101ea1eb3Volker Waurich- fix bootstrapper
59b2c4d859Marcus Walther- get condition system partially deactivated because it consumes to much memory - some time points renamed
9915dcc7eaVolker Waurich- get schedulerInfo for levelSchedule
656cb22c19Marcus Walther- excluded boost thread and atomic versions lower than 1.54
c8e0b29d4dOpenModelica Hudson[Janitor mode] Fix whitespace
ffa477f490Volker Waurich- don't calculate level in getCriticalPaths
bc51f02a7fWilli Braun#2752 - fixed mergeZeroCrossings
56ff9ccf82OpenModelica Hudson[Janitor mode] Fix whitespace
b408a20b74Marcus Walther- fixed pThread and mixed code generation of cpp-runtime - updated the hpcom testsuite
b9a7d5454bOpenModelica Hudson[Janitor mode] Fix whitespace
d8d01ca841Volker Waurich- generate complete DAE task-graph including asserts
65d11fa3d7OpenModelica Hudson[Janitor mode] Fix whitespace
c07507f795Marcus Walther- we are now using boost_LIBNAME_found instead of boost_LIBNAME_library to check if the boost library was found on the system. This should fix the linux_nightly_build
ae4957c8c0Vitalij Rugefixed build
d8ac563effVitalij Rugefixed jacobian index in optimization
b7c173b6bdOpenModelica Hudson[Janitor mode] Fix whitespace
6e0795ffa1Willi Braun - fix compilation
621c5caae9Marcus Walther- removed circlar dependency between hpcomsimcode and simcode
03f640ed3aMarcus Walther- removed circular dependency of hpcomSimCodeMain and hpcomScheduler
681a7582bcMarcus Walther- some changes for the HPCOM Memory-Optimization - added the boolean variable useFlatArrayNotation to the cpp-runtime, which will access arrayElements by name_index instead of name[index] - another change of the cpp-runtime cmake-script which will hopefully fix the linux nighlty build
a21fd7de0eOpenModelica Hudson[Janitor mode] Fix whitespace
35717019ebLennart Ochel- new output-format "ia", which sends the simulation results to a TCP/IP server
ddb5824e8eRakhi WarriarModified python file for ngspice to Modelica conversion.
6eb6410892OpenModelica Hudson[Janitor mode] Fix whitespace
cfe62e8e5bMahder Alemseged GebremedhinFix #2749. Indexed assignments with integer arrays
cffed7b58fOpenModelica Hudson[Janitor mode] Fix whitespace
48a7df60b5Mahder Alemseged Gebremedhin+ Fix #2688. Removed replacing of loop iterator dependent crefs with ASUB expressions.
0bf696ce5eNiklas Worschechfix for missing timer include in Modelica.h
d96be3cb65Marcus Walther- fix for non terminating stateSelection
52bcf3fcf3Niklas Worschechremoved boost timer include
eabce46919Adeel Asghar- minor formatting and proper comment.
db1c138dd9Niklas Worschechfix for fmu global settings in cpp runtime
ceee2fe9ddOpenModelica Hudson[Janitor mode] Fix whitespace
5e0df259d6OpenModelica Hudson[Janitor mode] Set auto-props
afbe38b4f8Niklas Worschechfix for free system object in cpp runtime
cc973b39dfOpenModelica Hudson[Janitor mode] Set auto-props
e1e8edcadfRakhi WarriarAdded function ngspicetoModelica() to convert ngspice netlists to Modelica code.
5bb97160ccVitalij Rugefixed r21575
13ef4000d2Vitalij Rugefixes from static analysis
ca8d66af76Vitalij Rugefixes from static analysis
ddebf3fd7bVitalij Rugefixes from static analysis
8fb3ad2fb7OpenModelica Hudson[Janitor mode] Fix whitespace
9519658554Vitalij Ruge-fixes from static analysis -added warning if jacobian matrix is singular
2992cc4275Vitalij Rugefixed memory leak
630cb8063eVitalij Rugeadded case for extraPolate
154d6b16adVitalij Rugefixes from static analysis
05474c599eVitalij Ruge- fixes from static analysis
2fb3bdfd64Willi Braun - added improved newton solver with damping strategies - added -newton flag to simulation runtime to select different strategies
94f010849cLennart Ochel- fix expected output
b362d8b039Willi Braun - added TRACE_PUSH and TRACE_POP to all generated equations and functions
0c1f5dc383Marcus Walther- fix for linux_nightly_build
996d143535Lennart Ochel- analyze base-clock partition kind
ba5bcf17b8OpenModelica Hudson[Janitor mode] Fix whitespace
fc0f726463Volker Waurich- added experimental scheduler single block schedule - updated hpcom tests for linear tearing
40385fa7a5OpenModelica Hudson[Janitor mode] Fix whitespace
589e0a4248Willi BraunActivate doLinearTearing by default, therefor - expanded SimCode.SES_LINEAR for directional derivatives - adjust all codegen templates - generates by default directional derivatives for linear systems in calculateStrongComponentJacobians. - added capacity to runtime lapack solver to handle that jacobians. - Ajusted tests. - Follwiong 3 examples start to fail now: - Modelica.Electrical.Analog.Examples.DifferenceAmplifier.mos - Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.mos - Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.mos so they run for now with nodoLinearTearing. - Also the 2 hpcom examples don't run with doLinearTearing. - Also for the Cpp runtime it's deactived for now and can be actived, when the cpp-runtime is prepared therefore.
c1a9b436c0OpenModelica Hudson[Janitor mode] Fix whitespace
d28d6cb4eaNiklas Worschechfix for set dimZerofuncs in SimManager
a9767e0dccOpenModelica Hudson[Janitor mode] Fix whitespace
faa5f83cfbMarcus Walther- removed the get / setResultOutput-functions from the globalSettings - some more compile time optimisations for the cpp runtime
ecc780a40bVolker Waurich- calculate the max range of addressed indexes in a for-loop if the index is a computable expression
97b0c594faNiklas Worschechfix for boost log lib name
6e2f48272cMartin SjölundFix the templates
669acbc4dfLennart Ochel- fix error message
86bff8bd4aOpenModelica Hudson[Janitor mode] Fix whitespace
da9514b7d9Marcus Walther- fixed missing _function member-variable in c++ - algLoops
f209f27eecOpenModelica Hudson[Janitor mode] Fix whitespace
950f8783b3Bernhard ThieleDeleted flag +synchronousFeatures and replaced it by checking for flag +std=3.3 or greater
12bda04112OpenModelica Hudson[Janitor mode] Fix whitespace
aa4ecad84fNiklas Worschechfix for time in Functions of cpp runtime
4452976be9OpenModelica Hudson[Janitor mode] Fix whitespace
dbe0c230ceMarcus Walther- Update for MSVC-FMU makefile
389ad05bfaOpenModelica Hudson[Janitor mode] Fix whitespace
a4ff4b5a4fMarcus Walther- reduced compile time of cpp-runtime by including the cpp-files directly into a "meta cpp file"
bf22c5b3baOpenModelica Hudson[Janitor mode] Fix whitespace
24208434deMichael Kloeppelexcluded check for umfpack
a147e87e6fMichael Kloeppelfurther bugfixes for umfpack-integration in CPP-runtime
3adc024816Marcus Walther- fix for windows build
aa070cc2d2Per Östlund- Fixed bootstrapping.
13574ec3c2Volker Waurich- fix expandCref for qualified crefs containing arraytypes of complex types
e951b61b5fLennart Ochel- merged r21292-r21522 from branches/SynchronousModelica/
3ab3f3c2f9Marcus Walther- fixed state var reinitialization in CVode
e92fb0b543Martin SjölundAllow passing constant identifiers as inputs to external functions (dgees uses a protected constant array as dummy input to F77)
a4f66cff55Martin SjölundAlso print some nice information about the used packages
2bd7088992Martin SjölundAdding script to read the .uses and .classes files from coverage testing
a4102c3dd2Marcus Walther- find_package(suitesparse) fully disabled to fix OSX build - hpcom condition graph creation disabled to fix hpcom tests
be51e1b6abMartin SjölundIncluded class coverage when running BuildModelRecursive.mos (not part of the reports)
efc9a6be5eMarcus Walther- fix for FMI tests
0e8a14f8feMarcus Walther- umfpack temporary disabled
9c80634496Marcus Walther- rml fix for HpcOmScheduler
8de9a44331Marcus Walther- hpcomTaskGraph fixed (I don't know why it is not producing these errors on my local machine)
4237335554Marcus Walther- hpcomTaskGraph fixed
18f3391c76OpenModelica Hudson[Janitor mode] Fix whitespace
2dbbd849c6Marcus Walther- equations to evaluate conditions added to simcode-structure (currently only available with hpcom) - the event-taskgraph exported by hpcom is now correct - conditions can now be evaluated with evaluateConditions instead of evaluateAll - prototype for asynchronous writeOutput added to cpp runtime - removed some stuff from the cvode-implementation (hopefully this will not damage any tests) - the boost log and thread libraries are now optionally included into the cmake build process - added logging for cvode if the boost log-library is available - the cpp runtime is now able to differentiate between varios output methods (write all output steps + event steps, just output steps, no output) - some comments and small bug fixes
6fbfb4e1dfVolker Waurich- nodes can be blocked for the task rewriting system so that they are not going to be merged
24f0835726Lennart Ochel- enable base-clock partitioning - new dump: +d=dumpSynchronous
74c35c4996Adeel Asghar- DiscreteStates has been removed in RC2. - Generate FMI model structure for all sim vars.
9bebc3aa90Adeel Asghar- List all the derivatives from _info.xml file. - Formatting for operations text.
a62d144a31Vitalij Rugefixed pre-sim for optimization
9ca15af52fMartin SjölundAdding API call `getUsedClassNames`, which is a combination of `saveTotalModel` and `getClassNames(recursive=true)`
d2fcd6d9b3Volker Waurich- added dump functions (output string) and print functions for all hpcom task and schedule objects
e172a1d223Adeel Asghar- Fixed parsing of der variables.
e804418875OpenModelica Hudson[Janitor mode] Fix whitespace
2dbb2737b9Lennart Ochel- base-clock partitioning (incomplete yet) - propagation of new attribute EQSYSTEM.partitionKind - new incidence matrix type: BASECLOCK
3467c6ddd6OpenModelica Hudson[Janitor mode] Fix whitespace
ba38758bc3Volker Waurich- added some functions to analyse systems of equations
2d41741c9cOpenModelica Hudson[Janitor mode] Fix whitespace
88176d8475Volker Waurich- fixed graphML generation for resolveLoops
5f1c26cd79Volker Waurich- removed unreferenced function call
294fe934f8OpenModelica Hudson[Janitor mode] Fix whitespace
d1301c2d87Volker Waurich- added bipartete and DAG graphML output for systems of equations
3a6590e314Niklas Worschechchange solver lower limit and simmanger end time tolerance of cpp runtime
2f853649a7Vitalij Rugeremove wrong rule
40b8b4abdeAdrian Pop- fix bootstrapping
3a04273da1OpenModelica Hudson[Janitor mode] Fix whitespace
1830f906c7Vitalij Rugeimproved rules for pow in ExpressionSolve.mo
bff32a8f95Volker Waurich- changed getGraphLevel to improve memory requirements
838343169eOpenModelica Hudson[Janitor mode] Fix whitespace
13fd991127Vitalij Rugeimproved guarding rule in ExpressionSolve agianst sign and IFEXP
322f92bb58OpenModelica Hudson[Janitor mode] Fix whitespace
0268b2928cNiklas Worschechfix in kinsol, change stability mode in cvode of cpp runtime
a90c0d19edVitalij Rugefixes from static analysis
873f788c42OpenModelica Hudson[Janitor mode] Fix whitespace
95c3a07260Vitalij Ruge- clean up ExpressionSolve (features from r21400) - guard IFEXP in ExpressionSolve against dependency in condition
d32e9eb38dAdeel Asghar- minor fixes.
dff802cb70OpenModelica Hudson[Janitor mode] Set auto-props
7609c3ae47Adeel Asghar- Fixed swedish characters.
1fbed6bab6Adeel Asghar- Fixed header define.
eaa4b6e9cfAdeel Asghar- Restructuring the files and folders.
bbb37c78d1OpenModelica Hudson[Janitor mode] Fix whitespace
ca0bd020f1Jan SilarFixing c# template -- problem with intial values
6b1b493c42Martin SjölundAdd some documentation for dumpXMLDae
94e9edeaadVolker Waurich- fix bls for branchingDynamicPipes
0ca026b62bVolker Waurich- extend printSchedule for EMPTYSCHEDULE
de7fe43566Volker Waurich- fix bls scheduler for taskgraphs with shorter critical paths than level
6a46745a42Volker Waurich- rewritten SimCodeUtil.getMaxSimEqSystemIndex
756ee90f79Volker Waurich- removed unused functions, added comments for bls functions
398aa7c947Martin SjölundHandle the inverse of log10. Rewrite ExpressionSolve to swap the arguments instead of writing two cases for each expression to solve for...
e1e2be2026Volker Waurich- rewritten bls scheduler
5d7edeffe1Martin SjölundWrite incomplete result-files, so it is possible to see the signals until the error was triggered
cb80b9a98cMartin SjölundWrite incomplete result-files, so it is possible to see the signals until the error was triggered
83e92ebf1bMichael Kloeppelbugfixes for umfpack-binding
662bb3ad1aOpenModelica Hudson[Janitor mode] Fix whitespace
aae287e9ddMichael Kloeppelfix bug with non-existent umfpack.h
4193688b1aJan SilarC# template fix discrete variables, division
b79bb98254Michael Kloeppelfurther bug fixes for the sparse matrix format in cpp-runtime
a3a6fb47b2Per Östlund- Fix RML compilation.
868301b811OpenModelica Hudson[Janitor mode] Fix whitespace
26bf7aa244Per ÖstlundFix for #2743: - Extended Expression.transposeArray to handle >2 dimensions. - Removed evaluation of transpose from Static and Ceval, let ExpressionSimplify handle it instead.
8f16a5d942Per ÖstlundFix for #2741: - Fix connector size count for subtypes of basic types.
4644d3a954OpenModelica Hudson[Janitor mode] Fix whitespace
6eb0c5790bVitalij Rugeadded rule in ExpressionSolve for sqrt
516d80e8d9Michael Kloeppelfixes bug with sparse_matrix type
406ecfb829Martin SjölundFix the logic of min/max of integer arrays
fc96b9af90Martin Sjölundmin({}) is not 0...
dd1c2953a9Michael Kloeppelallows to use the sparse linear solver umfpack in the cpp-runtime
03b5a946c0OpenModelica Hudson[Janitor mode] Fix whitespace
62fb464eceVitalij Rugefixed #2682
b8c1db77afMartin SjölundOutput annotations on external declarations so total models are complete
8d4ad273b3OpenModelica Hudson[Janitor mode] Fix whitespace
f94e6822ebMartin SjölundFix order of prefixes (`discrete input`, not `input discrete`)
ee3a7f7547Marcus Walther- CALCTASK_LEVEL_SERIAL removed -> the level-scheduler has a list of tasklist-items now, which can be serial or parallel (see HpcomSimCode) - Codegeneration for BLS-Scheduler added (seems not to work correctly at the moment)
8b67345edaVitalij Rugefixed r21364
bc13138a02Vitalij Ruge- improved solver rule x = y^n
63931702d2Vitalij Ruge- fixed r21362
feac0c5ae3Vitalij Rugeadded solver rules for g(a)/f(a) = b
6bb67be09dOpenModelica Hudson[Janitor mode] Fix whitespace
9b71838346Vitalij Ruge- improved solver rules - f(a) * b = c => f(a) = c/b - b / f(a) = c => f(a) = b/c solver for a
11ff408f25Vitalij Rugeimproved ExpressionSolve - log(f(a)) = b - exp(f(a)) = b
27511cb01dMartin SjölundRML
9070d0ededMartin SjölundsaveTotalModel change - The exported model is added at the end of the file, extending from the base class and with the original annotations added (for experiment annotations) - showAnnotations=false (the default) will now only remove useless annotations like graphical annotations. experiment, Evaluate and other things not on the blacklist will pass through.
281175ea6fOpenModelica Hudson[Janitor mode] Fix whitespace
e9b0cc46fcVolker Waurich- fix analyseScheduledTaskGraph for serial level calcTasks
329dc66089Marcus Walther- forgot the suiteSparse-Package file
2fbbd22bfeOpenModelica Hudson[Janitor mode] Fix whitespace
7fa0d9934dMartin Sjölund`+d=execstat` now adds the information to the Error.mo buffer instead of stdout - execstat now records cumulative time - Boehm GC now reports memory consumption - Made the execstat report smaller (1 entry for sorting, 1 for matching, instead of 30000 entries for every small work item)
6bea751204Volker Waurich- fixed hpcom simEqSys mapping for SINGLECOMPLEXEQUATION components - added test Graetz
09100735eaOpenModelica Hudson[Janitor mode] Set auto-props
7f0b6a33fbMarcus Walther- SparseMatrix-Support added for umfpack-linear solver
10b2b6f0faMartin SjölundAdd more details about the system to the generated mos-files
bd46bfabe1Martin SjölundFix the library last change line
8e7353fc5eVolker Waurich- replace function longestPathMethod with getCriticalPaths - some clean up - predict speedUp for level scheduling
be7e0df819Vitalij Rugeguard atol again nominal <= 0
87c669d7aeAdeel Asghar- Use setPlaceholderText instead of using FocusIn/FocusOut events to set the default text.
65e0b71cafMartin SjölundFix the last compliance test for partially evaluated functions
70e7dcf455Martin SjölundHandle PARTEVALFUNCTION that specializes a variable rather than a function
7f0b1fbd4bMartin SjölundAdd missing changes
9056c51d8fMartin SjölundChange the error to a notification since sometimes we need to allow it...
f5cbe3bb8bMartin SjölundImprove Susan error handling
aadb80dbb6Martin SjölundDon't remove functions that are passed through CREF in the backend (partially evaluated functions use it)
216870200fMartin SjölundGenerate correct boxptr code for `String[:]`
919b5577bbOpenModelica Hudson[Janitor mode] Fix whitespace
19bb0032b0Niklas Worschechfix in Kinsol of cpp runtime
b483b84618Martin SjölundFix template
88a4cc25aaOpenModelica Hudson[Janitor mode] Fix whitespace
60b1018234Niklas Worschechfix in cpp template for algoop evaluation changed zero crossing tollernce in cpp template change absolute tollerance in cvode
0d74baddabMartin Sjölund#1949 Changed implementation of DAE.PARTEVALFUNCTION - PartFn.mo was removed - We now create a closure in the code-generation instead
5c8950a83aVolker Waurich- fixed level scheduling
1456d7c110Per Östlund- Fixed bootstrapping.
b2495eb1d2OpenModelica Hudson[Janitor mode] Fix whitespace
1369dcaa0ePer ÖstlundFix for #2738: - Respect fully qualified crefs in Static.elabCrefSubs. - Some random code cleaning in Expression.
98565f6767OpenModelica Hudson[Janitor mode] Fix whitespace
b9c9d00c8aPatrick Marcel Taeuber- fixed some problem with tearingSelect=always
3f7d5949d7Volker Waurich- replace function makeCalcLevelTaskLst
9f87423c77Martin SjölundAdd some source info to the Susan error-message for number of arguments don't match
ca36211782OpenModelica Hudson[Janitor mode] Fix whitespace
7d223b31a3Volker Waurich- fixed level attribute in graphml output for level scheduling - added serial level calc object - added bls scheduler
fedf084d63OpenModelica Hudson[Janitor mode] Fix whitespace
acfdc860b7Niklas Worschechfix for Chuacircuit in Cvode an kinsol
01c76a6d6bPer Östlund- Removed some redundant calls to simplify1 in ExpressionSimplify.simplifyBinaryCoeff. Speeds up instantiation of BatchPlant_StandardWater with 25% (4m45s => 3m30s for me).
a0c13ebdb3Martin SjölundFix the type of a simplified `fill()` expression - Some additional debugging code for the `+t` flag
74ec2d697cOpenModelica Hudson[Janitor mode] Fix whitespace
3396bc6351Niklas Worschechadd missing interface method
2f2c19098fNiklas Worschechadded get nominal state to cpp template, fix for redundant algloop equations
784f8ad3a4Marcus Walther- fix for non terminating EventHandling in Cpp-Runtime
a141edbecaMartin Sjölund#2731 Always append `/` for `classDirectory()` calls
0f68eb18baMarcus Walther- fixed HPCOM build
b3c3891eeePer Östlund- Implemented BaseHashTable.copy and used it in InstExtends.fixClassdef, instead of the previous slow way of building a new hashtable element by element. fixLocalIdents went from 40s to 15s for BatchPlant_StandardWater for me.
a98159c70cMartin Sjölund#2731 Append the path delimiter to the string returned by `classDirectory()`
f7982527e7Martin SjölundC fix
a3f232cd1aMartin Sjölund#2641 Use C++ locale-independent functions when reading csv-files in OMPlot
69ea80d971Martin Sjölund#2641 Use C++ locale-independent functions when reading csv-files in OMPlot
a3569c4e22OpenModelica Hudson[Janitor mode] Fix whitespace
49ba3084bbVolker Waurich- fix hpcom for algorithm components with multiple outputs - little clean up
ba30a66f15Martin SjölundRemove some more references
0386b3bc01Martin SjölundRemove some more references
b48ffb26c6OpenModelica Hudson[Janitor mode] Fix whitespace
4593c52652Marcus Walther- fixed some compiler warnings of the cpp-runtime build with gcc - added HPCOM_MEMORY_OPT-Flag to use experimental memory optimization - some simple optimizations for the cpp-runtime - papi-support to hpcom-codegen added
f6c5956ca5Martin SjölundRemove string_util.{c,h} since that version of strtod spins in too many cases. Going back to strtod, which is locale-dependent, but at least works as long as external C code does not set the locale.
ab3fa9bb40Volker Waurich- use matchcontinue in mergeSingleNodes
bda85c0adaOpenModelica Hudson[Janitor mode] Fix whitespace
a7b82baa12Vitalij Rugeduplicate case from max to min
a475d6aae7Martin SjölundAdd options to CustomCommands.mos to make it possible to generate the directory structure of the MSL regression testing suite
0c605c9d60OpenModelica Hudson[Janitor mode] Fix whitespace
44edc3c517Volker Waurich- fix for distributeToClusters in mergingSingleNodes
1df5178c94OpenModelica Hudson[Janitor mode] Fix whitespace
129cfad5eaVolker Waurich- level schedule rewritten, handles merged tasks - remove some unused stuff
cd397679dfVitalij Ruge- improved optimization order 1
a984893909Vitalij Ruge- improved optimization - sorting
66700f86deMartin Sjölundm:r7723 fixes Fluid.Dissipation issues, so we no longer need to set the debug-flag
aaf147ec14Lennart Ochel- fix some runtime messages
774bc97c89Volker Waurich- fix mergeSingleNodes
fedd2f6c5dOpenModelica Hudson[Janitor mode] Fix whitespace
78969c0a39Lennart Ochel- improve over-determined initialization approach - If it is necessary to evaluate parameters for the consistence check, the check will now be performed during runtime.
117a1c8bf0Volker Waurich- activate mergeSingleNodes
1b1bac4108Volker Waurich- fix bootstrapper
a0a33c4b7cOpenModelica Hudson[Janitor mode] Fix whitespace
6f1340f205Volker Waurich- added new graph merging rule, mergeSingleNodes, not yet activated
f4c51dbe95Lennart Ochel- remove unused imports
9d71aea439Per Östlund- Fixed RML compilation.
90d2f883caOpenModelica Hudson[Janitor mode] Fix whitespace
8914fdea21Per ÖstlundFix for #2723: - Check for connect in when equations and if equations with non-parameter conditions. - Cleaned up some test cases.
ffd890ff28Lennart Ochel- attempt to fix #2708 (unquote q-idents)
7f9a6aee33OpenModelica Hudson[Janitor mode] Fix whitespace
8aa75448a7Mahder Alemseged Gebremedhin+ unquote more. make sure to unquote each ident and not just the whole cref/path string.
7beba6b9b6Per Östlund- Made SimCodeUtil.setVariableIndexHelper tail recursive to fix some test cases for the bootstrapped compiler.
cd63ceb8a0Martin SjölundBetter coding style fix
4a88d3475bAdrian Pop- fix coding style?
fa824f63ddMartin SjölundFix for xml logFormat where messages contain quotes
9e7a359823Per Östlund- Removed propagation of modifiers when instantiating equations and algorithms, since those can't be modified anyway.
f82d1766d7OpenModelica Hudson[Janitor mode] Fix whitespace
cf469df0b4OpenModelica Hudson[Janitor mode] Set auto-props
f6352ead43Adeel Asghar- Updated to FMI2 RC2 from FMI2 RC1.
94b99d60ffVolker Waurich- limit the number of vars in the resolved equations
a86388de40Vitalij Ruge- imporved rule x/c1 = c2*x
3c1edf04cfOpenModelica Hudson[Janitor mode] Fix whitespace
3a23460fb8Vitalij Ruge- improved optimization - evaluation derivations
9d64487604Adeel Asghar#2255 - Show units in the plot legends & titles. - Fixed some issues with plotParametric. - Use the CsvReader for plotParametric.
03c294a5e5Adeel Asghar#2255 - Show units in the plot legends & titles. - Fixed some issues with plotParametric. - Use the CsvReader for plotParametric.
06699ec950Adeel Asghar#2255 - Show units in the plot legends & titles. - Fixed some issues with plotParametric. - Use the CsvReader for plotParametric.
f578d93a65Vitalij Ruge- update integration info
120174475fMichael Kloeppelfixed a bug connected with an empty _compiler_FLAGS variable
228d361ce9OpenModelica Hudson[Janitor mode] Fix whitespace
10cd1f8a3eNiklas Worschechfix in Kinsol, catch exception change evaluate call in cvode calcfunction
05cbd148ddOpenModelica Hudson[Janitor mode] Fix whitespace
dffd80f47dPer ÖstlundFix for #2729: - Don't try to evaluate crefs which are not function parameters when resolving default bindings in Static.addDefaultArgs. - Some random code improvements.
80df2297d5OpenModelica Hudson[Janitor mode] Fix whitespace
9955077636Marcus Walther- Analyzation Mode fixed
c310fe43e4Marcus Walther- fix for CPP runtime
d9461fbf80Lennart Ochel- fix documentation of integration method
270650f96cMartin SjölundUpdating ThermoSysPro to 3.1 - Note: 1 testcase now fails (TestStaticCentrifugalPumpWaterSolution). I cannot verify if the new results are in line with Dymola, so someone else should check it.
82441cb857Adeel Asghar#2255 - Show unit instead of displayUnit.
6f47988639OpenModelica Hudson[Janitor mode] Fix whitespace
c6031169fbNiklas Worschechfix for init aliasvars in cpp template
1e289f80d6Marcus Walther- updated the FMUGlobalSettings to the new IGlobalSettings interface
729c83ef2dVitalij Rugeadded some integration info.
f4b199ce9dMarcus Walther- updated the FMUGlobalSettings to the new IGlobalSettings interface
818e77e4afMarcus Walther- copy-command for LinSolverOMCFactory added
2c371ba6dfMarcus Walther- copy-command for ILinSolverSettings added
379c97bb25Adeel Asghar- Make OpenModelica 2.0 FMUs work for Dymola.
df2d71f41aVolker Waurich- added function SimCodeUtil.getAssignedSimEqSysIdx
5cde57e5aeOpenModelica Hudson[Janitor mode] Fix whitespace
af4d8bb2c4Marcus Walther- added forgoten file
74025114c3OpenModelica Hudson[Janitor mode] Fix whitespace
1ab50888f9Marcus Walther- linear solver interfaces for equation systems added - command line options for linear and nonlinear solver added ("-L name" and "-N name") - sparse solver format included - umfpack-solver dummy added (will be filled soon by mkloeppel)
681407b939Lennart Ochel- fix over-determined initialization (e.g. ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc)
7eef33657dAdeel Asghar- Only draw tree branches if that particular styles class is specified.
0d9dee92e1Adrian Pop- fix bootstrapping
55219bca6eOpenModelica Hudson[Janitor mode] Fix whitespace
23c7673386Adeel Asghar- Write derivatives dependecies.
f0a3a19d97Niklas Worschechfix for subscripts in cpp template
0c26cb2e7fMartin SjölundFix balancing of XML tags with -w and non-linear system errors
2b55d3df94OpenModelica Hudson[Janitor mode] Fix whitespace
cd3a2f9275Marcus Walther- removed some warnings of the gcc build - changed the globalSettings reference to a pointer (just a quickfix to get the ANALYZATION_MODE running)
b2f1e4f94cOpenModelica Hudson[Janitor mode] Fix whitespace
9a58493c0cAdeel Asghar- Generate the outputs & derivatives in the model structure section.
b0efe4ead3Martin SjölundOSX fixes for Modelica3D
5995980b0fMartin SjölundFix debugging line...
a1df5d5d11Martin Sjölund#2654 Use OSX-specific suffixes
2371918d34Adeel Asghar- Use variable_index instead of index to define ordered indexes for simvars.
84c869f1f2Adrian Pop- revert r21108 as it breaks almost everything (1k failing tests and 2h53m clang runtime instead of 6m): https://trac.openmodelica.org/OpenModelica/changeset/21108
a5051976dcOpenModelica Hudson[Janitor mode] Fix whitespace
713db2b82bAdeel Asghar- Define ordered indexes for simvars. Used in FMI 2.0 model description xml file.
b6f65b9137OpenModelica Hudson[Janitor mode] Fix whitespace
af660efe46Niklas Worschechfix for struct in cpp template
a6b54f3824Willi Braun - added flags maxStepSize and maxIntegrationOrder for dassl.
cd0e9bdf4eOpenModelica Hudson[Janitor mode] Fix whitespace
9a28c82b9bNiklas Worschechfix for record return type in cpp template expected output
fb8e340648Lennart Ochel- fix for complex equations in over-determined systems
c495c2687cNiklas Worschechfix in cpp template for missing evaluate
45b3430a20Niklas Worschechchanged linking order in cpp template
31a18eddeeMartin SjölundAdd debug flag `+d=acceptTooManyFields` - The flag is disabled by default, and will accept calling a function with a record that has more fields than expected - This behaviour is considered breaking the Modelica spec in m:#1245 - The flag makes Fluid.Dissipation work again, and it is the default for library testing until Fluid.Dissipation is updated
51fbb1e1edWilli Braun - fix xml variables xml modelinfo
645af85727Martin SjölundLink to the correct OMC versions
d7f6334500Martin SjölundMake the regression testing of library results work again
e56806656fOpenModelica Hudson[Janitor mode] Fix whitespace
9f4703dbd3Marcus Walther- the hpcom module can now create the serial code (designed for testing) - fixed the tbb-codegeneration
58393d2962Adeel Asghar#2497 - Allow creating connections even when the connector & ResizerItem are at the same location.
6bfd3112c6Adeel Asghar#2522 - New icons for plot & parametric plot buttons.
babfe978ffAdeel Asghar#2424 - Handle resource links in documentation view.
326c054cbeAdrian Pop- attempt to fix bootstrapping, more assignments to inputs
16098af936Adrian Pop- attempt to fix bootstrapping, use mOut instead of mIn in: Initialization.manipulatedAdjacencyMatrix2
9929864afeLennart Ochel- improve initialization approach for over-determined systems - add some test cases for over-determined systems
1ad29f664dAdeel Asghar#2142 - Added a tooltip to output file name.
fa647283a0Niklas Worschechdisabled boost log in cmakefile
e15119d69eOpenModelica Hudson[Janitor mode] Fix whitespace
9eb37e66adAdeel Asghar- Use the line color of starting port for the connection line.
5f52cbdab0Adeel Asghar- Do not allow selecting or moving the shapes when user is making a connection.
1dd34cffb5Niklas Worschechexpected output updated boost in cpp runtime
8e0b025e89Martin Sjölund#2724 - Reject non-constructor functions returning an external object
21e64e6b83Martin SjölundFree allocated data
2396ae48ffMarcus Walther- fixed segmentation fault
510ae97572Adeel Asghar- Fixed fmiNewDiscreteStates function.
c571ce20beMartin Sjölund#2722 - Generate function definitions in list(OpenModelica...) again - Cache the initial SCode.Program
2782105aceVolker Waurich- append String to last ident instead of joinCrefs when duplicating variables - extended dumpSimCode
2a9f2ec985OpenModelica Hudson[Janitor mode] Fix whitespace
41abe648fbVolker Waurich- use scheduled task graph to get scheduleInfo and CriticalPathInfo
4f5525a49cLennart Ochel- fix propagation of equation kind property
1401f1d882OpenModelica Hudson[Janitor mode] Fix whitespace
70e0221d1cLennart Ochel- propagate equation kind property
15206e3757OpenModelica Hudson[Janitor mode] Fix whitespace
8ccd3386c2Per Östlund- Fixed RML compilation.
439f7667f7Per Östlund- Greatly speed up flattening of large arrays by using simplified lookup when prefixing.
fa611fab5bLennart Ochel- fix some include paths
9960809893Marcus Walther- fixed build
7fafe61642OpenModelica Hudson[Janitor mode] Fix whitespace
76f6256c01Volker Waurich- update modelInfo for tds
d269c49be8OpenModelica Hudson[Janitor mode] Fix whitespace
4547136ab1Christian SChubertsimulationruntime: doublecheck, that the number of allocated linear/nonlinear/mixed systems and statesets is greater or equal to the number used in the generated c-code Otherwise we get unexpected behaviour which is quite hard to find
90ed7d058bOpenModelica Hudson[Janitor mode] Fix whitespace
7ea333a0acMarcus Walther- the hpcomMemory-Module can now handle contracted nodes and state variables - fixed the double description in graphML-files
482fa414e4OpenModelica Hudson[Janitor mode] Fix whitespace
8257764194Niklas Worschechadd variable description and paramter values to writeoutput in cpp template
241155c6b3OpenModelica Hudson[Janitor mode] Fix whitespace
717b0571ebVolker Waurich- insert locks in schedule with duplicated tasks
20917573adVolker Waurich- fix bootstrapper
aee9b982e2OpenModelica Hudson[Janitor mode] Fix whitespace
07cfc7399ePatrick Marcel Taeuber- manual selection of tearing variables now also works for omcTearing (see r20929)
9ee20c1c42Adeel Asghar- Set FMU model states according to FMI specifications.
233e4d9cceAdeel Asghar- Added empty ModelStructure format for modelDescription.xml - Added fmiEventUpdate.
1f8c58b3e6OpenModelica Hudson[Janitor mode] Fix whitespace
161207b34eLennart Ochel- propagate equation kind property
7ec9b651d2Martin SjölundPrint initial equations for the debugger better
0ece1f2addOpenModelica Hudson[Janitor mode] Fix whitespace
a4eb77ff54Volker Waurich- build a new task graph including duplicated tasks
6f06ccdfa5Adeel Asghar- Implemented fmiSetContinuousStates, fmiGetDerivatives, fmiGetEventIndicators, fmiGetContinuousStates & fmiGetNominalsOfContinuousStates functions for FMI 2.0 export.
2b5e60a15bPer ÖstlundFix for #2720: - Call external object constructors in the order as they are defined in.
3632c44a51OpenModelica Hudson[Janitor mode] Fix whitespace
aed9fe0476Lennart Ochel- fix for impure built-in calls - define impure built-in functions in ModelicaBuiltin.mo - don't override isImpure attribute for built-in calls - somewhere is still an error for delay calls at least
945453e5e9Jim NutaroFixed problem with initializing if statements in the adevs backend
984aabaeecJan SilarPDE extension documentation -- comparison to Saldamli.
b670f88e1cWilli Braun - added a inner ring-buffer for dassl solver to ensure consistent extrapolation data for non-linear loops.
f0e986fcf3Willi Braun - fix bug #2718
53982805d7OpenModelica Hudson[Janitor mode] Fix whitespace
7135e1c01dVolker Waurich- add initial equations for duplicated tasks
368966f4ffNiklas Worschechchanged evaluate call in CVode
9a672be46dOpenModelica Hudson[Janitor mode] Fix whitespace
428164885aNiklas Worschechchanged in Kinsol and CVode some tolerances
1f3b48e4a5Volker Waurich- replace duplicated crefs in non-duplicated tasks
8116dbb7a9Niklas Worschechfix for makefile in cpp template
fa69c63499Niklas Worschechswitched build of cpp runtime to release
0e62f930fdAdeel Asghar#2716 - Fixed the syntax highlighting issue.
c532c4753bMartin SjölundFix the icon generation
4015c5049fMartin SjölundChanged OMPython version from 1.0 to 2.0 - The 2.0 version uses session (OMCSession objects) instead of a global object created when importing OMPython
63f1650584OpenModelica Hudson[Janitor mode] Fix whitespace
f24e338603Volker Waurich- generate new task graph for duplicated tasks
0563a9754bPer ÖstlundFix for #2709: - Added functionality to propagate final prefixes from modifiers to components. Disabled for now, since it breaks some tests.
c2cf53e2d9OpenModelica Hudson[Janitor mode] Fix whitespace
d29b2bbff4Marcus Walther- hpcom level-scheduling fixed for windows - update for hpcom-tests
342209e10dOpenModelica Hudson[Janitor mode] Fix whitespace
41cbf8753dMartin SjölundDo not use dialog.setFilter as QDir::Executable does not seem to work the way it is expected to
a14096aeabNiklas Worschechforgotten mo files of templates
be821c81a2Niklas Worschechseparated evaluate in cpp template in update for ode- and zero crossing- and all equations
e99cf2fc9fVolker Waurich- update indexes for LS, NLS, Mixed systems when duplicating tasks
e5576175efMartin Sjölund- Add some additional time to build models as some are rather slow - Do not fail to call `alarm(0)` just because some function set errno
c8d7058711OpenModelica Hudson[Janitor mode] Fix whitespace
65dea6025aWilli Braun - revised dassl implmentation - added additional rhs evalution to ensure a consistent ringbuffer for extrapolation - removed f2c binding - rename simData to data
83f1cca273OpenModelica Hudson[Janitor mode] Fix whitespace
1c453c1339Mahder Alemseged Gebremedhin+ Separate discrete real variables in to a different list. No we know where they start and end i.e. will not be mixed and sorted with the rest of algebraic variables. will have to be changed later when we use index lists instead of variable lits. For now this should be enough.
cc1fec70f7Adeel Asghar- qtclients doesn't depend in libgc now.
5611563a49Adeel Asghar- qtclients doesn't depend in libgc now.
e25e80917aAdeel Asghar- qtclients doesn't depend in libgc now.
3088027aedAdeel Asghar- Implemented fmiEnterEventMode & fmiCompletedIntegratorStep functions for FMI 2.0 export.
feb9a03cefVolker Waurich- fix for td scheduler
14f1a547daMartin SjölundFix compilation
ed7f507ca4OpenModelica Hudson[Janitor mode] Fix whitespace
69dad85686Martin SjölundSkip linking libgc for qtclients
313e599167Martin SjölundSkip linking libgc for qtclients
a93cb9986eMartin SjölundSkip linking libgc for qtclients
cdef825a51Martin SjölundSkip linking libgc for qtclients
6db80fa13dVolker Waurich- task duplication scheduler codegen completed
aff0f3daf5Alexander CarlqvistRemoved default values for exportToFigaro.
a0901bcc0cAdeel Asghar- Added some files filter.
5208be46b1Adeel Asghar- For *FMUstate functions just log that they are not supported right now and return fmierror.
bbc2a0362cMartin SjölundFix compilation warning
59ec923a5cAdeel Asghar- Updated the GUI according to new parameters of exportToFigaro API.
4a864f1896Martin Sjölund#1795 Remove `getExperimentAnnotation()` since `getSimulationOptions()` is better
f796418bbbMartin SjölundReduce the timeout for buildModel since the times for simulating is no longer inclusive
934d6556a7Martin SjölundUse alarm everywhere instead of ulimit in BuildModelRecursive.mos. This should make a slow buildModel followed by a slower simulation print simulation failure instead of a crash.
84f2f217d1OpenModelica Hudson[Janitor mode] Fix whitespace
df4a8e1f16Alexander CarlqvistSignature of exportToFigaro updated.
bdaabc1f48Adeel Asghar- Fix build.
a0c0fa5712Adeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
b735e433ebAdeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
44296ddb80Adeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
e75e4cf667Adeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
748bff8089Adeel Asghar#2509 - increase argc as well.
c26df13aa4Adeel Asghar#2509 - increase argc as well.
7f344f9d2bAdeel Asghar#2509 - increase argc as well.
62a7f43091Adeel Asghar#2509 - Specify CORBA arguments e.g IP-address when initializing the client object.
1ae66b5445Adeel Asghar#2509 - Specify CORBA arguments e.g IP-address when initializing the client object.
433242bd02Adeel Asghar#2509 - Specify CORBA arguments e.g IP-address when initializing the client object.
af0a99338eMahder Alemseged Gebremedhin+ Fix #2708
01aeb10859Martin SjölundAdd license information
c525048a2dAdeel Asghar- Implemented fmiReset, fmiGet* & fmiSet* functions for FMI 2.0 export.
4a863821caVolker Waurich-activated case in inlineArrayEquations.mo
d3290658aeVolker Waurich- added case in InlineArrayEquations.mo
ba6b1115a1Lennart Ochel- attempt to fix r20930
c8fc287bf8OpenModelica Hudson[Janitor mode] Fix whitespace
507088397dMartin SjölundFix some of the sorting of components based on dependencies in the bindings - Would silently fail in some cases in the past - Some models now give no warnings in compile-time and run-time - AIMS_Start gives a different result for one variable - UnevaluateableFixedAttribute.mos gives different results for RML and bootstrapped omc versions
baeb18dfe2Vitalij Rugepartial support of equal constraints
fc39e62e73Patrick Marcel Taeuber- introduced manual selection of tearing variables using annotations (works only for cellier tearing heuristic MC3 yet) -> attributes: tearingSelect = always: variable is forced to be iteration variable tearingSelect = prefer: variable gets better chances to become iteration variable tearingSelect = avoid: variable gets less chances to become iteration variable tearingSelect = never: variable won't be iteration variable as long as it is possible to solve for it algebraically (otherwise: warning)
31afef240aVolker Waurich- choose which entries of the incidenceMatrix you want to get (all,positive,negative) via an additional input in SimCodeUtil.getSimVarsInSimEq and SimCodeUtil.getSimEqsOfSimVar
b8967c3d23Jan SilarPDE extension documentation -- comparison to Saldamli.
c6b09d5542Volker Waurich- updated hpcom tests, moved predicted SpeedUp message to hpcomDump
a867dfa3e2Alexander CarlqvistA small change in how we generate XML for the Figaro compiler because they changed some file names in the latest version of the Figaro compiler.
82dcd52eecAdeel Asghar- Copy the required dependencies for the Qt clients in their respective make files so that we can also use them individually.
e46d737d65Adeel Asghar- Updated the list of dependencies.
07766ff58aAdeel Asghar#2710 - Add references to Mike Tiller's online resources.
12b10d696ePer ÖstlundFix for #2707: - Give MUL and DIV the same priority in Dump.priorityBinopRhs.
2603d6836dMartin SjölundRead files >4GB of size on 64-bit platforms
19f4fb15d8Adeel Asghar#2706 - Fixed the FMU memmory allocation & free memory issues.
bcc9fb24b0Adeel Asghar- Implemented fmiSetTime function for FMI 2.0 export.
83a4d607bbNiklas Worschechfix for HPCom cpp makefile expected output
86dc68ae67OpenModelica Hudson[Janitor mode] Fix whitespace
6e0d6731c4Mahder Alemseged Gebremedhin+ New sorting for back-end variables. - subscripts are compared only if the crefs match without considering subs. i.e. pushed to the end of the cref. + Fixed state-sets generation and initialization to use the correct indexing. - Used to be transposed.
28f4207a42Lennart Ochel- workaround for builtin functions that are impure, but not marked as impure - expected output (revert some bad changes from r20848)
19c1841709OpenModelica Hudson[Janitor mode] Fix whitespace
11147ac265Niklas Worschechfix for empty discrete vars in cpp template
68d584c53aMarcus Walther-fixed ANALYZATION_MODE of cpp-runtime
2c71800b4aMarcus Walther-fix for hpcom-cpp codegeneration
6afafad6d3Niklas Worschechfix for getStartValue in cpp template
057633b0b2OpenModelica Hudson[Janitor mode] Fix whitespace
cd85a06246Lennart Ochel- workaround: sample-calls are not marked as impure
299a5e64dbLennart Ochel- fix last commit
fd64d5649fLennart Ochel- make +d=iterationVars a bit nicer
3a1f4123e1Adeel Asghar- Implemented fmiSetDebugLogging, fmiTerminate, fmiNewDiscreteStates & fmiEnterContinuousTimeMode functions for FMI 2.0 export. - Fixed fmiFreeInstance.
39c96f9f52OpenModelica Hudson[Janitor mode] Fix whitespace
5082112e64Volker Waurich- push current status for tds
f90dc5b453Adeel Asghar- Implemented fmiGetTypesPlatform, fmiGetVersion, fmiInstantiate, fmiFreeInstance, fmiSetupExperiment, fmiEnterInitializationMode & fmiExitInitializationMode functions for FMI 2.0 export.
8501fa3971Willi Braun - added a further solver method "dasslsteps" - behave like our default dassl solver option, but without consideration of numberOfintervals or stepSize. Output point are internal dassl steps.
d8686029d3OpenModelica Hudson[Janitor mode] Fix whitespace
f7ed18b9e1Niklas Worschechfix for usub function in cpp template
cb7cfd1504Volker Waurich-reverted 20880 since one model fails, will check this on monday
e815612706Niklas Worschechfix for include in KINSol
802d9187ecVolker Waurich- added case in getScalarArrayEqns1 (improve enhancedAdjacency)
47a7b1bc8cOpenModelica Hudson[Janitor mode] Fix whitespace
d775bd1d1aNiklas Worschechfix for non returning Kinsol in cpp runtime
eb84611ca0Adeel Asghar- Fixed FMU makefile.
3a6328258eAdeel Asghar- Only add the FMU version error if version number is invalid.
19f9947cfcNiklas Worschechfix for typo
d6a16a208fOpenModelica Hudson[Janitor mode] Fix whitespace
6dbc72c542OpenModelica Hudson[Janitor mode] Set auto-props
76a42040f1OpenModelica Hudson[Janitor mode] Fix whitespace
b884ca8bf2Niklas Worschechchanged initialization method for variables in cpp runtime removed unused files in cpp runtime removed some includes
62bedf3563Christian SChubertmake SimulationResultsCmp obey runningTestsuite flag to fix test
24626a5c1aOpenModelica Hudson[Janitor mode] Fix whitespace
05632880b7Per Östlund- Fix RML compilation.
666cd0f0cdPer ÖstlundFix for #2705: - Propagate inline annotations in derived component functions.
350780decfPer ÖstlundFix for #2707: - Consider multiplication to be non-associative when dumping expressions.
b597c8798dChristian SChubertmake SimulationResultsCmp fail, if a variable has not been found and add a test for it also add a test for constant singular linear systems which are consistent (or inconsistent) - currently both fail in omc
3fe28d6c7cAdeel Asghar- Added FMI 2.0 Model Exchange export functions.
c273efbc7fAdeel Asghar- Removed the index attribute.
4b2e78fe86Adeel Asghar- Add empty model structure tag to make the FMI 2.0 xml valid.
2222b7da26Adrian Pop- properly fix alarm stuff (use extern "C" when cpp is defined!)
f037d18683OpenModelica Hudson[Janitor mode] Fix whitespace
e374b55dafLennart Ochel- attempt to improve r20789 (don't handle impure functions as constant)
9f1818aa91Vitalij Ruge- improved numerical hessian
879b880a40Vitalij Ruge- improved numerical hessian
c1af8e1400Vitalij Ruge- fixed r20844
2d3d4cd728Vitalij Ruge- fixed keepHessian
7d241f21c3Adrian Pop- ansi C
768e0be455Adrian Pop- attempt to fix windows build
fc625e46cdPer Östlund- Added output of parentheses for if-expressions on the LHS in dumpers.
6166857edaOpenModelica Hudson[Janitor mode] Fix whitespace
989f5f7d09Martin SjölundProbably fixes r20834
00dcba97f9OpenModelica Hudson[Janitor mode] Fix whitespace
108f43ca69Lennart Ochel- add more TRACE information (to DASSL and event system)
c8b9ce0f6cLennart Ochel- fix missing space
f8032ded5aLennart Ochel- new debug-flag: +d=iterationVars - this flag generates a list with all iteration vars for both simulation system and initialization system
ffd0ca1d5fOpenModelica Hudson[Janitor mode] Fix whitespace
c8e2d2f0b1Per Östlund- Improved DAEDumpTpl and switched to it as default. - Untupled min and max in DAE.VariableAttributes.
76325345dcMartin SjölundGuard against `arrayCreate(-1,...)` Use arrayCreate instead of `listArray(listFill(...))`
19ecbf7460Willi Braun - fix uncertainties test
e12ae55b41OpenModelica Hudson[Janitor mode] Fix whitespace
675c65d694Volker Waurich- deactivate schedule repetition, provide backendDAE and SimCode for schedule method
e0ecf1b495OpenModelica Hudson[Janitor mode] Fix whitespace
0429f2ae81Lennart Ochel- remove cases for impure functions from function traversingTimeVarsFinder - mark delay as impure
7533267564Martin Sjölund- Add -alarm=seconds as option to simulations, and start using alarms in the model testing to prevent spinning in the testsuite
8fcbb5157aMarcus Walther- compareMode-enum to task graph comparator added
d6ff87b9f3Willi Braun - an other attempt to fix IndexReduction
b71eb5174aMartin SjölundplotAll/parametric fixes
5e85f457f2Martin Sjölund#2701 - Fix plot() command not executing - Change vfork to posix_spawn since it is suggested by static analysis
0f22838f5dOpenModelica Hudson[Janitor mode] Fix whitespace
aac910c59fLennart Ochel- fix printAllVarsDebug
adb9c5273aOpenModelica Hudson[Janitor mode] Fix whitespace
299bcf181aNiklas Worschechfix in cpp template for evaluate return value
3aa9767633Martin SjölundFix Linux compilation
b3899d5de2Lennart Ochel- expected output
2b825cc9bbMartin Sjölund#2701 - Hopefully fixes OMPlot for OSX
483e4c3f8dVolker Waurich- use the critical criterion to set up initial clusters
f4832947c5Martin SjölundFix r20795 (didn't revert both revisions)
7daf95e4b6Adeel Asghar- Do not align the axes until we have a new implementation of scale engine.
917e7dedd4Martin SjölundReverting r20742,r20792. Willi will provide better fixes for them next week.
f7efea49d8OpenModelica Hudson[Janitor mode] Fix whitespace
1e3c1e6e20Willi Braun - partial fixes for IndexReduction - there are still more issues with array indexing - added also more debug output to bltdumps
203014cb51OpenModelica Hudson[Janitor mode] Fix whitespace
14e5c612ddLennart Ochel- fix #2704 (don't handle impure functions as constant) - add TRACE information to dassl.c::functionODE_residual and solver_main.c::finishSimulation
3d977ef895Volker Waurich- fixed case in createTDSInitialCluster1
df8a9a372bVolker Waurich- tds schedule using cluster compaction
57668fe2edOpenModelica Hudson[Janitor mode] Fix whitespace
80c82850c5Marcus Walther- fix for hpcom-cpp-code generation
835624c840Martin SjölundAlso analyse user-defined reductions
d484592de9Martin SjölundThe tokens should be in reverse order
6c7305938fLennart Ochel- remove unnecessary if(ACTIVE_STREAM(..)) statements
8183b054ccLennart Ochel- fix messageClose
e113af902fMartin SjölundAdd runtime checks for BackendDAEEXT.getAssignment (breaks the testsuite because it should not work at the moment)
5045d06694OpenModelica Hudson[Janitor mode] Fix whitespace
ee94a07a17Mahder Alemseged Gebremedhin+ Separate equation evaluation for the cpp runtime. Equations can be evaluated individual or in groups based on index. Needed for QSS solver implementation. + Moved some common code to CodegenUtil.tpl
ddb9ad6c89OpenModelica Hudson[Janitor mode] Fix whitespace
979570ff3bJan SilarWork on PDE extension proposal.
838773594dVitalij Ruge- fixed 20771
8c8c74da8dVitalij Ruge- fixed numerical hessian - new flag for keep hessian constant
f5c5366b08Volker Waurich- create initial clusters for the td scheduler
7b886df5ffOpenModelica Hudson[Janitor mode] Fix whitespace
ecd0ae83c9Niklas Worschechchanged saveAll in cpp template and cpp runtime
5ace460823Volker Waurich- some functions to calculate task parameters for td scheduling, rewritten copmuteALAP - added function List.map2rm
fda69b23c3OpenModelica Hudson[Janitor mode] Fix whitespace
65041cbdafLennart Ochel- fix a debug-message - add some additional TRACE information
419d7936f9OpenModelica Hudson[Janitor mode] Fix whitespace
8c8d6c4efaLennart Ochel- new statistics flag: LOG_STATS_V - LOG_STATS_V shows in addition to LOG_STATS the number of function evaluations for some selected functions - new TRACE output for dynamic runtime analysis
2d42497702OpenModelica Hudson[Janitor mode] Fix whitespace
233bf0b8d5Volker Waurich- started working on task duplication scheduler, computation of est,ect,last,lact,level,fpred
4efe73fb5aAdeel Asghar- Qwt is removed from OMDev
44e701c7ccAdeel Asghar- Qwt is removed from OMDev
38d51527d0Adeel Asghar- Qwt is removed from OMDev
7794f0a057Jim NutaroFixed problem caused by not recalculating parameter equations when calculating all other variables
52852791c3Martin SjölundChange Absyn.REAL to store a String instead of a Real in order to unparse without changes
269695c77bVitalij Rugeadded rule for pow(x/y,-r) => pow(y/x,r)
8a26ac64f1Willi Braun - fixed index reduction (kudos to Jens) - use higher order derivative index instead of just counting up
c2d3567955Adeel Asghar- Copy libomqwt & libOMPlot to build/lib/omc - Fix the link path.
72c6ab1ad9Adeel Asghar- Copy libomqwt & libOMPlot to build/lib/omc - Fix the link path.
ea525f9d78Adeel Asghar- Copy libomqwt & libOMPlot to build/lib/omc - Fix the link path.
7ff98f7ebeMartin SjölundlibOMPlot cannot depend on libOMPlot
4fba7e2a90Martin SjölundMove the copy to the correct place
fac37181cfMartin SjölundWhen traversing if-statements, preserve the reference pointer if nothing changed (bugfix for the else/elseif parts)
7646a086a8Martin SjölundBetter clean
dae00ab963Martin SjölundFix for OSX (libOMPlot uses QtSvg)
3cbe652c9cOpenModelica Hudson[Janitor mode] Fix whitespace
bb4ad8d4c3Martin SjölundAdd flag `+d=printStructuralParameters` to print the names of structural parameters evaluated by the front-end
9afe9f3519Vitalij Rugeadded some rules - pow(x,y)*pow(x,z) = pow(x,y+z) - pow(x,y)*x = pow(x,y+1) - pow(x,y)/pow(x,z) = pow(x,y-z)
e49513a19aMartin SjölundFix compilation
8269ebf049Martin SjölundFix -lqwt to -lomqwt
c063e82c04OpenModelica Hudson[Janitor mode] Fix whitespace
6520d2ffccVitalij Ruge- added some rules pow(x,y)/x => pow(x,y-1) (pow(x,y)*z)/x => pow(x,y-1)*z x/pow(x,y) => pow(x,1-y)
8d801b8e89Niklas Worschechfix in cpp template for init alias vars and smaller fixes
dd3d965994Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
cc59f81f56Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
0780d2de46Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
15a77d44e7Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
b230e1ec12Martin SjölundLink to OMPlotLib instead of compiling in the objects statically (re-use of the shared library is then possible)
d708e01177Martin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
b04ad16b93Martin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
13101998d6Martin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
eb5b782d8bMartin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
b1c14f7682Vitalij Ruge revert 20715 there, some issues with clang build
e72e4df223Vitalij Rugeadded rule - e^a / e => e^(a-1)
2724f020a5Adeel Asghar- Build all Qt clients using the local Qwt on unix as well.
6361725b62Adeel Asghar- Build all Qt clients using the local Qwt on unix as well.
247509b940Adeel Asghar- Build all Qt clients using the local Qwt on unix as well.
ed27ece35eMartin SjölundDo Adeel's work for him :)
9c72dd5304Adeel Asghar- Build all Qt clients using the local Qwt.
15165835f0Adeel Asghar- Build all Qt clients using the local Qwt.
eab47a1a5cAdeel Asghar- Build all Qt clients using the local Qwt.
d9b4bc8dceAdeel Asghar- another try to fix compilation.
b9065ee7e1Adeel Asghar- build Qwt with clients
e6802f6d16Volker Waurich- reactivated hpcom tests using json files - always use the numProc given in the flag, output a warning on hpcomDump when this number is higher than the available number
084b52d855OpenModelica Hudson[Janitor mode] Fix whitespace
a1e2e81065Niklas Worschechfix for getNominalvars and initVars in cpp template
369cdeec9bVolker Waurich- fix bootstrapper
901ac7c656Volker Waurich- annotations in graphML - use either profiling or parallel simulation
4c68c5b98cVolker Waurich- perform removeSimpleEquations after partial function evaluation only if functions have been evaluated
8f4b10a333Willi Braun - fix issue with r20669 - correct spelling
268432320dOpenModelica Hudson[Janitor mode] Fix whitespace
43d669d17eNiklas Worschechfix for unknown type in cpp template
4f4aa15a46Marcus Walther- includes for ANALYZATION_MODE added, otherwise it's not working
202ff98d79Willi Braun - use negated value while handling alias variables - that makes the EngineV6 model working again
2cc797aed3Volker Waurich- update type of evaluated function outputs
8d54d9306eVolker Waurich- get all entries from the incidence matrix, even the negatives in getSimEqsOfSimVar
065d7db0e8Adeel Asghar- Remove the background when exporting plot using qwt 5.
e0684f16d1Martin SjölundAvoid simulating chattering models in the library testing - Also some tail recursion fixes
e20b6312c6Adeel Asghar#2696 - Use 5 as a precision value.
9d76aa64b4Martin SjölundMake filterOnTrue_tail use `match` in case the optimizer fails to convert it
80df71b4afMartin SjölundVarious bugfixes and new features - A new implementation for overloaded (binary) operators. * Follows the specification more strictly and produces less fewer warnings for legal code * matrix*matrix and matrix*vector uses reduction expressions to implement sum and array * Checked that inlining of the generated functions works and produces simple expressions * The code has been split into its own file since it is 2200 LOC and very few things in there actually depend on Static.mo (most of the remaining ones should be refactored) - Implemented inlining of functions that assign to record members instead of call the record constructor in a single statement - When evaluating function inputs to determine output array dimensions, keep the evaluated results - Adding new preOptModule evaluateReplaceProtectedFinalEvaluateParameters which replaces evaluateReplaceFinalEvaluateParameters as a default module * Causes problems for NPendulum.mos and PrismaticConstraint. They have different preOptModules set in the tests - Added simulation flag `-abortSlowSimulation` used for the library tests in the testsuite - EngineV6 now causes chattering behaviour. It was set to a Compilation test. * The test will not spin thanks to the `-abortSlowSimulation` flag - Improve elaboration, simplification, evaluation, and code generation for reductions * Each operator now has unique indexes to avoid conflicts when replacing iterator crefs * We can now simplify user-defined operators * Added a new kind of mode for reductions: DAE.THREAD(), as opposed to the standard DAE.COMBINE() - When we have multiple iterators, the default DAE.COMBINE() is used and iterates over all combinations of the expressions in the iterators. DAE.THREAD() instead assumes the arrays have equal length and folds over the reduction expression with the n-th expression in each iterator at a time. Used by operator overloading to implement element-wise and `sum` operations. * This changes the DAE slightly - Implemented DAE.FuncArg as a uniontype instead of tuple (DAE change) - Some better simplification for ASUB (ranges and reductions) - And some more things. Hopefully the major changes are all listed.
1172166471Martin SjölundBump MSL version to match GITLIBRARIES=Yes
27d7cb77efWilli Braun - more fixes for differentiation module
5c07e18b52Willi Braun - fixing differentiation errors in annex60 and Buildings
0a03f0748cAdrian Pop- fix bad negation logic
fe1e65d9bcAdrian Pop- attempt to fix Windows build * remove coinmetis from the link flags * make sure you remove Ipopt-3.11.6/Makefile if there is no Ipopt-3.11.6/Ipopt/Makefile so configure is ran again!
9a13618f31OpenModelica Hudson[Janitor mode] Fix whitespace
98dddecd8cNiklas Worschechfix in cpp template for semiLinear call
5f86b0de19Niklas Worschechbetter scaling for kinsol in cpp runtime
665d22270eOpenModelica Hudson[Janitor mode] Fix whitespace
f4c0fece59Willi Braun - fix differentiate STMT_TUPLE_ASSIGN
b9ff83d057Vitalij Ruge- improved optimizer constraints for ode
db88c49192Vitalij Ruge- improved goal function evaluation
a56005df47Vitalij Ruge- improved gradient evaluation
4b7b997826Lennart Ochel- remove unnecessary call of saveZeroCrossings (which calls function_ZeroCrossings)
2d5772cb05Vitalij Ruge- improved numerical hessian
af2c8d751dVitalij Ruge- improved numerical hessian
8b54365dbfVitalij Ruge- fixed some compiler warnings
7948960589Volker Waurich- changed expanding of crefs and expressions of function inputs
b947590ea3Lennart Ochel- generalize zero crossing detection, so that continuous zero-crossing functions get detectable - fix error code of mixed_system evaluation (from -3 to -4) - minor code simplifications
5e5792685bVitalij Ruge- fixed some compiler warnings
e1ea7d6fa0Lennart Ochel- improve last commit
dcc1f1d7b2OpenModelica Hudson[Janitor mode] Fix whitespace
b0c21e09afVolker Waurich- made some fail-messages dependent on +d=evalFuncDump
3530a3fbd1Niklas Worschechremoved some includes in cpp runtime add solve in Kinsol for linear system if linear tearing is active
7810845a1dVolker Waurich- support array vars in getScalarVarSize (fix for Annex model)
e5459122afOpenModelica Hudson[Janitor mode] Fix whitespace
c5895d8afaLennart Ochel- fix usage of storedRelations (formerly hysteresisEnabled) - new, more precise names: - array hysteresisEnabled renamed to storedRelations - function storeRelations renamed to updateRelationsPre - function updateHysteresis renamed to storeRelations - cleanup: - function printHysteresisRelations removed - function activateHysteresis removed
53c00b59c1Volker Waurich- disable partial function evaluations with +d=evalConstFuncs
e2f4835c52Martin SjölundFix bootstrapping
b4d2fed627Vitalij Ruge- update Makefile for ipopt thanks Willi
e5087c287eVolker Waurich- added annotation attribute to task graph graphML
d7aee64d05Adeel Asghar- Export to figaro via GUI.
afa162a805Lennart Ochel- small update to r20622
ca8beb53bcWilli Braun - update message for 0^x to "Model error - 0^x is not defined" - moved also test
79c4c2389bOpenModelica Hudson[Janitor mode] Fix whitespace
276403ac06Willi Braun - improved differentiation of functions - use partial differentiation for jacobians instead of total differentiation
7ddfa55b9dOpenModelica Hudson[Janitor mode] Fix whitespace
83a8aeddb5Alexander CarlqvistSupport for Figaro. exportToFigaro builtin added. New file Figaro.mo. New error message type. Important: import and call commented out in CevalScript.mo because else it will not build from trunk. The extension is made for the bootstrapped version.
2b4908e98eVolker Waurich- activate partial function evaluation
cf5e16772cOpenModelica Hudson[Janitor mode] Fix whitespace
8849a08368Vitalij Ruge- added rule a - (-b)*c = a + b*c
65da2d6339OpenModelica Hudson[Janitor mode] Fix whitespace
618f2e018cVitalij Ruge- added rule - x*x = x^2
99105fca3bWilli Braun - added an assert to real_int_pow - adjust tests
481057c07aAdeel Asghar- Set the default legend position to top in OMEdit.
5043b8c8dfOpenModelica Hudson[Janitor mode] Fix whitespace
cf2a74d2f3Vitalij Ruge- added error massage for 0^-n were n > 0 - added some cases for solve - a^n = c where n is odd - log(a) = b - exp(a) = b
2a436a68b4Lennart Ochel- update last commit - simplify macros RELATIONHYSTERESIS and RELATION and remove useless cases
7243544ad5Lennart Ochel- simplify macros RELATIONHYSTERESIS and RELATION and remove useless cases
93e56b1eebMartin SjölundHandle transpose for matrices
587c82b597Martin SjölundHandle some additional expressions
f654556708Lennart Ochel- fix handling of relations, which triggered assertions in nonlinear system during initialization - msl32/Modelica.Fluid.Examples.HeatingSystem.mos starts to simulate
a6f348ba90Lennart Ochel- attempt to simplify makro RELATIONHYSTERESIS
69786a450cLennart Ochel- update "warning | While solving non-linear system an assertion failed." message again
34a69e31cfVitalij Rugefixes from static analysis
feee3c0357Martin SjölundInline.mo: Handle inlining of functions with record output that is split into assignments like: {{{#!mo output RecType rec; algorithm rec.r1 := 1.0; rec.r2 := 2.0; rec.r3 := 1.5; }}}
6c537e99fbLennart Ochel- minor changes - add time point to "warning | While solving non-linear system an assertion failed." message
09dac6a18fPer Östlund- Fix exponential complexity of Static.createCrefArray.
1933c50826Volker Waurich- do not declare complexEquations of size 1 to single equations(fix for kc_evenGapLaminar)
74f94a219aVolker Waurich- fixed for loop evaluation for ASUBs
c0935681ebMarcus Walther- fixed pthreads_spin code for cpp-hpcom-template
93571f516eVitalij Ruge- fixed some warning from static analysis
8064869527Volker Waurich-reverted default function evaluation
f1b62de14aVolker Waurich- another try to check what breaks when setting partial function evaluation as default (is going to be reverted)
47142e8751Volker Waurich- fix for arrays in getScalarExpSize (partial function evaluation)
b0b56318f7Adrian Pop- small improvements
0f012947aeVitalij Ruge- fixed output - fixed warning for intial guess
c3b6abc9e3Niklas Worschechadapted fmu cpp template
9a87450a22Marcus Walther- fix for wrong profiling results
94047a87d6Vitalij Ruge- fixed initial guess in optimization - added flag for initial guess file for externalInput - added flag for number of points in a subinterval in optimization - support approximation order 1 and 5 in optimization - added test for initial guess in optimization - creat result with order 1 - using the result for order 5
343c89f8bbVolker Waurich- reverted changes in unparseType - added dump function for subscripts
a6c14087a4Niklas Worschechfix for clang build of cpp runtime
b6dc2ed8ceOpenModelica Hudson[Janitor mode] Fix whitespace
18c512e9a6Niklas Worschechadded for msvc build in cpp runtime build type variable
0e21f594e5Per ÖstlundFix for #2690: - Use spliced exp data when vectorizing discrete arrays.
5490060180Volker Waurich- removed debug dumps from inlineArrayEquations stuff
1e7b979793OpenModelica Hudson[Janitor mode] Fix whitespace
732151a895Vitalij Ruge- some fixes from static analysis - improve structure for handling ode order in optimization
c0a60f820aVitalij Ruge- improve hessian approximation
47d09378acMarcus Walther- ModelicaUtilities library added to hpcomAnalyzationMode - fixed hpcom-list-scheduling of cpp-runtime
0912dbf7f2Marcus Walther- added "-fPIC" - Flag to CPP-runtime (g++ build) - modified the includes of the hpcom-cpp-codefile
e5be1a2e2bAdeel Asghar- align profiling combo box.
9daa946c2dOpenModelica Hudson[Janitor mode] Fix whitespace
ef810e810cVitalij Rugeimprove memory handling
d9508f8a37OpenModelica Hudson[Janitor mode] Fix whitespace
073dbcd80bAdrian Pop- test whitespace again
396bcadca4Adeel Asghar- Handle the new plot grid options in plotting APIs & OMNotebook.
88f0c6a91eAdeel Asghar- Handle the new plot grid options in plotting APIs & OMNotebook.
1a6bf90ee2Adeel Asghar- Handle the new plot grid options in plotting APIs & OMNotebook.
fab8c2e414Vitalij Rugeimprove memory handling
967ab98df1Adeel Asghar- Another try to fix build.
075a686373Adeel Asghar#2679 - OMPlot setup option to set legend positions.
f45841c824Adeel Asghar#2679 - OMPlot setup option to set legend positions.
5d3dd9012fAdeel Asghar- Fix build
9575907b77Adeel Asghar#2679 - OMPlot setup option to set titles. - Added the footer option to plots.
9ffd736609Adeel Asghar#2679 - OMPlot setup option to set titles. - Added the footer option to plots.
dd28aa904bAdeel Asghar#2679 - OMPlot setup option to set titles. - Added the footer option to plots.
c6750ab40cVolker Waurich- extend inlineArrayEquations for multidimensional arrays
884dd9e88fOpenModelica Hudson[Janitor mode] Fix whitespace
631342f46eMarcus Walther- I had to reinclude some headers to get the ANALYZATION_MODE running (sorry Niklas, maybe we can find a better solution soon) - Precompiled headers are now disabled if using ANALYZATION_MODE -> otherwise it will not compile with our tracing-tool
4e413d37dfVolker Waurich- abort evaluation for reinit,terminate,return
33422b46ecLennart Ochel- remove makro ZEROCROSSING
abb1ad9a7cMarcus Walther- passing ANALYZATION_MODE-flag from top-level-makefile to SimulationRuntime/cpp/Makefile.omdev.mingw (can be used by invoking 'make runtimeCPPinstall ANALYZATION_MODE="true"')
1d68c76869Volker Waurich- do not consider wildcards when calculating equation size in partial function evaluation (fix for kc_evenGapLaminar.mos)
26a28998a3OpenModelica Hudson[Janitor mode] Set auto-props
014309c7c6Martin SjölundHandle replacement of qualified crefs when simplifying iterators - `{c.r for c in cs}` now simplifies to `{cs[1].r,...,cs[n].r}` - `{c.r for c in cs}` previously simplified to `{c[1].r,...,c[n].r}`
77053a02d1Niklas Worschechadd Modelica.cpp file to cpp runtime
d53075eb85Lennart Ochel- dump relations
c499df07ecVolker Waurich- fixed more models concerning partial function evaluation
e407b90c0cOpenModelica Hudson[Janitor mode] Fix whitespace
23477a03e3Niklas Worschechadded precompiled header for msvc in cpp runtime cmakefile and cpp template
c9034591e7Adeel Asghar- Fix build.
8093aaba51Adeel Asghar#2679 - Fixed "There is no convenient way or replacing the colors by dashed/dotted/whole lines in black-and-white. The current version via the options menu is very cumbersome. The Dymola approach is much easier to use and more intuitive. All information collected in one place in the GUI."
af5679d62dAdeel Asghar#2679 - Fixed "There is no convenient way or replacing the colors by dashed/dotted/whole lines in black-and-white. The current version via the options menu is very cumbersome. The Dymola approach is much easier to use and more intuitive. All information collected in one place in the GUI."
45f69f42c9OpenModelica Hudson[Janitor mode] Fix whitespace
03e89b57d5Willi Braun - added non-linear mixed strategy (use first newton than hybrid) - improved newton solver
3b0c613f8fOpenModelica Hudson[Janitor mode] Fix whitespace
527a784808Volker Waurich- do not remove an evaluated, constant function if there is an assert (fix for AssertTest6)
bcd66eeec0Marcus Walther- some fixes to get the cpp-runtime running on our HPC machines using MKL
25251018deVolker Waurich- fixed more bugs in BackendDAE.Equation declaration for partial function evaluation (ThermoSysPro)
259963ea96Adrian Pop- reverted Static.mo changes from r20486
02316fb917OpenModelica Hudson[Janitor mode] Fix whitespace
f2bced5290Martin SjölundRemove cjson from the rml makefiles
12b7158a49Volker Waurich- flag controlled dumps for partial function evaluation - fixed bug for wrong BackendDAE.Equation declaration (QualifiedCrefArg.mos)
a02065460cMartin SjölundAdd cJSON to SimulationRuntime/c since the bootstrapped compiler and OSX won't fail to build (Hint: cmake never solved anyone's problems)
c7b3954516Adrian Pop- generate correct target platform from CMake
89992fb084Adrian Pop- propagate flags from top level to CMake when building cJSON
f72ca580b9Adrian Pop- add cjson to bootstrap-dependencies
1b4fa441f1Adrian Pop- add -lcJSON to bootstrapped linker flags
234f3f76e9Marcus Walther- another day, another try to add cjson to HpcOmBenchmarkExt.cpp
54312b83b6Volker Waurich- reverted function evaluation, updated testsuite
4761dee793Volker Waurich- give it a try and see what breaks when using partial function evaluation as default (will be reverted after the tests)
5d2f43a37bVitalij RugeCleaned up optimization folder.
f516d9c6e9Volker Waurich- function evaluation of Shared objects like parameters.just some first functions
3dd9ea8420Volker Waurich- fix bootstrapper
6168897098OpenModelica Hudson[Janitor mode] Fix whitespace
1e7543ad27Volker Waurich- try to fix bug at InlineArrayEquations.mo, lets see if it breaks something
de18331da4OpenModelica Hudson[Janitor mode] Fix whitespace
6f0bf6cc05Vitalij Ruge- fixed initial guess in optimization with external input
a4023091fbLennart Ochel- add time point to some log messages
d32dfb6845Martin SjölundDon't inline simplify match-expressions that return tuples
43b666b4e1Martin SjölundSimplify `match () case () then exp; end match` to `exp`
c4178ca178OpenModelica Hudson[Janitor mode] Fix whitespace
2f9ccd9134Willi Braun - fixed debug stream print
437155695eMarcus Walther- revert r20442,20445,20446,20450 and 20451
8f5fe9a2d3Adrian Pop- add cjson to omc-rml deps too
d737ce9621Marcus Walther- another fix
c425306234Martin SjölundForce binary for Windows
bafb80b949Marcus Walther- I still try to fix the cJSON bug...
d101bb489aMarcus Walther- try to fix clang-build
6b739532c1Martin SjölundHandle the case when we do not need to match against any pattern
ff310c7213OpenModelica Hudson[Janitor mode] Fix whitespace
c6d05d8f71Marcus Walther- included cjson into build and HpcOmBenchmarkExt.cpp
d1b2327f31Vitalij Ruge- fixed merge 20440
b94a9ad425Vitalij Ruge- fixed 20413 Thanks Willi!
fc34bd1247Martin SjölundChange Error_rml to do the same thing Error_omc does (it works as long as you call the functions through dynload)
bf16b24850Martin Sjölund#2683 Do not generate self-assignments for tail-recursive calls
b58e19d6f2Niklas Worschechfix in cpp runtime cmake file for clang
9732d1a1ebMartin SjölundFix includes
e7abe4d564Martin SjölundUse diff-match-patch to display char diffs in OMEdit (would prefer word-based diff, but can't seem to find a C/C++ one)
fd5c79cb86OpenModelica Hudson[Janitor mode] Fix whitespace
9c7992487bLennart Ochel- fix debug output
9661969399OpenModelica Hudson[Janitor mode] Fix whitespace
04463b5fbdAdrian Pop- add a whitespace to check the SVN post-commit hook behavior
e0ccfbccf3Adrian Pop- add a whitespace to check the SVN post-commit hook behavior
1df29e94e3Per Östlund- Fix RML.
31de92b2e9Per Östlund- Cleaned up some code.
a656c4cc91Vitalij Rugerevert -r 20413-20418
4c4f3c8cecMartin SjölundUse throwStreamPrint instead of assert to try falling back in case a non-linear solver generates asub indexes depending on guesses...
5b2a4141d4Vitalij Ruge- added header
241b839fd6Vitalij Ruge- added header
23b418963bVitalij Ruge- added header
7e1bd00f19OpenModelica Hudson[Janitor mode] Fix whitespace
418f45d648Vitalij Ruge- improve optimization - scaling - cheaper function evalution - improve data structure - preprocessing for derivations - improve evaluation goal function + constraints - mathematical background - improve hessian structure
482763f07fAdeel Asghar- Allow opening multiple files.
eb9b6b45d6OpenModelica Hudson[Janitor mode] Fix whitespace
9d1a1fac02Volker Waurich- added function: BackendDAEUtil.replaceKnownVarsInShared - extended Expression.getComplexContents for ASUB and cref defined arrays - extended ExpressionDump.dumpExpStr for ASUB BOX and UNBOX
022365ce55Martin SjölundUse some qwt6 features also for qwt6.0
2568dd346aVolker Waurich- update partial function evaluation to fix CascodeCircuit
2aa729e84bMartin SjölundFix capitalization
f19e3dc8bcAdeel Asghar- Only use the custom scale draw for Qwt 6.1.0.
ef961cd7c0Martin SjölundAdd the article to the correct list
52834919daMartin SjölundAdding journal article openmodelica.org:sjoelund:mic:2014
101dfa645eAdeel Asghar- Add missing parenthesis.
2056ca7f87Niklas Worschechadded cflag variable to cpp runtime CMakefile which is used in cpp template
b4dd5a3bedAdeel Asghar- Another try to fix build.
a930ec6af5OpenModelica Hudson[Janitor mode] Fix whitespace
cb3c7e88c4Adeel Asghar- Fix build.
e1330157c0Adeel Asghar- Do not use the Qt's file dialog on Windows. Use the native file dialog on Windows.
42e7a122f3Volker Waurich- some fixes for partial function evaluation (one dimensional records, tuple including scalar record values)
bb38907060OpenModelica Hudson[Janitor mode] Fix whitespace
bed4b48ca4OpenModelica Hudson[Janitor mode] Set auto-props
cdd4f6b025Martin SjölundSilence make clean
fc52108f5eAdeel Asghar#2679 - Fixed "When the grid is not shown, the y-axis and x-axis are drown slightly outside/below the real axes"
4aebc12187Per ÖstlundFix for #2665: - Rewrote section on time in DrModelica.
407db93febMartin SjölundThe linking to msgpack is not needed
14b3a650ecMartin SjölundUpdate bootstrapping tarball
3856a19518Martin SjölundRemove the modpar library as it has been disabled for a long time
5a7e51c7adOpenModelica Hudson[Janitor mode] Fix whitespace
a006075665Martin SjölundFormatting
1d019a01d5Marcus Walther- variable declarations to cref1 added (required for parallel calculation of jacobian) - changed get -> boost::get and added boost/tuple/tuple.hpp to algloop-header file
d9f313cc12OpenModelica Hudson[Janitor mode] Fix whitespace
a4a8708720Marcus Walther- rereverting my previous commit, but this time without the c++ - code
13a2ea5453Martin SjölundRevert r20364,r20365,r20367 - no boost dependency in omc.exe unless you add and compile all of it in 3rdParty No C++ code at all if avoidable (remove any C++ code you can replace with pure C)
0fb421abe2OpenModelica Hudson[Janitor mode] Fix whitespace
5528a3a039Marcus Walther- Cycle based clock is now available for linux systems - HpcOmBenchmark module is now able to read execution costs from xml or json files
6b5f1d7105Lennart Ochel- change LOG_SOLVER dump
d3c6bd8caaPer Östlund- Added check for invalid modifiers on external objects.
4e6148b6d3Per ÖstlundFix for #2681: - Make Expression.dimensionsAdd handle more cases.
fb5fc17b99Martin Sjölundgcc fix
cbfe927049Martin SjölundSilence clang warnings
65a0927eb1Martin SjölundDo not generate unnecessary strlen variables
828ec551fbNiklas Worschechadapted cpp runtime build to use configured installed gcc version
1e78321870Adeel Asghar- Indentation.
b760d0b93bLennart Ochel- remove obsolete functions
7e7cd31a9aAdeel Asghar#2679 - Fixed "The grid is usually too detailed. There should at least be an option without the detailed."
4ac819f1eeAdeel Asghar#2679 - Fixed "If the grid is left out, there is an additional line drawn on top and to the left".
00c6b817cbLennart Ochel- update last commit
fc4e5c28dfLennart Ochel- fix/hack for #2563
fd7a5b9df8Martin SjölundRevert r20341 (breaks systems without g++-4.4 packages)
40c4450223Niklas Worschechchanged g++ version for cpp runtime (workarround)
047d2a990aNiklas Worschechadded debug falgs to cpp template
8ce9539427Niklas Worschechtry to fix fpic error in cpp template
1cc8562cf8Niklas Worschechreverted commit 20323
2e3ae63049Martin Sjölund#2680 - Fix for detecting unix
2f173e7fcbMartin SjölundAdd PREFIX/lib/omc to the OSX rpath
e51f66425fNiklas Worschechchanged build type in cpp runtime make file to release with debug info
cc1d513a51Martin Sjölund#2680 - Fix OSX OMEdit rpath
633502d436OpenModelica Hudson[Janitor mode] Fix whitespace
9728563786Niklas Worschechfix typo in Cmakefile, fix in kinso for NAN in residum
5afa9fb9b8OpenModelica Hudson[Janitor mode] Fix whitespace
e2868d3872Volker Waurich- check initEquations for states when updating varKind
3985a57e33Lennart Ochel- experimental support of overdetermined initialization problems
397663485aOpenModelica Hudson[Janitor mode] Fix whitespace
5172cf2004Volker Waurich- extended partial function evaluation for various statement types - some bugfixes
e4b991a161Niklas Worschechadded cmake function to create precompiled header for cpp runtime for gcc
b2da5dd3f6Martin SjölundAdd new API call for OMEdit to query valid config flag options, like `getConfigFlagValidOptions("profiling")`
6b3ea471c5Martin SjölundAdd new API call for OMEdit to query valid config flag options, like `getConfigFlagValidOptions("profiling")`
0241f4c368Martin SjölundGCC fix
3949791c01Martin SjölundFix for gcc
582a9886c7Martin Sjölund- Transpose the profiling data for faster reading - Split into 2 files: uint32 and double in split files to transpose them easier - OMEdit can read the data, but the transformation widget has nowhere to display the graphs yet - Some minor fixes for equations that were not profiled - Handle profiling of noretcall
8502e45d52Martin Sjölund- Transpose the profiling data for faster reading - Split into 2 files: uint32 and double in split files to transpose them easier - OMEdit can read the data, but the transformation widget has nowhere to display the graphs yet - Some minor fixes for equations that were not profiled - Handle profiling of noretcall
67ddee0bb6Marcus Walther- removed scorep-tracing-commands
8af25fc122OpenModelica Hudson[Janitor mode] Fix whitespace
c6e18be68bMartin SjölundWindows fix
962072d3d6Niklas Worschechfix in cpp template for heatlosses example
1a2c36b428Per Östlund- Got rid of some Clang warnings.
cd7688364fOpenModelica Hudson[Janitor mode] Fix whitespace
39a749e451Niklas Worschechfix in Kinsol of cpp runtime
9eb9cbf214Martin SjölundMove some things around for OMNotebook to use source files from within OMEdit...
fed79a635bMartin SjölundMove some things around for OMNotebook to use source files from within OMEdit...
01efb2c4c2Martin SjölundMissing file in OMNotebook
654a0b7bc2Martin SjölundMake profiling open up the transformations browser
1c0f99d557Marcus Walther- some scorep-tracing commands added for performance-analyzation
3f070954eeOpenModelica Hudson[Janitor mode] Fix whitespace
5147fd983cMartin Sjölund- Change +d=measureTime to +profiling=none,blocks,all,blocks+html - Code generation switches between blocks and all equations - rtclock.h can now keep track of the overhead of calling the tick and tock (used to reduce the cost of very simple equations) - Handle assert(false) as the only statement in a function (skip reporting unassigned values) - Remove inline equations from the runtime - Started using the enumeration instead of integer constants all over the simulation runtime - Skip displaying non-linear equations in both top-level and as a child in the OMEdit transformations browser
9eece3acc9Martin Sjölund- Change +d=measureTime to +profiling=none,blocks,all,blocks+html - Code generation switches between blocks and all equations - rtclock.h can now keep track of the overhead of calling the tick and tock (used to reduce the cost of very simple equations) - Handle assert(false) as the only statement in a function (skip reporting unassigned values) - Remove inline equations from the runtime - Started using the enumeration instead of integer constants all over the simulation runtime - Skip displaying non-linear equations in both top-level and as a child in the OMEdit transformations browser
f0a2ed8bacNiklas Worschechfix for some array functions in cpp template and cpp runtime
1524561f0fMarcus Walther- fix hpcom test
df20622184OpenModelica Hudson[Janitor mode] Fix whitespace
75df3a97f9Volker Waurich- fixed bug at partial function evaluation
a9c8b63780Marcus Walther- try to fix bootstrapper
88993e1149OpenModelica Hudson[Janitor mode] Fix whitespace
cbac82356fMarcus Walther- fix for previous commit
f55a25cb90Marcus Walther- HpcOmSimCode -> HpcOmSimCodeMain - HpcOmMemory-module added for memory optimizations - simple renamings in HpcOmTaskGraph - checkCodeGraph function added for validations - RDTSC() clock is now available for linux-systems - fixed Analyation-mode for the cpp-runtime
ee1e767f1fOpenModelica Hudson[Janitor mode] Fix whitespace
9779788986Volker Waurich- rewritten ifStmt - prediction
fd0c1608ddMahder Alemseged Gebremedhin+ Fix bootstrapping.
91f6ff41d6OpenModelica Hudson[Janitor mode] Fix whitespace
090bdf63bfOpenModelica Hudson[Janitor mode] Set auto-props
5c93afc09aMahder Alemseged Gebremedhin+ Added the task graph implementations.
a7a5c11fd3OpenModelica Hudson[Janitor mode] Fix whitespace
de667642edVolker Waurich- rewritten evaluation of if statements - removed some unused stuff in EvaluateFunctions.mo
ff516f6091OpenModelica Hudson[Janitor mode] Fix whitespace
42ce73752aMarcus Walther- added kinsol support to ANALYZATION_MODE - simple scorep-trace macro for cvode-initialization added
1b251bed45Adrian Pop- use normal malloc / free as GC_malloc seems to have issues
deb3809f5eAdrian Pop- crappy MSVC compilers do not know stack array of size given by input argument
db5f42d029Adrian Pop- give build/lib/omc to -L on Windows - copy libqjson.dll* to build/bin so that OMEdit can find it
1da8afabd5Martin SjölundImprove make clean
8337c897bdMartin SjölundFix the include directory
5145f408b0Martin SjölundSome improvements to make qtclean
0ca4136f44Martin SjölundWhen running the profiler, also output a smaller prof.json in addition to the xml - The OMEdit transformations browser will now look at the prof.json and display a summary for the profile blocks
b9c8d32df2Martin SjölundWhen running the profiler, also output a smaller prof.json in addition to the xml - The OMEdit transformations browser will now look at the prof.json and display a summary for the profile blocks
67b87e28ffOpenModelica Hudson[Janitor mode] Fix whitespace
61dfb88ae0Volker Waurich- update partial function evaluation
e5e79f27e2Adeel Asghar- Added variability, initial & derivative attributes for ScalarVariable tag for fmi 2.0 modelDescription.xml file.
3e723dcbfeMartin SjölundAvoid using the susan_codegen directory since it does not use the configured OMC
b93d35ef49OpenModelica Hudson[Janitor mode] Fix whitespace
f67bc64f49Volker Waurich- added debug dump flag for partial function evaluation - fix for removing replacements in tuple assignments
90ba752ba4OpenModelica Hudson[Janitor mode] Fix whitespace
caa8811cc1Volker Waurich- added function to output the SimCode.SimEqSys for a given var index
b0600d6ed0Niklas Worschechmodified Kinsol for cpp runtime (fix for NaN)
23d2543fc4OpenModelica Hudson[Janitor mode] Fix whitespace
d6e70f57d1Volker Waurich- update varKind after partial function evaluation
5490f3b68cMartin SjölundFixes #2675 (functions returning function pointers)
70820de483OpenModelica Hudson[Janitor mode] Fix whitespace
6324d8f03ePer ÖstlundFix for #2642: - Rewrote handling of builtin attributes to be less repetitive. - Added detection of duplicated modifiers on builtin types.
18d6156cb2Martin SjölundReplace measureTime=true with +d=measureTime in buildModel/etc - Fix code generation for profiling of function calls (was disabled) - Fix the counter for number of profiling blocks so the profiling now includes the measured blocks again
be7769ae87Martin SjölundReplace measureTime=true with +d=measureTime in buildModel/etc - Fix code generation for profiling of function calls (was disabled) - Fix the counter for number of profiling blocks so the profiling now includes the measured blocks again
7aebf91c35OpenModelica Hudson[Janitor mode] Fix whitespace
6ae89c3379Volker Waurich- some fixes for tuple statements in partial function evaluation
e9abc0059cOpenModelica Hudson[Janitor mode] Fix whitespace
09b5ee3fc5Niklas Worschechmodified Kinsol for cpp runtime
decae7ffc1Martin SjölundCannot refactor everything that the compiler gives notifications about
909f51a4ddMartin SjölundFix for libraries that begin with the same prefix
1302eba4e4Martin SjölundFix info.json-file - Generate all equation kinds - Tested by parsing all generated json in the testsuite - Generate function names
dc89026cd0OpenModelica Hudson[Janitor mode] Fix whitespace
f3cfdd2087Per ÖstlundFix for #2644: - Make iterators have precedence when evaluating interactive statements.
263877e19eNiklas Worschechadded array functions for promote,transpose, create_from_shape
227a29bfabVolker Waurich- fixed getSimEqsOfSimVar for state variables
8128b724ceOpenModelica Hudson[Janitor mode] Fix whitespace
f2352478f4Lennart Ochel- add EquationKind to BackendDAE.Equation
deae72268aOpenModelica Hudson[Janitor mode] Fix whitespace
05a47013f2Adeel Asghar- Added ModelVariables tag for fmi 2.0 modelDescription.xml file (not complete yet).
cc344daebfPer Östlund- An empty matrix is always constant.
599f6c777aVolker Waurich- some features for partial function evaluation: cast support, expand tuple equation
b4466e2f80Per Östlund- Fix tests.
abe375db2dPer Östlund- Fix rml compilation.
bfefaaa451Per ÖstlundFix for #2668: - Fixed simplification rule for matrix +/- array so that it doesn't swap lhs and rhs. - Some optimizations for ExpressionSimplify.
7d6b0fb2c1Niklas Worschechfix for Kinsol in cpp runtime, added scaling of variables vector
536a88f9b9Adeel Asghar- Validate the FMU version argument.
0a4d7edfb1OpenModelica Hudson[Janitor mode] Fix whitespace
e72c964b6fNiklas WorschechFixes for KinSol in CPP Runtime (now default)
f7daf5c2baMartin SjölundCXX=$(CXX)
d0ce701221OpenModelica Hudson[Janitor mode] Fix whitespace
3bb32eb967Adrian Pop- replace list with Env.Env - FFrontEnd: * add names for edges * resolve component types after constrainedby and class extends
6bcf8a5c2eOpenModelica Hudson[Janitor mode] Fix whitespace
bdc2615d4fAdrian Pop- some small fixes and changes
5c052ac6aaAdrian Pop- propagate build flags! - add more deps
253787831fAdrian Pop- more dependencies.
f434642820Adrian Pop- more linking
3631fc065aAdrian Pop- bah, of course the freaking bootstrapped stuff needs to be different.
b5e40d0088Adrian Pop- add proper dependencies for GraphStreamExt*.c* - import Util, duh
6542024518Adrian Pop- fix Linux build - call the viewer from share/omc/java, not 3rdParty
237be590a5Adrian Pop- actually build libnetstream.a on Linux.
e8198d33f7Adrian Pop- include unistd.h for sleep
a4e635a53fOpenModelica Hudson[Janitor mode] Fix whitespace
6350211199OpenModelica Hudson[Janitor mode] Set auto-props
4f9d823d70Adrian Pop- display graph on the fly via GraphStream (later we can support Gephi easily) - some minor changes to FFrontEnd/ files - i guess Linux builds will break but i'll fix them
884cfb4214OpenModelica Hudson[Janitor mode] Fix whitespace
7b72abd2abMichael KloeppelFixes issues with some of the test cases
70778470b9Martin SjölundFix the broken merge of r20192 and r20194
79ac4334b4Martin SjölundRemove unused assignments
804a17570cOpenModelica Hudson[Janitor mode] Fix whitespace
29db969ac3Volker Waurich- next working status for partial function evaluation
670d4afd0dOpenModelica Hudson[Janitor mode] Fix whitespace
9be37e8be0Willi Braun - fixes for fmi-export(#2664) - removed ringbuffer usage - activated logging - fixed InOutTest testcase
405996641eMartin SjölundRemove some more unused bindings
102a3ad7ebAdeel Asghar- Added TypeDefinitions & DefaultExperiment tags for fmi 2.0 modelDescription.xml file.
84d622cd72Adeel Asghar- Added ModelExchange tag for fmi 2.0 modelDescription.xml file.
fd129449a0Adeel Asghar- Added model's description/comment to fmi 1.0 modelDescription file.
60e8e2a2dcAdeel Asghar- Generate the fmiModelDescription tag for fmi 2.0
0cd7e1d124Per Östlund- Type fixes for outerProduct.
07a0428b28OpenModelica Hudson[Janitor mode] Fix whitespace
1a29f88d51Martin SjölundUpdated the script to remove a few more unnecessary bindings
d159d9ffdfVolker Waurich- try to fix bootstrapper
65fb207952OpenModelica Hudson[Janitor mode] Fix whitespace
abee0671bfVolker Waurich- addded functions getSimVarsInSimEq and getSimEqsOfSimVar
4f87cb23afOpenModelica Hudson[Janitor mode] Fix whitespace
1c5fc4c4dfVolker Waurich- extended BackendMapping with matching information and dependency graph - added function getReqSimEqsForSimVar
d4bcfaa9c2Willi Braun - fixed #2667
530fedfefeOpenModelica Hudson[Janitor mode] Fix whitespace
63b588b143Per Östlund- Some cleanup of SCode.
876732ada2Martin SjölundAlso ignore git directories
62d4c2117bOpenModelica Hudson[Janitor mode] Fix whitespace
a5e8d5c36fOpenModelica Hudson[Janitor mode] Fix whitespace
448352e92aOpenModelica Hudson[Janitor mode] Fix whitespace
f30c28d319OpenModelica Hudson[Janitor mode] Fix whitespace
a8d62d9e69Martin SjölundMake hudson trim trailing whitespace in addition to replacing tabs with spaces - rtest was updated to allow whitespace at the end of a line
7331c110b9Lennart Ochel- move InlineSolver.mo to Compiler/Unused/
b5b94854a7Volker Waurich- added SimCode.BackendMapping to store mapping information between backEnd structure and simCode structure
4a0fb3ffebAdeel Asghar- Generate separate include folders for fmi1 & fmi2. - Create a definition & make file for fmi2.
8f66424d91Adeel Asghar- Added fmu version argument to translateModelFMU (by default version is 1. Version 2 is not fully functional yet.) - Copy fmi2 files. - Started creating a modelDescrition.xml file for FMI2.0
4103dcb4a2Adeel Asghar- Trim the whitespace.
d227c75e55Adeel Asghar#2666 - Handle %par, %name, %class & %% in the text annotation in a more better way.
454d886b32Martin SjölundUpdated the parsing of info.xml - Does not add a name for equations anymore. Added indexes to simulation xml output instead. - Does not need a hashtable lookup from string to variable (we just store a list of variable names since that is all we used it for)
479bd37349Martin SjölundUpdate OMEdit copyright notices
c1e3cd2381Martin SjölundStrip out some old copyright notices on donated code
8ace1b5a91Jan KokertCorrecting mail address in readme
72567e0622Martin SjölundSkip assertion
e01dca8b41Martin SjölundFix bad typo
568de058cdMartin SjölundActually pass a struct...
5d4cc5af02Martin SjölundImprove code readability
08493ff8d5Martin SjölundRe-run susan to remove copyright notice...
fa54533744Martin SjölundUpdated copyright notices to 2014 - The script uses regex to update copyright notices since we have different years in there
aad940631eMartin SjölundUpdate license headers
a54fce9f54Martin SjölundDisable SerializeModelInfo until we update the bootstrapping tarball
21476b875eMartin SjölundFix unparsing of newlines in string comments
863ecbb33dMartin SjölundUpdate runtime code to OSMC-PL 1.2 runtime license (BSD 3-clause, GPLv3, or OSMC-PL conditions)
dd13b0aa04Martin SjölundRML fix
c1eae01c53Martin SjölundVarious fixes - Fix bootstrapping - Fix unparsing of string comments - Update OSMC-PL header in Compiler/*/*.mo
62f4a2e3e1Per Östlund- Handle caching of function type instantiation better.
80df834a3dPer ÖstlundFix for #2662: - Remove equations and algorithms from base classes too when instantiating a function type.
c8275d3fecMartin SjölundComment out import like I intended to
1eaa01350fMartin SjölundSwitch the msgpack serialization for JSON using Util/File.mo
f99bd9a742Adeel Asghar- Update the model source code when line annotation is updated.
5b8623521aJim NutaroUpdates and fixes for the Adevs backend
a42b035a31Leonardo Laguna- Adds List.fold3r function
483c72e2f8Per Östlund- Fix configure.
8410870ec5Willi Braun - fix non c89 comments
b9be1dfcdeWilli Braun - added some white lines to dumpeqninorder to make it more readable
61edba131bWilli Braun - added differention rule for DAE.WILD()
97a7c2a584Michael KloeppelChanged step sizes in numeric evaluation of the Jacobian
3206e8e2fcMartin SjölundAllow external objects to be passed in polymorphic function calls
c15067e493Adeel Asghar#2626 - Support fmiset* and type generations for the co-simulation FMUs.
931b061412Martin SjölundImprove error-message for type mismatch in function calls when there is only one candidate function
823982233eMartin SjölundCheck the path without +d=failtrace
39d0daee6aMartin SjölundOnly run templates if the omc executable exists
fcd664742eMartin SjölundUse the nolink target
5890f748b7Adeel Asghar#2623 - Use the extracted FMU path for resources.
6498a4c965Volker Waurich- do not take all useless statements in the partial function
ac1d0e91aeMartin SjölundOSX fix
0b9695ef3cWilli Braun - added zero cases for differentiation rule of pow
98a0a9ff00Adrian Pop- if -lcdaskr is part of -lSimulationRuntime remove it from config.h Windows linking flags!
a19abcad4aPer Östlund- Functions are also classes.
0da4280546Martin SjölundUpdate Absyn expression traversal - Takes two arguments instead of a tuple (to reduce the number of allocations) - traverseExp now just calls traverseExpBidir (with one argument being a dummy function) - This means some expression types not handled by traverseExp now works (like traversing match expressions) - Some fixes for using external objects in polymorphic functions
2cbc4481e3Volker Waurich- optimized replacement management in partial function evaluation - changed BackendVarTransform.removeReplacement, it only needs a key and not a replacement
4c4d7061bdMartin SjölundSince we use a static version of cdaskr, do not put it in build/lib/omc - We now put it inside the libSimulationRuntimeC.a object (it was already statically linked into the shared object versions)
4c5375f2d2Adrian Pop- fix the debugger on Windows: the filenames changed to form: X:/path/to/file.mo instead of X:\path\to\file.mo due to some changes on handling realpath.
80dc8da809Adrian Pop- another attempt to fix OSX build
094125f164Adrian Pop- fix CPP runtime compilation on MinGW (static libcminpack.a on MinGW)
5da5b04692Adrian Pop- attempt a OSX build fix
1b661e9bddAdrian Pop- fix Windows MSVC stuff in SimulationRuntime/c/math-support/CMakeLists.txt as some files vanished
f66d1b88a7Adrian Pop- attempt to fix non-Windows builds
afb13111c6Martin SjölundFixed a bug where a polymorphic function input is a function variable returning two values, one of which is of polymorphic tuple type
cb9febeca6Adeel Asghar- Link with static lib of CMinpack for Windows.
5e248e5663Adrian Pop- attempt to fix Windows build (vasprintf)
1f888988ddWilli Braun - switch non-linear solver hybrid from f2c version to cminpack version. - fixed some issues - removed old f2c version from math-support
5f020a04d8Volker Waurich- added function BackendVarTransform.removeReplacement
31e17f0975Volker Waurich- added debugflag implOde to activate implicite codegen
0783070fe1Martin SjölundAdd missing file
9c895fb5abMartin SjölundError handling updates - Strip trailing whitespace from error-messages (error-messages add a trailing newline by default; we do not want 2 of them) - Register Modelica*Error functions in ErrorExt.mo (for the bootstrapped compiler) - This means we can use Modelica libraries and simply treat ModelicaError in an external function as Error.addMessage + throw()
0672a5a900Martin SjölundAdd logotypes without need for having the correct fonts installed
798eb008a7Martin SjölundIncrease margins
df5e737199Adeel Asghar- Generate the multiple type definition code only once.
0adf6b6d88Volker Waurich- push next working status of partial function evaluation including: - correct path names for new functions - prediction of if-outputs with not-evaluable cases
a6b57e5a45Martin SjölundDo a real string unescape for the Include annotation
9941187ddfVolker Waurich- preserve the element type in DAEUtil.varCref - added function DAEUtil.getTupleExps
ee92903fa1Adeel Asghar- Use the mapping function to convert integer to enumertation for generated Modelica code from FMU.
8956c5d107Martin SjölundAdding new DAE.Element: INITIAL_NORETCALL (for initial equation sections)
280dea420bLennart Ochel- fix typos - add functions to dump matching information
55169d2052Adrian Pop- rename impure to impure_
8eba766184Martin SjölundUpdated the MessagePack implementation. - It handles everything now, but size is not much less than JSON due to being mostly maps and strings so I might re-implement it
a56f496d17OpenModelica Hudson[Janitor mode] Fix tabs
acc25bf276Willi Braunadded a damped newton heuristic
629c114ca2Per Östlund- Fix bootstrapping test.
b67654fd8ePer Östlund- Attempt to keep RML happy.
0d2aecdea2Per ÖstlundFix for #2556: - Implemented support for qualified crefs as external function arguments. - Removed Static.isTuple (duplicate of Types.isTuple).
62ae247706Vitalij Ruge- fixed LOG_IPOPT_ERROR
4608a24aaeVitalij Ruge- improve update model data in optimization - improve initial guess for inputs - fixed constant initial guess
1e5cdab035Lennart Ochel- fix typo
1aaf77d607Michael Kloeppel- fixed bugs in algorithm, which prevented the efficient solution of linear systems
4946a97b37Vitalij Ruge- improve update model data in optimization
3b5662aca2Patrick Marcel Taeuber- remove unused inputs
a0e5c7f2ddAdrian Pop- fix Cpp FMU handling on Windows: use mkdir.exe instead of mkdir in the makefile Compiler/Template/CodegenFMUCpp.tpl - better English in the error message about state select uniqueness: * SimulationRuntime/c/simulation/solver/initialization/initialization.c * SimulationRuntime/cpp/Core/SimController/Initialization.cpp - small comment fix in SimulationRuntime/c/simulation/solver/stateset.c
9cad2f6be2Adrian PopFix bug: #2655 - check if the externalInput.csv is empty and exit if it is. - remove externalInput.csv in testsuite/simulation/modelica/solver/Makefile before running the tests.
34093c181eVitalij Ruge- improve evaluation of mayer term
d2792b2958Vitalij Ruge- improve evaluation for hessian in optimization - objective function
86525841ffVitalij Ruge- improve evaluation for hessian in optimization
f6a8c9a955Martin SjölundMaybe libgc.so not depend on mkbuilddirs since that makes it perform the copy even if it was not needed
449b40cb2eVitalij Ruge- improve evaluation jacobian,gradient in optimization
20e2c3d8a6Adrian Pop- revert r20005 and r20009 as previous duplicate definitions from daskr are now prefixed since r20024
c6c2b6fdb7Willi Braun - revert r20006
0560a88cb5Willi Braun - updated the daskr package (added a prefix to all functions)
3bcd2165c2Lennart Ochel- keep tolZS > 0
af01810a48Martin SjölundMove the Modelica3D headers into the library instead of directly in the omc includes
bee0999ddeMartin Sjölundextern "C" ifdef to ModelicaUtilities
3f42307dd9Niklas Worschechadded getNominalReal to Algoop interface and hybrj solver in cpp runtime add empty as output format to cpp runtime time and cpp template
483db26f2bLeonardo Laguna- Removing duplicated type declaration (breaks my code analyzer)
00541ba18fVitalij Ruge- restructure data for optimization - fixed indices for nonlinear constraints
b2e8146aefMartin SjölundUpdate to the modelica.org version of ModelicaUtilities.h
1418a0e8f6Volker Waurich- function evaluation of tuple-functions, removeSimpleEquations after function evaluation, fixed bug with missing statement - updated tests - added function Expression.isTuple
84136718ffAdrian Pop- change the order of libraries with duplicate symbols when linking otherwise the solver cycles forever. - use tee in windows testsuite
edc5e21475Martin SjölundRemove dlinpk.c since the nightly builds complain about duplicate symbols
b236ab8679Willi Braun - fix cppruntime
e3cc6738d3Adrian Pop- fix Windows simulation file linking: * add -Wl,--allow-multiple-definition because -lblas-mingw and -lcdaskr contain the same symbols * any other ideas on how to fix this? forcing allowing multiple definitions is rather bad
8f75537f71Adrian Pop- remove removed files from CMakeLists.txt
e1bc34a374Martin SjölundUpdate cdaspk with fixes for printing strings that are not NULL-terminated
66da2af5c0Martin SjölundMake sure we use the new dassl by not linking in the old files (removed from svn to make sure)
1f16b0415fMartin SjölundFix static analysis warning
50d55a606bAdrian Pop- last ditch effort on trying to be clever
46dbc85731Adrian Pop- va_list is implemented in so many ways in different compiler, skip initialization as it doesn't work on all platforms.
c59b99dce3Adrian Pop- fix Linux builds ... duh!
a802444d27Adrian Pop- fix Windows build: the order of imports matter somehow.
cd12582fd5Willi Braun - changed order of linking libraries
7e332fbd3aMartin SjölundVarious fixes - Expression.typeof now handles match expressions - Changed DAE.SOURCE.instanceOptLst is now instanceOpt (we only ever stored a list of 0 or 1 NONE() or SOME() element) - Fixes in the runtime for C++ compilation (extern C) - Updated MessagePack implementation
08d64f0b0eLeonardo Laguna - Minor fix to uncertainties code
8dcadeafcbOpenModelica Hudson[Janitor mode] Fix tabs
c5b1d0ff9eWilli Braun - switch to newer dassl version (daskr without f2c) from 3rdParty - rename LOG_DASRT to LOG_DASSL
61ac42694aAdeel Asghar- Handle the enumeration types in the Modelica code generated from FMU.
837128c1cdVitalij Ruge- improve step size for numerical hessian
51904e4086Martin SjölundFix bootstrapping
161dc48955Martin Sjölund- Only consider two records type-compatible if they have the exact same number of elements - For code generation, sort record elements so it is possible to pass records to functions without casting them (cast is a no-op)
953b0a5161Adrian PopFix bug: #2650 - proper prefixing of outer when you have same name several times in the prefix. - added testsuite/flattening/modelica/scoping/InnerOuterSamePrefix.mo
27323cf2c3Adrian Pop- re-enable MessagePack.mo and SerializeModelInfo.mo as now they work on Windows. - link with -lmsgpackc
e30ddd06c4Martin SjölundUpdate msgpack-modelica.h for Windows
190f34b814OpenModelica Hudson[Janitor mode] Set auto-props
306e9d3aabAdrian Pop- delete all unused files - add README.txt
efd6fa0d3aAdrian Pop- fix Compiler/boot for Windows (seems to work OK now) * propagate the $defaultMakefileTarget as is different for Windows/Linux * use forward slash in Parser.parse filenames * remove MessagePack.mo and SerializeModelInfo.mo from Compiler/boot/LoadCompilerSources.mos as they are *not portable* yet - add FFrontEnd files to the compilation * add builtin graph creation to Builtin.mo * add calls to FInst in CevalScript.mo
a66c321c7cAdrian Pop- cheat the dependency analysis to get non-separate bootstrapping compilation working. - how did it worked before??!!
873860c94cWilli Braun - belongs to r19965: adjust also numberOfIntervals
f54776b698Adeel Asghar- Some fixes for TypeDefinitions code generation.
60a8ecaa17OpenModelica Hudson[Janitor mode] Fix tabs
510bdf5cd9Adeel Asghar- Support TypeDefinitions when importing the FMU.
726545cd14Martin SjölundHandle NORETCALL for reduction expressions
16192f6df6Adrian Pop- properly include omc_msvc.h on all paths so we have OMC_INLINE defined!
a8438dccdbAdrian Pop- fix Windows build: include omc_msvc.h and use OMC_INLINE instead of inline
54c7e9d985Willi Braun - fixes for #2648 - added a threshold for minimal step sizes. - skip steps after a sample event, if the normal output point and the sample events time point are equal - added a header with some epsilons
d9e8715831Martin SjölundAdd times for reading init.xml and info.xml to the stats
a5046fd4fbAdeel Asghar- Fix build.
1ce25d1a37OpenModelica Hudson[Janitor mode] Fix tabs
d9b5fe6de1Martin SjölundRefactoring: Remove some unused as-bindings
d3f12f6b93OpenModelica Hudson[Janitor mode] Fix tabs
7550ab732eAdeel Asghar- Generate TypeDefinitions in the FMU modelDescription xml file. - This might break FMI tests.
9c14b99378Patrick Marcel Taeuber- deleted redundant functions in Tearing.mo - renamed Cellier-tearing from "tearingSystem1_1" to "CellierTearing" - set default heuristic for Cellier tearing to MC3
ac9e008aa6Michael KloeppelFixed a typo which prevented the usage of the metis library when ./configure --with-METIS=DIR is used.
b0c8f3e6c1Martin SjölundRemoving dead statements with the script
1a84f6f89aMartin SjölundPrint the number of compared signals for verified results
f2aa445920Martin SjölundSome more inlining for arrays
33c7044f28Adrian Pop- fix coding style
0e76eb587cAdrian Pop- partial commit FFrontEnd, more to come
6295251596Martin SjölundWhy???
86bee880fcMartin SjölundDon't pretend you are in svn, HpcOmSchedulerExt.unix.h.in
2a98995f5bMartin SjölundCleaning up HpcOmSchedulerExt
85b63ea5efMartin SjölundConvert matchcontinue to match
a6c53f6c6aMartin SjölundFix stringUpdateStringChar by writing the 0-char at the end...
5e17f81c54Martin SjölundFix string_array code to match code generation
72388bc6e1Adrian Pop- way faster matrix creation (speedup of about 50% for some AVM models) - when using Boehm GC do not explicitely call GC_collect_a_little during simulation
ad5d5dff16Martin SjölundAdding a newer version of the refactoring script to Compiler/boot/refactor-fix-notifications.py - It is now a python script - It now checks that code compiles after performing the operations - Only the matchcontinue-to-match is performed at the moment
31852a8cc4Adrian Pop- fix Windows build: WE DO NOT RUN configure on Windows! - rename HpcOmSchedulerExt.h.in to HpcOmSchedulerExt.unix.h.in - create a new file HpcOmSchedulerExt.h that includes HpcOmSchedulerExt.unix.h for anything but Windows
299f738036Willi Braun the evaluation of zerocrossings take now only needed equations into account - less equations are needed to evaluate function_ZeroCrossings, not the whole rhs) - Modelica.Fluid.Examples.Tanks.EmptyTanks.mos works again
b7e5c39da5Willi Braun - fixed output of execstat
812018ad77Martin SjölundRML fixes
053a3631e0Martin SjölundAdd various warnings if you try to compile with non-free packages
ac620a62f2Martin SjölundFix code generation for TSUB(ix=2) and similar
efb0251521Volker Waurich- fixed bug at evalConstFuncs when adding various constant functions
77f8d9ab93OpenModelica Hudson[Janitor mode] Fix tabs
a565e5d6adMichael KloeppelAllows to link against an existing metis or patoh library using ./configure --with-METIS=DIR or --with-PATOH=DIR These libraries can then be used as schedulers in the HpcOm module.
72d818bf72Martin Sjölund- Handle boxptr function with NULL arguments - Generate a temporary for tuple pattern-matching to avoid calling a function twice
f326687695Martin SjölundChanging the way functions are generated - No struct is returned. Outputs 2..n are passed by reference - We could implement isPresent in code generation if we wanted to now (but it was removed in Modelica 3.0) - Many array functions now take a value as input instead of pointer - Since we no longer generate a temporary for all called functions, we cannot pass the pointer of a temporary to the function - Most of the simple array functions should be inlined or macro'd and common functions moved to base_array.h - Fewer temporaries should be generated now. The compressed tarball is ~20% smaller - NORETCALL statements in match-expressions now remove statements without effect (`_ := boolAnd()` and the like can be optimized away) '''''Do make clean, especially if using 32-bit omc'''''
87d0fc3435Niklas Worschechupdated cpp runtime tests
83c8ea93b2Volker Waurich- added additional index to the pathname for the new partial function
188af0ad9eLennart Ochel- use named qualifier
2b046f6785OpenModelica Hudson[Janitor mode] Fix tabs
70d62e5891Patrick Marcel Taeuber-added information what tearing is used for to tearingdump (e.g. simulation, initialization,...)
b62f02cf8dPer ÖstlundFix for #2643: - Remove default values on record members if the are given a binding by a modifier.
970ddecc3eVitalij Ruge- improve num hessian
866f0a0d0dAdeel Asghar- Do not insert the ENUM comment in the XML file.
8b6168a7d4Volker Waurich- moved partial function evaluation to EvaluateFunctions.mo
b7260c7f23Volker Waurich- added function Expression.isNotComplex and ComponentReference.crefInLst
3f9172d566Vitalij Rugefixed memory leak in scaling
e2345a558fVitalij Ruge- restructure data for optimization (continuing) - using stored alg vars for initial guess
29ce82eaccOpenModelica Hudson[Janitor mode] Fix tabs
8edde0ca45Niklas Worschech - add cat_array and sum_array to cpp runtime
1fffee0cddVitalij Rugesome fixes from static analysis
39c217e00dVitalij Ruge- some fixes from static analysis
d52ecece23Martin SjölundFix UTF-8
efa43eee17OpenModelica Hudson[Janitor mode] Fix tabs
7810c24803OpenModelica Hudson[Janitor mode] Set auto-props
550af6e1bcAdeel Asghar- Almost empty template for FMI2.0 export.
16e495b22fVitalij Ruge- independent memory for constraints,objective, alg vars in optimization
9c65724594Vitalij Ruge- added helper var - counter for collocation points
45b9a39f35Vitalij Ruge- independent memory for gradient in optimizatio
5b56d62aa1Vitalij Ruge- independent memory for jacobian in optimization
1b0cfe6292Vitalij Ruge- Removed unused variables in optimization - restructure data for optimization (continuing) - diminsion counter for all variables - default value for gradient
2eb4aaf32eVitalij Ruge- improve numeric in hessian
19e43c422bMartin SjölundFix the broken tests by outputting error messages thrown when trying to find zero crossings
2cac3cabbcAdrian Pop- properly fold (don't loose stuff) when traversing SCode.ALG_IF in SCode.traverseStatements2
016bd45120Vitalij RugeRemoved unused variables in optimization
8db0752005Vitalij Ruge- restructure data for optimization (continuing) - derivations - fixed small bug in sparse structure for hessian
7eb7b66dfbVitalij Rugeimprove scaling, thanks Kshitij Kulshreshtha
aa117f8e14Vitalij Ruge- restructure data for optimization (continuing) - scaling - improve scaling - added helper var for interim results
93b83f3ba6Adrian Popvoid function should not return 0!
b9336a5236Vitalij Ruge- Removed unused variables in optimization
9cd5abaa43Martin SjölundFix compiler warning
5154bd76faVitalij Ruge- restructure data for optimization (continuing) - bounds
cfb70f6b5bAdeel Asghar- Renamed the interface file to avoid conflicts.
9795b80fa3Adeel Asghar- Fix fmi path for msvc simulation runtime.
0dcdffc98dAdeel Asghar- Forgot to move files in the last commit.
7e3bb357a2Adeel Asghar- make separate folders for fmi versions.
c6cf635a55Vitalij Ruge- restructure data for optimization (continuing) - helper pointer for collocation
9c0a69e393Volker Waurich- try to fix bootstrapper
a2ba67d2d9Adeel Asghar- Fix Linux build
a6e0d46d01Vitalij Ruge- rm unsused variable in optimization - fixed preSim flag in optimization
d4a4718ac9Vitalij Ruge- restructure data for optimization (continuing) - structure Jac, Hessian
4c7331d33fVolker Waurich- push current status of partial function evaluation
90060e53d0Volker Waurich- added some frontend-functions and some dump functions
6e21dee7dfVolker Waurich- added function List.filter1OnTrueSync which does the same filtering synchronously on a 2nd list
f79e10301cAdeel Asghar- Kill old FMI import.
bcbb3063deVitalij Ruge- restructure data for optimization (continuing) - time vector
5e6b3cdd0bAdeel Asghar- Removed the old FMI import implementation.
eb9728ee82Vitalij Ruge- restructure data for optimization (continuing) - poly coeff
3954a9fe80Vitalij Ruge- restructure data for optimization (continuing) - time grid
fce0e09b24Vitalij Ruge- restructure data for optimization (continuing) - quadrature weight
b8e6fa3e19Martin SjölundSome fixes from static analysis
434954c29dMartin SjölundUse noreturn attribute also for cppruntime
ce8190e8e9Martin SjölundFix for some rpm-based Linux
eacff81a90Martin SjölundFix compilation errors
a424099c63Martin SjölundSome -Werror fixes (including missing headers, making sure noreturn functions never return)
6fba80d30fMartin SjölundFix return type
1e135bfb6cAdeel Asghar- Fix OMPlot compiler warnings.
1142ca2257Per ÖstlundFix for #2366 and #2640: - Implemented evaluation of default arguments in function calls.
3bed792401Marcus Walther- simple changes in the makefiles to activate ANALYZATION_MODE more easily (Part 2)
8d9131fae5Marcus Walther- simple changes in the makefiles to activate ANALYZATION_MODE more easily
75f20f7033Marcus Walther- fix for analyzation_mode on Linux
7a1582eb13Adeel Asghar- Set proper message for MAC.
15287c2f4cNiklas Worschech- fix in cpp template for function calls with state vars
546d17c1d0Marcus Walther- small fix for analyzation mode
8c06cc0302Adrian Pop- attempt to fix OpenModelica_BUILD_AND_TEST_CPP_RUNTIME job
68106d547dAdeel Asghar- Fixed OMPlot memory leaks and warnings.
3fa2e4665eAdeel Asghar- Fixed FMI memory leaks and warnings.
5815df4b56Adeel Asghar- Fixed OMEdit compiler warnings.
b1c5d8efd3Vitalij Ruge- rm num_diff_symColoredObject
763bcb5d3dMartin SjölundFixed some compiler warnings
ae68302673Martin SjölundFixed some compiler warnings
3ac1b311adVitalij Ruge- restructure data for optimization (continuing)
d27f938e50Martin SjölundUpdate installation instructions
9ebfb741adVitalij Ruge- starting restructure data for optimization
eccb8ebf1cVitalij Rugeimprove code for optimization based on (updated )static analysis, thanks Martin
3af86b8d95Martin Sjölundclang analyzer does not like reasoning about struct pointer member variables, so fix false positive
5268a63400OpenModelica Hudson[Janitor mode] Fix tabs
b5b0cda645Patrick Marcel Taeuber- Added some tests for new Cellier heuristic - deleted interface TearingMethodFunction
0b817b6342Marcus Walther- improvement for level-scheduling added (is not working with mingw at the moment)
326a4347b0Martin SjölundFix petrol test
13f3f2c956Vitalij Ruge- improve solver_main.c code based static analyses, thanks Martin - added missing SOLVER_LOGs for solvers
bc1af67835Martin SjölundAdded targets to handle runtimeCPPinstall dependency on msl-external-libs
e31f3af029Vitalij Ruge- improve solver code based on static analyses
81ab0f3433Vitalij Ruge- improve code for optimization based on static analyse thanks Martin
2b3a32a021Adrian Pop- handle DAE.CAST in SimCodeUtil.createNonlinearResidualEquationsComplex [fixes an issue in a model from Tom Short]
80b91b326fAdrian Pop- fix Windows build, ansi c
c83f3d09b1Adrian Pop- this one was not so useless as dirname can play with the string
0cb84096b4Adrian Pop- kill more GC nightmare code, move from getString() -> clearBuf -> printBuf to saveAndClearBuf -> restoreBuf
cc88faa4fcAdrian Pop- remove more useless GC_strdup
5d071643adMartin SjölundMove stdarg.h include
eb6fe37a42Martin SjölundIt's called modelica_integer_max, not int_max...
5a52d24f7cMartin SjölundAdd required includes
adb1b098a3Martin SjölundRML compilation
8331cb1583Martin SjölundCleaning up compiler warnings, generating code that should generate fewer warnings
f16bc7d306Martin SjölundGuard open_memstream better
471dd615a7Martin SjölundTypo
7207f27d6dMartin SjölundOSX fix
63ed05a883Martin SjölundFix OSX path
53bb71fe74Martin Sjölund- Look for msgpack headers in correct directory - Fix msgpack target dependencies
f8f300a763Martin SjölundAdd missing sources
44225e0b56Martin SjölundFix Patternm.mo ugly RML syntax
b01222b306Martin SjölundAdd non-symlink
716f7bc9d3Martin SjölundAdd a non-symlink of MessagePack.mo
0b2a0bd570Martin SjölundAlso add the missing include
5a7130c3c8Martin Sjölund- Removed unused Absyn/SCode/DAE.TRY/THROW/CATCH ('''make clean''' is recommended) - Changed the filtering of unused as-bindings to also check assignments to local variables, and catch a lot more occurances (earlier if a variable was used in any case it was not removed from cases where it was unused) - Added MessagePack.mo and SerializeModelInfo.mo to the bootstrapped compiler sources. - They are not called from any package, and do not work with RML
3300e29b0cAdrian Pop- remove useless GC_strdup as the buffer will be copied yet again in *mk_scon
284ec25e7eAdrian PopMakefile.in - compile GC with --enable-munmap=5 to return the free pages to OS after 5 GC cycles - hopefully it works fine in Linux too
69437bbea9Adrian PopSimulationRuntime/c/util/string_util.c - proper type sizes for 32 bit - fix cycle in reading of csv file for test simulation/libraries/msl32_cpp/Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.mos
11261efee1OpenModelica Hudson[Janitor mode] Fix tabs
acf9488f4eJim NutaroCorrected code for initialization in the adevs backend
96d30c3f7bMartin SjölundFix some warnings
46bb5711a7Martin SjölundAdd runtimeCPP dependency
2e5aa8d768Martin SjölundCompile modelica3d with gcc instead of clang
a5be7e6c54Adrian Pop- kill GC nightmare code
d5d3490f27Martin Sjölundmatch new[] with delete[]
abdc145ae1Martin SjölundBetter fix than r19761
dcb3428969Martin SjölundMake a static variable to avoid returning a pointer into the stack frame
1636ff0823Martin SjölundFix dangerous VLA declaration
272656e4ddAdeel Asghar- MetaModelica array handling support for debugger.
e53b7a0394Martin SjölundAdding attribute noreturn to relevant ModelicaUtilities functions
1cafe93ca3Lennart Ochel- move ResidualCmp.mo to Compiler/Unused/
6aed0d0605Adrian Pop- revert r19750 as it generates exp(NaN * ...) in the C code This is the diff for the C code after r19750: - tmp498 = exp((NaN * fabs(v))); + tmp498 = exp((-754.1940416432905 * fabs(v)));
d4834ee5e3Niklas Worschechupdated cpp tests
ac2b965e42Adeel Asghar- Remove the unused definitions.
f72a266626Vitalij Ruge- missing rule
198232b404Adrian Pop- another attempt to fix the build.
e73c54bed3Adeel Asghar- Removed the extra implementation of realpath. - Better debugging function. Just use 1 instead of 4.
c98c79fd6fAdrian Pop- fix the emptyHashTable reference from the correct package.
b609b87ad2Adrian Pop- same package, don't use qualified references
98d89b4614Lennart Ochel- move function getArraySubs from SimCodeUtil to ComponentReference - move functions getZeroCrossings and getRelations from SimCodeUtil to FindZeroCrossings - make some functions from package SimCodeUtil protected
3ba34e3f51Martin SjölundFix dylib version
07a7ae95bbAdeel Asghar- Fixed Windows build. Added the required CFLAGS for msgpack.
afd3792079Martin SjölundClean msgpack on make clean
0f58b4f750Martin SjölundAdding makefile target to build libmsgpackc
ca6a66926fOpenModelica Hudson[Janitor mode] Fix tabs
807bc6fdaaMartin SjölundActually add the files the last commit was supposed to add...
20129a6a10Martin Sjölund#2641 Added a locale-independent version of strtod (taken from ruby)
72629c018bMartin Sjölund#2641 Added a locale-independent version of strtod (taken from ruby)
c11a138bebVitalij Ruge- guard again c<0 for sqrt(c*e) => c1*sqrt(e)
0b8cea1a8bVitalij Ruge- added rule for sqrt(c*e) => c1*sqrt(e)
77826cf11cAdrian Pop- avoid stringListStringChar like the plague in Util.stringReplaceChar (use System.stringReplace) - fix huge memory leak in System.stringReplace (basically the result was strdup-ed and never freed) - enable Boehm GC in MSVC. - still some issues with things like Util.xmlEscape as if the string is rather big (40Mb or so) we will run out of memory as Boehm GC will not kick in until the function returns as all the temps are on the local stack!
46bac05f42Adrian Pop- cleanup MetaModelica GC interface, remove obsolete files - use alloc atomic whenever possible - use alloc ignore off page for array allocation as they are quite big - register pointer displacement (0) and if RML_STYLE_TAGPTR is defined register pointer displacement (3) also
7049f60684Adeel Asghar- function to get all the information of the tuple element. Used by debugger.
fbf364c073Vitalij Rugeadded rule for (e * e1) * e => e1*e^2
83dd3edc49Martin SjölundGuard against str+str => 2*str
281b5e694fVitalij Ruge- fixed a + a = 2*a
ed42237c79Martin SjölundPrefer symbols defined in loaded shared objects over the ones in the executable - This prevents the bootstrapped compiler from using a local function, say List.map, when running a testcase that is supposed to test this function
340afbf03bVitalij Ruge- improve case 0/x for makeProductLst
46a684483cMartin Sjölund- Split +d=rml into 2 different debug-flags: +d=rml (transforms arrays into lists) and +d=strictRml (checks that the function inputs/outputs are in the same order as the match expression)
e024c4f2eaVitalij Rugeadded in makeProductLst two cases for x/0
a1d80593e6Adeel Asghar- function to get all the information of the option element. Used by debugger.
9b6b0f6403Adrian Pop- meta_modelica_real.* are gone.
c9800552ceMartin SjölundTry to fix Windows builds
b135fe8980Vitalij Ruge- simplifyBinaryCoeff -> checking for x/0 - fixed inverseFactors for 0/x (not possible 0/x)
ce485b04ecLeonardo Laguna- Adds wrapper function Dump.unparseElementArgStr needed by MathCore
d2cf3f9cc7Adeel Asghar- Added missing arguments.
fb64da956fOpenModelica Hudson[Janitor mode] Fix tabs
8b7ac24cc4Niklas Worschechupdated cpp runtime tests
15c63b4ab6OpenModelica Hudson[Janitor mode] Fix tabs
a03fe4eba0Willi Braun - simulation throw now directly an error if a non-linear system isn't solved proper
73eb44c749Martin SjölundFixes for 32-bit Linux - boxptr-functions return a struct containing the outputs. Even for built-in functions. - This also goes for regular boxptr-functions accessed in the external C run-time and parser
c745e93cebLennart Ochel- make function replaceExp protected
06e7b61da0Lennart Ochel- minor code simplifications
7876872daaMartin SjölundFixing boxptr for record constructors
fee49fb219Adrian Pop- more mmc_alloc_words_atomic for #if !defined(RML_STYLE_TAGPTR) - works much better in Windows where omc is a 32 bit process
811640ffb6Adeel Asghar- Set +d=initialization as default in OMEdit.
ffe9a0c8adAdrian Pop- add "checkcompiler" make target to check the compiler sources using the bootstrapped compiler - very useful before making a commit to check if the sources work with the bootstrapped compiler
909fc761b5Martin SjölundAdd the r19697 changes also for OSX
2e41014cd9Martin Sjölund#2635 - Add rpath to qt clients using gc
fcd9090774Martin Sjölund#2635 - Add rpath to qt clients using gc
0cdbced09aMartin Sjölund#2635 - Add rpath to qt clients using gc
e4fc276348Martin Sjölund#2635 - Add rpath to qt clients using gc
5ad2878326Martin SjölundMade Graph.allReachableNodes not spin infinity if we try to get the reachable nodes from a non-existing node
c634370014Martin SjölundFix separate code generation for boxing external objects and generating constructor/destructor functions
c05c10421cMartin Sjölund- Avoid some unused expression warnings for failure(_ = fn()) - Fix the variableFilter regex for OSX
fdc58e2a4cOpenModelica Hudson[Janitor mode] Fix tabs
835a635618Niklas WorschechExtended StateSelection interface in cpp runtime for second A Matrix added agloop solver code to Jacobian class if it has algloops added initialize method to Jacobian class adapted cpp FMU and HPCOM template
711af1cad9Adeel Asghar- convert list item name to string.
b86a356cb0Martin SjölundTry to fix OSX nightly
01bedd56a1Martin SjölundUse $ORIGIN and $ORIGIN/../lib/omc as origins
3cb1b4a3fcAdeel Asghar- Grid lines option for custom views.
b0cf76a389Martin SjölundUpdate the bootstrapping build scripts to support packages in packages (so we can create nicer package structures)
7fb3709f9dLennart Ochel- remove unused function differentZeroCrossing
cc7bdf2697Marcus Walther- simCodeEquations are now ordered correctly when using taskdep-scheduling
aa7ab85c78Martin SjölundDump () for empty argument list in external functions
f98bfed0d2Adrian Pop- ansi C.
899e0df1a7Lennart Ochel- remove space characters
d8071647b2Martin SjölundTry to make msvc happy
714685aa1fLennart Ochel- fix #2633
12a4a19e99Marcus Walther- openMP 4.0 task dependency support added for CodegenC
0d881d0c1dMartin Sjölund- Fix scoping issue for MatchDotNotation (wrong component env) - Added the new language extensions to Basic-Exercise-MetaModelica.onb
5dfb5d02e5Marcus Walther- fixed generated code for level scheduling - cpp-codegeneration with enabled hpcom-flag is working again
ee1a077f6aAdrian Pop- ansi C.
1b9cc0ae27Adeel Asghar- Properly get the length of the pointer.
c1d710c3a5Martin Sjölund- Output fewer errors when doing partial function type instantiation
025b74ad4aOpenModelica Hudson[Janitor mode] Fix tabs
f3a991d454Patrick Marcel Taeuberintroduced some modified heuristics to Cellier tearing
01f0579c44Per Östlund- Forgot to commit changes to AbsynDumpTpl.
0cce23791fOpenModelica Hudson[Janitor mode] Fix tabs
12fe7dc9e2Per Östlund- Added back unparseClassStr and unparseClassList in Dump.
3f792b8055Martin SjölundHandle expression with aliases - Expressions like the following are handled - `match x as ... case REC() then x.field;` - `match x case REC() then x.field;` - An alias `x` is treated as an implicit input component inside the match-expression. It may not be re-assigned. - `x as pat` patterns are still explicit and need `x` to be declared as a component
c2b8708545Adeel Asghar- Don't fetch the latest news items if "Show Latest News" is disabled in settings.
03953a917eOpenModelica Hudson[Janitor mode] Fix tabs
870fd2b5ddOpenModelica Hudson[Janitor mode] Set auto-props
9fcf37bf88Marcus Walther- AnalyzationMode added, which will link the libraries statically. It can be used by adding "-D ANALYZATION MODE" in the makefile and by compiling your model with "+d=hpcom, hpcomAnalyzationMode"
9235b88bfbAdrian PopAttempt to fix: #2627 - disable +a (+keepArrays) when evaluating the graphical API
110eb6331dAdeel Asghar- Fixed the argument number.
795c77bbc9Adeel Asghar- function to get all the information of the list item. Used by debugger.
e34d97f48aAdeel Asghar- Do not return the value.
67adbd976aAdrian Pop- ansi C please!
61b63ab42aMartin SjölundDon't use empty dependencies...
4a990f9dbcMartin SjölundTry a different guard so make clean works better
556e11c919Martin SjölundRemove Dependency.mo and AbsynDep.mo as they were unused in OpenModelica and replaced by more robust SCode dependency analysis
f07f98e43bAdeel Asghar- function to get all the information of the record element. Used by debugger.
f97adf5089Martin SjölundIntroduce new MetaModelica language feature: dot-access of as-bound records - See new testcase testsuite/metamodelica/meta/MatchDotNotation.mos - Some compiler sources were updated because you may no longer update some as-bound variables (like: `case x as REAL(_); equation x = INT(1);`) ''If you are still using rml-mmc, you will need to update to mm:r272''
ee6618fbbfPer Östlund- Fixed compilation.
4519450b28OpenModelica Hudson[Janitor mode] Fix tabs
7f20c6eb05Marcus Walther- level scheduling structure is now using the task-uniontype - nodeMark-multiplicator will now be applied on dumping - added code generation and scheduler for OpenMP 4.0 task dependencies - remove comment-signs before "applyFilters..."
6037fc2752Martin SjölundRevert r19617 to unbreak unix builds. Windows-specific copying goes into Windows-specific makefiles
4bff18935dAdrian Pop- avoid recursive *public* dependency between AbsynDumpTpl and Dump as MetaModelica/RML will consume all memory.
941c2801fbPer ÖstlundReplaced unparsing parts of Dump with templates.
4b2ca6a480Niklas Worschechmodified make file to copy minpack dll to build/bin folder
cbf706e1faOpenModelica Hudson[Janitor mode] Fix tabs
daad0c5cbcNiklas Worschechadded call to state selection in CVode solver
9c1e51f612Adeel Asghar- Display the bitmap is library browser. - Handle the extends class bitmaps.
0976f41217Volker Waurich- push an intermediate status of evalConstFuncs (mostly handling of if/elseif/else) - added function Debug.bcallret2_2
6c46801deeLennart Ochel- move findZeroCrossings to FindZeroCrossings.mo
54716f4924Marcus Walther- changed the boost_thread library to optional
9f0c090887Adrian Pop- push this in so I don't have to merge it each time somebody plays with the flags - cleanup the flags a bit - add new flags for upcoming front-end changes
69ffaa8df3Willi Braun - fix bad calculation of the range in zero-crossings search. (occured in #2621)
976905576aMarcus Walther- support for boost threads added (required for hpcom)
b3a9199713Marcus Walther- revert my previous commit
447c8a97e7Volker Waurich- extended Expression.isConst for records
2bc4975003Marcus Walther- support for boost threads added (required for hpcom)
f5a16f2fd7Marcus Walther- analyzation flag for hpcom added - cpp code generation has now support for hpcom-pThreads
f9cffd583cLennart Ochel- move optimization module 'resolveLoops' to ResolveLoops.mo
1fd72aaae2Martin SjölundAdd missing sources
63c3e4c11cLennart Ochel- fix #2336 - move optimization module 'inlineArrayEqn' to InlineArrayEquations.mo - add description for optimization module 'inlineArrayEqn' - remove unused modules
989344c2aeMartin SjölundCall destructors for external objects created locally in functions
116ead4303Adeel Asghar- link -lgc in OMNotebook for Windows.
2a96d050a1Adeel Asghar- link -lgc in OMNotebook for Windows.
f40a3c6af9Martin SjölundAdd -lgc for OMNotebook
a288aa9b9fMartin SjölundAdd library path
2d51401cc1Martin SjölundAdd library path
ad0ba89680Adeel Asghar- Fixed loading of bitmap shapes within a component.
dca776cdbdMartin SjölundAdd missing include
872e61f32dMartin SjölundAdd -lgc also for omplot. Add gc as dependency in the makefiles
3302924d95Martin SjölundAdd -lgc also for omplot. Add gc as dependency in the makefiles
09b22f27e5Martin SjölundAdeel forgot to add -lgc...
0b2449d920Adeel Asghar#2598 - Fixed plotting of CSV result files.
6906691094Adeel Asghar#2598 - Fixed plotting of CSV result files.
7ba3267fbbAdeel Asghar#2598 - Fixed plotting of CSV result files.
0f3fa9c970Willi Braun - improved fix to #2510 and also the testcase for enumeration, interger and boolean.
9cf3f1ec71Vitalij Ruge- improve stepsize for num hessian
2c4aec27aeVitalij Ruge- fixed LOG_IPOPT_ERROR
64360fd67fVitalij Rugeremove redundant case
7ded586f34Vitalij Ruge- split generation for jacobian structure in the optimization - improve output format for LOG_IPOPT_JAC
a2415e7477Martin SjölundCheck for negative dimensions
fb92e2b510Martin SjölundFixes for ModelicaCompliance.Algorithms.For.BoolRange
ced95190ceWilli Braun - fix for #2510. Substract one to map modelica index(1:n) to c index(0:(n-1))
b0931998dbVitalij Ruge- improve sparsety structure for hessian
87c14b137dOpenModelica Hudson[Janitor mode] Fix tabs
90708f75adAdeel Asghar- Handle auto detection of language. Use QLocale::system().name() to find the default language.
8a0c803418Niklas Worschech- added index parameter to stateset methods, in order to distinguish between different statessets - fix in hybrj for initialization of linear systems
e2d0700b64Adeel Asghar- No QTextCodec::setCodecForLocale for Windows.
6dc125be46Martin SjölundUse Absyn.pathCompare(...) instead of stringCompare(pathString...)
07bc649e0eMartin SjölundDon't compare strings 3 times
42c9e6de79Vitalij Ruge- improve scaling
76f7f8d2bfAdrian Pop- ANSI C please! - fix Windows builds (VS)
402280febfMartin SjölundAdding function DAEUtil.avlKeyCompare instead of hard-coding this
ae0d26c1f4Lennart Ochel- add error message for #2614
47163a75d1Per ÖstlundFix for #2616: - Handle DAE.DEFINE in InstUtil.moveBindings.
491550aaf7Adeel Asghar#2552 - SaveTotalSCode is supported now.
aff3eaf3f3Adeel Asghar- Check all models recursive.
bbc022e647Henrik TidefeltFix/improve error messages for implicit Integer to enumeration conversion
b8df1614e6Willi Braun - remove an accidentally commit change
038198339eWilli Braun - more fixes DEBUG_OUTPUT, added debugStreamPrintWithEquationIndexes
7d7ec63fdfWilli Braun - fixed compiling of DEBUG_OUTPUT further
35720bc171Adrian Pop- attempt to fix the coding style job.
37b1a3d428Willi Braun - fixed DEBUG_OUTPUT compilation
50b0d523b0Henrik TidefeltAllow integer instead of enum constant when compiler is invoked with +intEnumConversion
cad390d94fMartin SjölundBetter printing of differentiate
180e7f58fdLennart Ochel- fix last commit
7f9e35d6d0Lennart Ochel- some code simplifications
58557630b1Niklas Worschechfix in cpp template initialize equations
9ea166d9b8Volker Waurich- commented out 2 cases in Expression.isConst, that hopefully fix the tests
a59b19c6baMartin SjölundRemoved not needed import
dbdc4fa544Niklas Worschechfix in cpp tempalte for initvars
a3cd325412Volker Waurichhandle complex functions in evalConstFuncs
597dca7ccaMartin SjölundDo inlining of arrayGet by default (halves the cost). - OMCC: Use unsafe arrayGet in the parser (eliminates the cost of arrayGet almost completely)
5c77736db7Adrian Pop- switch back to 1.9.1Nightly
c85f59eb8aAdrian Pop- update version to 1.9.1 Beta2
73430dd7d5Martin Sjölund- Added new annotation: `annotation(__OpenModelica_FileInfo=("parserModelica.y",718));` on something with file information (e.g. equation,algorithm,class) now changes the file and line - Changed the OMCC grammar syntax. You no longer define the types returned by each rule - everything is an AstItem (a uniontype containing all types). - The above changes allow us to use only 1 stack for AstItem (previously, we had to allocate memory for all 80+ types and push them for each reduction) - The grammar was updated (and tested on the given testsuite) - The grammar was also fixed. Some rules previously used $1 and $2 even though $1 and $3 were to be used. It worked anyway because $2 and $3 were in different stacks... - Halved the time Machines.mo takes to parse
21d3185b52Vitalij Ruge- improve output format
0d0aa16ebcVitalij Rugefixed pre simulation for optimization
b68af4158aMartin SjölundAdd -fno-stack-protector as a default flag since it messes with some systems
245ad85bc4Vitalij Ruge- fixed warning
13dec42c38Adrian Pop- support multiple indexes for ASUB (subscripting of general expressions like function calls) in XMLDump.mo
fc5a2466d2Dietmar WinklerRemoves erroneous keyword (probably "butter fingers")
f33818f195Dietmar WinklerAdd link to local license file.
eab6461d1eDietmar WinklerTypo fixed.
f6f2cad876Dietmar WinklerRephrase the contribution section.
a0f4d6d7f8Dietmar WinklerInitial version.
b7570b3053Volker Waurich- added a case for record expressions to DAEDump.dumpExpStr
40537d65c9Adrian Pop- fix Windows build include omc_inline.h to make VS happy
2c3d86a1a1Lennart Ochel- reactivate r19458 because it fixes some bugs - handling of different attributes in alias-sets is still not working correctly (this should become a ticket)
9be13ce01cPer Östlund- More punctuation.
cc8c7df255Per Östlund- Punctuation.
c84bd029daVolker Waurich- added module to evaluate a function partially / check if the output or parts of the output are constant - added function BackendVarTransform.getReplacementCRefFirst and Debug.bcallret1_2 - added debug flag "evalConstFuncs"
374b6bb9f8Martin SjölundUse newly added MetaModelica.Dangerous.listReverseInPlace to save a little more time in the OMCC lexer
31afccab1dMartin Sjölund- Inline some more MetaModelica functions - OMCC: Combine the Absyn.INFO lines/columns into the OMCCTypes.TOKEN directly (1 fewer allocation)
fcd56fed3fOpenModelica Hudson[Janitor mode] Fix tabs
9b9b39b571Niklas Worschechfix in cpp template for changed stateset jacobian names
fd641b4ae3Niklas Worschechfix in cpp template for call of executable in Linux script
1f9d33c122Lennart Ochel- revert r19458, since it breaks working test cases
13f27fb711Willi Braun - changed merge of nominal values for alias variables - don't calculate arithmetic mean instead choose via componentReference depth (like for start values) - also don't negate nominal values - one testcase fails for some different reasons(non-linear solver), so deactived for now(Modelica.Fluid.Examples.BranchingDynamicPipes.mos).
3995d2cc94Martin SjölundFix whitespace
737761e27aMartin Sjölund- Add MetaModelica.Dangerous.stringGetNoBoundsChecking - Change LexerCode.action to return a token with index=-1 instead of NONE()
9c23fef5d3OpenModelica Hudson[Janitor mode] Fix tabs
0d172aecb7Niklas Worschechfix for typo in cpp template
4d92d0668aOpenModelica Hudson[Janitor mode] Fix tabs
b8b4f3870fOpenModelica Hudson[Janitor mode] Set auto-props
7f9dae544dMartin Sjölund- Change start state from Integer to list as an optimization (!). This variable was always used to re-initialize the current states (a list), by creating a list from the start state (costs 1 allocation). By always keeping it as a list, you do 0 allocations (not even when changing start state: all those assignments are constant values which are optimized). - Added new MetaModelica function, MetaModelica.Dangerous.arrayGetNoBoundsChecking which is also inlined by macro (saves a surprising amount of run-time performance)
c5a8510890Niklas Worschechfix in cpp template for linux executable name
c2634e2732Niklas Worschechadded modelicastandardtables build in cpp runtime CMakeFiles changed cpp runtime executable name with Main suffix added StateSelection class to cpp solver component added stateselection methods of cpp system in cpp template
7650787f44Martin SjölundAllow the user to override start-values and parameters in the JavaScript webworker - By sending {basename: basename, override: {r: 35, stopTime: stopTime, tolerance: tolerance, stepSize: +stopTime / intervals}}, all override variables are joined and sent as argv in the simulation
3c381255cfVitalij Ruge- temporyry fix for optimization with output file
d0660ecc09Willi Braun - fixed initial guess for optimize
937b5ea4c3Adeel Asghar- Removed PySimulator since it is moved to github. - Only creates the OMPython directories when user installs it.
0ee1e91d71Martin SjölundAdding MetaModelica builtin stringGet (returns a byte as Integer)
e782576d57Lennart Ochel- fix initialization by matfile
e90e5dee91Adrian Pop- optimize template unparsing a bit (mostly memory but also speed)
64794761e8Vitalij Ruge- improve output format
ac1dc0db2fVitalij Rugefixed time grid for optimization
0f18ca41b8Vitalij Ruge- fixed ipopt warning
97d2835612Vitalij Ruge- cheking ipopt max iter
edaea71b17Per ÖstlundFix for #2607: - Take associativity into account when printing expressions.
dcedca09f5Martin SjölundAdded substring as a MetaModelica builtin (it uses strlen as external "C"; this is incredibly slow compared to MMC_STRLEN) - Updated OMCC to pass around the entire file contents and token start/end positions (to replace passing around lists of integers that need to be converted)
9a2cdce8e1OpenModelica Hudson[Janitor mode] Fix tabs
cfcb3b0c8fWilli Braun - moved also calculation of jacobians of dynamic StateSet from SimCodeUtil to Backend module
1b3bdf22d1Willi Braun - added testcase for external input via file for different solvers - fixed small bugs in external input reading - suppress prints of inputs to LOG_SIMULATION
438dc6e4aaVitalij Ruge- fixed output format
db8c0342b4Vitalij Ruge- fixed output format
95bd57bcfcMartin SjölundAdd mingw Makefile so make clean works
b3272f960dMartin SjölundAdd code to generate a main entry-point easier
b7f69cdc8aOpenModelica Hudson[Janitor mode] Fix tabs
a3e30c7c18Willi Braun - moved calculation of jacobian matrix for non-linear strong components from SimCodeUtil to module in BackendDAEOptimize. - moved functions (replaceDerOpInEquationList, replaceDerOpInExp, transformXToXd) from SimCodeUtil to BackendEquation, Expression, BackendVariable. - fixed bug with calculation of analytic jacobians in non-linear solver. - module is still deactived, since it needs more fixes to pass whole testsuite, further it conflict still with removeUnsedFunctions.
263c98e2bdVolker Waurich- removed some comments, unused code and debug-prints from resolveLoops
ef10d31772Martin Sjölundmake clean bootstrapping
01e48735b0Volker Waurich- resolve a loop when the no.outVars+1 <= no.InVars
ac33c30cd7Vitalij Ruge- changed default linear solver for ipopt
ade3134c8fVolker Waurich- bugfix for sortPathsAsChain1 (resolveLoops)
f4f8e16eb9Per Östlund- Got rid of datarootdir warning in Makefile.in.
95ab577611Martin SjölundShave a few seconds by not re-linking shared objects if nothing changed
adc729e8c2Vitalij Ruge- improve max_iter flag for ipopt
a7a1c4e3b8Vitalij Ruge- improve max_iter flag for ipopt - max_iter=1e6 now support
e3cda0561dMartin SjölundAdding Modelica 2014 reference
325a0db283Mahder Alemseged Gebremedhin- Moved to branch.
0dcb9033a4Vitalij Ruge- added LOG_IPOPT_ERROR for following max error in the optimization - added example for LOG_IPOPT_ERROR
549b7c824cVitalij Ruge- added flag: max_iter for ipopt
4b04b28d33Vitalij Ruge- improve external input
85dbfe27caMartin SjölundFix depends on shared library...
a8092ee6d1Martin SjölundCopy the shared library for the shared version, not the static
a6d46c6668Martin SjölundProperly build shared and static versions (were swapped before and the shared ALSO linked all objects)
b03eee1bb9Martin SjölundAllow static linking
161a3192cbMartin SjölundTry to guard against inclusion
54568a1a85Martin SjölundAdd Peter's new book
3543bb0e3fMartin SjölundUpdate targets for bootstrapping
35a65afb4fMartin SjölundAdded targets to bootstrap with the new build system (Compiler/boot)
1379148ac1Bill JanssenRemoved use of $ in XML element tags
4ab1c8eff9Vitalij Ruge- fixed initial guess and pre simulation for optimization
c97e66afeaVitalij Ruge- fixed intial guess for optimizer - fixed pre simulation in the optimization
06add81284Vitalij Ruge- fixed optimization - writing of results
4804f96c81Martin SjölundSome files to generate sources for bootstrapping
4540fdadf7Adrian Pop- improve a bit the division by zero message
2a5d29a441Lennart Ochel- typo
73d9d4d07cAdeel Asghar- Avoid index out of range errors.
17c718f2e8Lennart Ochel- recover r19259 and r19260
df9c73bbbbMartin SjölundPartial changes for the new build system with more fine-grained dependency analysis - Sort of works already (generates C-code), but a few tweaks will be needed to sort out all dependencies (headers still #include other modules; we want them to be more independent) - Need to move files from testsuite to Compiler/ or somewhere nicer
dcfe9f62f7Willi Braun - remove algorithms completely, if all statement are removed.
485654cf25Volker Waurich- detect loops that form loops, updated test
f92973774bOpenModelica Hudson[Janitor mode] Fix tabs
1519d7524eWilli Braun - added config flag for genaration of symbolic jacobian and linearization
b63a956beaWilli Braun - fixed function differentiation for protected variables
88bb1ab074Adrian Pop- fix coding style * UTF8 encoding (mahge930 please set your workspace to UTF8 no BOM in Eclipse).
70cf37ff99OpenModelica Hudson[Janitor mode] Set auto-props
79453cee3dMahder Alemseged Gebremedhin+ Let the scheduler implement it's own executor.
39220e0353Martin SjölundWorking on faster workflow for the bootstrapped compiler - Adding exportKind=OpenModelica.Scripting.ExportKind.MetaModelicaInterface to the list() interface (to be tuned) - Removed Makefile.sources (generated automatically during the build process) - Generate interface files to use for more fine-grained dependency analysis (no comments, etc) - We should be able to generate good enough signature files that we only need to load a small set of signature files to compile a package (instead of requiring all full files be used)
fcb3d1cc9cOpenModelica Hudson[Janitor mode] Fix tabs
a7b6ececbaVolker Waurich- output graphml for every equation system - fixed bug at partitionBipartiteGraph
c0e3abf513Marcus Walther- try to fix hpcom tests
d057cbe525Martin SjölundSend options to SCodeDumpTpl. Replace some old unparsing functions with the template ones.
3e21f104e3Marcus Walther- GraphMLNew.mo removed from trunk
566d767912Marcus Walther- try to fix bootstrapper
09d6ec0dceMartin SjölundIncrease JS memory to 768MB
5f73ebef6cOpenModelica Hudson[Janitor mode] Fix tabs
8123660235Marcus Walther- moved the GraphML-Module to Unused/GraphMLOld.mo - renamed the GraphMLNew-module to GraphML - added some memory management logic to HpcomSimCode - cleaned up the HpcomTaskGraph-Module
c2b25f4de1OpenModelica Hudson[Janitor mode] Fix tabs
5c6c2c68c6Marcus Walther- changed GraphML-Dump to GraphMLNew-Dump
45f8d31dd0Volker Waurich- some resolveLoops changes (resolveloops_main as matchcontinue, heuristic to priorize the equations that could be replaced)
4a0ef1899eMartin Sjölund#2603 - Handle escaping strings where the string-length does not change
c9f5ab7648Martin Sjölund- Copy expat.h at the correct place
f0542ca48eAdeel Asghar- Removed the OPC section. This is not supported by current release and should not be part of users guide. - Created a new document for it.
0a61f6b45dMartin SjölundBy default: do not output protected variables to result-file - To override: Add simflags="-emit_protected" - The library testing now adds -emit_protected if the compareVars is non-empty (and adds a variableFilter to only output these variables)
b84a109601OpenModelica Hudson[Janitor mode] Fix tabs
cb0c3634b9Vitalij Ruge- fixed input update - improve interpolation for input - improve initial guess
05b9ab59dcVitalij Ruge- improve initial guess
af9978827cOpenModelica Hudson[Janitor mode] Fix tabs
35279c32e2Vitalij Ruge- dev functionality for ploting structure of jac and hessian matrix
8240524d31Martin SjölundRefactoring
cee4d60caaMartin SjölundRefactor code (remove duplicate sections)
755e452eb7Martin SjölundConvert from int buffer to string; the nodejs function does not accept int buffers
391dc0245cMartin Sjölund- JavaScript target: Use separate xml-files instead of embedding in the JS - Backend: Propagate "protected" boolean to SimCode
0650772bdaMarcus Walther- adapted hpcom code to the cpp - class structure
7248a9d522Marcus Walther- openmp parallel code for all hpcom-scheduler now available
98e964d0a6Martin SjölundAdd a "play" button to run a javascript-based simulation in the browser
15c7772caeOpenModelica Hudson[Janitor mode] Fix tabs
8c08c75782Vitalij Ruge- improve initial guess
6720a2eebdMarcus Walther- try to fix clang test
f7c0516098Volker Waurich- changed handling of loops with variable-crossNodes (resolveLoops)
76e2d02e41Martin Sjölundmake emcc now downloads a minimal set of mdpad files
f420147c9bVitalij Ruge- improve initail guess
1a464fa543Marcus Walther- try to fix bootstrapper (forgot to upload one file)
1547841150Marcus Walther- try to fix bootstrapper
c4d3279745Marcus Walther- the cpp runtime can now be debugged with the g++ by adding "-D CMAKE_BUILD_TYPE=RelWithDebInfo" to the cmake file - changed System.mo:getOMPCCompiler -> System.mo:getOMPFlag to use the openmp-flag for the cpp runtime, too - added a new method to GraphMLNew.mo to get an attribute by name and target type - added hpcom level scheduling support to the cpp runtime
dc6a8d92ebOpenModelica Hudson[Janitor mode] Fix tabs
7021281426Vitalij Ruge- added pre simulation for optimization - using startTime from Optimica
4b581812e0Martin Sjölundmake emcc in the root directory now installs all the dependencies
c57408b006Martin Sjölund- Partially revert r19289 (broken bootstrapping tarball) - Fix JavaScript target - Fix bootstrapping
d24eea4411Adrian PopFix bug: #2412 - propagate program inside CACHE so we have access to it even if there is not symbol table available.
e445894301Adrian Pop- winter cleanup (preparing for front-end changes) * deprecate +scodeInstShortcut * moved Compiler/FrontEnd/F*.mo to Compiler/Unused * disabled Modelica.Media.Examples.R134a.* for now as it used +scodeInstShortcut and didn't work anyway.
42a4e11af6Martin SjölundDisable the link-time optimizer. Download the binary files when doing make emcc
a391652ce8Martin SjölundAdd description to FMU
e51ffea03cMartin SjölundAdd description to the _init.xml
ebcf3b970dMartin SjölundMore information in the logs
3e3ef6cc41Martin SjölundUpdate legend
3e11736adfPer Östlund- Fixed character encoding.
1e3665b311Martin SjölundCopy to .so-files as expected
a67ca3a45cMarcus Walther- pthreads_spinlocks are working again in hpcom
9e61d3179aVolker Waurich- fixed small bug at resolveLoops (traverse partitions)
0de3ec08faMartin SjölundCreate the xml-file and then convert it to a C literal since Susan performance suffers if we do it in memory
7aeec11187OpenModelica Hudson[Janitor mode] Fix tabs
363d961cbfOpenModelica Hudson[Janitor mode] Set auto-props
42c645baf9Mahder Alemseged Gebremedhin+ Added automatic parallelization implementation. - A generic task system. - A generic level scheduler. - Model representation for OM models. - An interface for OM model runtime. - support for loading model info from XML. Compile time loading to come. - dumping system graphs to graphviz and graphml formats.
e79923726bPer ÖstlundFix for #2593: - Fix circuit in IfClause.onb of DrModelica.
fac68fe415Volker Waurich- changed evaluateLoop function for resolveLoops
0ada9915a8Lennart Ochel- revert r19259 and r19260, because it breaks the optimization
7f220c955aAdrian Pop- fix typo
3da7db82c4OpenModelica Hudson[Janitor mode] Fix tabs
d0ea8da4d0Vitalij Ruge- seperate output file for inputs vars
35d80c730cLennart Ochelnew warnings for alias sets with different nominal values - maybe this should be hidden per default and only displayed with some new flag
fe6d1e2eabLennart Ochel- minor simplifications - change "Alias set with several start values" warning
f747deccd1Lennart Ochel- move initSample call
10522ee1eaLennart Ochel- remove obsolete workaround
6ef983831bLennart Ochel- remove obsolete workaround
313fb0335aMartin SjölundAdd target to build libModelicaExternalC and libModelicaTables using the JS implementation
cc97e9cc7cLennart Ochel- fix *_init.xml file generation for variable attributes - fix #2597 - fix #2601
49f46e5ebeLennart Ochel- move some post-initialization procedures - change stream for a assertion notification
b958f611a8Martin SjölundJavaScript performance - less setjmp (limited max number of setjmp allowed in emscripten)
455c8486b8Martin SjölundSome updates to the JavaScript target - pre.js is now included with the omc sources - It is now possible to use nodejs to run the generated code. An executable wrapper script is generated and the simulate() command now works - The XML files are embedded within the JS code now (just like we do for FMI) - We use -override arguments to pass stopTime,stepSize,tolerance and outputFormat instead of a full xml-file in a virtual file system
1a8e0b5aa9Vitalij Ruge- improve output - modefiy example final parameter in parameter
f0f56a3c2bLennart Ochel- fix incompatible pointer types
73061b18c8Bernhard BachmannFixed output format
0255d9ef97Vitalij Ruge- changes from Willi for r19242
9f9d3ed9ecVitalij Ruge- changes from Willi for r19242
4d143e116dMartin SjölundUse the chosen stopTime, etc in the javascript .md template
b743411b5aOpenModelica Hudson[Janitor mode] Fix tabs
88767132feVitalij Ruge- improved preliminary functionality for external input file - initial point - added missing .h file to Makefile
1c4f6e60b3Willi Braun - fixed solving tuples for correct variable - that break some avm models, but there for we need to fix ticket(#2599)
0d7e46f5adLennart Ochel- fix nominal values for the *_init.xml file (see #2597)
7339d12e27Martin Sjölund#2555 - Enforce casting of the value of a binding, in addition to the expression
f8de6d6cfeOpenModelica Hudson[Janitor mode] Fix tabs
2dcb155c52Bernhard Bachmann- improved preliminary functionality for external input file
dc33e54aeeVolker Waurichfor resolveLoops: - rewrote sortPathAsChain - bugfix at replacing heuristic
33aeef4888Martin SjölundUse omc_error instead of the simulation streams (since expressions can be called from the function run-time)
9df0539525Martin SjölundDo some run-time array bounds checking
d114913b22Volker Waurich- dump graphML after resolvingLoops - resolve paths which connect 2 simple loops - bugfix for sortPaths
55d0791856OpenModelica Hudson[Janitor mode] Fix tabs
dd30eafe94Vitalij Ruge- added functionality: read external input from csv for dassl and optimization - for cheking input or initial optimization
f851f83c58Adrian Pop- additional rewrite rules support this is only applied via dumpXMLDAE with a rewriteRulesFile set. new interface: rewriteFrontEnd(from, to) or rewrite(from, to) -> applied on front-end expressions rewriteBackEnd(from, to) -> applied to back-end expressions before writing them to the .xml
2950d45464Willi Braun - revert r19222 for now, since some other issues raised with it
3765d79733OpenModelica Hudson[Janitor mode] Fix tabs
79aa7424adWilli Braun - fixed solving tuples for correct variable - added more cases for solving tuples
612854894aLennart Ochel- prepare time events
e94dab9217Lennart Ochel- Oops! revert r19216 and r19217
599bd32863Lennart Ochel- update templates
0160ccce47Mahder Alemseged Gebremedhin+ Option to dump simulation systems as arrays of functions.
8cb5c9a4e3Lennart Ochel- fix inlineEventInfo - add missing 'or b3' - do not inline old data structure samples (cpp runtime should switch to new data structure for timeEvent, so that the old structes can be removed)
99a54fa19cLennart Ochel- rename attribute initial_ to start
a1cd02e146Vitalij Ruge- improve counter for hessian
39f36491afVolker Waurich- added function List.hasSeveralElements
a0184e0230Volker Waurich- restructure resolveLoops - changed some heuristics to replace equation and to find the loops for resolveLoops
081b34fa12Lennart Ochel- add Modelica-like output for dumpindxdae using +d=dumpTransformedModelica (just a prototype)
47a6843412Martin SjölundFixes for no kinsol
8f3cfe3dbcVitalij Ruge- reduce one add in hessian
7dd064e927OpenModelica Hudson[Janitor mode] Fix tabs
febc91924bVitalij Ruge- improve counter for hessian - small changed in c-code (mv, del)
5be1a1d2bdOpenModelica Hudson[Janitor mode] Fix tabs
bc1bf77d1fVitalij Ruge- reduce hesse elements - fixed output for constraints - fixed matching for constraints - active testcase for alias constraints
2ce1ebc903OpenModelica Hudson[Janitor mode] Fix tabs
747f9c8b94OpenModelica Hudson[Janitor mode] Set auto-props
e24b663035Mahder Alemseged Gebremedhin+ update missed configure script.
2a7e1e29b9Mahder Alemseged Gebremedhin- Rearrange parmodelica includes to the new include structure.
0a0a6bb661OpenModelica Hudson[Janitor mode] Fix tabs
6df0be9dfeNiklas Worschechfix in CVode of cpp runtime, initialization of zeroSign vector was not correct
8dd444b98dOpenModelica Hudson[Janitor mode] Fix tabs
13713d718aVitalij Ruge- print -Inf and +Inf for to big or to small numbers in optimization
3f82dc6983OpenModelica Hudson[Janitor mode] Fix tabs
9ebde03de7Niklas Worschech-separated calculation of Jacobian's of cpp Modelica system in extra class
04b7cf0eb1Willi Braun - don't simplify in differentiationExp it's too slow - fixed differentiation of for loops - fixed differentiation of scalar product
bed94e98d2Martin SjölundFix kinsol stuff...
78e890733aVitalij Ruge- useNominal = true, after update - fixed 19146 for start value - fixed output for optimization
f992efa7eeMartin SjölundHandle Modelica.Utilities.Streams.error in simulations
1ea3bb0557Martin SjölundFix kinsol dummy wrapper
ded5eebbd3Martin SjölundMove ModelicaUtilities.h to the root of the includes, since the specification says it should be included with , not
c0614ad16dAdeel Asghar- Changed instantiate/check model from QDialog to QWidget. Some platforms doesn't support Qt::WindowMinMaxButtonsHint.
85d3d91131Adeel Asghar#2590 - Create a unique folder for each user.
81b38390b2Martin SjölundFix MSVC crap?
106c7258e1Adeel Asghar- Added OpenModelica Scripting & Modelica Documentation menu items under Help menu.
9a0fc13c72Martin SjölundHandle NULL threadData
14e3ebd666Martin Sjölundmake clean now also cleans the bootstrapping directory
6528bd0b04Martin SjölundFix warnings
0331a47c6cAdeel Asghar- More window flags.
f33ace6f34Martin SjölundRemove the global jump buffers; do the jumping via threadData instead
4fa340ca2cAdeel Asghar- Don't make the instantiate/check model dialog modal. This allows opening of multiple dialogs. - Save the geometry information and restore it the next time user opens the dialog.
6f38006406Adeel AsgharMaximize button for instantiate/check model dialog.
b62d44208aPer Östlund- Fixed bibliography.
bb0dfd40f5Per ÖstlundFix for #2587: - Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...]. - Improved Static.elabMatrixCatTwoExp so it handles more cases.
0ffd50d45fPer ÖstlundFix for #2587: - Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...]. - Improved Static.elabMatrixCatTwoExp so it handles more cases.
2fb07f443dMartin SjölundRevert r19152 (should be re-done without adding additional argument to all functions; keep ERROR_HANDLE inside threadData_t)
d9537dce06Martin SjölundMove the C includes to build/include/omc/c. Probably fixed bootstrapping
27e281a077Bruno Scaglionifixed bibliography/openmodelica.bib
e65e445ae8Martin SjölundActually fix the bibtex database
6f82e98b33Bruno ScaglioniFixed bibliography
21306871f2OpenModelica Hudson[Janitor mode] Fix tabs
412b2660eaWilli Braun - passing error-handle round all runtime function to remove it from global scope
4ba83026a0Mahder Alemseged Gebremedhin+ Fix bootstrapping. Hunted down the culprit.
e3f3a873b8Adrian Pop- spelling of: backend -> back-end jacobian -> Jacobian
31982035f1Mahder Alemseged Gebremedhin+ Update include paths for FMI/FMU and bootstrapping.
1408d0d0c8Vitalij Ruge- fixed initial guess for optimization
cf37d212b6Vitalij Ruge- fixed setting of bounds for input in optimization
303db6575fPer ÖstlundFix for #2585: - Handle cardinality on arrays properly.
95a5c5b2c4Mahder Alemseged GebremedhinFix includes in Simulation runtime. Keep them relative. Keep simulation runtime header structure in build directory.
b55429fb30Per Östlund- Fixes for DrModelica.
b4c99c488aOpenModelica Hudson[Janitor mode] Fix tabs
51ac34f35fVitalij Ruge- join constraints and algebraic vars
dfe54a3fc3Martin SjölundSome more Tpl functions now use match instead of matchcontinue
7784fdcba0Martin SjölundFix MetaModelicaDev tests
774eb59233Per Östlund- Only return the new classes in Main.handleCommand2, not all loaded top-level classes.
80d1ffa09cMartin SjölundFix if-equation translation for omcc
a2baf5cd57Vitalij Ruge- add function for pick up input attributes - missng free
f893e22967Martin SjölundAdded a better error-message for using subscripts in modifiers
09f61ef1c9Martin SjölundAdded a better error-message for using subscripts in modifiers
2ce27fdd5cBruno ScaglioniUpdated bibliography
f1a8ed13f5Vitalij Ruge- new simplify rule for a + (-b)/x = a - b/x
83335f9d29Willi Braun - removed linear flag for SimCode.createEquation - allow also no-linear for jacobians - fixed function for linearization
413a0d99f5Lennart Ochel- remove unused flag +d=dumpderrepl - auto-enable +d=backenddaeinfo if either +d=stateselection or +d=discreteinfo is used
d19da6de86Vitalij Ruge- fixed r19122
4fc8a16803Lennart Ochel- revert r19122
84ce63388cLennart Ochel- fix r19111 - get ./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos working again
a862e2f339Vitalij Ruge- restruct constraints (optimization) - new VarKind for constraints - new SimVars for constraints
d55215513cMartin Sjölund- Removed forgotten old print for torn systems (it's part of the error buffer now) - BuildModelRecursive.mos script now uses +d=backenddaeinfo by default, and colour-codes the links (red,orange,blue for error,warning,notify)
26d7bf3dbeLennart Ochel- fix #2583
892ff19080Martin Sjölund+d=backenddaeinfo now prints to the Error.mo buffer instead of stdout
f3dd3cf5eaarunkumar palanisamyupdate DrModelica exercises, fixed=true
e3ce9bd5daMartin Sjölund#2580 - Don't clear the error-buffer if the simulate command fails (so it is possible to use the normal error commands to query errors)
cf70e5e733Martin SjölundDump info regarding linear system density
170cb6ca0dOpenModelica Hudson[Janitor mode] Fix tabs
158b10e3b9Vitalij Ruge- split DAE and ODE in the context of event
33558ce920Vitalij Ruge- simplify rule x/r = x *(1/r) with test of numerical issues can someone have a look of ./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos
f223a224feLennart Ochel- add "discrete states" to +d=backenddaeinfo - see #2397
4603d975acVitalij Ruge- removed duplicated simplification
436cded664Vitalij Ruge- simplify tsub
2d3b254e99Vitalij Ruge- fixed last commit
a4c0882a96Vitalij Ruge- checking const tsubs for derivations
f4bcb63f5cWilli Braun - work-a-round for index reduction, don't differentiate tuple for now - fixes for avm models
690d22b7ebVitalij Ruge- update initial guess solver
33f62ec43fVitalij Ruge- changed default values for ipopt
706b552ee9Willi Braun - fixes for function differentiation handling - set correct header type for derivative annotation - handling of tuples - fixed sorting result in symbolic jacobian - moved getArrayCref from SimCode to ComponentReference
4a9f69dd94Lennart Ochel- move warnings for parameters from front end to back end - get rid of false warnings
26cc5078a7OpenModelica Hudson[Janitor mode] Fix tabs
d62d215138Vitalij Ruge- fixed numerical gradient for lagrange term
57424fb07cVitalij Ruge- added numerical gradient for objective function
9e973d7c93Lennart Ochel- add new initialization test case for parameters - minor changes to LOG_INIT and LOG_SOTI
f23ff3bb0cOpenModelica Hudson[Janitor mode] Fix tabs
c84465054bVitalij Ruge- improve last commit
05c9498364Vitalij Ruge- added dense numerical jac
b6f1f207ceOpenModelica Hudson[Janitor mode] Fix tabs
c37f130270Vitalij Ruge- num jac for optimization (num gradient missing) for compare num and sym jac
465ac1b71bLennart Ochel- update initial comment for generated *_08bnd.c files
16b7745039Lennart Ochel- update function name to its new functionality (updateBoundStartValues -> updateBoundVariableAttributes)
9c04f9678cVitalij Ruge- remove unless code - optica flag don't break simulation code
d3308a6008Vitalij Ruge- detailed output
250bc6292fLennart Ochel- second try: fix parameter dependent attributes (nominal, min, max)
c5f4afa632Lennart Ochel- revert r19076 (some cppruntime and hpcom tests seem to became non-deterministic)
ef4bdf6503Lennart Ochel- fix parameter dependent attributes (nominal, min, max)
dfd56c58ecMartin Sjölund- After suggestion by Adrian, order the pattern-matching in a smarter way: do cheap patterns before more complex ones
4011c66889Willi Braun - just function renaming from greate to create
0a7036fa7aVitalij Ruge- added warnings for optimizations flags
17615feea7Vitalij Ruge- remove unused operation
78f21e8553Lennart Ochel- fix duplicate warnings - there are still some duplicate warnings from the front end (Adrian is working on that)
e80d154560OpenModelica Hudson[Janitor mode] Fix tabs
3be0cff1feMarcus Walther- GraphMLNew added -> this module will replace the GraphML-Module in the next weeeks - The hpcom-openmp-code is now static - The hpcom-module creates another graph now, which contains cache-line informations (this is a prototype at the moment and will be extended soon)
6207706933OpenModelica Hudson[Janitor mode] Fix tabs
a6179aff12Niklas Worschechworkaround fix for discrete relations in cpp tempalte reactivated jacobians in cpp template
16aeaf9eb0OpenModelica Hudson[Janitor mode] Fix tabs
87bb6b3c87Vitalij Ruge-improve r19056
a005f08ea3Martin SjölundThe order of the base classes matters
c5640a57c5Martin SjölundDeterministic identifiers in generated svg
64d687f938Vitalij Ruge- split function
9a9ce0d3d6Vitalij Ruge- add warning for optimization
c81b058bd4Vitalij Ruge- split function
37546f5059OpenModelica Hudson[Janitor mode] Fix tabs
796667a3d9Vitalij Ruge- split function
25b970a30aVitalij Ruge- remove function call
6d7ab38ae5OpenModelica Hudson[Janitor mode] Fix tabs
88105019cdVitalij Ruge- spliting function
e8b562a38cAdrian Pop- small speed improvements in some of the connection handling.
54859fa68eWilli Braun - add functionTree to shared
c8f9e53497Lennart Ochel- improve last commit
f1c2b5522bLennart Ochel- fix #2566
6215eeee7cAdeel Asghar- Fixed crash report text.
b3c7588026Martin SjölundRevert accidental change in r19041
7676bdad59Martin SjölundBump MSL 3.2.1
7d5805374dVitalij Ruge- fixed constraints (thanks Willi)
fa663547acAdeel Asghar- changed minimum limit of numberOfIntervals to zero.
f726aa176aMartin Sjölund- Improved pretty-printing of list() API for when-equations/etc - Added equation comments inside when-equation/etc blocks instead of after the whole when-equation
a439a531b2Adrian Pop- add presentations about parallelization.
b265ebb912Per ÖstlundFix for #2570: - Print parentheses when dumping empty annotation with Dump module.
84fc523362Martin SjölundGuard only the requested parts with rollback of error-messages (certain sequences would make omc exit because the top of the error stack was wrong)
b0f07aa1c5Willi Braun - fixed #2574
7b818029beWilli Braun - fixed #2575
833fb628a7Adrian PopMore heuristics for #2566 - if fixed=false, no start value, and a binding -> give a warning and use the binding as start value - if fixed=false, a start value, and a binding -> give a warning, use the start value and ignore the binding
ab1137d6c6OpenModelica Hudson[Janitor mode] Fix tabs
2f845d7112Vitalij Ruge- fixed lagrange term - new test for timetable
a1772cc422Adrian PopFix #2566 in the FrontEnd - report parameter T p(start = value, fixed = true) and use the start value.
bca2a7990aAdrian Pop- apply evaluation of rooted and isRoot at the same time to save time.
0920e8722fAdeel Asghar- Removed duplicate code. Moved the implementation to parent class.
8c34e0e5daMartin SjölundRevert r19001 (missing CodegenC.tpl changes and changes to the jmpbuf structure)
07a4d1589fMartin Sjölundlis only create x-vector once
1ce72d5ad8OpenModelica Hudson[Janitor mode] Fix tabs
bdb0d222aePer Östlund- Added disableRecordConstructorOutput debug flag. - Handle matrices in min/max better. - Handle arrays with more than two dimensions better in product. - Fix array types when slicing vars with more than two dimensions.
7098ffa81fMartin Sjölund#2571 - Return valid values for getSimulationOptions
182184fbe6Willi Braun - try to handel simple division by zero errors
3f16ac288dAdeel Asghar- Save the Interval in experiment annotation.
43d9787041Martin SjölundRemove the third argument of the DIVISION macro, passing equation index instead (for debugging)
391cfbad01Per Östlund- Changed DAEDump to always print out modifications after the variable name instead of after the type name.
681db07ba3Martin SjölundFix some variables and comments for the documentation generation
ad9b86ae73Niklas Worschech fix for array state variable assignment in cpp tempalte activated sorting of simvars in SimCodeUtil for cpp runtime
147c0231d9Adeel Asghar- Draw the rectangle after drawing the grid lines.
4ed11eecf1Per ÖstlundFix for #2062: - Better handling of cardinality.
547770cb98Adeel Asghar- Fixed few graphical glitches.
01548be823Lennart Ochel- fix warning
3359575af3Lennart Ochel- fix #2566
15e7f395a9Martin SjölundUncomment icons creation
cc6abef3e5Adeel Asghar- Fix deletion of connections where port component might be NULL.
ea04354746Niklas Worschechremoved no longer used functions from SimCode to calculate state variable index which were used in cpp template
3b2f89a90cOpenModelica Hudson[Janitor mode] Fix tabs
6094262445OpenModelica Hudson[Janitor mode] Set auto-props
9b5c701b5eNiklas Worschech-separated writing of simulation results of cpp Modelica system in extra class
62aca377ccLennart Ochel- fix #2561
d25c7f5620Adeel Asghar- Save the OMC flags option.
0a3ae7e035Martin Sjölund#2554 make distclean instead of make clean
75feaf4bf9Lennart Ochel- fix #2504
ca99672560Adeel Asghar- minor updates.
d78bf04278Adeel Asghar- some modifications in the layout.
e39978ddf9Adeel Asghar- Make few long labels elidable.
606cda2bbdAdeel Asgharfix linux build.
38ea0edbebAdeel Asghar- Option to enable/disable save class feature before simulation.
ffd45e7d7aAdeel AsgharFixed layout.
36e9d57ac8Adeel Asghar- Generate separate files for Linux users.
6c9a31c2f0Martin SjölundFix library testing script spinning
5a6fb36420Adrian Pop- implement alarm in Windows (using thread/sleep/kill process)
59ae476692Martin SjölundAdded new API alarm(seconds) - a timeout before omc is killed. alarm(0) unsets the alarm
8804e1eb85Martin SjölundRML compilation
7babbaf9eeMartin SjölundAvoid matchcontinue
5190e5e4aeMartin SjölundRenamed crefEqualStringCompare to crefEqualVerySlowStringCompareDoNotUse - crefEqual now uses crefEqualNoStringCompare - only cppruntime uses crefEqualVerySlowStringCompareDoNotUse
6b9437c43dMartin SjölundTruncate before making the string valid xml
640c5c0376Adrian Pop- switch back to 1.9.1+dev
29db005214Adrian Pop- redo 1.9.1 Beta1 (request by Adeel as he fixed some stuff in OMEdit)
1b6192ba91Adrian Pop- strange as it sounds -v affects -t in ulimit, remove -v
dfb0867c16Adrian Pop- ulimit -v -t doesn't seem to work for the given time in -t - trying ulimit -t -v and also added -v limit for simulation executable.
7e3423d1fdAdrian PopFix for #2557 - propely display the warning message - add the line number information to the warning message too
cd10624ddfAdeel Asghar- Save the model before simulation.
d27739e9b7OpenModelica Hudson[Janitor mode] Fix tabs
ed1f6da42dAdeel Asghar- Set the default elide model to Qt::ElideNone.
359e01cad5Vitalij Ruge- new initial guess option for optimization
9301cda445OpenModelica Hudson[Janitor mode] Fix tabs
3813fafa16Vitalij Ruge- added new flag: higher print level in ipopt
aa7ada5ff8Vitalij Ruge- added new flag for checking JAC and HESSE in optimization
2054cbac93OpenModelica Hudson[Janitor mode] Fix tabs
1fd7d441a0Vitalij Ruge- added flag: swtch hesse in ipopt e.g. BFGS
3c5c7da623Martin SjölundSet ulimit -v for BuildModelicaRecursive.mos
e7824ef7f0Martin SjölundFix printing of negative real numbers that look like integers
9c81a0e6f0Martin Sjölund- Changed lib/omlibrary/Modelica... to Modelica... for testsuite messages (to work better with build symlinked to /usr) - Added reading of env.var CC at start to be able to change CC in pre-compiled omc version
de9fa7f477Lennart Ochel- fix #2557
4f9caa5e8eMartin SjölundTry to fix OSX weird problems
aa51830a18Adrian Pop- switch back to 1.9.1+dev
91640fbb54Adrian Pop- update version to 1.9.1 Beta1
46d7724245Adrian Pop- reverted previous commit - simcode needs omc but omc was not copied yet from Compiler/omc_release to build/bin, however omc needs simcode (how does this work?)
4cede07aacAdrian Pop- susan_codegen needs omc!
1bff85393dAdeel Asghar- Mark the Simulation progress text as richtext.
8e51c2d3cfMartin SjölundReturn the exit status we got from the simulation runtime
f78c9a686cOpenModelica Hudson[Janitor mode] Fix tabs
afd9951c87Marcus Walther- try to fix bootstrapper bug
04bbc9fa1bMarcus Walther- Template for hpcom-cpp target added to the template-folder - Changed EXIT(0) to return 0 in _main_simulation_runtime
8a17ec83b2Adrian Pop- flag +d=disableWindowsPathCheckWarning (Disables warnings on Windows if OPENMODELICAHOME/MinGW is missing).
cf8385aeeaOpenModelica Hudson[Janitor mode] Fix tabs
815a10b088Niklas Worschech-separated initialization of cpp Modelica system in extra class
f185de1932Volker Waurich- round graphCosts - updated referenceGraphs
bfd99326a2Adeel Asghar- Show the nested equations. Useful for nonlinear systems.
db09538d85Volker Waurich- round the values for serialTime, parallel Time, critical Path - always use num_threads from the flag +n=.. for level scheduling
6de7e5699fMartin SjölundFix doi link
1ef26bc656Martin SjölundOnly use --enable-64bit on x86_64 CPUs for antlr
c3a4099127Martin SjölundTry to override LDFLAGS in case it in part of the environment
c137cbcfebAdeel Asghar- More better & robust implementation for elidable QLabel.
5e1120ff09Adeel Asghar- subclass QTreeWidget for equations tree.
077eaf8c09Adeel AsgharDo not copy the old OMInfo to the new variable/equation.
fc9b8131c3Martin SjölundBump MSL 3.2.1
949c06d19aMartin SjölundRemove antlr3 header on make clean (needed to actually make the gcc hudson job do a clean build)
c5cb3660a1Martin SjölundPass the CC since antlr uses different typedefs and includes depending on compiler
78acc07ad0Adeel Asghar- Added a Label with elide feature.
49b1f34e17Adeel AsgharSave the Transformational Debugger window geometry & state.
0b92789410Martin SjölundEnable 64-bit code generation for antlr
302a02da0cMartin SjölundChanges for FreeBSD compilation
219be0623eMartin SjölundFix antlr compilation
1b5131c0b1Adeel Asghar- Mark the debugged equation highlighted.
6552ff4620Martin SjölundAdding makefile dependencies
8a6f62f3baMartin Sjölund- Run ./configure in antlr-3.2 to ensure a valid configuration is generated
94197ffe8dAdeel Asghar- Transformational Debugger show/hide options. - Generate operations tags options.
1ec6eff8a4Adeel Asghar+ Make TransformationsWidget an independent window. + Show both variables & equations in one place. + Group the variables. + Allow searching in the variables. + Allow sorting equations by number. + Created a new source editor to display the actual model text. Read it from file so we don't have line number issues. - Removed the types list. (not very important). - Filtered out the $PRE variables.
aee3534d65Martin SjölundSome updates to the README
742025b4ddMarcus Walther- the hpcom speedup is now printed to stdout with an accuracy of two digits after the decimal point
45cfb62cfeMartin SjölundNew revision for new nightly
82dded3915Volker Waurich- output whole dae graph as graphml when resolving loops
ee566e39faLennart Ochel- revert r18840
ed41277518Lennart Ochel- fix #2553
e6fb779fd3Adrian Pop- more fixes for Mac OS
b7ab08e5b9Marcus Walther- debug output removed
3028466d16Marcus Walther- bootstrapper fixed (sorry, it took a little bit longer to localize the issue)
e9b98f0a86Adrian Pop- fix bootstrapping (some bootstrapping bug here, see my comment inside the code)
1ef176fa6eMarcus Walther- bug fixed: hpcom taskgraphmeta is not longer invalid, if the model contains more than one EqSystem
6ff3ce88fdAdrian Pop- fix bootstrapping - strangely SOME(outRules) := getGlobalRoot(Global.rewriteRulesIndex); does not work directly in the bootstrapped compiler, you get: Error: Invalid pattern: SOME(rules) of type ##T_UNKNOWN#
66a2bd9d68Adrian Pop- support for rewrite rules - the rewrite rules are only used in dumpXMLDAE if a rewrite rule file is given as last parameter (if interest exists we can make it part of the usual front-end chain) - example of a rewriteRules.txt file rewrite(abs('$x'), if ('$x' >= 0) then '$x' else -'$x'); rewrite('$x' ^ 2, '$x' * '$x'); // rewrite(semiLinear(0.0, '$x', '$y'), 0.0); // rewrite(semiLinear('$x','$y','$z'), if ('$x' >= 0) then '$x'*'$y' else '$x'*'$z'); rewrite(noEvent('$x'), '$x'); rewrite(Modelica.Fluid.Utilities.regRoot('$x','$y'), if ('$x' >= 0) then sqrt('$x') else -(sqrt(-'$x'))); rewrite(Modelica.Fluid.Utilities.regStep('$x',y1,y2,e), if ('$x' > e) then y1 else y2); rewrite(Modelica.Math.Matrices.isEqual('$x','$y','$e'), (size('$x',1)==size('$y',1) and size('$x',2) == size('$y',2) and sum('$x' .- '$y') == 0));
3a155cb93bAdrian Pop- no .so on Mac OS, use $SHREXT instead
e35af1d471Adrian Pop- attempt to fix MacOS handling of libcminpack
c76c90f366Adrian Pop- copy to build/lib/omc not to build/bin! - also use 3rdParty/CMinpack/install/lib*/ as it might be lib64 on Linux!
db499b4271Christian SChuberttry to fix build for cpp runtime with cminpack
f1b3a191f8Martin SjölundPatch for emcc (javascript runtime) from tshort
a977dfca18Adeel Asghar- Read the nested equations indexes for the nonlinear equation.
31bf767df2Vitalij Ruge- fixed constraints
3a339cee0cNiklas Worschechfix for ticket #2548. Added case for msvc for external library directory linker path
d7c0e9cfc4Niklas Worschechfix in cpp tempalte: gcc make file, link to ModelicaExternalC
f6f2ec04aeVitalij Ruge- better time grid for optimization
0673e6cf58OpenModelica Hudson[Janitor mode] Fix tabs
e4bd0389c2Vitalij Rugefixed r18817
6cb7e30501Vitalij Ruge- free memory for analyticJacobians structure
a5e7a6a4b3Niklas Worschechrenamed ModelicaExternalC lib in cpp runtime without prefix OMCpp
394f7c2a11Niklas Worschechadded clean in cpp runtime make files
c75d65f02aOpenModelica Hudson[Janitor mode] Fix tabs
87168ff47eVitalij Ruge- missing free()
0e141acd4bVitalij Ruge- fixed constraints size
24c7c44a1eAdrian Pop- reverted r18808 as it breaks some tests and make some tests run forever even if we have ulimit -t
7bde9cb76fVitalij Ruge- fixed constraints size
d535f310e8Vitalij Ruge- small fix for constraints in hesse
bae0da5cf5Niklas Worschechextended cpp tempalte for external C- functions
8dd8228837Adeel Asghar- Top status bar for transformation browser. - Better views for variables & equations.
17f07e748eVolker Waurich- try to fix build_clang
3ff6740abcVolker Waurich- implemented a heuristic whether to resolve a loop or not, some rewriting
359db39e87Leonardo Laguna- Reverted bad commit
4ed9d5ae05Leonardo LagunaFixing bug in VarTransform.replaceExpRepeated
f597bc5da9Christian SChuberthopefully, this commit will fix the build of cminpack together with the cppruntime
635d750a4fMartin SjölundOnly output variables that are actually in the reference results (use outputFormat="empty" if not checking reference files)
45c18232efMartin SjölundFix generation of all models again
d44efefca5Niklas Worschechfix in cpp template for algorithm array assign
a4e5e4b8a0Adrian Pop- more fixes for Windows MSVC (int32_t header included) - fixed the filename in SimulationRuntime/c/simulation/results/CMakeLists.txt
b57e06c8abAdrian Pop- fix Windows build (htonl is in some other header)
493a89f779Martin SjölundRemove some unused headers
e3fdb3bf7cMartin SjölundFix compilation
e407ad420cOpenModelica Hudson[Janitor mode] Fix tabs
60040a0481Michael TillerAdding support for wall files
fadf2cffb9Adeel Asghar- Fixed go to line. Compare the current & parent models filename.
d07f716673Adeel Asghar- Read the flattening operation from the info XML file.
cf1154b82cAdeel Asghar- Renamed previous & next to Variables View & Equation View. - Read the file info from the XML file and show the specific line to the user.
7b0a94cf74Niklas Worschechadded -fPIC Compiler flag to ModelicaExternalC lib of cpp runtime
90ea88bdf2Martin SjölundEnable tracing the flattening operation (from SCode to DAE)
7f4f0b1665Niklas Worschechdeactivated hybrj solver again, clean Minpack build before does not help
2653de0626Niklas Worschechsecond try of activating hybrj solver with make clean build of CMinpack
9c7538397cChristian SChubertadded cminpack-clean to clean target, building cminpack with visual studio when building runtimeCPPmsvcinstall
d7b436cd88Niklas Worschechfix in cpp template for algloop file names.
d003fb1269Niklas Worschechdeactivated hybrj because of build errors
22185ddb84Vitalij Ruge- update scaling hess
fc023bef55Niklas Worschech-Activated hybrj solver in cpp runtime -changed generated cpp file names with fileNamePrefix
578d38e6faNiklas Worschechadd find call for CMinpack library and header files to cpp runtime cmakefile
eb2f79bc50Vitalij Ruge- fixed indices for constraints (optimization)
23307a65bcChristian SChubertattempt to fix windows build (strict checking of msvc regarding c coding conventions)
0348d0871bNiklas Worschechchange ModelicaExternalC library from cpp runtime to use c files form MSL. Adapted cpp template for external objects removed unused files in cpp runtime
57aba426d7Vitalij Ruge- fixed constraints scaling
f5ba88d5f3Martin SjölundHandle single quotes and spaces in URL's better
ef3e06d317OpenModelica Hudson[Janitor mode] Fix tabs
5a3d1aa4c2OpenModelica Hudson[Janitor mode] Fix tabs
7fbf5e9a28Volker Waurich- additional output for -lV=LOG_LS_V
c5fc1bf477Vitalij Ruge- simplify constraints (optimization) - fixed jacobian size (optimization)
b5b9fb89c2Volker Waurich- added a function to get the loops in a complex bipartite graph (just for testing)
3532418082Adeel AsgharDo not pass the same instance of ComponentInfo to different objects instead clone the object.
80051776caOpenModelica Hudson[Janitor mode] Fix tabs
7f884c26a0Patrick Marcel Taeuber- modified Cellier-Tearing to solve mixed Systems - fixed some problems with Cellier-Tearing
29bbd287ecMartin SjölundGuard against divisions by zero
a16f990206OpenModelica Hudson[Janitor mode] Fix tabs
632f717e05Per ÖstlundFix for #2532: - Fixed slicing of qualified crefs.
81e2c12fc3Volker Waurich- fix bootstrapper
0e1ead3c70Vitalij Ruge- fixed hessian for constraints (optimization)
3d90ff3a37Volker Waurich- rearranged code for resolveLoops - some bugfixes for resolveLoops - introduced resolvedLoops as a postOptModule that handles StrongComponents (not yet finished) - updated tests
2d017f1793Vitalij Ruge- fixed hessian for constraints (optimization)
65c24df422OpenModelica Hudson[Janitor mode] Fix tabs
41253bc7d3Vitalij Ruge- support constraint block (optimica) - add example
cb2d66c584Martin Sjölund- Add numberOfIntervals and stepSize as input/output of getSimulationOptions - OMEdit now respects the Interval experiment annotation in the simulation setup - Enable output of the statements in the match equation sections (for error messages)
9635f1c6edMartin Sjölund- Add numberOfIntervals and stepSize as input/output of getSimulationOptions - OMEdit now respects the Interval experiment annotation in the simulation setup - Enable output of the statements in the match equation sections (for error messages)
0cfe45fd01Willi Braun - removed global optimization functions
a31dc78ddbMartin SjölundBy default don't export svg elements with display="none" since some renderers do not ignore these elements...
1923024e24Willi Braun - fixed issue of r18708 (missing function definition).
eb31a2e84eMartin SjölundHandle in class comments
a99b042f90OpenModelica Hudson[Janitor mode] Fix tabs
351ffb9f12Vitalij Ruge- jacobians for nonlinear constraints (optimization)
9d4d0d59e4Adeel Asghar- Improved the creation time of variables tree.
7f5cfae4caJan KokertFixed CR/LF in script for Windows
213515f64aPer Östlund- Preserve enum literals in Static.elabCrefSlice.
f8c15518b9Adrian PopFix for bug: #2385 - expand array elements added to expandable connectors - add test: testsuite/flattening/modelica/expandable/ConnectorTest.mos
30ef637c80Willi Braun - removed rounding step-size work-a-round
095936ba15Adrian Pop- Implement feature #2542 - Use: +replaceHomotopy Replaces homotopy(actual, simplified) with the actual expression or the simplified expression. Good for debugging models which use homotopy. The default is to not replace homotopy. Valid options: * none (default) * actual * simplified Use with +replaceHomotopy=actual|simplified or setCommandLineOptions("+replaceHomotopy=actual|simplified") via scripting. - Added testsuite/flattening/modelica/others/Homotopy.mos for testing the new facility.
5d3e3be127Martin SjölundFixes #2376, simplification of slicing array crefs
853fb3ea81Volker Waurich- resolveloops: the resolved equation has the form 0 = ... in order to simplify the expression on one side - updated tests
a8b6da1f6eWilli Braun - added fix for stepSize calculation and output intervals #2539
6a6b9fa19dMartin SjölundFix LOG_INIT stream
f457fe10b4Adeel AsgharPrint the error message and the actual XML output if the parsing fails.
d63e6a9850Willi Braun - fix bootstrap compiler
f46533d923Willi Braun - added an interface function for partial derivatives of functions
19d7ed0debMartin Sjölund#2490 - Also patch When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are: $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ }}}
637c114197Per Östlund- Merged the cases in SCodeInst.instFunctionCall, since RML unifies them incorrectly.
3ec058838eMartin Sjölund- Makes omc search for more locales than the given one (to make a good effort of getting LC_CTYPE=UTF-8)
c5a3489cc7Adeel Asghar- Use QLocale instead of strings.
e0be5b5cb7Jens Frenkel- workaround for nonlinear torn systems
bd25e9ec35Jens Frenkel- bugfix tearing for nonlinear systems
abfdb04c28Jens Frenkel- bugfix tearing for nonlinear systems
4cb5597c65Martin Sjölund- Fix gettext charset when not using +locale=..., relying on env.vars instead
de00b3d980Adeel Asghar- gettext uses environment variable so don't use setlocale for windows. - Pass the OMEdit locale to omc.
3597a7e3adAdeel Asghar- gettext uses environment variable so don't use setlocale for windows. - Pass the OMEdit locale to omc.
d6219051f8Jens Frenkel- bugfix unbound local variables - reimplement BackendDAEUtil.getEqnsysRhsExp - Expression.add case for a+(-b) = a-b - Expression.sub case for a-(-b) = a+b and -a-b=-(a+b)
7a44ca1111Martin Sjölund- Finished swedish translation
6cb08dbd9dMartin Sjölund- More translations
06e4cffdcePer Östlund- Changed the configure check for qwt to include qwt6.
671edab424Jens Frenkel- save time, do not update incidence matrix
c09d41bb20Jens Frenkel- bugfix removeSimpleEquationsPast
e1fa93f926Martin Sjölund- Improved translations
d1b80fa7a0Jens Frenkel- tearing, bugfix for array equations
e378b33e02Adeel Asghar- Fixed build for windows.
0ad152d183Per Östlund- Removed some cases for handling stringified crefs.
52e9811887Martin Sjölund- Marked some files in the runtime as translation targets
f6276e9593Per Östlund- Merged Flow and Stream in SCode and DAE into ConnectorType.
fe7aeda66bMartin Sjölund- Enable interactive/interactiveCorba modes again
8497866047Martin Sjölund- Avoid printing multiple copies of the usage if +help is given on the command-line
206157a7d3Martin Sjölund- Enable translation strings for many config flags
60d29cd7b9Jens Frenkel- fix uninicialised variable
f931d19da8Adeel Asghar- Fixed setlocale warning for windows.
6f956338e1Jens Frenkel- implement handling of array equations in BackendDAEOptimize.derive
24da7fb721Martin Sjölund- Updated translation guide
cb16a9a1fcMartin Sjölund- Adding German language stubs to the translations
b28cd79390Martin Sjölund#1767 - Marked strings for translation in Error.mo - Removed some useless whitespace from a few error-messages
66d0c00290Jens Frenkel- do not exceed next time step while search forward for event in reference
0a66154f6eNiklas Worschech-fix in cpp template for algortihm no retcall
acb3222a34Jens Frenkel- improve SimulationResultsCompare, now the left and the right value of an event are compared
a9433decc1Martin Sjölund#1766 - Only set locale for messages so we do not screw up numbers
b19c0e44b8Jens Frenkel- update Loop handling
f22664567fJens FrenkelDo not hand over the scalar incidence Matrix because following modules does not check if scalar or not
57188b47b8Johanna SchneiderBackendDAEOptimize.mo: An other heuristic for the tearing is now implemented. The residual equations are solved using Newton’s method: u_{n+1} = u_n – (f‘(u_n))^{-1}*f(u_n). During each iteration, the linear system f’(u_n)*du = -f(u_n) is solved for du. Thus, the Newton step can be rewritten in the form u_{n+1} = u_m + du, where du is the solution of the linear system. The function “tearingSystem1” now creates this linear system and solves for it using the function “tearingSystemNew”. Flags.mo: a new flag „tearing_and_relaxation“ is added to activate the above system in BackendDAEOptimize.mo. BackendDump.mo: added the case for RESIDUAL_EQUATION in “printEquation” and “dumpEquation” Expression.mo: added the function “makeDifference”
71e0caa43eMartin Sjölund- Check for gettext
e89017774fMartin Sjölund- Fix clean command (OMOptimBasis)
85dad2356cMartin Sjölund- OMOptimBasis path
0a96687e5dMartin Sjölund- Fix OMOptimBasis paths
74f8575338Niklas Worschech-changed simulation arguments to program_options, modified CevalScript for cpp simulation call
d6af7698adMartin Sjölund- Remove debug print
c30941ab0eMartin Sjölund- Added a System.gettext() call - To try out localization of the omc kernel, see directory Compiler/Translation/README. Run make on it after setting up the strings to be translated and your language since we do not run the target by default.
c4c5f0e839Martin Sjölund- Adding directory for translations of the omc kernel
ca6738c091Jens Frenkel- avoid memory leaks - use absdouble()>epsilon for double==double in SimulationResultsCmp
1ff5a0153eMartin Sjölund- Remove results from list of keywords
0f1e199890Jens Frenkel- get rid of bootstrapping warnings
59eac3b4b0Jens Frenkel- remove unused local variable with same name as input to avoid segvault by bootstrapped compiler - remove fastht from BackendDAE.Variables
9d23a7f4fbNiklas Worschech-changed cmake file for lapack and blas lib
973149ce21Niklas Worschech-removed tabs
62257c6221Niklas Worschech-renamed cpp shared libs and executable with OMCpp prefix -changed executable call for cpp runtime in CevalScript
52320a7c4cAdeel Asghar#1421 - no more duplicates of annotation by addClassAnnotation. - Look for annotation in all parts of the class. If found just update it. - If no annotation is found then add a new one in public section.
ae17f83dd2Jens Frenkel- fixes for if-equations
593c7bedfdMahder Alemseged Gebremedhin+ Remaining support for Class Attributes (objectives) for optimization class of Optimica extension.
1c4cd274c3Jens Frenkel- add missing functionality for if equations
1d6b0ee099Adeel Asghar- New API call to check if the nested class is protected or not, + isProtectedClass
0353c9ff95Jens Frenkel- add BackendDAEOptimize.simplifyIfEquations - move evaluation of parameters with annotation evalute=True to backend - move handling of if equations to backend
7c852ac0deJens Frenkel- remove transformDAE,mapTransformDAE,transformDAEWork,restartMatching from BackendDAEUtil.mo
97174c4591Jens Frenkel- test new interface for index reduction
cd759d1393Niklas Worschech-changed loading algebraic loop solver library in cpp runtime
8b3d44bc8aNiklas Worschech-added exception for not supported output format
55b08f0928Niklas Worschech-fix removed space in include string
f7f18de282Niklas Worschech-changed simcall in CevalScript for cpp runtime
382a3bb834Niklas Worschech-fix in cpp template for algloop include's
679c347d04Niklas Worschechchanged instantiation of Algloops in cpp template because of assembler errors
ace5190696Adeel Asghar- If the adding component class is partial then declare the added component as replaceable.
7d4e0bc92cPavol PrivitzerC# codegen template little improvements - proper enum support - initial algorithm for bound params support - added (my old) Susan_TODO.txt
35bac1f45cJens Frenkel- add BackendFlowDiagram, try to give a overview on all tasks the backend has to do
8c8a1bd94eJens Frenkel- rename evaluteParameter -> removeevaluteParamters - add evaluateFinalParameters and evaluteParameters,
e490c51c61Lennart Ochel- fix sparse jacobian for initialization
084eed4ac4Lennart Ochel- add interface to get real sparse jacobians - use sparsity pattern for initialization using ipopt - correct indentation in CodegenC.tpl
1761dd0598Jens Frenkel- bugfix rooted
6dcf76789bJens Frenkel- implement evaluation of "rooted" in ConnectionGraph.mo
79639569d5Pavol PrivitzerCleaning of the internal stuff out of the susan_codegen/ - delete susan_codegen/SimCode - move SimCode_design.txt to susan_codegen/
03ae782cbdJens Frenkel- get some loops working
4fc487a3e3Lennart Ochel- generate constant indices for each symbolic jacobian
6669fcd720Lennart Ochel- fix tests using simflags
524e70702aJens Frenkel- continue loop handling
a532cf7f0dNiklas Worschech-fix in cpp template giveZeroFunc
b0d80ac58aJens Frenkel- grammer
9f7cbb1bc1Niklas Worschech-fix in cpp template for make file generation
556cae34c6Lennart Ochelfix for ipopt in std-directory
6df315f7c3Lennart Ochelfix tab-errors
cf71646537Lennart Ochel./configure - add ipopt configuration (usage: --with-ipopt=DIR) ./Compiler/BackEnd - add symbolic generation of jacobian for initialization (usage: +d=symbolicInitialization) - reorganize initialization code (move from SimCode to BackendDAEOptimize) ./Compiler/Template - generate unique jacobian indices ./Compiler/Util - add debug-flag symbolicInitialization ./SimulationRuntime/c - add initialization-method ipopt using ipopt (usage: -iom ipopt)
87f08c25ecJens Frenkel- update OnRelaxation for loops
8743e32701Adeel Asghar- New API calls to check class restriction, + isOperator + isOperatorRecord + isOperatorFunction
f385d68ff7Niklas Worschech-fix for algorithm for loops in cpp template
0568425cc3Niklas Worschech-added struct and Literals generation to cpp template
b8e5f018ebJan SilarFixed bug in C# template - FunDAE - mexed_equation_system. Redundant "," causing nonbuildable generated code.
8c27a19e7eJens Frenkel- add Flag to set cheapmatching algorithm - bugfix for pantelitis index reduction
8e7c9cf159Jens Frenkel- bugfixes index reduction and matching
1be7d96401Jens Frenkel- fix bugs
1b7e191befJens Frenkel- remove tabs
b1383453fdJens Frenkel- listNth -> listGet - update old matching and index reduction to new interface - update DynamicStateSelection, Pantelitis for wrapperles code
01262d2339Jens Frenkel- try some things for loops
3e72ebd93dNiklas Worschech-fix in cpp template for algorithm tuple assign and start values
24f9b1079cJens Frenkel- add module removeFinalParametersPast
58657c17f0Jens Frenkel- rewrite some set functions
8b7c5e50a0Jens Frenkel- add cases for unaray and asub to Expression.mo - do basic simplification for expAdd,expSub,expMul
da3ff32669Jens Frenkel- search also in simple and initial equations for zerocrossings
2f5e8a5808Martin Sjölund- OMOptim build fix
8ec5db594dJens Frenkel- remove unused when clauses from BackendDAETransform.traverseBackendDAEExpsEqn
8c3708589bJens Frenkel- remove index from WHEN_EQ and keep condition of when equation in when equation - install-openturns depends on mkbuilddirs
97db293174Adeel Asghar- Merge the process standard output and standard error streams.
949b38a688Jens Frenkel- fix tabs
a50d8c8405Jens Frenkel- add code for multi body relaxation, not yet finished, kinematic loops still fail
ffe7af5867Martin Sjölund- Look for paradiseo build directories as well
c7eaf7910aMartin Sjölund- Added index to FOR_EQUATION
5530d12cb8Martin Sjölund- Added utils directory as well
258f730be3Martin Sjölund- Some paradiseo autoconf
a153670817Jens Frenkel- bugfix evaluate parameter evaluate=true
ac364ddff2Jens Frenkel- bugfix if equation for elabelements
a244a6675fMartin Sjölund- paradiseo "help"
f29ff66253Jens Frenkel- handle if equations in Derive and BackendDAETransform.traverseBackendDAEExpsEqnWithSymbolicOperation
0e09cc7b6eJens Frenkel- handle if equations in inline
7c4868e855Jens Frenkel- handle if equations in incidence matrix
fdf9c94871Jens Frenkel- add condition to when equation - handle elsewhen branches in incidence matrix
6e0a8ade10Jens Frenkel- add size information to when equation
28ac9962ceMartin Sjölund- Check for include/qwt5, then check the header for QWT5 macro (using grep)
2caa5f56a5Jens Frenkel- inline condition of when equation only once
eec678d113Jens Frenkel- bugfix tests
e5b37d52e1Jens Frenkel- bugfix tests
f316bf6523Jens Frenkel- add some more support for if equations in backend - add module for evaluate parameter with evaluate=true annotation
b175adc468Niklas Worschech-removed tabs
1334d9776eNiklas Worschech- adapted numeric/bindings header files
361d05618eNiklas Worschech- extended cpp template for sparse jacobian
414dfb2592Adeel Asghar- Better parsing of Text Annotation.
ff050fe413Jens Frenkel- switch evaluateAnnotation on
dbffe8ce83Jens Frenkel- change implementation of removeFinalParameters and removeProtectedParameters to handle several equationsystems
1f83bf326cJens Frenkel- remove some unused imports - add Env.Cache and Env.Env to BackendDAE.Shared
5e46b5e53bAdeel Asghar- Fixed parsing.
021f21cc35Jens Frenkel- use traverseBackendDAEExpsNoCopyWithUpdate to geep the simplified expressions and not the old one
4668b42fc4Jens Frenkel- bugfix Tearing
ee7a7024f0Jens Frenkel- Bugfix getVar - Bugfix BackendDAEEXT.setAssignment - use vars and eqns for BackendDAEUtil.analyzeJacobian - bugfix Tearing
f4a7b4125bMartin SjölundFix testsuite
91d7bfb78bMartin Sjölund- Added Integer index to for-stmt (in DAE and InstTypes) as well as CREF_ITER - This allows us to assign a unique index for each local scope, making it easier to traverse/replace expressions in later phases
e17f1ac635Martin SjölundSome minor documentation updates
f00a8738f5Martin SjölundAdded expansion of if/for, fixed some expansions of algorithm sections (expand the whole sections instead of individual statements)
543b49ff16Jens Frenkel- fix comment for systemSize - fix counting of algorithm outputs
abb60e1bb8Jens Frenkel- BackendDAEUtil: avoid Zero entries in JacMatrix - fix order in equationToExp for arrayEquations - fix order in createNonlinearResidualEquations for arrayEquations
13c4858e1fJens Frenkel- remove debug output - update tearingnew
4a4eea2d88Jens Frenkel- fix tests
8cc472bc81Jens Frenkel- fix tests
fc6d3b1753Jens Frenkel- fix tests
131854b3f4Jens Frenkel- fix tests
74443b8968Jens Frenkel- fix constant liniear system
996dc805e5Jens Frenkel- fix initial equation issus with function equationtoScalarResiduals - add some util functions
fb4dede5d7Niklas Worschech- Switched CVode as default solver for cpp runtime - removed unused cpp case in SimCode createEquationsForSystems - added test model BouncingBall to cppruntimetest- folder
041f440016Martin Sjölund- Added missing testcase function1.mo - Do not expand array-assignments (keep non-expanded as it is not needed to scalarize them)
ef3d89cfc1Martin Sjölund- Fix typing of [:] in function context - TODO: Fix this also for expression, not just declarations of components
40e107ff39Per ÖstlundPre-vacation code dump: - Added List.accumulateMap. - Replaced InstUtil.print* functions with the template based InstDump. - Lots of connection handling and other fixes.
b3ed558150Niklas Worschech-removed tabs
0abd27dc95Adrian Pop- more equation printing in InstUtil.mo - more expansion (not quite right) in SCodeExpand.mo - fail again in Typing.mo in typeFunction.
a0dfae9581Jens Frenkel- filter constant initial expressions
adb7fd6575Adrian Pop- ignore deleted components in Typing.typeConnectorCref2. - better error message in SCodeExpand.mo. - V6 engine gets to expansion now but fails there.
1ec5cf297fNiklas Worschech-changed output format of cpp runtime to csv
bf927bc443Jens Frenkel- fix compilation
dbaa160418Adrian Pop- set operator type to T_BOOL_DEFAULT for logical and relational operators in instOperator - select the type of the operator if is not T_UNKNOWN in typeExp - more builtin functions - use args instead of pos_args in instFunctionCall (copy/paste error?) - instFunction: add instead of addUnique as get(path) uses a non fully qualified path and it does not work. - do not stop in typeFunction (for functions with unknown dimensions it fails but we should type these somehow, maybe starting from the call arguments). - instEngineV6 gets further but still not working.
fff85d6a92Martin Sjölund- Check linking before we assume sundials is recent enough
8be4c2a352Adrian Pop- handle some of the builtin functions - handle records - add a Compiler/FrontEnd/TypeCheck.mo for type checking (does nothing for now, more will come later).
f59164e580Jens Frenkel- revert some pices of last commit
f1d941b02bJens Frenkel- fix compilation
3ee3517ae1Jens Frenkel- the End of the WRAPPER Era
63ed8ca648Martin Sjölund- Added typing of array allocations
7d0bb6d027Martin Sjölund- Add dependency not to assign to an array before it is allocated
721f3b0637Jens Frenkel- fix count of equations, Expression.sizeof, add a fiew more types
c7fede3d6cMartin Sjölund- New inst: Added topological sorting of array dimensions, some expansion rules for functions (allow unknown dimensions) - New DAE statement: Array allocation (for new inst only) - TODO: Expansion of statements in functions - TODO: Topological sorting of init statements+array dimensions
130424a7caNiklas Worschech- fix for algorithm if and reinit statements in cpp runtime
7a95b67ac3Jens Frenkel- use CheckModel for checkModel
0d932bd6d7Jens Frenkel- fix coding style
3b84ccfcdcJens Frenkel- fix compilation
e58222a524Jens Frenkeladd CheckModel.mo: does the Model check without the backendend. Need less memory, should be faster, changes in backend affect less testcases add HashSet.mo, BaseHashSet.mo: copy implementation from HashTable but without a value
dfebfce82aJens Frenkel- Inline.mo,BackendVarTransform.mo bugfix for Algorithms - ExpressionSimplify.mo: symblify Range(1,5)+2 -> Range(3,7) - BackendDump.mo: bugfix print If-Equations
1557048958Niklas Worschech- fix for algorithm when statements in cpp template
dc2c4fb6f1Adrian Pop- better help for the generated simulation code on -? or -help - support -override x1=v1,x2=v2 -output a,b,c for the generated simulation code which will override the values already in the Model_init.xml file and output a, b, c on the command line at the end of the simulation. - massive OpenTurns connection speedup using Model -override -output (no temp directory generated, etc) - enable full example in testsuite/uncertainties/CantileverBeam_MC-template.py as now it only takes 15 minutes instead of a lot of hours before. - add testsuite/uncertainties/TestModels/ThermoSysPro/package.encoding to circumvent loading errors issues. - delete all generated files in testsuite/uncertainties/CantileverBeam.mos - small fixes to Compiler/BackEnd/OpenTURNS.mo (we should maybe give the distribution order in the OpenTurns OMC API).
8902cbf7cfJens Frenkel- fix compilation
9e6d2118b8Jens Frenkel- Inline.mo: add inlineExpOpt and use it in inlineVar - BackendDump: add dumping of If equations
c10ebf0024Martin Sjölund- Sort initial bindings of variables in functions
f6c20d426eJens Frenkel- fix bugs in BackendVarTransform.addExtendReplacement, prior not all necessary extendsions added
34dfc7dcfeJens Frenkel- fix bugs in BackendVarTransform.addExtendReplacement, prior not all necessary extendsions added
7b1fb8d5caJens Frenkel- add boxptr_arrayUpdate, to use arrayUpdate with List.fold1r
eeaf1d7093Adrian Pop- this change is to enable querying of Modelica Standard Library 3.2 which has a class called Code. - changed Code quoting to use $Code in Parser/BaseModelica_Lexer.g + allow $Code in END_IDENT token (to be able to use type $Code end $Code; in ModelicaBuiltin.mo). + changes in Compiler/FrontEnd/ModelicaBuiltin.mo to use $Code instead of Code. + documentation updates in doc/OpenModelicaAPI-Howto/OMC_API-HowTo.tex and doc/OpenModelicaUsersGuide.doc + changes to Compiler/FrontEnd/Dump.mo to dump CodeNode using $Code. + changes everywhere where Code was used to use $Code (.mo, .mos, .onb, .c*) + updated OMEdit and OMOptim to use $Code. + more interactive tests in testsuite/interactive/interactive_api_calls.mos (from doc/OpenModelicaAPI-Howto/OMC_API-HowTo.tex) + show statements in more testsuite/interactive tests. + update the Parser/omcc/* files - removed testsuite/HumMod directory - removed doc/OpenModelica-TortoiseSVN+Putty-HOWTO.doc as is way old and not useful anymore.
dc801709d5Adrian Pop- this change is to enable querying of Modelica Standard Library 3.2 which has a class called Code. - changed Code quoting to use $Code in Parser/BaseModelica_Lexer.g + allow $Code in END_IDENT token (to be able to use type $Code end $Code; in ModelicaBuiltin.mo). + changes in Compiler/FrontEnd/ModelicaBuiltin.mo to use $Code instead of Code. + documentation updates in doc/OpenModelicaAPI-Howto/OMC_API-HowTo.tex and doc/OpenModelicaUsersGuide.doc + changes to Compiler/FrontEnd/Dump.mo to dump CodeNode using $Code. + changes everywhere where Code was used to use $Code (.mo, .mos, .onb, .c*) + updated OMEdit and OMOptim to use $Code. + more interactive tests in testsuite/interactive/interactive_api_calls.mos (from doc/OpenModelicaAPI-Howto/OMC_API-HowTo.tex) + show statements in more testsuite/interactive tests. + update the Parser/omcc/* files - removed testsuite/HumMod directory - removed doc/OpenModelica-TortoiseSVN+Putty-HOWTO.doc as is way old and not useful anymore.
097a678c69Adrian Pop- this change is to enable querying of Modelica Standard Library 3.2 which has a class called Code. - changed Code quoting to use $Code in Parser/BaseModelica_Lexer.g + allow $Code in END_IDENT token (to be able to use type $Code end $Code; in ModelicaBuiltin.mo). + changes in Compiler/FrontEnd/ModelicaBuiltin.mo to use $Code instead of Code. + documentation updates in doc/OpenModelicaAPI-Howto/OMC_API-HowTo.tex and doc/OpenModelicaUsersGuide.doc + changes to Compiler/FrontEnd/Dump.mo to dump CodeNode using $Code. + changes everywhere where Code was used to use $Code (.mo, .mos, .onb, .c*) + updated OMEdit and OMOptim to use $Code. + more interactive tests in testsuite/interactive/interactive_api_calls.mos (from doc/OpenModelicaAPI-Howto/OMC_API-HowTo.tex) + show statements in more testsuite/interactive tests. + update the Parser/omcc/* files - removed testsuite/HumMod directory - removed doc/OpenModelica-TortoiseSVN+Putty-HOWTO.doc as is way old and not useful anymore.
6e0ef54f26Martin Sjölund- Only look for duplicates in the current scope when adding elements
bf7c4b41c9Per Östlund- Added variable declarations to function_sampleInit.
34fafeaeaaMartin Sjölund- Some more function typing
7be649f76dJens Frenkel- fix partitionIndependentBlocks for nowrappereqns - continue nowrappereqns
d9f46ecc27Jens Frenkel- fix testsuite
510b58568dJens Frenkel- fix bootstrapp compilation
0c31730f94Jens Frenkel- fix bootstrapp compilation
e1a0b1bd5bJens FrenkelExpressionSimplify.mo: add simplifyList1, condsymplify Expression:mo : add replaceCref DAEUtil.mo: add replaceCref BackendVarTransform.mo: replaceEquations tailrecursive and with less simplify of expressions BackendEquation.mo: add equationSize, equationOptSize, equationLstSize BackendDAEUtil.mo: add equationArraySize, incidenceMatrixScalar BackendDAEOptimize:mo: rename lateInline to lateInlineFunction BackendDAECreate.mo: use inlineVar not inlineVarOpt Inline.mo: do less simplify (simplify not if there was nothing do inline) continue to get rid of wrapper equations
583428032fJens Frenkel- start to ged rid of the wrapper equations
4649fe6174Jens Frenkel- BaseHashTable.mo: print also key string in case of an error - Util.mo: add function consN to concate n times an ellement
35225bb0adNiklas Worschech- fix in cmake file for Modelica system
181efacaa9Jens Frenkel- ComponentReference.printComponentRefStr us match - ExpressionDump.printListStr use stringDelimitList and List.map
395fe12078Jens Frenkelremove tabs
469a679a30Jens Frenkel- remove last idea for dynamic state selection
ed5eb02f3dJens Frenkel- bugfix dynamic state selection
58c5b513c2Niklas Worschech-fix for linking new windows boost libraries in Simulation.exe
cda4cb344dJens Frenkel- finish symbolic calculation of determinant of a square matrix
7c4ee0d610Jens Frenkel- switch to dummyderivative - remove unneeded code
6c6c59e2a4Jens Frenkel- try improved dynamic state selection
2917868b2bPer Östlund- Added comments to InstSymbolTable and BaseHashTable.
8c72acd0f1Martin Sjölund- Tab cleansing - use burning fire
64bab5bf03Niklas Worschech- Added cppruntime test folder
3559259330Jens Frenkel- and switch back to dummyderivative
b3820bad14Jens Frenkel- remove Old getVar helpfunctions - fix bug for dummy state selection - try dummystateselection
7edba3c728Niklas Worschech- modified boost version to 1.49 for windows compilation
5c98b7e600Jens Frenkel- print more information in case of pure discrete equation systems
2fa354c819Jens Frenkel- and switch back to the old dummyderivative
6912234208Jens Frenkel- try dynamic state selection
5450e132aaJens Frenkel- fix expandCref for Records
b57bced03aJens Frenkel- fix expandCref for Records
0013def2d5Jens Frenkel- fix expandCref for Records
569873a879Jens Frenkel- fix expandCref for Records
0accc51bb6Jens Frenkelfix compilation
1e4f28e184Jens Frenkel- speedup expandDer - improve BackendVariable.getVar - rewrote a fiew functions tailrecursive in SimCode.mo
1e1e6f84f8Jens Frenkel- move a fiew functions to CodegenUtil.mo - add some dependencies in makefile
4df27f04fcAdrian Pop- add Compiler/BackEnd/MathematicaDump.mo to testsuite/bootstrapping/LoadCompilerSources.mos - fix output parameters in Compiler/BackEnd/MathematicaDump.mo
478d80371bJens Frenkel- remove print from call simulate
0615b00fd0Jens Frenkelfix tests
c35b460c57Jens Frenkel-fix loading of settings file in cpp runtime
769634149eAdrian Pop- use only Windows commands to get rid of "pause" in pyot.bat.
8b0083c86aJens Frenkel-fixed linker path in cpp template
5438bcb030Adrian Pop- tab removal.
970705de1dNiklas Worschech- fix equationInfo field
aef44310a0Jens Frenkel-fixed dynamic libarary loading with path names
ce37188713Jens Frenkel-fix include names in cpp template
51fb58f95eMartin Sjölund- More expansion of functions
9d6cd1c834Niklas Worschech- fix testsuite - add CodegenUtil.tpl/.mo
1c52a6104fMartin Sjölund- Start of function expansion
cd4907c333Peter AronssonAdded user guide for uncertainty computations.
66acada687Leonardo Laguna- Implemented MathematicaDump.mo for uncertainty calculations
2e98d0e661Per Östlund- Fixed compilation.
9f2d46d742Per Östlund- Added some List utility functions. - Progagate more Absyn.Info in SCodeInst. - Fixed propagation of visibility for extends in SCodeInst. - Added arguments to builtin Connections functions.
c80f0935b6Niklas Worschechfix tests
acfec95dc7Martin Sjölund- Fix compilation
01b1c86039Niklas Worschechfix tests
c7b91e6d5bNiklas Worschech- move tpl from susan_codegen to Template
bbf4a5ffebJens Frenkel-fix for calling cpp simulation exceutable
7852a63a43Martin Sjölund- Make string escaping also handle Windows-style newlines
3ce6b809fdPeter AronssonFixed bug with parameter being evaluated when building openTurns interface.
e95a418fd7Niklas Worschech- fix for algloop include names
630a8dc72bJens Frenkel- fix testsuite
d172acde3eNiklas Worschech-fixed include names in cpp template
f556798451Jens Frenkel- fix testsuite
3462e9ecd3Adrian Pop- remove some extra checks.
95145e06dfNiklas Worschech-fix in Euler CMakefile additional library dependencies
e24d437086Adrian Pop- fixes to OpenTurns to support parallel execution.
1fd2900fe5Jens Frenkel- fix cpp installation
458b21cbd6Jens Frenkelfix runtime cpp for compilation Makefile Source/*.*
334a77213eMahder Alemseged Gebremedhin- Fix for unallocated arrays in records. And some passing tests.
af4d6d4db1Niklas Worschech- fix testsuite
2ac2856935Martin Sjölund- Provide UTF-8 interface for OMEdit
4eed977d3bMartin Sjölund- Fix iconv errors
67c7e9d651Martin Sjölund- Add a HT
ccce539e83Jens Frenkelreplaced includes of Settingsfactory with SettingsFactory
0a02ede57dJens Frenkelreplaced all utils/extension includes with Utils/extension
038cbb3055Per ÖstlundFix for bug #1750: - Fixed propagation of visibility for extends.
400994e761Martin Sjölund- Finished propagation of FunctionHashTable
94168990beMartin Sjölund- Fix OMNotebook compilation
73da0ea11dJens Frenkel- add targets for runtimeCPP
c0ca49e193Jens Frenkel- add make files for cpp runtime call cmake
2caac13c43Martin Sjölund- Propagate functions further
e87e1183f1Martin Sjölund- Updated copyright holder
fe5c44ebebMartin Sjölund- Updated copyright holder
5db3873af8Martin Sjölund- Updated copyright holder
a52e23f2d8Martin Sjölund- Updated OSMC License
f9aed17333Jens Frenkel- fix testsuite
7aa712a9d3Jens Frenkel- fix tests linearization
45b1d24258Martin Sjölund- cmake is stupid and evil, and people write as poor cross-platform files as make, why use it?
9cea235f7eJens Frenkel- generate for each equation only one function in c code
5377f98e07Jens Frenkel- use state index direct instead of search for it in markStateEquations
85006083c2Niklas WorschechMoved boost::extension to Source/utils/ folder
331b859d51Martin Sjölund- Propagate more functions
a50e841dfdMartin Sjölund- Fix bootstrap compilation
57acd81ad8Jens Frenkel- continue to implement uniqueEqIndex for simcode
f7d4236730Jens Frenkel- start to implement uniqueEqIndex for simcode
4d47482ef5Martin Sjölund- Don't install-openturns on sane systems
8931a07f46Martin Sjölund- Propagate more functions
4256d35a26Adrian Pop- fix windows compilation.
0077476cf5Jens Frenkel- add index to each SimEqSystem
97e830fc5fMartin Sjölund#1751 - Changed the ModelicaInternal_getenv definition to match the declaration
f19610cf6dJens Frenkel- fix bug in calculaton of jacobian, in case of state jacobian have to generated for der(x) not for x
fa0fa4e248Adrian Pop- finishing up the OpenTURNS wrapper. - templates in share/omc/scripts/OpenTurns with all the needed stuff - added runOpenTURNSPythonScript to run the python file - everything works fine now on windows, can be easily adapted for Linux! - see testsuite/uncertainties/CantileverBeam.mos - fixed warning in solver/solver_main.c
afa4ea5e48Jens Frenkel- and tearing off after test
bee4633a69Jens Frenkel- try testsuite with tearing
356756e099Jens Frenkel- and tearing off after test
feac7ea84eJens Frenkel- try testsuite with tearing
d9cbf5179bJens Frenkel- fix bugs for tearing
15a3d75ebbJens Frenkel- and switch back to tearing off
eeaa1e0325Jens Frenkel- test how many tests fail if tearing is used
cc9ce655d1Jens Frenkel- minor fixes for tearing
975079a547Per Östlund- Fixing the testsuite again.
8bc10898b7Jens Frenkel- fix some bugs for tearing
4b30bc7917Per Östlund- Forgot to commit Error.mo.
19ef8f063fPer Östlund- Added error message when trying to redeclare nonexisting element.
cf6d6f111eJens Frenkel- dump more tearing information
fd49aaed1eJens Frenkel- minor changes to derivall for tearing - remove depug outputs from tearing - bugfix AdjacencyMatrixEnhanced - dynamic state selection, set start value of contition not static
acd39ae9abWilli Braun- updated non-linear systems solving algorithm - changed extrapolation data - added nominal values for scaling - adjusted the strategy of solving - marked some more ThermoSysPro examples as working
7b40318802Adeel Asghar- .ico file is required to generate icon for executable on Windows.
2fe083b7afJens Frenkel- fix strange infinit loop in c_runtime by reverse the order of the equations in strong component
9abd2daec3Jens Frenkel- remove BackendDAEExt from tarjanAlgorithm - use function transformBackendDAE in Uncertainties
56f61ec004Martin Sjölund- Propagate some more information so we can store functions in the future
52d7c51445Leonardo Laguna- Updated algorithm for equations extraction in uncertainties calculations. Note: no test has been added since we haven't defined the final output
edb69954f0Per Östlund- Fixed prefixing of function variables in SCodeInst.
4b7fc6bb32Martin Sjölund- Added tail-recursion for NORETCALL statements
1b69f3c07eMartin Sjölund- Started work on sending additional options to simplify
b9f3dbe53fJens Frenkel- fix compilation
c03486dafaPer Östlund- Removed deprecated workplan.
2783af706dPeter Aronsson-Implemented xml file for Uncertainty interface with OpenTURNS.mo -Updated CantiliverBeam.mos testcase
9462043d06Jens Frenkel- use simplifyTimeIndepFuncCalls module
2357b68dadJens Frenkel- minor fixes for new dynamic state selection
1e14e3ef40Jens Frenkeladd module simplifyTimeIndepFuncCalls
710c467854Jens Frenkel- fix bug for loopIndexTester model from forum
c04aee278fMartin Sjölund- Inst&Type if-statements
6534868897Martin Sjölund- Added vector-graphics icon for OMNotebook so it looks ok on modern window-managers
6cead72adbMartin Sjölund- Typing/Expand of algorithm sections are now propagated properly (but only for some of them)
349bad6826Jens Frenkel- fix compilation
110776292dJens Frenkel- continue new dynamic state selection
0bd16d6c0fJens Frenkel- fix compilation
97f1cf63e9Jens Frenkel- remove (again) all the unnecessary local BackendDAE.BackendDAE variable declarations
d2a4509761Martin Sjölund- Fix compilation (double errors 2 commits ago; fixed only 1)
e505b35bfaMartin Sjölund- Fix names of outputs to correct ones
af510b4ed7Peter Aronsson-Added generation of covariance matrix to openturns python script. Currently there is a limitation due to insufficient support of records inside vectors, so the covariance matrix must be defined using an algorithm section and the size must be declared as a constant, like this:
357d5dcff9Lennart Ochel- treat each initial_residual with a scaling factor of zero as unscaled initial_residual - [kinsol] switch globalization strategy (applied to the Newton method) to linesearch if the default one fails - introduce scaling for kinsol initialization method - fix invalid free-call after exception (THROW-macro)
97dfd9f96eMartin Sjölund- Fix tab errors
8584f82616Niklas Worschechfix in cpp template for array of models code generation
5b29895244Adrian Pop- MODELNAME is not required.
e8851d88c1Adrian Pop- use a defined variable for the wrapper name.
20220de35fPer Östlund- Some conditional component improvements in SCodeInst.
e0d5efbe78Per Östlund- Updated workplan.
7e61700773Adrian Pop- planning Excel sheet.
151d50bb81Per Östlund- Fix connector type check in SCodeInst for connectors derived from basic types.
f1373a0078Per Östlund- Moved the benchmark test models from doc/performance/benchmarks/tests to testsuite/benchmarks. - Added benchmark models from Marco Bonvini.
d85b676c1dJens Frenkel- fix compilation
60679287a7Jens Frenkel- remove local var declaration
6144e79812Jens Frenkel- remove tabs
380711895cJens Frenkel- remove tabs
7ce136c80fFederico BergeroFixing bug in QSS target
6aa7a95fc2Jens Frenkel- bugfix compilation
3e36ec3037Jens Frenkel- add AdjacencyMatrixTEnhanced - C-Implementation of Matchingalgorithms from Kamer Kaya, Johannes Langguth and Bora Ucar see: http://bmi.osu.edu/~kamer/index.html - improve tearingNew - fix coundOperations -> countOperations - minor changes to dump functions - remove getNumberOfEquationArray, is the same like equationSize - add new dynamic state selection module (not yet finished) - add source info for division by zero - add GraphML.mo (dumps grahml files see http://www.yworks.com, Matching.mo (some Matching Algorithms DFS,BFS,MC21A,PF,PFPlus,HK,HKDW,ABMP,PR_FIFO_FAIR,cheapMatching), IndexReduction (dynamic state selection, Pantelides index reduction)
4e69e96dc0Per Östlund- Removed tab.
6b855d615ePer Östlund- Added support for x = func(...), where func returns multiple values. - Some fixes for expandable connectors in SCodeInst.
ec56b85301Martin Sjölund- Tabs are evil
44545c5e64Peter Aronsson-Added attribute to builtin classes real and integer for uncertainty distributions called distribution with record definition: record Distribution String name; Real params[:]; String paramNames[:]; end Distribution; -Improved BackendDAEOptimize.removeParameters. Now also visits attributes of builtin classes (needed for uncertainty tests) -Introduced aliases in BackendDAEUtil so you don't have to write so much when declaring new variables from BackendDAE. -Added function BackendDAEUtil.getAllVarLst that retrieves all variables (incl. parameters) from the dae. -Added testsuite folder for uncertainties -Added functions BackendVariable.{setVarAttributes,varDistribution,varHasDistributionAttribute} -Added package Backend/OpenTURNS.mo and begun implementation of python script generation (distributions added) -Added script function buildOpenTURNSInterface(className,templateFile)
9f551390c9Martin Sjölund- Fix dependency analysis
8e0c50c420Martin Sjölund- Refactoring EQ_NORETCALL (store Exp to simplify implementation/traversal)
b2e4ae1d08Martin Sjölund- Added support for varargs-style functions in SCodeInst
face260e2bMartin Sjölund- Refactoring: SCode.ALG_NORETCALL now takes an expression to simplify traversal
c00395c751Martin Sjölund- Updated examples
2e3b512c86Martin Sjölund- Send enumerations to a function expecting enumerations instead of strings - Use the correct function header - Added bounds checking Thanks to Curt Siffert for reporting the bug
27a84b1ec7Martin Sjölund- Spelling
7578b392e9Jens Frenkel- BackendEquation.mo: add functions equationUnknownCrefs and traverseBackendDAEEqnList - BackendVariable.mo: splitt function createpDerVar in createpDerVar and copyVarNewName avoid side effects in mergeVariables by copy var array
9c77c45b19Jens Frenkel- Inline.mo: splitt function inlineEqOpt in two functions (inlineEq,inlineEqOpt) - Expression.mo: add functions traversingDerAndComponentRefFinder, expHasDerCref, traversingexpHasDerCref
70ec769a06Niklas WorschechAdded Ida solver to cpp runtime
d1234c096aPer Östlund- Allow expandable connector components in connects for SCodeInst.
e38f3d7fa1Martin Sjölund- Instantiate more statements
2be404c5d4Martin Sjölund- Changed structure of SCode.ALG_FOR to be nested instead of a list of iterators (to mimic the EQ_FOR structure)
f0b40291a7Martin Sjölund#1753 - Fix typo
2303359b1dMartin Sjölund- Fix compilation
9a78726fd1Martin Sjölund- Fix compilation
1bb2a31191Martin Sjölund- Changed the range of a for-loop to Option to account for implicit ranges in a more visible manner
e3731e0dc9Martin Sjölund- Handle inst of if-statements
865f644243Martin Sjölund- Fix the getInstanceName() documentation
11d1833930Martin Sjölund- Also generate MetaModelica documentation
3353694333Martin Sjölund- Added documentation for referenceEq - Made Builtin.mo load MetaModelicaBuiltin.mo using the correct filename+line numbers - Added fileName argument to val()
f9f4c97420Martin Sjölund- Do not re-run lrelease unless something changed
c041b9434eMartin Sjölund- Do not rebuild sample client every time
7299a6571bMartin Sjölund- getClassNames now handles classes with a constrainedby clause
c01ab90aa5Per Östlund- Forbid Real priority in potentialRoot calls.
175ebcab86Willi Braun - updated gantt workplan with frontend tasks
5268c978bbMartin Sjölund- Adding a function type
f2a8133671Adrian Pop- attempt to fix testsuite on Windows and Linux CLANG
55104a48dcLennart Ochel- fix undefined behaviour
6b60460144Lennart Ochel- fix memory leaks
51fbb3be82Willi Braun - added Workplan created with gantt((see http://www.ganttproject.biz (it's open source and for Windows, OSX, Linux)) as replacement for excel sheet. - right now only FMI and Backend planning is included, please feel free update with other tasks.
ee222fb2cbAdeel Asghar- match constrainedBy clause with NONE().
609d55e47aAdeel Asghar- Check the constrainClass while fetching the classnames.
b16c5da1ffJens Frenkel- bugfix compilation bootstrapped
f8b12c5adbJens Frenkel- bugfix compilation bootstrapped
c0a638da7dJens Frenkel- add modules tearing, coundOperations
8021e9fc26Adeel Asghar- Fixed a missing { in getExternalFunctionSpecification. - Also updated the test.
c49b9d26dbAdrian Pop- added: getShortDefinitionBaseClassInformation(path) -> returns: {} if no base class or no short definition or not found or {path, ""|"flow", ""|"stream", "unspecified"|"discrete"|"parameter"|"constant", "unspecified"|"input"|"output", {dimension}}
7302fe4821Per Östlund- Instantiation/typing of functions for SCodeInst.
5c26799e9bLennart Ochel- undo changes in initialization.c from last commit
271ff37cdfLennart Ochel- minor fixes - add initialization test case
ae62475a83Pavol Privitzer- assert() support in C# simulation code
a5ca9b17c0Lennart Ochel- fix for last commit
9e28fc06cfLennart Ochel- removed start-values from initial_residual - moved lambda from initial_residual into SimulationRuntime - split initialization up into several files - provide information inside SimulationRuntime whether start/nominal values are used or not - some minor fixes
681afab459Per Östlund- Cleaned up checking of connector types and added warning for connecting two sources. - Moved visibility attribute from DAE.Var to DAE.Attributes. - Removed direction prefix from components created by expandable connections, since we can't determine them reliably yet. - Other minor fixes to connections.
cba45016e6Martin Sjölund- cp -u is a GNU extension; we support non-GNU systems...
7426d6a4d3Adrian Pop- attempt to fix Windows compilation and testsuite.
80f8fda033Martin Sjölund- Do not add LDFLAGS twice
ff0642d758Martin Sjölund- Link with Sundials only if requested
419bf192a3Martin Sjölund- First step towards compiling without sundials
50ab12a56fJim NutaroFixed event handling in the adevs backend
535901daacJens Frenkel- bugfix linker realRand, intRand
6cf9f7cdbdMartin Sjölund#1746 - Fix for asub in functions
b4cf1fbf9bJens Frenkel- add function getVarDAE
b6eae6c624Jens Frenkel- bugfix tearing
2395631deaPer Östlund- Fix iterator typing in for equations for SCodeInst.
1335932babNiklas WorschechResolved name conflicts for some member variables of AlgLoop System in cpp runtime.
9f5bf0993eMahder Alemseged Gebremedhin+ Part of support for Class Attributes (objectives) for optimization class of Optimica extension.
82e8752588Per ÖstlundFix for bug #1738: - Check variability of first argument to reinit.
c2e589d320Martin Sjölund- Update the UTF-8 error message
3f54593e4aNiklas WorschechResolved name conflicts for some member variables in cpp runtime.
837aa467b2Martin Sjölund#1744 - Add OMDEV to checkSettings() result
8bde5e65a5Adeel Asghar- fix testsuite.
22aba21a32Adeel Asghar- Try -rdynamic instead of -ldl.
74ecd440eeAdrian Pop- no -ldl on MinGW! duh.
5283f2ae70Adrian Pop- mind the space.
d8759fd640Adrian Pop- attempt to fix the testsuite? - add -ldl with -whole-archive
341fc7a1a5Adrian Pop- squash the tabs.
f26242429eBill Janssenremove extra 'apply' around matrix XML dumps (bug #1743)
e3e74f773fAdeel Asghar- load all symbols defined in libSimulationRuntimeC.a into the simulation executable.
8da1bda646Niklas WorschechFix in event iteration of cpp runtime
45829f7e58Adeel Asghar- Run convert lines perl script on Model_functions.c file as well. - Don't generate #modelicaLine and don't run convert lines perl script unless user sets +d=gendebugsymbols flag or the grammar is MetaModelica.
b593b626f7Per Östlund- More cats.
3ad7dd323fAdrian PopOpenTURNS changes - added Makefiles for mingw. - updated to OpenTURNS v1.0. The wrapper .dll generation now works.
3454ba71edPer Östlund- Adding missing file.
1ba159f2bdPer Östlund- Implemented a new template based expression dumping. - Updated test suite.
0fb15e7b5fAdrian Pop- removed tabs in CodegenAdevs.tpl
81edf9cf60Jim NutaroUpdated and cleaned-up the Adevs code generator
05c977e389Adeel Asghar- Fixed lapack linking for FMU code generation.
8040c51176Adrian Pop- fix to make OMC happy.
b290a51e74Federico BergeroFinal version for article. All three example working
5214007c82Adeel Asghar- Fixed simulation for windows. -llapack is called -llapack-mingw on windows.
1d97dc78f9Willi Braun - changed THROWS back to WARNINGS (it seems that not all variables, a present in a dymola result file.)
902ff58131Lennart Ochel- get rid of some type mismatch warnings
dcbeb28cb2Bill Janssenfix for #1740, typo in string literal
dce291e9a2Lennart Ochelresolved dependencies between math-support and simulation/solver
94f3d6e49aAdrian Pop- remove the nominal warning for now. Lennart, please put it back when ready.
fba9e0744fAdrian PopCompiler/susan_codegen/SimCode/CodegenFMU.tpl - fix the FMU linking on Windows to Sundials Makefile.omdev.mingw - copy only the .a from OMDev Sundials to not use .dlls
942a72d0cfAdrian Pop- NOTE: update OMDev from Subversion! - fix the broken compilation in Windows (add the OMDev/lib/3rdParty/Sundials/include in the proper places) - use copy -pu to only copy newer files - get rid of omdev_qtdeps as they are no longer needed since a while now because sendData is no longer. - include events.h in initialization.c for initSample function and add the proper include flag. - copy the Sundials libraries to build/lib/omc as they are needed by the generated simulation code (initialization) and they also should be part of the new OpenModelica build.
1b4113b1beFederico BergeroFixing replacement error
0648c1a115Federico BergeroCreating the makefile
39cc21d026Federico BergeroWorking prototype
ffee0ad747Lennart Ocheladded new initialization method: -iom kinsol NOTE: new OMDev needed, do Subversion update on your OMDev!
e58fd6f3c3Martin Sjölund- Recommend omniORB in configure
0bf7367100Martin Sjölund- Add -I. to MICO CFLAGS
bca6824a51Jens Frenkel- dump id for matrix row
02a26d2bd0Jens Frenkel- take care of replace <,>... everywhere in dumpXMLDAE
f54f7f145fMartin Sjölund- Fixed getInstanceName() to work for packages and top-level models
9a201720ccJim NutaroUpdate to Adevs code generator for new simulation runtime
047ebd6625Adrian Pop- tabs instead of spaces.
8e78c88ad7Willi Braun- fixed testsuite for last commit
e12edd64dcMartin Sjölund- Some Makefile fixes
3bc9c3534aFederico BergeroUpdating algebraic loop code
3f8f480059Federico BergeroUsing crefEqual
bb6a96ce79Willi Braun- improved Backend compile time for big models with many parameters a lot. +BackendDAEUtil.mo - shifted evaluation of depending parameters to runtime as it's much faster than at compile time. +SimCode.mo - actually nothing. +BackendVariables.mo - removed a sorting function for translateDAE instead sort by merge sort from List module. It scales much better.
736d0deda2Per ÖstlundFix for bug #1733: - Fixed connection of complex arrays with subscripts.
7977c3302cPer ÖstlundFix for bug #1731: - Fixed connection of arrays with subscripts. - Updated testsuit due to changed equation order for connects.
49b2b3327aWilli Braun - fixed debug output for symbolic jacobians
a328249da7Jens Frenkel- bugfix coding style
413ad7244cJens Frenkel- bugfix coding style
14467ca3d1Jens Frenkel- compareSimulationResults: report vars in case of file not equal and print error messages if command failed - msl31/simulate: delete all generated files
677602dbb0Mahder Alemseged Gebremedhin+ Fix windows compilation. update r11840. random and srandom. Moved defines to openmodelica.h.
b4af0a1158Jens Frenkel- XMLDump: fix implementation to handle also several indipendent systems - BackendDump: add function debugStrEqnStr
318847e509Martin Sjölund- Use srand/rand instead of srandom/srand on non-POSIX platforms
677e97b1b4Willi Braun - fixed array exp in symbolic jacobians
9f106c1aa4Willi Braun- fixed coding style
a104c51ef9Willi Braun - created PastOptModules for Symbolic Jacobain and Symbolic Linearization. They can be actived by "generateSymbolicJacobian" or "generateSymbolicLinearization" - Imporoved the performance of generating sparsity pattern - added therefore symbolicJacobian to BackendDAE
f9251d8612Martin Sjölund- Added better System.*Rand functions based on srandom() and random()
731cb1bc7ePer Östlund- Added check that the first argument to reinit is a subtype of Real.
67041ced18Per Östlund- Removed failtrace from Expression.subscriptIndexExp, since the function is expected to fail sometimes.
4fe6b1f078Willi Braun - included functionTree to BackendDAE - create from removeUnusedFunctions a pastOptModule
1fc44f219bAdrian PopBackEnd/BackendVariable.mo - use ComponentReference.printComponentRefStr to also print the subscripts.
8edc12ecd2Adrian Pop- undefine macros if they exist because we really need to replace them in that context because the already defined ones contain references to undeclared variables.
bf89fcdd6eAdrian PopBackEnd/BackendVariable.mo & FrontEnd/DAE.mo - better error message for variables with values outside the [min, max] interval.
6b08675e63Adrian PopBackendVariable.mo - display the min/max limits for the variable in the assert message.
0393072a11Jens Frenkel- add boxptr_intMin - bugfix setPastOptModules -> postOptModules
f7a34983b7Jens Frenkel- minor changes to dummy state selection heuristic
26ba7dcddcJens Frenkel- BackendDAEOptimize: doReplaceScalarArrayEqns more generic - BackendDAETransform: simplify code, use stateorder for differentiated equations - PlanarMechanics: set initialconditions - Update testsuite
0ce3c23c8dJens Frenkel- add function rand to System
4c54d93821Jens Frenkel- move ModelicaConfic.inc to /include/omc/cpp
6f46409503Jens Frenkel- use full path to include ModelicaConfic.inc - copy LibrariesConfig.h to OM_HOME/include/omc/cpp because this is in include path
691577ee5cJens Frenkel- fix typos
f81249ea1aJens Frenkel- improve handling of complex equations - improve evaluation of parameters with Evaluate=True annotation - add built in functions to set machtingalgorithm - update testsuite
60da35af49Adeel Asghar- Fixed the spaces problem.
54ad96e68cAdeel Asghar- Updated the pro and readme files according to omniORB4.1.6
8208630904Adeel Asghar- Updated the pro and readme files according to omniORB4.1.6
d18b7a24c4Adeel Asghar- Updated the pro and readme files according to omniORB4.1.6
e1994a78e9Per Östlund- Fix for previous commit.
9cd50de1c3Per Östlund- XMLDump fixes from Bill Janssen.
b36aabf081Federico BergeroGenerating a linear algebraic loop solve function and a header for parameters
994de6d36aPer Östlund- Fixed compilation.
f1861b7e36Per ÖstlundSCodeInst fixes: - Improved instantiation/typing of equations. - Handle deleted components in connections. - Improved propagation of prefixes, now also propagates class prefixes.
8526c9481dMartin Sjölund- Only enable python interface if we use omniorb
ae54abfe13Federico BergeroMinor modifications to code
0565490998Jens Frenkel- fix testsuite
2f5cb926b2Jens Frenkel- bufix bootstrapp compilation
bfef39edbdFederico BergeroGenerating when handlers
33a4aa37bfWilli Braun - removed some tabs
158fe0827dWilli Braun#1728 - added proper message to findDiscreteEquation - added some failure cases
2bb07f700ePer Östlund- Fixed bootstrapping, and improved an odd error message.
c9ecce66d8Per Östlund- Replaced tabs and converted files to UTF-8.
fcd72635fbPer Östlund- Added Util.arrayFold. - Implemented a phase in SCodeInst which marks all structural parameters, to allow proper constant evaluation.
78c1eb6fdbPer Östlund- Replaced even more tabs.
f341394572Mahder Alemseged Gebremedhin- Moved the OpenCL runtime to SimulationRuntime
22be9a1aeePer Östlund- Replaced tabs.
0c2bb2ff05Niklas WorschechFix for Idas Solver. Initialization of idas memory,initialization zero functions, added RTol and ATol to solver settings.
bc65ed978eAdeel Asghar- some corrections in the english text and translations. - Italian translations (Thanks to Massimo).
fdecfb39c0Federico BergeroChanges to the QSS target. Replacing variables and discontinuities
19513ae285Martin Sjölund- Apply the iconv if using non-UTF8 target
bc30c30f25Mahder Alemseged Gebremedhin- Adding support to enable XML export of Optimization Modelica models (Optimica Extensions).
92d539dd3fAdeel Asghar- Removed ptplot.jar and ptplot_license.txt - some translations.
1b55166f8eAdrian Pop- some more Romanian. - fixed an English typo.
055ec874daAdeel Asghar- Removed plot2, plotparametric2 and the script files associated with it.
3c152cda9eHenning Kiel- added missing closing brace to translatable string - german translation complete, needs to be checked for consistency
21c4acdb87Leonardo Laguna- Fixed small bug in setPos function. - Changed the scope of map1r to public
008244d76bAdeel Asghar- Fixed connect equation indexing problem (thanks to Henning Kiel). - Properly check annotations before creating a redbox.
45597ea68aLennart Ochel#1721 fix for initial()-operator
4c880a2a72Martin Sjölund#1719 - OMEdit: Handle pathnames with quoted identifiers that contain dots in the last part
a2df03be81Martin Sjölund- Added testcase for checking a recursion limit of any class (maximum depth=100)
8bed502d62Martin Sjölund- Run lrelease on the project
1479b8fe30Martin Sjölund- Update all ts-files regardless if they are in a makefile or not
fdf4f6e48dHenning Kiel- added spanish language
ac26004f7aMartin Sjölund- Avoid segfault on UTF-8 error
276d31d23eAdeel Asghar- Load Qt qm files for windows.
077db9e7e9Adeel Asghar- Minor modifications for chinese translations.
cc39bd70fcAdeel Asghar- Generate red box for components with no annotations. Three locations are checked, the items annotations, the components annotations and the inherited components annotations. If all three are empty we show a read rectangle with a cross in it. - Better support for translations. - Added the default Qt translations as well.
26432f3d9dMartin Sjölund#1723 - Automatically load dependencies of a model (uses annotation) upon instantiation
fed810e182Per Östlund- Save modifiers that only makes a component final in Absyn2SCode. - Handle modifiers that does nothing in SCodeMod.
af3cff6edfPer Östlund- Improved the swedish translation of OMEdit.
7e126e6516Martin Sjölund- Regenerate all qm-files
f1d436a163Martin Sjölund- Add PARTEVALFUNCTION to the list of called functions in a function
7ff8a33d90Adeel Asghar- Use ./ in makefile.
077e748440Adeel Asghar- Fix hudson.
bd356642c9Adeel Asghar- Fix hudson build.
73c308ad6fAdeel Asghar- Fix build and some minor changes.
4529c6ea0eMartin Sjölund- Check Absyn->SCode before accepting a string or file as valid abstract syntax
3851b500a0Adeel Asghar- Fixed isReplaceAble API. - Added testcases for some APIs. - Added French & Romanian to language dropdown. - Moved the translations file to OMEdit/OMEditGUI/Resources/nls/.
5e1236c1e4Adeel Asghar- Fixed isReplaceAble API. - Added testcases for some APIs. - Added French & Romanian to language dropdown. - Moved the translations file to OMEdit/OMEditGUI/Resources/nls/.
a75cc69ee5Martin Sjölund- Don't return loadFile("package.mo") success on error
b54e2b3b4aMartin Sjölund- Don't return loadFile("package.mo") success on error
5431721448Adrian Pop- fix the English typo. - add partial Romanian translation. - small fix in the Swedish translation.
ffc09d287eHenning Kiel- added some more german translations
6194d5aa24Henning Kiel- added some more german translations
a7e47bab63Adeel Asghar- Fixed getNthImport.
26fba76846Adeel Asghar- Added french translation file.
09edc2e4e5Per Östlund- Fixed better messages for modifier errors in SCodeInst. - Added better control over constant evaluation in Typing.
67ffcc9143Martin Sjölund- Added Japanese translation stubs
bc9c2f4359Henning Kiel- added some german translations
7fd8f056c6Martin Sjölund- Added German language to the combo-box
50badcf741Martin Sjölund- Revert r11711 as it is plain wrong
d080b848e0Adeel Asghar- Changed the utf-8 error to warning. - getErrorString() only returns messages that have severity = ErrorLevel_error
3193c2df42Martin Sjölund- Fix for the type system when calling getGlobalRoot with a non-boxed lhs
fd71517ef4Jens Frenkel- replace some matchs again inputs with wildcard
bcb9f9b678Jens Frenkel- BackendDAE.mo: add Comment - extend Backend pipeline with functionalety to select matching algorithm - Bugfix for DynamicStateSelection, in function BackendEquation.equationAddDAE do not throw incidenceMatrix away - add function BackendVariable.daenumVariables, return the number of Variables in BackendDAE
ce6c2eb85dMartin Sjölund- Move the printing of some config flags around - Added +help=flagName option
a09de84c36Martin Sjölund- Some German translations for OMEdit
faa326d47cJens Frenkel- add flag "matchingAlgorithm" to select the MatchingAlgorithm
cd6e069d20Martin Sjölund- Swedish translations
905201bac4Adeel Asghar- Don't translate Modelica keywords.
c7d5419105Martin Sjölund- OMPython docdir removed
ca00143388Adeel Asghar- Swedish translations. - Use -noobsolete flag to remove the obsolete translations in the files.
80d1c3d5a4Jens Frenkel- bugfix removeSimplequation alias der - bugfix alias a=der(var)
389c8c590aAnatoly Severin- added some tr() in OMPlot - OMEdit: added translation of OMPlot in .ts-files
12bf1bd59aAnatoly Severin- added some tr() in OMPlot - OMEdit: added translation of OMPlot in .ts-files
2e680399dbAnatoly Severin- added Russian translation
3d29be7d75Adrian Pop- fix equalityConstraint function return type.
792a788942Adeel Asghar- Allow automatic width for options list. - Remove multiple initializations of Helper::noColor
89e2fcb451Adeel Asghar- PTII environment variable not required anymore. - Changed PTII to OMPTII. - Removed OMPython-UserManual. OMPython documentation is moved to OpenModelica usersguide.
1fafe8a465Adeel Asghar- PTII environment variable not required anymore. - Changed PTII to OMPTII. - Removed OMPython-UserManual. OMPython documentation is moved to OpenModelica usersguide.
ab4cf0b0adJens Frenkel- got rid of bootstrapped warning
83b0013cafAdeel Asghar- SVN id tag.
a65ac59df2Adeel Asghar- Some more fixes for the translations. - Added the missing Q_OBJECT macro. - Removed stupid Qt default buttons as they are not translated.
df6fd9f43bMartin Sjölund- Install OMPython documentation
d8785dd03bAdeel Asghar- Fix build.
06d9d9a616Adeel Asghar- Swedish translations. - Language drop down in the options widget. - Changed the files tab width. - Allow users to unset the modifiers value.
2e5c84c3b5Martin Sjölund- Fix testsuite
554a5b3202Martin Sjölund- Some fixes to dumping as corba string
fedb0ed60fPer Östlund- Changed simplification of scalar-array operations with an empty array to return an empty array, instead of an array with one element.
cf18e072e9Per Östlund- Fixed correct types on array-scalar and scalar-array operations. - Updated test cases due to changed operation order.
afb5d60955Martin Sjölund- Added API call setInitXmlStartValue
88e8c362efMartin Sjölund- Make checkSettings() less verbose
fa893b27e6Martin Sjölund- Set OPENMODELICAHOME
af2f6103a5Martin Sjölund- Fixed the Java DefinitionsCreator
2c46dcc01bAdrian Pop- added isShortDefinition API and tests in testsuite/interactive/interactive_api_calls.mos for it.
5c616980cfAdrian Pop- fixed "setParameterValue" API in Interactive.mo to update the program. - added tests for this functionality in testsuite/interactive/interactive_api_param.mos
89af2bc976Adrian Pop- fix so that loadModel works fine; geez, this was a weird one, libModelicaExternalC.a re-defined (badly) opendir, readdir and some other dirent.h functions, but MinGW already has them. This made SystemImpl__getLoadModelPath to fail.
37f28bed4bMartin Sjölund- Some fixes for Java interface
9ee95e0599Martin Sjölund- Added scanReal ceval
754b7f9028Martin Sjölund- Handle Modelica.Utilities.Streams.* external functions without generating so-files
fbf52519fcWilli Braun - added a figure of the overall structure drawn with dia.
e88393991ePer Östlund- Renamed members of DAE.RANGE to something sane. - Added various List.threadMapReverse functions. - Added BaseHashTable.addUnique. - Instantiation/typing improvements for equations in SCodeInst. - Various other SCodeInst improvements.
eebdf96db2Per Östlund- Fix RML compilation...
5d9e5f5c2fPer Östlund- Fixed bootstrapped compilation.
405a23f236Martin Sjölund- Fixes for getAstAsCorbaString
de0e2daa84Federico BergeroChanges in the QSS version.
091ea51124Martin Sjölund- Changed the Dependency+SCode+Inst calls everywhere to: + CevalScript.runFrontEnd(...), which does more error-checking - Removed Inst.{instantiate,instProgram} as they are not needed (they were used to inst the last class of the program; which can be performed by asking for the last class of the program and instantiating that)
35f0746456Martin Sjölund- Make omniidl command more suitable for parallel jobs
141ab87a10Martin Sjölund- Make omniidl command more suitable for parallel jobs
c9c91e3891Martin Sjölund- Make omniidl command more suitable for parallel jobs
a654e8cf95Martin Sjölund- Fix make install
ef74725f16Martin Sjölund- Install OMEdit nls files
1c211bbb6aAdeel Asghar- Release notes.
d27a356150Willi Braun - optimized fmi-export calculations - added support input and output vars for fmi-import and a test-case - added a better flow control for fmi-import models
42954a3f12Martin Sjölund- Expected output, etc
44dd6b9692Martin Sjölund- Fixed some of the testcases (tries to simulate packages, instantiate functions)
dc0a8fab17Martin Sjölund- Add a check for uses-annotations being fulfilled before starting inst/translate model
3711751e44Mahder Alemseged Gebremedhin- Compact free_memory. Check parallel variable type in Template. Generate one more file for ParModelica.
01fa03a8a0Martin Sjölund- Fix translation (r11632 broke) - Updated timestamp translation
4263885cf2Per Östlund- Better error message for non-connectors in connections.
a62b230c63Adeel Asghar- Catch the std::runtime_error. - Better checking for translations file.
cdc61a948fMahder Alemseged Gebremedhin- Proper naming.
c397800ec8Adeel AsgharFix for bug #1722 - Removed the Ambiguous shortcut.
e1e8462f13Martin Sjölund- Load NLS files based on OPENMODELICAHOME, not relative to cwd
002a342fd0Anatoly Severin- OMEdit: added localization
63b48f990cMartin Sjölund- Removed the need for DRMODELICAHOME env.var
91fa00685eMartin Sjölund- More detailed parser error
d0a3630b44Mahder Alemseged Gebremedhin+ Added the OpenCL runtime.
823d9287edWilli Braun- fixed coding style
6b95e134b0Willi Braun - changed compilation flag for fmu-export from -O2 to -O - added String support for fmu-import - added MultiBody.DoublePendelum test
f1ede99230Mahder Alemseged GebremedhinFix error in template and remove Tab.
e88c8c845cMahder Alemseged Gebremedhin+ Handling of parallel variables in the Back-end. Mostly fall-through. + Limited handling of parallel variables in Code generation.
8cb443b587Per Östlund- Remove tab.
07e5ba7b49Willi Braun - fixed some fmi-export memory leaks
7f531f226aNiklas WorschechFix for assert expressions in cpp template
8045440be7Jens Frenkel- fix tests
ba32d939cfWilli Braun -fixed CODING_STYLE
4e31a8a44eWilli Braun - fixed FMI-Export Alias variables
e0432ceda5Jens Frenkel- add comments to flags, add flags - bugfix removesimpleequationspast - update teststuite msl31/simulate - add experiment annotation for M.M.Rotational.ElasticBearing
d5ff66a130Adeel Asghar- More documentation. - New chapter for OMPython in OpenModelicaUsersGuide.
466b80da60Adeel Asghar- More documentation. - New chapter for OMPython in OpenModelicaUsersGuide.
539c9e65f7Jens Frenkel- add function dumpEqnsSolved, to dump the equations in the order of calculate them
c5f65169ecJens Frenkel- Bugfix codegeneration for tearing system, use index from original system
65242fc323Willi Braun - removed some tabs
daa0078787Willi Braun- aded fixes and tests for fmu-export and fmu-import
4826c6496eAdeel Asghar- Check for simulation executable crashes. - Only send simulation flags if user specify them.
1a77c3ae35Per Östlund- Initial support for equations in SCodeInst.
fd1e6c09feMartin Sjölund- Also look for package.encoding in the library directory if the file is a mo-file and not a directory of its own + Note: This affects all packages stored as file in this directory
4f93a145aaMartin Sjölund- Parser now supports the BOM
6e22793e8fMartin Sjölund- Added option to loadFile(..., encoding="ISO-8859-1"), to convert from one encoding to UTF-8 - loadModel(): Added support for package.encoding (OM extension)
be8625e6a1Adeel Asghar- Added OMPython doocumentation to OpenModelicaUsersGuide. - Moved the OMPython docs from PythonInterface to doc/OMPython.
7fa8efee4dAdrian Pop- force UTF-8 encoding in project: .settings/org.eclipse.core.resources.prefs - get rid of tab in Compiler/runtime/SimulationResultsCmp.c - fix expected output in failing tests in testsuite/libraries/msl31/simulate/*
0824b1146bMartin Sjölund- Use system isnan
7a57eee00aAdrian Pop- do NOT define isnan in a header! it will conflict with other C headers.
2a77293366Jens Frenkel- BackendDAEOptimize.mo: improved Aliasvar selection, check if var is generated by omc (Dummer_der) and prefer other candidate - SimulationResultsCmp.c: prepair all to report vars with different values in time @Adrian: ToDo: return string with variables - Update msl3.1/simulate examples - add check for NAN while divide, torn on with define CHECK_NAN
dee3a74089Martin Sjölund- PythonInterface make clean
c6c7d60bfcAdeel Asghar- Fixed some path issues. - Generate two packages OMPython and OMPythonIDL. - Generate _OMCIDL instead of a very generic name _GlobalIDL. - Fixed Popen problem. - Write omc output to a log file.
38855c87f6Martin Sjölund- Added simplify all expressions before/after optimization phases - Removed odd hacks that assume Expression.isConst is actually Expression.isConstValue + The difference is that you need to simplify a const non-value for it to become a value
b3bc4aa16cMartin Sjölund- Add flag so we can --disable-python-interface
6683e28088Adrian Pop- fix the UTF-8 encoding.
7f3048c51fAdrian Pop- add new heuristic to Compiler/BackEnd/BackendDAEOptimize.mo if two aliases have different start value choose the one more closer to the top of the instance hierarchy. - add ComponentReference.crefDepth in Compiler/FrontEnd/ComponentReference.mo' - fixed testsuite/mosfiles/nonConstantParam.mos output
98b6610e18Adrian Pop- add new heuristic to Compiler/BackEnd/BackendDAEOptimize.mo if two aliases have different start value choose the one more closer to the top of the instance hierarchy. - add ComponentReference.crefDepth in Compiler/FrontEnd/ComponentReference.mo' - fixed testsuite/mosfiles/nonConstantParam.mos output
cc3c124602Adeel Asghar- Moved OMPython manual.
42848c11dcAdeel Asghar- Fixed compilation for MAC. - Added version numbers for settings.
16097f1405Adeel Asghar- Support for simulation flags.
26c0f4b5afAdeel Asghar- Support for simulation flags.
a577b75d79Martin Sjölund- Succeed on success
41368a7e65Martin Sjölund- Use suffix .in for in-files
eb24dfa956Martin Sjölund- Conversion to UTF-8
c13c989b33Martin Sjölund- Verify that string literals are encoded in UTF-8
42f2f7e5a3Per Östlund- Got rid of tabs.
0d38da2eb4Martin Sjölund- Converted the older libraries to UTF-8
8633dd7eddMartin Sjölund- Fixed the encoding of the remaining files (added .tpl, fixed some illegal chars in interactive)
00aca314e0Martin Sjölund- Fix encoding in CPP and interactive
b2e92d22d9Martin Sjölund- Fix C-runtime encoding (UTF-8)
5bfeaf71f0Martin Sjölund- Converted OMOptim/OMShell to UTF-8
b99a42fb30Martin Sjölund- Converted OMNotebook to UTF-8
28a8d0f4ccMartin Sjölund- Converted some files to UTF-8
7be2fbe3d0Martin Sjölund- Converted some files to UTF-8
49db26a928Martin Sjölund- Added make target utf8-error
d34760991fWilli Braun - fixed Makefile for FMI
0f1d979bb8Willi Braun- fixed FMU-Export - fixed FMI-Import - moved FMI-Import to SimulationRuntime
64677d456dAdrian Pop- report an user understandable error message when trying to instantiate or check an model that does not exists.
544986d32dMartin Sjölund- Fix typo
d1def1447eMartin Sjölund- Remove tab
32253b8f31Mahder Alemseged Gebremedhin- Coding style.
3c58c05b0aMahder Alemseged Gebremedhin+ Added filing of arrays from range expressions. - Avoid previous unnecessary array copies.
2f9db908c0Martin Sjölund- Moving python interface
8d132413a5Martin Sjölund- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
40550d9dfeAdeel Asghar- Save user customizations between different sessions. - We need to define unique object names for dockwidgets/toolbar etc. by calling setObjectName for customizations to work properly.
ad94da8c42Adeel Asghar- Added keyword tag.
38b7402ef5Adeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
63f6e977fcAdeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
ad42b2901cAdeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
1acd91d170Adeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
0cdef7b173Adeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
5f273efe67Per Östlund- Added check for connect equation in initial equation sections.
617a2e7869Adeel Asghar- Added $Id$ tag.
49a099eb06Martin Sjölund- Better SimCodeDump for when-equations
f514b5aee4Martin Sjölund- Fix for linear systems with the same index (why add these in the first place?)
8019b4df6cAdeel Asghar- Updated the instructions.
a4da03bd7ePer Östlund- Got rid of more compiler warnings.
b671be5035Martin Sjölund- Added crefs to linear systems in the simulation info (same as for non-linear systems) - Added system sizes to the description of linear and non-linear systems
51a70884feMartin Sjölund- Simplify matrix+asub {{...},...,{...}}[1,2] => ...
91baa06d9bPer Östlund- Get rid of some compilation warnings in interactive.
6ebabb3ec9Martin Sjölund- Fix segfault
6fdb6d64d9Per Östlund- Added checks for valid class types of components in SCodeInst.
c1a7519399Martin Sjölund- Some fixes for the gnuplot connection and log-scale of zero measurements
ac140bdfbdMartin Sjölund- Adding some more function calls to the profiling
fc93863f03Martin Sjölund- Some fixes for gcc 4.7
5cb466fcaaPer Östlund- More improvements to cref prefixing in SCodeInst.
7f88639f1dAdeel Asghar- Generate code with +d=gendebugsymbols flag.
920611fdc7Per Östlund- Fix compilation.
ae31ec6b41Per Östlund- Preserve subscripts when prefixing crefs during instantiation.
b701329483Per Östlund- Fixed broken compilation due to RML stupidity.
09eec6356fPer Östlund- Implemented better handling of component names in SCodeInst.
d2a27b490aMahder Alemseged Gebremedhin+ Merging the parallel extensions. + Traversal and analysis of parallel for loops. Checks all component references in the body and makes sure they are valid. + parallel and kernel functions are handled in the Front-end now. + parallel variables are handled in the Front-end now. - some checks and restrictions remain, but nothing that affects the normal OM compilation. * so far so good.
09e244b364Jens Frenkel- remove taps
2a829f1a5dJens Frenkel- fix compilation
aca6b7ab09Jens Frenkel- BackEnd/BackendDAETransform.mo: remove some unused matches, cleanup code - BackendDump.mo: new function debugStrCrefLstStr - SimulationResultCmp: use C style comments - add flag "stateselection" to dump selected states of the model, use it with flag "backenddaeinfo" - fix CMakeList files - read_matlab4: - improve reader, read now also latest dymola files with single pressision
10b0e8ff5aWilli Braun - inverted +v flag. By default are all arrays crefs vectorized. One can set a still a Limit to aviod that.
47ea9e78dfAdeel AsgharFixed python API Interface for Linux.
6ed8d93e39Adeel Asghar- Fixed typo.
b5a78a95b0Adeel Asghar- Generate python stubs in stubs folder. - Added the setup.py script to install python API.
60cef440d1Adeel Asghar- Fixed hudson build.
e427f8f430Adeel Asghar- Changed Parser to OMParser.
c52b87c41cMartin Sjölund- Allow omniidl-python fail on OSX
1102424057Martin Sjölund- Fix to make sure python interface is built - Check if using omniidl, else don't create it
c34408d616Martin Sjölund- Better copying of ompython
5d7f83e6d9Martin Sjölund- Don't ask me why it does not work, but I had to ifdef out the THROW in division.c or linking fails on OSX
72982a62e4Martin Sjölund- Renamed error.h to omc_error.h
6f0de69d5eAdeel Asghar- Fixed build.
eac4868675Adeel Asghar- Added +d=gendebugsymbols flag to generate code with debug symbols for standard Modelica.
e7a9b1405aPavol PrivitzerSmall C# template update
8b6b2b2147Adeel Asghar- Updating OMDEV is required. - Added ompython to Compiler/scripts (From Anand).
6b764044a4Adrian Pop- fix a case of "how the beep did it worked until now"? - EQ_NORETCALL should be returned instead of ALG_NORETCALL
cacbb92960Jens Frenkel- bugfix for complex equations in strong connected components - add test for complex equation in strong connected component
e3481167c3Martin Sjölund- Create the result.xml in the correct directory
84f65b6021Per Östlund- Refactoring of SCodeInst.
66e74ab3e0Henning Kiel- remove stray "*/" - change calloc to malloc for immediately initialized memory
99c6b7505dHenning Kiel- remove typo
f6fcb08b49Martin Sjölund- Fix columns
7abb904ac8Martin Sjölund#1408 - Removed support for min/max(string) as only enum,bool,int,real are allowed
4006b9ddafAdeel Asghar- Fix the tabs :)
dbc97451d0Adeel Asghar- Fixed OMEdit to handle new changes of importFMU.
225778b2cbAdeel Asghar- Fixed the importFMU. - Removed the moGenerator::getDecompPath(), omc should sent the right output directory to fmigenerator.
bd1da5c336Martin Sjölund- Fix coding style
07d4c53cdcMartin Sjölund- Increase ulimit
5750dc42d3Martin Sjölund- Changed order of cells
001cbb08a5Per Östlund- Fix application of redeclares in SCodeInst.instExtends.
367e8e7729Martin Sjölund- Try to run the simulation in BuildModelRecursive.mos
a6da3c2467Martin Sjölund- Terminate the find regex so we do not find .h0 files on some OSes
1d3425c773Martin Sjölund- Remove some tabs from sources
fe108e6b11Martin Sjölund- Remove some tabs from sources
88cad0cb84Martin Sjölund- Improved tab detection
dbd429c42aMartin Sjölund- Improved tab detection
b5a0193a71Martin Sjölund- Added make target tab-error
72a80eabf1Martin Sjölund- BuildModelRecursive.mos now sets a ulimit on time
b11e136c25Per Östlund- Removed invalid 'external' prefix from external functions in SCodeDump.
86b309d224Jens Frenkel- implement new remove simple equation modules (removeSimpleEquationsFast,removeSimpleEquationsPast) speed up around 40% for backend - use IncidenceMatrix BackendDAE.SOLVABLE for Matching - function vararrayList is protected use BackendDAEUtil.varList - fix tests
42e2194eaaJens Frenkel- bugfix derivative of ASUB
d1b07d89ffMartin Sjölund- Make sum(scalar) an error
1db0c88812Jens Frenkel- fix for Bug [# 1596] Simple equation not found - fix name problem for mosfiles/BouncingBall2
84994474f1Jens Frenkel- remove unused code
0bdd5fe789Jens Frenkel- fix test
20e9f4a2e5Jens Frenkel- break loop in Derive by providing information about inline success
1facf25e3eJens Frenkel- ~10% speedup for removeSimpleEquation
220370b51cMartin Sjölund- Removed support for enum and Integer being compatible types - Testsuite still runs - But probably still problems in MSL31
63c01d5a5bAdeel Asghar- Check for the extent points value before calculating the boundingRect.
e04e6ccac5Martin Sjölund- Expected output - Removed support for type-conversion from integer to enum * Note: Integer literal to enum is still in use. It will be the next to go, but MSL needs some more updates
581b865d24Martin Sjölund- Moved connect(a,a) warning to Inst instead of SCode
a0e3910406Jens Frenkel- report Error Message in case of Discrete Equation Systems
9361766054Jens Frenkel- remove rule for min/max (enumeration, int)
145c6ffd50Adeel Asghar- Changed UTF8 to UTF-8.
7399c0c01dPer Östlund- Improved handling of bindings and deduction of array dimensions in SCodeInst. - Added List.lastN and List.stripN.
f440455aa4Johanna Schneider- bugfix tearing
e01ca0430dPer Östlund- Implemented class extends support in SCodeInst.
0be4f0feaaMartin Sjölund#1710 - Check filename for invalid characters
92118aa886Jens Frenkel- simplify min/max(enumeration) - set min max from enumeration for variables (maybe should be done in frontend)
51d48dfac7Adrian Pop- fix the CodegenC.tpl for T_ARRAY (be more specific). - expected output in testsuite/parser/ParseFullModelica3.1.mos
76c40398e1Adrian Pop- MAKE CLEAN is highly recommended!
f0ec206707Jens Frenkel- lower enumerations to discrete vars like integers
8d091bca6eJens Frenkel- Var is either continous or discrete
44cf4ed1c6Adrian Pop- division.h: switch __FILE__ and __LINE__ in DIVISION macro as they are expected by division_error function.
3588d1c905Adrian Pop- replace array constants with their binding (maybe we should only do that for package constants). - added testsuite/3rdParty/TestMedia [from Francesco Casella] which now works to simulate too. - 17 more Modelica.Media models now work, 3 left. NOTE HOWEVER that simulation fails in some cases due to divisions by zero or other issues, but at least the models compile.
a1420dff55Jens Frenkel- fix test
34e306bda1Jens Frenkel- fix compilation
348541cc7cJens Frenkel- add Incidencematrix type SOLVABLE - add compleqs to traverseBackendDAE and checkBackendDAE functions - use traverseBackendDAE in PartFn -> easier maintainance - more information if createOdeSystem fails
fdedaa2f48Lennart Ochel- fix for mapToDymolaVars
666585e4adAdrian Pop- OpenTurns updates.
3ea6b29627Adrian Pop- consider also partially evaluated functions and also do union as we seem to get duplicates.
af5e49a0efAdrian Pop- also consider external functions! duh :) - expected output for some tests.
13085f10d4Jens Frenkel- remove unused functions Bug [# 1708] - move Modelica.Media.Examples.TestOnly.IdealGasN2.mos Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.mos Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.mos Modelica.Media.Incompressible.Examples.TestGlycol.mos to working test - update CMakeLists.txt
810dea936fLennart Ochel- import from matfile supports now variables with dymola names
64c3e33962Jens Frenkel- simplify size operator helps media
ffdf6c750dPer Östlund- Removed some deprecated code from SCodeInst.
79b0f32ea6Jens Frenkel- break loop in Derive
c9c77b7fcdLennart Ochel- stop the simulation, if an error occurs
285bca3c20Per Östlund- Partially implemented error message for cyclic dependencies in SCodeInst.
12cc2f8d71Jens Frenkel- fix for bug [# 1693] , use type of expression for mul when calculate the derivative of DIV_ARRAY_SCALAR
afbf0902bcLennart Ochel- minor fix
2f1ad8bb3fLennart Ochel- add two optimization methods from OM1.8.0 (simplex and newuoa)
5c4f06cc21Per Östlund* SCodeInst fixes: - Instantiate cref subscripts. - Correct instantiation of function names.
e319c11e65Martin Sjölund- Parse comments in correct order
0eb0a969e7Jens Frenkel- bugfix blt, do not check continues vars in relations - update path in interaktive readme
298dabc55cJens Frenkel- if derivative of function does not exist force inline to get media examp working
5e46962e9dJens Frenkel- force inline again for complex equations but check function has only one assignment - check while inline if all inner variables are replaced - 3 Media tests back in game
0486c5507eJens Frenkel- add missing code for functions return records in optimisation modules
b053c77368Jens Frenkel- do not force inline for complex equations helps TestMedia
a0dac2654fAdrian Pop- changes in backend considered in XMLDump.mo too - dependency seems to be broken, i think we also need to consider protected imports.
9b8585efa7Jens Frenkel- implement support for functions return records down to code generation, code generation works for record = f(); f() = record
0b48819273Adeel Asghar- Fixed the stupid OMSketch code. Now OMNotebook doesn't hang while opening. - Some other minor changes.
bd395b5989Adeel Asghar- Added OMOptimLib.pro
fb7c682967Adeel AsgharFix for bug #1705 #1706 - Added the flag to set plot silent +plotSilent=true (if true then outputs the data instead of showing the OMPlot). - Some fixes for OMNotebook plotting. - Fixed the file saving issue.
7c07c88e34Adeel AsgharFix for bug #1705 #1706 - Added the flag to set plot silent +plotSilent=true (if true then outputs the data instead of showing the OMPlot). - Some fixes for OMNotebook plotting. - Fixed the file saving issue.
f0cdf47dcfMartin Sjölund#1707 - Add support for functions returning arrays of strings
8fe51640e5Per Östlund- Fix correct propagation level for modifications in extends in SCodeInst.
b506495be6Adeel Asghar- Integrated OMPlot with OMNotebook. - Saving the embedded plots is reopening it is also possible now.
cea7ec08b6Adeel Asghar- Integrated OMPlot with OMNotebook. - Saving the embedded plots is reopening it is also possible now.
061d24bfcbAdeel Asghar- Fixed isReplaceable API, check separately for public and protected elements. Added case for the extended classes as well.
3f54d84aeaMahder Alemseged GebremedhinModified the generated Makefiles for models. - "clean" should not be a dependency for the main target. If we have multiple threads making the target then they will try to clean and compile at the same time. - do "clean"s explicitly - Made sure that *_records.c is compiled always. (i.e. The executable will be compiled too) - Also the main target(executable) should be dependent on ModelName_functions.c since this is not compiled separately but is included in the ModelName.c file.
9468fdc14bAdrian Pop- update OpenModelicaBootstrappingHeader.h broken some commits back.
f4f0e99db6Adeel Asghar--new-window flag for visualize API.
ef257dcbc2Martin Sjölund- Fixed M.E.D.Delay.TransmissionDelay - Not fixed in MSL because other tools do not support Integer(enum) yet (in spec since Modelica 2.1)
309dc85f5cMartin Sjölund- Fixes illegal xml generation when using measureTime=true
b6b1210c92Martin Sjölund- Fix for external noretcall functions
65d9d45787Lennart Ochel- fix init-file for constant expressions - fix initialization by mat-file
25fb5ebe33Per Östlund- Fix MainTest.
1dc0ec2c22Per Östlund- Implemented filtering of duplicate extended components in SCodeInst. Needs more work, just assumes all elements are equal right now. - Fixed handling of conditional components that contain other conditional components.
5a7544b207Jens Frenkel- dump Statistic about the system with +d=backenddaeinfo
e894cf84c9Adrian Pop- expected output. - got rid of print in Inline.mo
807dd761f4Adrian Pop- check subtyping of T_ARRAY(dims = list_of_more_than_one) as we can really get these types now after the removal of DAE.ExpType. - don't be lazy and do better checking in Inline. - testsuite should be ok now? Hudson will tell us :)
480165cb83Adrian Pop- do not do equiv type checking when MetaModelica as they might be not! - fix some of the expected output in some models.
10dac15038Jens Frenkel- remove forgotten dump call
468ee7cb31Jens Frenkel- check if extension of records was succesfull - remove forgotten dump call
4110066f05Jens Frenkel- compare types before inline expression
0461f31edcKaie KubjasFixed a bug in CodegenCpp.tpl
bbcd202458Adeel Asghar- Fix build.
3fbfd1dcd2Adeel Asghar- Fix OMOptim Compilation. - Don't add \ at the end of the last item in .pro file. - Build OMOptimBasis in the bin directory of OMOptim. - Added OMOptimBasis to OMTools.
e8bed5e4d8Per Östlund- Implemented better handling of extending basic and array types in SCodeInst.
023983e802Martin Sjölund- Don't remove single quotes
307f047b3bMahder Alemseged Gebremedhin+ Merging the parallel extensions. + parallel and kernel functions are handled in the Front-end now. + parallel variables are handled in the Front-end now. - some checks and restrictions remain, but nothing that affects the normal OM compilation. * so far so good.
c0817019f9Martin SjölundPartial fix for #1702 (enum == Integer is not an allowed relation) - This was also updated in MSL
47166c1c22Per Östlund- Implemented prefix propagation in SCodeInst.
66179bbb6dNiklas WorschechModified interface method giveZeroFunc in cpp runtime, eps parameter is not needed. Fix in CMake file of Modelica System
bcc2d830e6Martin Sjölund- Added target bom-error to test for BOM in files
fff231e846Kaie KubjasFix typo in AlgloopsolverFactory class
6fc393323cMartin Sjölund- OMNotebook now depends on OMPlot
2b1f1721edAdrian Pop- remove forgotten unused SimCodeC.tpl.
dced953891Martin Sjölund- Updated auto-generated file
e0455397e4Martin Sjölund- Added support to parse line/block-comments as class elements (similar to annotations) - Any comment in an expression is moved out of the element and put on its own line
0cbef56765Niklas WorschechModified event iteration in cpp runtime. Using checkConditions instead of setZeroState from solver
4c24901a2eNiklas Worschechfix for mixed system iteration in cpp runtime fix in CVode for calculation of event state
83b4203708Per ÖstlundFix for bug #1700: - Fixed type of sum.
0338eebfc3Lennart Ochel- update for importStartValues
c53eb8477fJens Frenkel- copy table to avoid loss of data by memorypool
e7233912a4Per Östlund- Fix type dimensions in SCodeInst.
a963de49e3Martin Sjölund- Added rule exp[] => exp (ASUB'ing nothing does nothing) Finds diff like the following for Modelica.Media - 190.56[],0.01604246[],9.86e-05[],0.011[],0.0[] + 190.56,0.01604246,0.0000986,0.011,0.0
8e46ab3165Martin Sjölund- Added rule Real(i1:i2) => Real(i1):Real(i2)
62a9eca19aMartin Sjölund- Added rules for string and boolean relations (==,<>,>=,>,<,<= where applicable) - Added rules for element-wise matrix mul,div,pow - Added rules for element-wise vector pow - Added rule for {} X => {} (for certain operations)
44e8413eb7Adeel Asghar- Fix build.
eaa745ac8bAdeel Asghar- Qt 4.8 rewrites the Modelica links from Modelica:// to modelica:/ so we must compare CaseInsensitive.
7a11a4211eAdeel Asghar- Qt 4.8 returns empty string for QUrl::toLocalFile() if the url doesn't have scheme i.e file:// or ftp:// - Use QUrl::path() for non-standard links :)
622864fa27Adeel Asghar- You must compile OMPlotLib first. - Type in plot API in the cells and evaluate to see the embedded plot. - You cannot save and reopen the embedded plots at the moment.
1712a6b055Adrian Pop- gee, shouldn't we return what we compute??!!
fc18a625ecAdeel Asghar- some changes in the Plot API family to support OMNotebook embedded plots.
c05306dafePer Östlund- Implemented expansion of bindings in SCodeExpand.
5656a89bfeMartin Sjölund- Simplify ew array division/multiplication ({1,2}./{2,2}={0.5,1})
2ea4635fa5Kaie Kubjasadded 2 flags and made some small changes for reduction methods
1625165c2cPer Östlund- Changed structure for storing the result from SCodeInst from lists to a tree. - Added new phase, SCodeExpand, which expands the result from SCodeInst into a DAE.DAElist. - Implemented inner/outer support in SCodeInst, not complete yet.
d3b5a74cf9Martin Sjölund- Gave MODELICA_TERMINATE a complete type (gcc ignores)
bdb511f389Niklas Worschechchanged prefix of variable names in cpp runtime
920b75ca00Martin Sjölund- Fixed the fix-bom command (removed some BOM)
6dca03acd7Martin Sjölund- Added fix-bom target
3c2a60ba74Niklas WorschechAdded get and set method for conditions vector in IEvent interface
dca4dc4369Martin Sjölund- Re-enabled generation of mosh/src/Makefile
f3d5af857bMartin Sjölund- Added LD_LAPACK to configure.in
6ca9d13e40Niklas Worschechmodified cpp runtime CMake file for system initialization
715ea486faAdrian Pop- got rid of references to c_runtime in configure.in.
aa105743c5Adrian Pop- 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.
184602939cAdrian Pop- 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.
f9041571fdAdrian Pop- 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.
c5bda889dbNiklas Worschechchanged implementation of condition variables for zero crossing variables in cpp runtime
57e3faca50Adrian Pop- copied qss files from c_runtime
b4830e5016Mahder Alemseged Gebremedhin- Collected all function kind restrictions(normal, external, operator) in to one restriction with its own attributes. R_FUNCTION() -> R_FUNCTION(FunctionRestriction), FunctionRestriction(FR_NORMAL_FUNCTION, FR_EXTERNAL_FUNCTION, FR_OPERATOR_FUNCTION, FR_RECORD_CONSTRUCTOR) This will also help for more compact function handling when the ParModelica parallel and kernel functions are added. + Added FR_RECORD_CONSTRUCTOR restriction to SCode so that we can handle record constructors differently.
999ea70042Lennart Ochel- avoid initialization and use start values instead: simulation-flag "-iim none" - avoid initialization and use existing results instead (matfile): simulation-flag "-iif -iit
25a986ff8cAdrian Pop- fix typo in CodegenC.tpl - use CodegenC instead of old SimCodeC in SimCodeDump.tpl - fix some of the deps.
9104bf817eMartin Sjölund- More logical sorting of paths
ad7d0f90c7Per Östlund- Fixed redeclare with qualified crefs in the modifier in SCodeFlatten, which broke all MSL 3.2 examples. - Added a MSL 3.2 example to the test suite.
954bf435ecMahder Alemseged Gebremedhin+ Merging The parallel extensions. + parallel variables are handled in the Front-end now. - some checks and restrictions remain, but nothing that affects the normal OM compilation. * so far so good.
5af302a054Adrian Pop- empty commit to test that OpenModelica subversion repository post-commit hook trigger Hudson builds ONLY when we commit in trunk and nowhere else.
50395e7211Adrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
70cf07cbf0Adrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
7f4c22e55eAdrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
dfedc49a65Adrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
7a7f496edfAdrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
78c52e3fe5Martin Sjölund- Remove dependency on Compiler/runtime/omc_communication.o
bb1b66fdf9Dietmar WinklerNo need to replace %20 in FindFiles.sh since this was taken care of somewhere else.
19ea7b7c47Per Östlund- Implemented handling of conditional component in SCodeInst.
9006250f31Martin Sjölund- Some more toHtml()
eb6f743f4aMartin Sjölund- Sort output
74d6c60b4eMartin Sjölund- Filename-escape
e3992743f0Niklas WorschechAdded ISystemInitialization interface to cpp runtime
399b8824c6Adrian Pop- empty commit to test Hudson
eebc1f156fAdrian Pop- empty commit to test Hudson
b68b1fbe22Per Östlund- Initial support for enumerations in SCodeInst.
8ef0418d99Adrian Pop- empty commit to test Hudson
412bdeafb9Adrian Pop- empty commit to test Hudson
6dcab2eb0fMartin Sjölund- Fix some illegal generated html - Add
 tags to LAPACK again
a152ea8acdMartin Sjölund- FIlter out EngineV6
21b678a6e3Dietmar WinklerMake Tidy.py a little bit more talkative and remove usless lines.
94b3371f6aAdrian Pop- do not depend mosh on omc!
302790fb24Martin Sjölund- Only run soup if tidy says the file is ok
3c93052a59Adrian Pop- added testPar target.
47332a776fDietmar WinklerSynchronised with the changes done for the MSL release script.
31537d8017Per Östlund- Improved modification handling in SCodeInst.
fe1db88287Martin Sjölund- Also load ModelicaTest in the mos-files
ff5209e183Martin Sjölund- OMPlot: Build lib before exe so parallel builds succeed
e62562ae8bMartin Sjölund- OMPlot: Build lib before exe so parallel builds succeed
c07be781a1Lennart Ochel- minor initialization fix
b3f7152375Lennart Ochel- minor initialization fixes
29256d6755Dietmar WinklerStyle sheet modifications to make the headings look nicer.
853b481db3Martin Sjölund- Partial fix for LineForceWithTwoMasses (preprocessor macros now do not fail)
28ecd8de6fMartin Sjölund- omc +t now dumps info about unary ops
9d09d76960Per Östlund- Ugly, ugly hack to keep anyString and getTypeOfAny from segfaulting on function pointers.
39f9b13ed0Martin Sjölund- Changed location of java_interface
63308b7796Mahder Alemseged Gebremedhin+ propagating parallelism for variables through SCode. Everything just falls through.
2bec83baa6Martin Sjölund- Add ModelicaTest if running MSL3.2 - Skip BaseClasses
98d51a5356Niklas Worschech-fix in cpp writeoutput template, variables has the correct order now, modified giveZeroFunc cpp template, zero functions can not be exactly zero now.
59efbbec93Martin Sjölund- Symlink the correct path
e82116a264Lennart Ochel- fixed detectImplicitDiscreteAlgsStatemens for tuples
3b6880c5b1Martin Sjölund- Wrong order in header
a12c3afd93Martin Sjölund- Build all models
dac7bc3d4bMartin Sjölund- Avoid problems if omc crashes
e1689be8aeHenning Kielfix array access out of bounds static variable buf does not allow reentrance here (would be better put on stack = not static)
2bdf3ac4aaNiklas WorschechAdded fix to KinSol solver for linear systems
a1bba53b27Niklas WorschechAdded improvement for event handling to CVode solver in cpp runtime
e36aff93caMartin Sjölund- Print user-friendly times (not 7.83e3 sec...)
d9d3bb3a86Willi Braun - update the algorithms for coloring and sparse pattern
36886ee3eeMartin Sjölund- Add total time taken to BuildModelRecursive.mos
0c3dc3912eMartin Sjölund- Fix MainTest.mos
be69cddaf9Martin Sjölund- Filter out some more models that are auxilliary
7166459925Martin Sjölund- Updated BuildModelRecursive.mos - Outputs a pretty colour-coded html table - Added some more realtime clock functionality to the API
6440acdc92Martin Sjölund- Added ceval support for String(real,significantDigits=xxx)
796ae91fddMartin Sjölund- Removed debug output
72b69e88a4Martin Sjölund- Forgotten file in last commit
535053df6bMartin Sjölund- Add more realtime timers and an internal scripting query so we can ask for approximate timing in a mos-file even if the API call does not return the times
bf8cf55d69Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
d1106dbbd7Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
dd6b85881fAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
a45356b3ccAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
bf0d92a968Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
8a53c25f69Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
1cc48694f4Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
88b095f9acAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
9f6cabbdb0Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
287ffe38f0Adrian Pop- test building
7a3e5684edAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
8e007b8cb2Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
21322e3d65Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
48089d136aAdrian Pop- do not clean java_inteface as it no longer exits!
30ce1bd5dcAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
ce5510eb0aAdrian Pop- rebuild SimCodeC.tpl in the susan makefile. - update SimCodeC.mo
d53817d2baAdeel Asghar- fixed a typo.
1c7cfc282fWilli Braun#1687 - added some algorithm fixes - added algorithm without output vars nevertheless to the solved system. (See Bug 1687) - fixed Bug 1687 - fixed algorithm to initial the lhs values by - A non-discrete variable is initialized with its start value (i.e. the value of the start-attribute). - A discrete variable v is initialized with pre(v). - removed functionAliasEquations, since it contained only algorithms without output vars - fixed CodegenC LHS cast value
69aa669235Martin Sjölund- Log what files we have started writing to so we can see the progress
b57a908aefMartin Sjölund- Symlink Modelica 3.1 to Modelica in the directory we try to run BuildModelRecursive.mos in order to avoid problems with the Modelica.Utilities tests
7614b72f1bMartin Sjölund- Added scriptable API functions: isPartial isModel regularFileExists - Added script BuildModelRecursive.mos to systematically try to build every example in MSL
09c676a30cAdeel Asghar- a minor fix for plotParametric.
297cb69f52Martin Sjölund- Die with fire
32fcf0db80Per Östlund- Implemented deducing of array dimensions from bindings in SCodeInst.
2c79d2e000Adeel Asghar- Don't close the simulation result set since we have a caching to mat format. - closeSimulationResultFile() :: Closes the current simulation result set. OMEdit uses it for windows to close the result file. - some minor fixes in OMPlot.
4fb173042dAdeel Asghar- Don't close the simulation result set since we have a caching to mat format. - closeSimulationResultFile() :: Closes the current simulation result set. OMEdit uses it for windows to close the result file. - some minor fixes in OMPlot.
cec3f45f6aAdeel Asghar- Don't close the simulation result set since we have a caching to mat format. - closeSimulationResultFile() :: Closes the current simulation result set. OMEdit uses it for windows to close the result file. - some minor fixes in OMPlot.
dde7ac139aMartin Sjölund#1684 - Generate code for assignment to record
35b0ff2a67Martin Sjölund- Removed the static keywords from the ModelicaExternalC C-files instead of using preprocessor macros since that messes with OSX
fdb858363cMartin Sjölund#1681 - Add an error message when Lookup.lookupClass(msg=true) is used - Made msg=false for some functions that assume msg=true generates no error-message (they were all written by gremlins who hacked the system during the night)
af9f206ea2Per Östlund- Fixed error message in BackendDAEOptimize.partitionIndependentBlocksSplitBlocks for over/underdetermined equation systems. - Updated dependency/Modelica.Mechanics.MultiBody test.
7e7a4fbfd0Martin Sjölund- OSX cp doesn't have -u
e015a73efaPer Östlund- A lot of changes to SCodeInst, mostly related to typing of components. - Hijacked SCodeMod and moved modifier handling code from SCodeInst there.
ebce39fcd2Per Östlund- Added applyOptionOrDefault and applyOptionOrDefault1 to Util. - Added Util.nextPrime to find the nearest larger prime number to a number. - Added printGraph and printNode to Graph, useful for debugging graphs. - Cleaned up BaseHashTable by declaring all hashtable types as package types.
2e895140d5Adeel Asghar- We should close the simulation result file after reading the results e.g variables, val, dataset etc....
6bc678476fAdeel Asghar- We should close the simulation result file after reading the results e.g variables, val, dataset etc....
0fe4c1b9e3Adeel Asghar- We should close the simulation result file after reading the results e.g variables, val, dataset etc....
1f1b1f14bbMartin Sjölund#1683 - Don't convert unicode to latin1...
8b99f18359Per Östlund- Applied patch from forum user janssen to close MathML if-expressions correctly in XMLDump.
c608e2ca59Martin Sjölund#1686 - Added a parse error for connect found in an element list
68a85db1b5Per Östlund- Changed the unbalanced connector error to be a warning.
09b24f96c1Niklas WorschechAdded Kinsol solver source to cpp runtime
a13f06f051Henning Kiel- fixed function protottypes
7bc5450932Adeel Asghar- Some minor fixes.
7b8adf8b9eAdeel Asghar- Added some new APIs to get equation and algorithm items.
7bb82a7109Adrian Pop- first draft of OpenTurns wrapper for OpenModelica generated code with uncertainties
98b818e850Henning Kiel- move if condition out of for loop
9e1537d81fHenning Kiel- substitute goto statement by do-loop
02614d27ceAdrian Pop- copy replace-startValue* with the other scripts.
434824ddafMartin Sjölund- Inline homotopy since it's not yet supported fully
bbaa32eefaMartin Sjölund- Includes
d83e261621Martin Sjölund- Fix Makefile.in
c8c4285805Martin Sjölund- Configure error
0d582c6017Adeel AsgharFixed the makefiles for simulationruntime
f8832fa351Martin Sjölund- Fix compilation errors
8a285a344bMartin Sjölund- Some descriptions of optimization modules
41a8852239Adrian Pop- one for Windows too.
d9a7d55d57Adrian Pop- homogeneous line endings
f6b4e160c3Adrian Pop- more Linux stuff
e51468b7afAdrian Pop- support any type of value
a30239eac0Adrian Pop- not .exe for Linux sake :)
26b770d302Martin Sjölund- Fix for bootstrapping
4c66abd9a4Adrian Pop- small comment update
1e68f82806Adrian Pop- a XSL script and a driver to change a start value inside a Model_init.xml
122db4999dMartin Sjölund- Some documentation updates
c10da1f170Martin Sjölund- Simplify CAST(-arr) = -{CAST(exp),...}
b8b9091701Martin Sjölund- Fixed codegen for boxed non-uniontype records containing function pointers
41817020e3Martin Sjölund- Updated GenerateDoc
1245a56268Jens Frenkelevents.h: bugfix function definition generational.c: avoid warning (vs)
0239c8e476Jens Frenkel- bugfix remove simple equations for uncertainty computations, nobody knows if i or j is the variable or the derivative
849c04a826Willi Braun- removed OMC_SEED_HACK - improved evaluation of jacobians
4c9afd1ddaMartin Sjölund- Fixed compilation of MainTest.mos, but some warnings remain
7d5a2bf35aMartin Sjölund- Fixed some uncertainty compilation errors
dd5d12c5b6Niklas Worschech- fix in cpp template for non linear systems, replacement of state variables
c32f65583fLeonardo Laguna- Implemented support for uncertainty computations
0ddc057728Martin Sjölund- Better error message for equationToExp failed
a00b9666a9Adeel Asghar- Fixed the parameters visibility problem. - Added the scrollbar when there are many parameters to display.
1905f0a383Niklas WorschechFix in cpp template in mixed systems discrete vars iteration
80577716c4Lennart Ochel- fix dump-messages - fix scaling-coefficients
18068ccc70Niklas WorschechExtended cpp runtime and cpp template for mixed systems
72e3c81abbPer Östlund- Handle time in SCodeDependency.
208e97dcf6Per Östlund- Improved notification on language standard changes.
c7de83f0cdJens Frenkel- update CMakefiles
10df2537d5Martin Sjölund- Renamed trunk to 1.8.1
8d7644879bAdeel Asghar- compile the c runtime with debug symbols. - changed the -ggdb flag to -g. - Updated the version numbers in .onb, .doc, .pdf and config.h file. - some small changes in the Users Guide chapter 10.
cc4f7d0d8fAdeel Asghar- compile the c runtime with debug symbols. - changed the -ggdb flag to -g. - Updated the version numbers in .onb, .doc, .pdf and config.h file. - some small changes in the Users Guide chapter 10.
5463c7de46Martin Sjölund- Flush some more
a9e94a13daAdrian Pop- add a prototype for void *mmc_alloc_bytes(unsigned nbytes);
9392b5ac29Jens Frenkel- change AC_PREREQ([2.65]) to AC_PREREQ([2.63]) to support also CentOS
9a78899864Adrian Pop- port the changes to meta and GC to the new runtime. not on yet and not all changes added. - some fixes to linking for FMI on windows - do not set the x=x before tailcall. - fixes to the new runtime to be able to compile using VS - use the safe real (union of words).
de4f237b84Mahder Alemseged Gebremedhin+ Support for overloading of Modelica element-wise operators. Now these are deduced from the scalar versions whenever necessary. + Normal operators can also be vectorized now if there is no other option. That is: when there is no exact match found for operating on arrays but there is/are some for corresponding scalars. + This is full support for operator overloading. + There are some deviations from the Specifications. See comments in testsuite/records/OperatorOverloadComplexArray.mo and Static.mo
03e55d5635Martin Sjölund- More robust GenerateDoc.mos
941864be6dLennart Ochel- removed redundant equations for initialization - removed unused code - renamed SIMCODE attribute initialEquations to startValueEquations (in order to avoid confusion)
7f04f5fc3aKaie KubjasIn SimCodeCpp.tpl fixed a bug with arrays and extended functions for doing reduction.
9ea9370146Mahder Alemseged Gebremedhin+ Improved operator elaboration. (normal and overloaded)
6df54792ccLennart Ochel- fixed generating of initial equations - removed unneeded stuff from BackendDAEUtil.mo - renamed functions: initializeDataStruc_X_ -> setupDataStruc initializeDataStruc_X_2 -> setupDataStruc2
25030ded41Martin Sjölund- Warn about : in generated code
9379161c4eLennart Ochel- clean createInitialResiduals - fix debug outputs
3b0cc41029Adeel Asghar- geClassNames accepts a new named argument showProtected to list the protected classes. getClassNames(Modelica.StateGraph.Interfaces.PartialStep) => {} getClassNames(Modelica.StateGraph.Interfaces.PartialStep, showProtected = true) => {OuterStatePort} - checkAllModelsRecursive also accepts a new named argument checkProtected to check the protected classes as well. - visualize API now calls the OMVisualize.exe by passing it the visualization filename and the result filename. OMVisualize will be added to trunk soon. - some other minor fixes.
d70a82f010Lennart Ochel- fix under-determined initialization without initial equations - fix error output for nonlinear systems
71cfa4ffeaWilli Braun- fixed bootstapping MainTest.mos
0c6ae42a49Willi Braun - fixed compilation error for Main.mo - fixed bootstrapping MainTest.mos
42ecbb121dMartin Sjölund- Use BeautifulSoup (Python HTML library) instead of Perl html::Parse since that library destroys too much formatting
d36c58395eWilli Braun- fixed FMU testsuite
b000ddba6cWilli Braun - added graph coloring algorithms to utilize the sparse pattern for a faster evaluation of the analytical jacobians - usage by solver method="dassljac"
41894316d5Adeel Asghar- A minor fix.
49946676fbAdeel Asghar- set named annotation values.
b187049893Martin Sjölund- modelicaLine with extra #
afacb1200dMartin Sjölund- Switch back to as_HTML as as_XML breaks some HTML entities
9181dd0025Martin Sjölund- Use as_XML instead of as_HTML as it doesn't seem to move stuff around as much
cd403aca8eMartin Sjölund- Fixed parser errors
ba99769af3Martin Sjölund- Add transitional doctype
e1191e9002Martin Sjölund- Some more documentation
e1e3e3381fLennart Ochel- fix for under-determined initialization problems - update initialization-tests
d7ac567985Mahder Alemseged Gebremedhin+ Removed parallelism related stuff that affects the API. parallel is there but is used only internally. Can not be modified with the API.
a47da8cfc0Adeel Asghar- More better checking of exit code.
1e7abfc3ebAdeel Asghar- Fixed the simulation unexpected finish on Linux.
8dffb4fca8Martin Sjölund- setStackOverflowSignal is now inlined in bootstrapped omc
c5ed3e6372Martin Sjölund- autoconf
b5fbfe71efMahder Alemseged Gebremedhin+ Small fix for slowly failing expressions due to search for overloaded operators + Always Print 2 digit exponents when running testsuite. exponent digit differences between Windows and Linux. 1e005 vs 1e05 makes actual mismatches easier to locate.
f07bc30461Mahder Alemseged Gebremedhin+ Fix for missing parameter passing for records. Bug #1675 + Fix for missing bindings for records with classmod modifications on output variables. + Fix for constant evaluated bindings to default values for record to record assignments.
539bbe69f1Per Östlund- Fixed List.toString so that it always prints out the list name. - Better handling of modifiers in SCodeInst. - Partial implementation of variable typing in SCodeInst. - Various other SCodeInst changes.
25bfcc6a8aMartin Sjölund- Some header dependencies
41a2c53e0aMartin Sjölund- Documentation fix
497478d5ddJens Frenkel- implement smoothness=Smoothness.ContinuousDerivative for CombiTable2D using Akima interpolation
e05fb1a19dJens Frenkel-Update CMake Files
b7cccec958Lennart Ochelrenamed functions: - bound_parameter -> updateBoundParameters - initial_function -> updateBoundStartValues
1f99311782Martin Sjölund- Added Kristian's lic to the webpage
9f113c7c96Jens FrenkelBug [# 1678] fix return value for Modelica.Blocks.Tables.CombiTable2D if input signal is out of bound - add warning if other smoothness than LinearSegment is used
70fe4f8d3fAdrian Pop- ö changes
92a2699af0Martin Sjölund- Use liblpsolve55_pic.a when using static linkage
43056701a8Martin Sjölund- Don't link every file against ModelicaExternalC; the modeller is supposed to add this dependency
c42a1f288fMartin Sjölund- EOL style on templates
9d62fe282eAdrian Pop- revive the ö in LinkÖping - remove the Windows.h include.
6d34cda4f7Martin Sjölund- Don't send 0 memory states when using dynamic number of OMP threads
b1e6a82a95Martin Sjölund- Tail-recursive pop_message
3d84446140Martin Sjölund- Set svn-eol-style on a few files
eae654a855Martin Sjölund- Set svn-eol-style on a few files
56a2aa9030Martin Sjölund- Set svn-eol-style on a few files
f314c7ede5Martin Sjölund- Make clean now cleans up a bit more of the mess
d16b2cbfa9Martin Sjölund- Make clean now cleans up a bit more of the mess
29c14adef4Per Östlund- Implemented handling of attributes of builtin types to SCodeFlatten.
fcd8489c5aMartin Sjölund- Remove file before ar to be sure nothing remains
0112e0d693Martin Sjölund- Also clean a-files
30a250a64eMartin Sjölund- make clean now cleans all files in the simulation runtime
8ad59d32ccMartin Sjölund- Do static inline
a0fc944d6dMahder Alemseged Gebremedhin+ testsuite fixes for parallel extensions. + Added parallelism attribute to all variables.
61607e3c65Lennart Ochel- removed temporary prefix _X_ from DATA-structure
0f7ced876aWilli Braun - added determination of sparse pattern
1b48768db1Martin Sjölund- Removed configure script as all systems have access to autoconf
1c5e33f769Martin Sjölund- Fix for OSX compilation (Error.h exists in multiple places)
4804f625b1Mahder Alemseged GebremedhinAdded parallelism attribute to all variables.
c4f26c7f86Martin Sjölund- Link ModelicaExternalC with dynamically loaded functions
32c65ac0e2Martin Sjölund- Push to the memory pool when using dynamic function loading
2ed1115191Martin Sjölund- Clean make now succeeds again
8bb948d30bWilli Braun - switch function generation also to new simulation runtime - linking Compiler/runtime to new sim runtime.
9ff6a55766Per Östlund- Redesigned handling of redeclares in SCodeFlatten so that redeclares are replaced in the correct order.
deccb2df57Martin Sjölund- Include builtins
70fbe866e9Martin Sjölund- Added check for non-array iterators in for-loops - Added codegen for pre(matrix[sub1,sub2])
3dda2810c8Martin Sjölund- Only copy headers once
0832aaf76eMartin Sjölund- Fix MetaModelica testcases using the new runtime
1e6d786011Willi Braun - Switch to new SimulationRuntime as default SimulationRuntime. - all simulation tests work as before. - This will break interactive and qss stuff.
e86e43d39bAdeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
7df1ce8b02Adeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
71314c2301Adeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
dd053729afAdeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
23d076b9d8Adeel AsgharRemoved the unused and windows specific files from trunk.
d9519270e0Adrian Pop- remove sendData.
087e0e57feMartin Sjölund- Removed OMPlotWindow as it uses the old plot commands
72e361c98eMartin Sjölund- Removed OMPlotWindow as it uses the old plot commands
e420ac3526Martin Sjölund- Removed sendData from the compiler
19d1b1006eMartin Sjölund- Removed 3D support from OMNotebook
7d03d7a9f4Martin Sjölund- Removed 3D support from OMNotebook
620bf1e0e5Martin Sjölund- Remove use of Pltpkg2 in OMNotebook
007e667599Martin Sjölund- Removed knowlede about plot2 in OMNotebook since the existing knowledge was wrong (the working directory the image was generated in as well the name of the image was wrong)
5148d4bc7cMartin Sjölund- Removed notebooksocket.{h,cpp} as it seems unused
2f1435ad1bMartin Sjölund- Moved isPackage to the scripting enviornment - GenerateDoc now splits the index page between libraries and builtin environment
48b5d5915bMartin Sjölund- Make it an error if we fail to fully load a library (if a within-statement is fault for example) - This was previously printed to stdout and silently ignored
f54383b8cdMartin Sjölund- Fix configure for without-static-readline
f1695b55bcMartin Sjölund- Added configure option --with-static-readline
8424e02fe8Martin Sjölund- Added configure option --with-static-readline
9788eb1262Martin Sjölund#1674 - Fix dimensions of splice expression
5dc2427fc6Alexey LebedevAdded a draft of a document about processing arrays in separate compilation of Modelica
c1839f2a6cAdeel Asghar- Check for simulation executable result. If it crash show error rather than plot window.
37b502279eMartin Sjölund- dtoa fix for 32-bit Linux
e5bbbb1ffeJens Frenkelfix for bug Bug [# 1608] - functions with inputs (parameters and discrete) have zero derivative - Derive, BackendDAEUtil, BackendVariable - BackendDAETransform: update Debug code
45b6ecebafJens Frenkel- otpimize DAE.IF_STMS while do replace Bug [# 1503]
0a154cfa65Martin Sjölund#1673 - Reject models that contain external declarations
c094e25e00Jens Frenkel- bugfix last commit
760ad71707Jens Frenkel- fix for Bug [# 1671], use real last type
882102593dJens Frenkel- fix for Bug [# 1671], look for crefs without last subscribt
0abaa77036Martin Sjölund#1672 - Allow empty config string lists (pre/postOptModules)
eaa36f7667Willi Braun[newSimulationRuntime] - fixed bug with delay and string parameter
1862310868Lennart Ochel- cleanup
56ca4a771cLennart Ochelintroduce scaling-coefficients for initialization
9564748f70Niklas WorschechExtended cpp template for solving linear systems
73d3b28e96Lennart Ochel- erroneous commit fixed in solver/solver_main.c - avoid pitfalls in error.h
6594173206Martin Sjölund- Documentation update
1c9fb12bdbMartin Sjölund- Added debug option +d=delayBreakLoop - If the delay has a bounded lower limit, we allow it to break algebraic loops
977f2a4a80Martin Sjölund- Don't run modpar if +d=openmp is used
a80c5eca5fHenning Kielmake simple functions static inline to save the jump instructions
97a1bb2e93Henning Kielremoved obsolete file (is integrated in openmodelica.h)
f209e4dc97Lennart Ochel- activate new_cruntime again
ed7fd2d2c1Martin Sjölund- Disable new_cruntime while compilation errors are being sorted out
198b4993f1Martin Sjölund- Handle paths with dots in the (quoted) identifier
91dcf7d60eMartin Sjölund- Documentation, ReleaseNotes
81bc7ab241Willi Braun[newSimulationRuntime] - activated jacobian in DASSL again - added some memory frees to get rid of valgrind claims
0e1e27b9b3Henning Kieluse malloc instead of calloc becuase memory is immediately initialized after allocation
9c2869a4d0Henning Kielthere is no element d_type in OMDev's struct dirent put #ifdef around code section to make file compile again in OMDev
353df92fb2Per Östlund- Forbid subscripted arrays. They are an OM extension and have been removed from the Modelica specification (and not supported by Dymola), and will not be supported in the new instantiation. They are therefore disabled now, to discourage any further usage of them. - Added Absyn.Info to Absyn.MODIFICATION and SCode.MOD to allow better error messages for modifiers. - Changed SCode.REDECL to have a single component instead of a list, since you can only redeclare one element at a time. - Implemented handling of modifiers in SCodeInst.
6da4e719caMartin Sjölund- getNamedAnnotation now works on ENUMERATION
f6bff07d53Martin Sjölund- Don't try to load txt-files as if they were packages stored as library (in fact: we ignore them)
c1f50f8c1dMartin Sjölund- Small typo
3daeb7da16Martin Sjölund- Meta-documentation
70be4aedbbMartin Sjölund- Comments should not strip valuable characters
da1b5856d7Martin Sjölund- Updated documentation
c8b77402b6Martin Sjölund- Added list API to get short class definitions only
cb882043b9Martin Sjölund- Removed old ModelicaReference as they are not needed (trunk version of ModelicaReference is safe to use as it contains no models)
1abebec8efMartin Sjölund- Stupid Qt software allows users to compile software only on 1% of the world's operating systems
f73a834746Adeel Asghar- Added the missing OMSketch images.
ce2e074d4eAdeel Asghar- Added the OMSketch files to the .pro file.
4d75132247Adeel Asghar- Integrated OMSketch with OMNotebook. - Removed the extra main.cpp file.
06bc302d18Adeel Asghar- Deleted Visual studio related files.
67ad62a604Martin Sjölund- A function with no public elements isn't really a function; it's only used to take up space
1bc3c0d4abKaie KubjasFixed a bug in SimCodeCpp.tpl:outputIndices.
1d0871d412Martin Sjölund- GenerateDoc: Use an html-parser in perl to (much slower) replace modelica:// links (but doesn't replace documentation that tries to tell the user how modelica:// should work) - Added version annotation to ModelicaReference - Send symbolTable in elabCallArgs (so now we can call writeFile(getSourceFile(M),list(M)), etc
a13dd0bf9aPer Östlund- Changed Dump to print out 'constrainedby' instead of 'extends' for constraining classes.
343de6de16Martin Sjölund- cell.cpp:119:4: error: calling 'qDebug' with incomplete return type 'QDebug' qDebug()<<"Cell \n";
dbc25de925Martin Sjölund- Added omshell-terminal icon
b42d921c35Per ÖstlundFix for broken media tests in r10763: - Do not use the cache in CevalScript.evalCodeTypeName, for it is subtle and quick to anger.
6aa4b04ca8Martin Sjölund- Please never add 181MB of stupid windows intermediate files to svn. It takes me a long time to kill them with fire if I'm on a 3G connection... - What's missing are the .pro and .ui files which generated some of this stuff...
0ec9ffd951Jhansi Reddy Remala- OMSketch
072b06bd9eJhansi Reddy Remala- OMSketch
524081ec96Jhansi Reddy Remala- OMSketch
4dde283fdbMartin Sjölund- pdf links now work in GenerateDoc.mos
cd7f07926dMartin Sjölund- Massive performance gain for GenerateDoc.mos
64052b38e2Martin Sjölund- Additional speed-up for GenerateDoc.mos
9c15aba0d5Martin Sjölund- Faster GenerateDoc.mos
7f7d3500a5Martin Sjölund- Moved evalutation of typenames from static to cevalscript
0f3330b7ceMartin Sjölund- Also look for pdf's, report duplicate resources
9f9faf75b2Martin Sjölund- Strip annotations when listing the interface
6af8413c0fMartin Sjölund- Don't use debug-version...
422a85c28bMartin Sjölund- Documentation generation now adds a function interface when appropriate
4477b309bcMartin Sjölund- Added option list(func,interfaceOnly=true), which only lists the public parts of a function
4ecf20eea5Jim NutaroUpdates .mo file for SimCodeAdevs
6e8a01317bJim NutaroFixed return type for sqrt in adevs backend
24321feed4Martin Sjölund- loadModel() documentation
279353712eMartin Sjölund- Compilation errors found by make clean (not found by RML dep.analysis)
88956c8db8Martin Sjölund- Some more documentation
d14ffa97cdMartin Sjölund- Some more documentation
694602a012Martin Sjölund- getNamedAnnotation now works on overloaded functions - Improved rooted() description
a2e5daecf1Adrian Pop- details on "rooted" operator
437b6a5b0aMartin Sjölund- Some documentation annotations
dde9374d94Martin Sjölund- Fix for bootstrapping
28ab0ef3fdMartin Sjölund- Also generate documentation for OpenModelica
116346e09fMartin Sjölund- Also add library versions
33fbc6fee6Martin Sjölund- GenerateDoc now generates and executes one single script for all regex
6356a78decJens Frenkel- Update CMakeFiles
09de863f17Martin Sjölund- getVersion(className) now returns the version-annotation as string
3f96430e35Martin Sjölund- Fixed copyright notice - Added some more libraries to generate documentation for
2383a51424Martin Sjölund- Interactive.buildEnvFromSymboltable now caches its result
3019510150Kaie KubjasAdded interface for ReduceDAE algorithm -SimCode.mo: added args input for removeTerms algorithm in translateModel, generateModelCode and createSimCode -SimCode.mo: added labels for generateLabeledDAE algorithm in ModelInfo and createModelInfo -Flags.mo, Config.mo: added configuration flags and wrappers for generateLabeledDAE and removeTerms algorithms -CevalScript.mo: changed compileModel from protected to public -Interactive.mo: added cases for generateLabeledDAE and removeTerms algorithms in evaluateGraphicalApi_dispatch -SimCodeCpp.tpl: added template functions for ReduceDAE algorithm
49340eb5b4Adrian Pop- fixes for Visual Studio
ec0661079aAdeel Asghar- getLocalVariables(M1) - Returns the list of local variables defined in a match exp. Returns the same output format as getComponents.
f4afedc81eMartin Sjölund- Don't mangle non-link modelica:// references
c952ca061aMartin Sjölund- Dereference symlinks
e93ad2eec6Martin Sjölund- Added basename/dirname API calls - Updated GenerateDoc example to generate an index page and copy the images to the tarball
9a72a543d8Adrian Pop- const va_list doesn't work in VS and clang/llvm, so it has to go because without it it works in GCC too.
7bb0f98c99Adrian Pop'*' cannot be part of a filename in Windoze.
2cd73bbf6cAdrian Pop- msys fixes (') becomes part of the file, eh, is not *n?x.
7ee1dd7bb5Martin Sjölund- Added a simple documentation generation script I worked on at the MDM to the examples directory
b750dc5c45Lennart Ocheladd min/max/nominal attribute to ./SimulationRuntime/c/
5fd55195eePer Östlund- Implemented prefix propagation for redeclares in SCodeFlatten.
cab1614ab0Per Östlund- Added System.appendFile to bootstrapped runtime.
35c28959b3Per Östlund- Updated debug flags with descriptions from Jens.
0176633b82Martin Sjölund- Added sort=bool option to getClassNames (which sorts the paths)
0ff0d373afMartin Sjölund- Added append file API
c103c3ec26Adrian Pop- GOT RID OF ALL ASSIGNMENT TO INPUT FROM THE COMPILER please run testsuite/bootstrapping/MainTest.mos always before commit! or the testboot make target (which is the same) - used the strict double with padding from RML (a union instead of directly the double) - refactored a bit the GC and added the generational GC (not on yet) DO NOT PORT IT TO SimulationRuntime/c yet, i'll do it myself later. - use the old realString for Windows for now - removed Windows.h include from modelica.h - stop generating junk in OMDev\tools\mingw\bin (fixes in Compiler/scripts/Compile.bat) - fixes to some tests - some fixes so that the bootstrapping works with VS.
f28d566a3dAdeel Asghar- Fixed for new getClassNames.
844634cad2Adeel Asghar- Added the preferredView annotation.
78ea4b7ac0Martin Sjölund- Added some more scripting functions
7db42bb34cMahder Alemseged Gebremedhin+ Operator overloading for OpenModelica +Precedence RA + RB 1- Left side -> RA.'+'(RA, RB) IF NOT THEN 2- Construct right side -> RA.'+'(RA, RA.'constructor'(RB)) ELSE 3- Right side -> RB.'+'(RA, RB) ELSE 4- Construct left side -> RB.'+'(RB.'constructor'(RA), RB) ELSE FAIL
f5f484f706Adeel Asghar- getImportCount(M1) and getNthImport(M1, 1).
cbc06b8db8Martin Sjölund- Ninja edit
9c1cd55ef1Martin Sjölund- Allow typenames to be retrieved from the symboltable a:=$TypeName(Modelica); list(a); // equiv. to list(Modelica)
c175010386Martin Sjölund- Fix for getDocumentationAnnotation
6e8f6e7623Martin Sjölund- Made some builtins impure
0b6fd346beLennart Ocheladd min/max attribute to *_init.xml
628f3dcc7eMahder Alemseged Gebremedhin+ Operator overloading for OpenModelica + Supported operators + overloaded constructors 'constructor' + binary and unary arithmetic '+', '-' (subtraction), '*', '/', '^', '-' (negation) + unary and binary logical operators 'and', 'or', 'not' + relational operators '==', '<>', '>', '<', '>=', '<=' + String() 'String' Precedence RA + RB 1- Left side -> RA.'+'(RA,RB) if not then 2- Right side -> RB.'+'(RA,RB) else fail
1eac5e2241Martin Sjölund- Moved getDocumentationAnnotation(...) to CevalScript
5833108786Henning KielSimulationRuntime/c/util - complete overhaul implemented some missing functions
e42a5506eeHenning Kielc_runtime: complete overhaul implemented some missing functions
5d5b704684Henning Kieloptimized for loops replaced calloc by malloc where allocated space is immediately initialized by function
b09af2ccf6Adrian Pop- check assignments to inputs in patterns. - only top level patterns in cases are allowed to be inputs (maybe we should disallow that too)
9e90ac2629Adeel Asghar- Use quotes for getComponents API.
2fd29574fcAdeel Asghar- getComponents API now takes a named argument useQuotes, getComponents(M1); // returns the result in the same old format getComponents(M1, useQuotes=false); // returns the result in the same old format getComponents(M1, useQuotes=true); // returns the list of strings with all elements enclosed in quotes. - Some new API calls, + isEnumeration(M1) // returns true/false + getEnumerationLiterals(M1) // returns the enumeration literals as list of strings. + getNthComponentCondition(M1,1) // returns the Nth component condition. + isReplaceable(M1, "withinClass") // returns true if withinClass is replaceable.
4c09eb6ee6Adrian Pop- add scripts to test each CircuitLX. - shuffled a bit the models in BigModel.mo
f2cec718f4Martin Sjölund- Some clean-up and testing of the priority queue working for static scheduling
19e27d93caWilli Braun[newSimulationRuntime] - fix compile with senData
3e4acff2beMartin Sjölund- Ran autoconf
19bde3ddf2Willi Braun[newSimulationRuntime] - fixed compilation for windows
d72b578c4dWilli Braun[newSimulationRuntime] - solved some unneeded dependences, thefore reorganised some functions - rewritten Makefile
7cc8598760Martin Sjölund- Started using priority queue for greedy static scheduling
14807b99e3Adeel AsgharRemoved the extra catch section.
0711327cd7Adeel AsgharOMC - Changed the omniOrb message size limit to 2GB. - Changed the getComponents API output. Now all elements are enclosed in quotes. - New API calls added. + getAnnotationCount(M1) // returns the number of annotation in the class. + getNthAnnotationString(M1,1) // returns the nth annotation string. (non flattened annotation). + getClassComment(M1) // returns the class comment + getComponentComment(M1, x) // returns the component comment. Takes the class name and component name. OMEdit - Added the new method unparseArrays to parse the omc arrays based results. - Updated code to accommodate new format of getComponents.
9bb780872fAdeel AsgharOMC - Changed the omniOrb message size limit to 2GB. - Changed the getComponents API output. Now all elements are enclosed in quotes. - New API calls added. + getAnnotationCount(M1) // returns the number of annotation in the class. + getNthAnnotationString(M1,1) // returns the nth annotation string. (non flattened annotation). + getClassComment(M1) // returns the class comment + getComponentComment(M1, x) // returns the component comment. Takes the class name and component name. OMEdit - Added the new method unparseArrays to parse the omc arrays based results. - Updated code to accommodate new format of getComponents.
6c5d843cb7Martin Sjölund- Added a basic priority queue
ac13eb0764Per Östlund- Call Static.canonCref before prefixing the cref in InstSection.instAssignment2, to get rid of some failtrace. - Changed unbalanced connector warning to an error.
d9a3eb5fdcPer Östlund- Rename redeclared class declarations in InstExtends.updateComponentsAndClassdefs2 so that their names are correct. - Stop iterating in Inst.matchModificationToComponents when we get an empty modifier. - Added another Siemens test (not working yet).
203000fab3Per Östlund- Handle element redeclarations in SCodeInst too.
cea9f42839Per Östlund- Fixed assignment to record in CevalFunction so that Ceval can find the binding. - Added makefile for siemens testcases.
57c22bc7eeMartin Sjölund- Some documentation
3b60260b3aMartin Sjölund- Provide loadString(..., encoding="...") option
a789be6613Per Östlund- Fixed handling of partially bound record in CevalFunction.
7812ec39edMartin Sjölund- Added routine to translate token names to string - Fixed output of ANTLR3_UNWANTED_TOKEN_EXCEPTION
3c991ba507Adrian Pop- YOU WILL NEED TO UPDATE YOUR OMDEV FOR THIS! - fix iconv.h header and systemimpl.c - do not copy the libiconv-2.dll as we now link with the static one.
2926222d72Adrian Pop- big model for tests from Peter Aronsson @ MathCore.
82db98b851Adeel AsgharFix OMC compilation, - Removed the extra */ - Copy the iconv-2.dll
1ad41bd992Adeel Asgharremoved unnecessary qdebug.
f2b41a5650Adeel Asghar#1666 The problem is not because of operator overloading. The error occurs because of wrong unparsing of the string. I have fixed the problem so that OMEdit doesn't crash any more. But to make things work correctly we need to modify the getComponents result. Right now it returns an array which contains strings and boolean value. If we change it so that it just return and array of strings then StringHandler::unparseStrings works like i charm. Will discuss it more with Adrian.
b07837e664Adrian Pop- windows fixes, switch includes.
905a165ba1Adrian Pop- fixes for windows (const char*) - added -iconv to link with omc.
3ee93e8937Martin Sjölund- Added scripting function iconv(str,from,to)
dde1e5821cPer Östlund- Added SCode instantiation prototype.
937ed80a56Martin Sjölund- Disable debug checks
f6ac1dc926Martin Sjölund#1663 - Fix for data_of_integer_array on 64-bit platforms (copy the array before sending it to the external function)
24f9b90ef0Lennart Ochelfix for parameters with nominal-attribute
cbbf705e31Martin Sjölund- realString: Output 0.01 instead of 1.e-02
c512d51f75Martin Sjölund- Fix correct length in realString
231ced32deMartin Sjölund- Only simplify max(real,real) if the arguments are real
bb59ec774dMartin Sjölund- Do MMC_CHECK_STRING just in case
a0ec292ceaMartin Sjölund- Fix issues with too small buffers, etc
c9a746e411Martin Sjölund- Do not do mk_scon() on a MetaModelica-style string ;)
91683667f9Lennart Ocheladd nominal-values to xml-file
eb898faa4cMartin Sjölund- Use new dtoa-based realString
01af979db5Martin Sjölund- Use the old simplifyIfExp as it's "better"
9bbb249db0Willi Braun - update generated FMI import model (works now with new CSimulationRuntime also on linux) - adjust FMI export for new CSimulationRuntime
1f6ccae084Jens Frenkel- Expression.mo -add missing case for enumeration - ExpressionSimplify - report if ifexp is simplified
70c7e8d387Martin Sjölund- Removed use of unsafe unification in matching
9b09476f64Willi Braun[FMIimport] - added forgotten header for va_arg(function logger)
468602b391Willi Braun[newSimulationRuntime] - update FMU Export code - fixed bug in initialization
1054196e5dWilli Braun[newSimulationRuntime] - added and adjusted FMU export for new simulation runtime(need more work)
1ac926dd13Martin Sjölund- Do not use unification in functions with potential side-effects ;)
45d0d7c6a2Jens Frenkel- fix for bug [#BUG-1661]. Now BackendDAETransform.differentiateEqns check if a equation has continuous variables before differentiting it.
23dbef25f7Adeel Asghar- new API calls, + getInitialAlgorithmCount + getNthInitialAlgorithm + getInitialEquationCount + getNthInitialEquation
0f5a3e24d9Adeel Asghar- Fixed getAlgorithmCount and getEquationCount - New API call getNthAlgorithm and getNthEquation
3c72b9023cPer Östlund- Removed check for redeclaration of protected elements, since it's actually allowed. - Implemented support for cardinality of connector arrays.
cd44d7a04fMartin Sjölund#1662 - Type-check == <>
eeac5b79ddNiklas WorschechAdded CMakefiles for Idas an Cvode to cpp runtime
93011dfe9bMartin Sjölund- Fix loadModel() for modelica.org trunk
17c7503e94Martin Sjölund- Remove the last expressionsimplify fixpoint iterations reached in the testsuite
363b450cb0Per ÖstlundSome fixes for flags: - Consume -- so that it works as expected for the boostrapped compiler. - Print error messages for unknown long flags.
e96b091bdcMartin Sjölund- Avoid failure to reach fixpoint for some simplifications
e73c8073beAdrian Pop- log scale.
d8b75d45cbAdrian Pop- added comparison to 1.6, 1.7 and one commercial tool.
278c7b2d0fAdrian Pop- made them work in previous versions of OpenModelica.
7c7dcc21efAdrian PopHUGE update to SVN with *a lot* of changes: DO MAKE CLEAN! ========================================================== - The DAE.ExpType is *no more* - The BackendDAE.Type is *no more* Both got replaced by DAE.Type! - The DAE.ExpVar is *no more* It got replaced by DAE.Var! Now we have *ONLY ONE* type in the compiler: DAE.Type!
847331dc0cAdrian PopHUGE update to SVN with *a lot* of changes: DO MAKE CLEAN! ========================================================== - The DAE.ExpType is *no more* - The BackendDAE.Type is *no more* Both got replaced by DAE.Type! - The DAE.ExpVar is *no more* It got replaced by DAE.Var! Now we have *ONLY ONE* type in the compiler: DAE.Type!
33c500088bAdeel Asghar- new API commands getAlgorithmCount(M1), getEquationCount(M1)
3690dce8a3Martin Sjölund- Some rewrite rules for a*(b^(-r)) => a/(b^r) and similar expressions
6f300fb79eMartin Sjölund- ExpressionSimplify: Added new rules: - a^e*b^e => (a*b)^e - a^e/b^e => (a/b)^e
dacb29d0aaMartin Sjölund- simplify: sqrt(x^2) => abs(x) (abs previously not present)
78cdd8a120Martin Sjölund- Added flag +d=checkSimplify, which tries to estimate if the simplified expression is actually simpler (usually the case) or not (more common than it should be)
bdb83cb602Martin Sjölund#1658 #1657 - Removed use of unary operators .- and .+ - Removed operator DAE.UPLUS and DAE.UPLUS_ARR; these are handled directly by elabExp
d0948deb83Martin Sjölund- Fix ExpressionDump: -(a+b) is now printed correctly (previously was printed as -a+b)
4c39590e6eWilli Braun[newSimulationRuntime] - removed old globalData object - adjust most files - most test cases are working now (only some fails most due to different output) - more work on initialization needs to be done
896f16af7cMahder Alemseged Gebremedhin+ Merging The new parallel extensions. The new keywords can be enabled by using +g=ParModelica. Actually enabling +g=MetaModelica also enables the ParModelica keywords, but not the other way around. I couldn't find a way to enable them completely separately. I will fix it if I can. But it will not cause problems since the new keywords are not common words. The testsuite didn't report any errors related to the new keywords. But just make sure not to use them from now on while programming in MetaModelica. + The keywords don't have any effect now. They are just consumed by the parser. + the keywords are - parallel - parglobal - parlocal - parkernel - parfor
590fbc3367Mahder Alemseged Gebremedhin+ Merging The new parallel extensions. The new keywords can be enabled by using +g=ParModelica. Actually enabling +g=MetaModelica also enables the ParModelica keywords, but not the other way around. I couldn't find a way to enable them completely separately. I will fix it if I can. But it will not cause problems since the new keywords are not common words. The testsuite didn't report any errors related to the new keywords. But just make sure not to use them from now on while programming in MetaModelica. + The keywords don't have any effect now. They are just consumed by the parser.
193778ee9aPer Östlund- Changed instClassDecls to not filter out the class to instantiate, since this causes problems when instantiating a top model. - Added test cases to test the fix.
ff47d105f1Per Östlund- Changed nX to : in some functions in PartialTwoPhaseMedium to make them work as intended.
c9512f3663Martin Sjölund- Allow long strings sent over CORBA on Linux
99ca4798d8Adrian Pop- YOU WILL NEED A NEW MMC-RML for this (>= revision 223)! svn up OMDev on windows, svn up rml on Linux or wait for a build. - moved setStackOverflowSignal to RML. - various other fixes so the bootstrapped compiler works with MSVC. - hashtable for DaE.Type -> DAE.ExpType (unfortunately doesn't work to use it in Types.elabType as is slower than the current solution) - removed the above hashtable from the compilation as is not used. - other small code edits (mostly comments).
e21725ca30Adrian Pop- do not delete Modelica.Fluid anymore!
a9d2ad348cMartin Sjölund- Disable newsimruntime
39ae73b54fPer Östlund- Changed behaviour of setCommandLineOptions, which now appends debug flags instead of overwriting them. +d=-flag can now be used to disable a flag instead. - Updated MetaModelica exercises.
04649a907dMartin Sjölund- Removed operators from DAE.mo: scalar .+ array => array .+ scalar array .- scalar => array .+ (-scalar) scalar .* array => array .* scalar These are equivalent and reduces the code we need to maintain (duplicate cases, etc)
6fdd71fec8Adrian Pop- FMI fixes: + run unzip in quiet mode (no more file names) + do not exit in freeElement with EXIT_FAILURE, just return as we need fmiimport to exit with code 0. - updated tests.
8af2054a29Niklas WorschechFix for division in cpp runtime and cpp template
cc6446f82fPer ÖstlundNew compiler flag handling: - Removed RTOpts and OptManager packages, which are replaced by Flags and Config. - Updated all source files to use the new flag handling. - Split Parser into Parser and ParserExt, so that extra arguments can be sent to the external functions. - Added some string manipulation functions to Util.
dd9cf7400ePer Östlund- Reverted changes from r10570 and fixed *only* System.tolower.
d12bdf0fe8Per Östlund- Fixed System.tolower.
7d94895f22Willi Braun[newSimulationRuntime] - ported bug fix from r10562 - fixed some alias and results bugs - mosfile 30 of 155 failed
16f1702377Adrian Pop- function to check if a list has exactly one element.
4bdbbf3110Adrian Pop- remove commented code as is no longer needed (already present in Types).
5c0e49df21Willi Braun[newSimulationRuntime] - added dassl support
6ec4b0545eAdrian Pop- added Dymola style scripts for testing.
f57a34db51Adrian PopFixes for BUG: #1652
d00e8ec8d4Adrian Pop- updates to the .xlsx by Oliver Lenord
ff2eef6aa4Martin Sjölund- Do not output #line 0 as it's disallowed by clang
5f09fe3c46Adrian Pop- performance benchmarks.
35884404e5Adrian PopError.mo - typo fix
a3f224d140Adrian Pop- update a bit the omi_Calculation.cpp with things that are done before callSolver.
a3c87a8abcAdrian Pop- fixes for interactive simulation, a missing # that separates parameters from variables. the correct string is: setfilter#SEQ#var1:var2#par1:par2#end or setfilter#SEQ#var1:var2##end
d088e81a28Federico BergeroRemoving stand alone solver from the runtime
287ba6b0e8Federico BergeroUpdating code for QSS
fc230f8782Adrian Pop- add fmiclean target.
c78aeee86ePer Östlund- Changed List.filter*OnTrue and List.removeOnTrue to fail if the given functions fails.
4c3edef3e2Per Östlund- Fix broken compilation due to r10543.
bfecc2a200Niklas WorschechExtended cpp code generation for Modelica Tables
56f15b75c2Willi Braun#1651 - fixed Bug [#1651] - added test case
114161ff73Willi Braun - fixed compiling error
927a7d35c6Willi Braun[newSimulationRuntime] - switched completely to new structure - adjusted solver(rungekutta, euler), eventHandling, input and results - changed rotation direction of the ringbuffer remains TODO: initialization, dassl, algebraic systems, minor bugfixes
eea2f4eed9Willi Braun[newSimulationRuntime] - fixed csv output - fixed lookup in ringbuffer - fixed solver(euler,rungekutta)
7ecc74d8ddWilli Braun- revert r10533 it break the fmi testsuite and anyway it overwrites many correct fixes!
99518f2284Wuzhu Chen-- some bug fixes -- new functionalities for parsing model description file -- some warning messages removal
0af1212e93Willi Braun[newSimulationruntimeC] - setup the solver_main to work on new data structure
97349d63bfLennart Ochel- provide lookup for ringbuffer
4e96a46acbWilli Braun - updated FMI import and moved fmu to test suite
2c4aa8cea7Willi Braun[newSimulationRuntime] -added support to read all static varinfo data from xml file
e96631141bMartin Sjölund- Bib typo
b9c26a8939Martin Sjölund- Fix bibl
bcfe9bcd5eMartin Sjölund- Bib update
2c4b496d67Adeel Asghar- testcases and getDocumentationAnnotation fixed.
81d84be70aAdeel Asghar- getDocumentationAnnotation returns {"info","revision"} with info as the first element and revision as the second always.
b61ff1efdcAdeel Asghar- getDocumentationAnnotation returns {"info","revision"} with info as the first element and revision as the second always.
9cfa56cef8Adrian Pop- include the modifiers and dimensions in the dependency analysis in Inst.instElementList - move annotation checking functions from DAEUtil to SCode. - convert type of the Value in the binding if needed (to get rid of things like min = 0, instead of min = 0.0) - in partial instantiation disregard parameters, instantiate only constants. - rename the really bad name "subs" to restCref in Static.elabCrefSubs. - clear errors when loadingFileInteractiveQualified API and parseFile API - added vaporizing.mo test
12b535493dAdeel Asghar- Documentation annotation fixes.
f17c30eb78Adeel Asghar- Documentation annotation fixes.
8b1653135cMartin Sjölund- Avoid stack overflow in all CORBA calls
0bda1359c7Jens Frenkel- copy fix from r10507 to SimulationRuntime/c
cfa3f1d6ccAdrian Pop- check for connect(A, A), give a warning and ignore it! (a model from VI-Grade contained something like this). - added testsuite/mofiles/ConnectTheSameConnector.mo to test it.
1c702b44efAdrian Pop- last resort fixes for the memory_pool.c (to get the fmi not to crash when calling stuff from the generated dll).
61d7295d50Martin Sjölund- Added getClassNamesRecursive(void) API call
a4502e86c1Jens Frenkel- finish results implemention based on new data structure
af1c551e83Adeel Asghar- Create sections for documentation. So we know which HTML section belongs to info and revisions.
37c2ae568eMartin Sjölund- Use the resul*t*s instead of the resuls
3bae6aa755Martin Sjölund- Don't #include as there is no such thing on some platforms... - Use stdlib.h from the C standard instead
d9b8b1887bWuzhu Chen-- more tested FMU examples -- fixed of bugs -- test version under windows
606d2f12ddJens Frenkel- update simulation resutls (TODO mat,plt)
d744768ab9Lennart Ochel- update_DAEsystem() -> update_DAEsystem(_X_DATA *data)
52e023a107Lennart Ochel- _X_DATA-initialization update
31c4f1a123Jens Frenkel- bugfix parameter value definition
0f826323e7Jens Frenkel- set variable filter for _X_DATA
ab1b03bbd7Lennart Ochel- _X_DATA-initialization update
be22ddccc7Jens Frenkel- add _X_DATA to functiondefinitions
242ad1eb25Willi Braun[newSimulationRuntime] - for now deactivated DASSL to rewrite solver_main
d4c4695553Jens Frenkel- rename deInitializeDataStruc -> callExternalObjectDestructors
735368b2baLennart Ochel- continue using new simulation_data struct in initialization
4842db01b1Jens Frenkel- do not use this very good vararg macro
b307ca9a5dMartin Sjölund- make clean now does not run the depend command
8f16f7b934Jens Frenkel- update bltdump - fix fmu generation for multiple backendaes
92510be848Willi Braun [newSimulationRuntimeC] -added static data from xml-file
a28ccf94b7Lennart Ochel- start to use new simulatio_data struct in initialization - fixed log-messages
18af01166bJens Frenkel- bugfix tables read csv file
57d142b8bdJens Frenkel- bugfix tables.c - try to implement csv file support
7cdb59b88bLennart Ochel- add some debug-outputs - fix deleted else in simulation_runtime
3fc4fe3838Adrian Pop- show the number of failed models and the models that failed.
19fc8eef24Jens Frenkel- bugfix mercurial mingw error for static arrays
8a022491d6Willi Braun[NewSimulationRuntimec] - added ASSERTS for calloc
f0bc1d04d5Willi Braun- [newSimulationRuntime] - fixed bug in initial DASSL Data
90731d39b9Willi Braun- changed max and min to fmax and fmin
5c9bf5afb4Willi Braun- changed solver_main to c - added a lot of bugfixes
59171cd23eLennart Ochel- bugfix in error.h
2e56a5bd57Jens Frenkel- add header to some Makefiles - us ld for long int - tables.cpp -> c
f976eff65dLennart Ochel- bugfix in list - introduce type-free list
156e678c47Willi Braun - update makefile for ModelicaExternalC
a572f5b257Jens Frenkel- continue tables.cpp convert to c-style
45412eee20Lennart Ochel- update delay
ff4e6dab05Lennart Ochel- some error-output macros
21b9b9787eMartin Sjölund- Unix compilation
3b0265509cMartin Sjölund- Unix compilation
c0278601a9Adrian Pop- more fixes so it compiles.
1ef7611e4cJens Frenkel- start to convert tables to c-style
c13417ad2eAdrian Pop- make the new sim runtime C at least compilable.
f8e50e19feLennart Ochel- some utility functions
f7ef6355bcLennart Ochel- adjust makefile for interactive
68ea632b2eJens Frenkel- update cmake files
41a821879bJens Frenkel- update cmake files
5078739a2cJens Frenkel- update cmake files
b635c344ecJens Frenkel- use ${CMAKE_CURRENT_SOURCE_DIR}
679f18da3fJens Frenkel- add nosendData
eaba349077Jens Frenkel- sendata CMAKE build not sendata if QT is not Found
dc05031478Jens Frenkel- sendata CMAKE build not sendata if QT is not Found - bufgix solver_main
f37c42a039Jens Frenkel- function predefinition
f15b1a782fJens Frenkel- events: do not free if not malloc - error msg style
fde99a0b4cAdrian Pop- fixed memory pool (init states both in the generated code and in the executable!). - do not cat the testsuite-trace.txt as it can be very large and kill eclipse.
310f22c3efLennart Ochel- renamed some math-support files
3ab735ad1aJens Frenkel- bufix missing link
018a1ee226Jens Frenkel- add Makefile.common - use longjump in simulation_main - start with _X_DATA
2acad39953Martin Sjölund- M.E.D.E.Adder4 now compiles
ef52124d3dMartin Sjölund- Some fixes for parameter enumerations
2e9be046d5Martin Sjölund- Unix compilation
7fc7cf5e06Martin Sjölund- Use the configured CXX
3d3facc862Martin Sjölund- Configure fix
c766a7cb1bJens Frenkel- fix compilation
25cab05251Jens Frenkel- make list usersave ;)
e647c8d91dJens Frenkel- Bugfix MakeFile
69c783c7b1Per Östlund- Moved global root indices to Global.
b0290130a7Jens Frenkel- update CMakeFiles
3558e15700Lennart Ochel- moved math-support
925266a2d2Lennart Ochel- first try of defining new structs for simulation datas
9795f98629Martin Sjölund- Clean compilation
3d57a30006Jens Frenkel- ged rid of sum waring - use time to call storeDelayedExpression, so globalData is not needed in simulation_delay
7530c3bc26Niklas WorschechAdded code generation for extern functions Functions.h in cpp template
d8afd1f0b5Jens Frenkel- get rid of some warings (mostly size of data type not equal) - clear includes
0327ac93dfPer Östlund- Removed inline for alloc_elements in memory_pool.c, for clang compatibility.
1e3d8b1815Per Östlund- Fixed mistake in DAEUtil.mergeSources.
a6dd9ac3ddJens Frenkel- improve setTermMsg
bd108c9009Willi Braun - added some more fixes for Makefile
ba58cf6457Jens Frenkel- bugfix list.c - bugfix TermMsg
25be6da04fJens Frenkel- bugfix free
befd9e440fJens Frenkelgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10418 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
bceb1f8e04Jens Frenkel- bugfix c-standard - add utility.h
410231c0cdJens Frenkel- bugfix print debug - assert to exit
0b8e2513a3Jens Frenkel- bugfix list init in simulation_events - bugfix TermMsg
b704e31991Willi Braun - merged some fixes
c5f5038dcdLennart Ochel- bugfix for initialization
595315e5bbMartin Sjölund- Add some equation info to the generated code - Comment out some useless code :)
c630f5ce36Jens Frenkel- simulation_events.cpp -> c - add list for simulation_events
a92e823667Lennart Ochela small fix
128900d9fbChristoph HögerFix PHONY targets
efb65ea9f4Lennart Ochel- .PHONY fix for makefiles
8e059bb4d9Jens Frenkel- c-stile comments
242bfaf270Jens Frenkel- simulation_delay.cpp -> c
6aa3db78e5Jens Frenkel- update CMakeFiles - simulation_init.cpp -> simulation_init.c
a9d22fbde7Jens Frenkel- bugfix mscv
1a75e6dc68Lennart Ochel- conert ringbuffer from cpp to c
77d3ba76bbNiklas WorschechAdded fix from Adrian for ModelicaTables to cpp runtime
880e4f0ec9Jens Frenkel- add CMakeFiles to SimulationRuntime
704f50baefAdrian Pop- more info about a base array - give a warning if the tables are not monotonously increasing in the time column (c.f. Modelica spec).
efc63a6106Martin Sjölund- Use long as modelica_integer type
5694905b11Willi Braun - added once again Makefile
452e009d63Willi Braun - added again Makefile to SimulationRuntime/c
f647f871c4Willi Braun - added one Makefile more to SimulationRuntime/c
a06ec31277Willi Braun - some more fixes on SimulationRuntime/c for testsuite/mosfiles (only 7 tests failed)
2e88f66d00Jens Frenkel- copy bugfix to SimulationRuntime/c
dfdc7a56c7Jens Frenkel- update makefile
79dcdcd010Jens Frenkel- update makefiles
231c25e3eaJens Frenkel- fix makefile
4cc9bbdb21Willi Braun - more SimulationRuntime/c
89b21cb532Willi Braun - changed the Codegen for SimulationRuntime/c
6bda1dc895Jens Frenkel- fix install
934becbaeaJens Frenkel- fix warnings
0984349de4Willi Braun - more Makefile stuff
3210774f47Jens Frenkel- fix warning
da4f410070Willi Braun - get rid of tons waring massages
598443942fJens Frenkel- fix clean
49bbb298d2Jens Frenkel- build SimulationRuntime/c
257b1ebfc9Willi Braun - correncted Makefile.common in SimulationRuntime/c
eb8cb5afa0Willi Braun - added Makefiles for simulation folder
dd2512a626Jens Frenkel- update makefile
8332b2bc5cMartin Sjölund- OMDEV compilation
367b402918Willi Braun- fixing Makefiles for SimulationRuntime/c
2b0794d7cfMartin Sjölund- Share some matrix literals
fd67fccdaaJens Frenkel- update CMakeFiles - include inline.h in memory_pool.c - bugfix for vs us sqrt(double)
7f94d3c791Martin Sjölund- Use the configured make command
17721d85b2Martin Sjölund- Add MAKE=xxx to the configure script (to be used to change the make version used by OMC)
c5ec63c4bfLennart Ochel- bug-fix inside the ringbuffer, because of losing the order during expanding
05ce47c0d1Adrian Pop- table data does not have to be monotonous increasing, it can be equal too!
6e30627ad0Martin Sjölund- Ceval the cref without subscripts if we have variable subscripts
e0885ad6adWilli Braun-fixed compiling issues in SimulationRuntime/c/meta
f9e871e1adMartin Sjölund- MetaModelica: Use C89 instead of C++
7be63b313cLennart Ochel- sync with c_runtime
aba4452f54Niklas WorschechAdded ModelicaTabels from c_runtime to cpp runtime
90316a77feMartin Sjölund- Fixed compilation of util package
f7a407d357Willi Braun-added the forgotten openmodelica.h
99fa31e851Willi Braun- added Makefiles for building every subfolder an own library
4eaabe1cfaLennart Ochel- changed default optimization-method for initialization
520b5cceecMartin Sjölund- Moved read_write back to c_runtime as it seems to break things after a make clean
6cd3a9467dMartin Sjölund- Use multiple regions for the memory pool
376161084cWilli Braun- added TerminateSimulationException class to tables.cpp
eaca23572dMartin Sjölund- The memory pool now uses only one buffer for all data
bad8ce57b1Martin Sjölund- tables.o should not use odd defines
681b03a52aMartin Sjölund- Configure the SimRt/c makefiles
470b349feaWilli Braun -added Makefile.in to SImulationruntime/meta
ed9a4d7ccdMartin Sjölund- Copy read_write.h to the headers
2195759540Martin Sjölund- Fix clean compilation
6d4bfd9da2Willi Braun - added updates for new c simulation runtime
b718cec526Willi Braun - added new structure in SimulationRuntime/{c,fmi}. Copy almost all stuff from c_runtime to SimulationRuntime.
aca7f575e4Lennart Ochelbug-fix for handling initialization with command-line arguments
1a0059f19dMartin Sjölund- Moved read_write to Compiler/runtime
5e9628b372Niklas WorschechAdded Idas Solver source code to cpp runtime
ccc702a5e4Martin Sjölund- Create temporary functions for all equations as GCC runs a lot faster on this code
d92ec2a01dMartin Sjölund- Do not configure with OPENMP as the macro is broken on OSX
3c8b3498a9Per Östlund- Don't enter base classes that the lookup is coming from in SCodeLookup to avoid infinite loops when extending a base class further down in the environment. - When doing dependency analysis on an extends clause, remove it from the environment so that we don't look it up in itself.
91346164caWilli Braun- added new CodegenC for redesign the c_runtime. New directory Simulation/c will use for that. For developing it can used by the flag simCodeTarget=c.
b1f5a6fa84Willi Braun-forgot to add one figure
a9d1bd6d12Jens Frenkel- yet another try at making Compile.bat work correctly (adrpo)
36d045b452Niklas Worschechadded Cvode solver source code to cpp runtime
b3b907d151Willi Braun- update a section about separation of variables
05ffb34c06Federico BergeroCalling function_initMemoryState
40420cbb72Martin Sjölund- Restructured memory pool (it's now an array of pools)
cbbe21ecfeAdrian Pop- fix to bootstrapped compiler
ff9527b254Martin Sjölund- translateModel now works more like buildModel
0194570f0eMartin Sjölund- Avoid segfault when init-file does not exist
29b57cc3bcAdeel Asghar- typo corrected.
7a8f5087e9Martin Sjölund- Unix compilation
8c56b89566Adrian Pop- YOU WILL NEED A NEW RML FOR THIS: Windows (svn up on OMDev), Linux (svn up and compile or wait to update to a new one). - do NOT die if there is a stack overflow in Inst.instantiateClass, continue on. try this script with the Buildings library: loadModel(Buildings); getErrorString(); instantiateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation); getErrorString(); 2+3; 5+6; ------------ you will get something like this ----------- SCodeLookup.lookupSimpleName SCodeLookup.lookupSimpleName2 SCodeLookup.lookupInLocalScope Stack overflow! Failing the current function stack chain until the stack overflow signal is caught! "" "Error: Error occurred while flattening model Buildings.Airflow.Multizone.Examples.NaturalVentilation. The compiler got into Stack Overflow!" 5 11 - OMEdit will no longer die (but will not display parts of the model).
e10a1deff5Adeel Asghar- Added the time stamps to omedit commands log file.
47b60a1360Adeel Asghar- Log omc output. - Creates a file openmodelica.omc.output.OMEdit in user temp directory.
d16e1eb45fWilli Braun-fixed makefile for simulation runtime draft
27f548e793Willi Braun- added first draft for the redesign of the simulation runtime
7b22ec1550Adrian PopInteractive.mo - run all graphical API commands with checkModel, nogen and noevalfunc ON. - merge graphical API handling functions into one.
f738129b72Adrian Pop- logging is not good unfortunately for the soul of the testsuite.
bca75f907dAdrian Pop- pushd doesn't understand any string with forward slashes, use cd instead. - add more info to the log files so we can debug a bit if needed. - force just the paths we need and NOTHING else.
f39e00403bAdeel Asghar- fixed documentation widget scrolling and text clipping. - models popping out of packages fixed. - some other minor fixes.
d8f21effa2Adrian Pop- be consistent with execstat v.s. execStat.
523e3a8db9Niklas WorschechAdded forgotten AlgloopsolverFactory Interface
8d937a0278Adrian Pop- update 3.4.5 to 4.4.0 (this might be the problem for the people that get libgmp-3.dll issues).
ff571fc775Willi Braun- FMI-Import: added first FMI import test(really simple) and it works for now only on windows.
a65d9720b2Niklas Worschechfix in algloopsystem of cpp runtime for Modelica function calls
c216f8e70cPer Östlund- Add crefs from component modifier in Inst.updateComponentInEnv to get rid of some error messages.
1e9dab7d33Martin Sjölund- Fix for rml (prim_once returns the success/failure status, not the value...)
81b004505bMartin Sjölund- Parse der(cr) := exp; Inst needs support for this though...
3c2b1dcf3cMartin Sjölund- ClassLoader: Do not load a library if a subpackage fails to parse
5754cd4e7ePer Östlund- Added some preprocessor ifs to OMPlot and OMEdit to make them compile with QWT 6.
07fa7ae124Per Östlund- Added some preprocessor ifs to OMPlot and OMEdit to make them compile with QWT 6.
5bad000913Adeel Asghar- Fix start col for first row.
9a5e612e30Per Östlund- Initial commit of new documentation.
764293179bAdeel Asghar- write command log before sending the command.
ba6258dd50Willi Braun- FMI-Import: changed name of the generated file
b9e6581567Per Östlund- Fixed stack overflow in IncompressibleFluidNetwork by only updating untyped modifiers in Inst.updateCompeltsMods. - Filter out unique outer crefs in InnerOuter.printInnerDefStr to get better error messages. - Added List.unique and List.uniqueOnTrue.
ebc5d32ab4Willi Braun- fixed makefile for FMI-export.
0019bda88bMartin Sjölund- Parse first token correctly
f0c7fc7546Willi Braun- fmi-import: get rid of some warnings
e39bb14440Willi Braun- fmi-import: more fixes, correct indentation, adjust debug informations
1545422211Willi Braun- added fix for fmuBoolean to Modelica Boolean
995ec6cf21Willi Braun- fmi-import: fixed some more bugs
ed846cc172Willi Braun- FMI-Import: fixed some more memory leaks
14cd37ad15Willi Braun- FMI-Import: fix almost all calloc calls by swap arguments
e3c8d66c79Adeel Asghar- horizontal scroll bars for tree views - removed an extra progressbar during simulation.
3999e62816Adeel Asghar- Fix the model browser expand collapse issue. - Updated the simulation ProgressDialog.
3784b12f1fAdrian Pop- fflush the log and error messages in c_runtime. (is good for knowing where things crash).
4abc688477Martin Sjölund- Better fix than r10268 (but we keep the debug print disabled)
79bc483542Willi Braun - fixed bug with array with size 1. - uncommented print of communicate status (breaks the testsuite)
2a24207f95Martin Sjölund- OMEdit/simulation: Use -port XXXX to send status updates to OMEdit. TODO: Implement this in the GUI (Adeel)
e370306e8fMartin Sjölund- OMEdit/simulation: Use -port XXXX to send status updates to OMEdit. TODO: Implement this in the GUI (Adeel)
6ac155efd3Adeel Asghar- Fix the documentation text clipping.
7674c2ee89Adeel Asghar- Fix simulation for Linux.
66c9c5332bMartin Sjölund- Added preOptModule: residualForm
3643c727f6Martin Sjölund- Spelling of SIGUSR1
b1a8e79b65Willi Braun#1641 - added fix for Bug 1641 (constant linear system) write the constant value also as startvalue - added testcase
ae97eb5e1dPer Östlund- Fixed infinite loop in DAEUtil.evaluateParameter. - Updated test suite.
782a606e2bPer Östlund- Fixed correct type when elaborating the builtin cat operator.
fcf2915967Per Östlund- Added balance check for connectors extending a basic type.
5e34f0d610Adrian Pop- re-enable the SCode.DERIVED case in the Inst.instClassdef2 as it gives way better function names (correct environment) and error locations. also, we would have a function name clash in the function tree if we have two short class definitions with the same name, same base class, but different modifiers! - for SCode.DERIVED elaborate the modifiers in the parent scope both for full and partial inst! this fixes the error for derived functions with modifiers. - better location in call to Inst.matchModificationToComponents. - get rid of some commented unused code.
c1abafcd0aAdeel Asghar- copy required FMI header files.
91da498b38Adeel Asghar- FMI import note.
c51dc4615eAdeel Asghar- minor fixes.
827fa05829Niklas WorschechFix for compiler error in SimCodeCpp.tpl for new ode equations structure
d4ebcac455Niklas WorschechExtended cpp template for generating code for non linear systems
8ae91bcb8fNiklas WorschechExtended cpp runtime for solving non linear systems
4ff09533aaWilli Braun- Added bug fix for algorithms. Not all algorithm outputs are discrete.
c557192659Per Östlund- Fixed stack overflow in HeatingSystem fluid model by replacing Static.buildExpList with List.fill. - Improved List.fill a bit by only checking bounds once, and printing a failtrace instead of using print if the count is negative.
7c32c3f4f5Martin Sjölund- Fix clang warnings
b673ae98c7Martin Sjölund- Revert previous changes as they cause heisenbugs
abced6f9deMartin Sjölund- Avoid clang warnings and segmentation faults (see r10238)
e50520c8e4Per ÖstlundFix for function modifiers: - Added source info to unbound parameter warning in Static.elabCref2, since it doesn't cause any real problems anymore. - Added a case to DAEUtil.bindingExp to use the evaluated expression if it's available. - Commented out the case for derived classes without array dims in Inst.instClassdef2, since it solves some problems and makes the compiler faster. - Added test case mofiles/ModifyFunction1 to test function modifiers. - Updated test suite.
1d20877007Martin Sjölund- Avoid clang warnings...
b409f87f07Per Östlund- Fixed bootstrapped compiler by implementing setLanguageStandard and getLanguageStandard in bootstrapped runtime.
22e50bcbb4Martin Sjölund- Fix error kind for COMPONENT_NAME_SAME_AS_TYPE_NAME
32255d671cAdrian Pop- do not evaluate functions if we do partial instantiation - handle smooth in Derive.mo (needed for Modelica.Media) - replace constant with binding even if you cannot constant evaluate - BackEnd/BackendDAECreate.mo (fixes to make some Media models simulate) + force inline of record = functionCall(...) in complex equations + handle normal equations in extendRecordEqns (as we have a recursive call) - split function evaluation/generation outside of Ceval.cevalCallFunction to be easier to manage.
e5e4238da1Martin Sjölund- Do not rollback the memory pool in external functions as the output still needs to be allocated
fb922206a9Martin Sjölund- Makefile parameters should contain the include dirs, not the include itself
ab2cc4cf80Adrian Pop- allow protected constants in functions to be able to compile functions such as Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.v3b_ph.
0034ef807bAdeel Asghar- Show multiline error messages in a single line and when user mouse hover then show full message in toolTip. - selectAll with context menu.
a70ee4c97bAdeel Asghar- key bindings for problems tree.
091996f50fAdeel Asghar- Display multi line errors.
68bc36d465Adeel Asghar- OMEdit improvements.
3c8db167a8Per Östlund- Added a flag to OMC, +std, to set the Modelica language version to use. API calls setLanguageStandard and getLanguageStandard are also implemented for this. - The Modelica language version is now set automatically if a specific version of the MSL is loaded, and gives a notification if the version has changed. - Added new package RTOptsData, which contains data types and some functions which can't be in RTOpts since RML doesn't allow mixing external and non-external things. - Turned on error messages for replaceable base classes if Modelica version is at least 3.0. - Turned on balance checking of connectors if Modelica version is at least 3.0. - Updated test suite, and added a new test case redeclare/ReplaceableBaseClass.
e07e94d3d5Adeel Asghar- removed unused stuff.
87267eb17cMartin Sjölund- Improved error message
0f88037dd2Martin Sjölund- Removed the "General" tab
ab925a6026Adeel Asghar- No more blinking of Problems tab. - Info tab is removed. All information messages are shown in Problems tab as notifications. - Added the Item Delegate for tree and list views. Gives more professional look.
0a920d3720Martin Sjölund- Install nls files correctly
1c6205386aPer Östlund- Fixed redeclaration modifiers for arrays, i.e. 'each redeclare'. - Implemented SCode dumping of defineunit. - Updated test suite.
11c489049fMartin Sjölund- Use Ctrl-O to open file
787e1a780aMartin Sjölund- Translated marked strings in OMShell to Swedish - Also removed the useless toolbar and cleaned up the code a bit
2356e22066Martin Sjölund- Added translation support to OMShell
e41134de34Adeel Asghar- Show icons for menus.
173b79077bMartin Sjölund- Fix mix-up severity and type for error-messages - Also made a very short message string (only the message itself) for internal messages
6b48856c2fMartin Sjölund- Fix in case omc_communication.cpp will be used by the .pro in the future
49839c45c6Adeel Asghar- fix compilation
1d6b7165daAdeel Asghar- Major change. - Uses getMessagesStringInternal() instead of getErrorString(). - Uses buildModel() instead of simulate(). Now one can cancel simulation as well.
d8b24abab7Martin Sjölund- Open errLogFile before trying to use it
84159c5f8bMartin Sjölund- Fixed profiling report title (TITLE was not that great...)
0d7e17ab11Martin Sjölund- Moved setClassComment to ModelicaBuiltin.mo
cb6673ebe9Martin Sjölund- Fix last commit (compile error)
457797c6f5Martin Sjölund- Added loadFileInteractive{,Qualified} to ModelicaBuiltin.mo
fcbda67842Martin Sjölund- Fix parseFile
7290133097Martin Sjölund- Refactoring
2675f8ce15Martin Sjölund- Moved getPackages() to ModelicaBuiltin.mo
ea58f1211aMartin Sjölund- Moved getClassNames() to ModelicaBuiltin.mo
29badad44bMartin Sjölund- Moved get/setSourceFile to ModelicaBuiltin.mo - Slightly changed their output (from Ok/error to true/false and filename to "filename") - Updated OMEdit to consider these changes
8271ad7df1Martin Sjölund- Moved get/setSourceFile to ModelicaBuiltin.mo - Slightly changed their output (from Ok/error to true/false and filename to "filename") - Updated OMEdit to consider these changes
9cd09e9a1bMartin Sjölund- parseFile defined in ModelicaBuiltin.mo - List OpenModelica package in OMEdit
2bc3b27fd3Martin Sjölund- parseFile defined in ModelicaBuiltin.mo - List OpenModelica package in OMEdit
d25b2b1659Martin Sjölund- listVariables now part of ModelicaBuiltin.mo
8e14aeb2e6Martin Sjölund- listVariables now part of ModelicaBuiltin.mo
563c8387ecMartin Sjölund- Don't strcmp NULL-pointers
7b0e7fe00eAdrian Pop- chain the redeclares.
e6403a62f9Willi Braun- fixed small bug in calculate analytical jacobian
1a3f8529f0Per Östlund- Add info to some error messages in Ceval.
274f961c8cPer Östlund- Allow unknown array dimensions for now, since it fixes some problems with Media and Fluid because we instantiate stuff without modifiers.
b4ac1924bcPer Östlund- Simplified Inst.updateComponentsInEnv2 a bit.
58636bc6dcMartin Sjölund- Fix for bootstrapped compilation
222b369ea2Martin Sjölund- Fix binaries directory of FMU to linux32,linux64 as in the FMI spec. We use the openModelicaPlatform() name on unspecified platforms (i.e. darwin-x86_64)
cccd4625baMartin Sjölund- Use log-scale for measureTime=true
771a3d8a9cMartin Sjölund- Fixed typo
289d9975a7Martin Sjölund- Avoid some more double-free
636f8ef0eeMartin Sjölund- Allow external objects to pass through simcode
af7d25e061Martin Sjölund- Bootstrapped compilation
692de30d5aMartin Sjölund- Avoid some double free so we don't cause segfaults
33e3a2b178Martin Sjölund- Call fmigenerator directly from ModelicaBuiltin.mo
27114a7a58Martin Sjölund- C89 FMI compatibility
a2cad9add5Martin Sjölund- Fix some compilation warnings
733f3851e9Martin Sjölund- Only copy fmuWrapper.h to the include directory - Moved some header includes around to avoid including unnecessary headers
1da1595d7bAdeel Asghar- Copy required FMI header files.
233c73ab6cAdeel Asghar- Check simulate messages return in case of error.
8fd3f97d8eMartin Sjölund- New getMessagesStringInternal() API. Example session :) skew({1,2,"",3}); errors:=getMessagesStringInternal(); size(errors,1); // 2 currentError:=errors[1]; currentError.info.filename; currentError.info.columnStart; currentError.message; currentError.kind; currentError:=errors[2];
038857d9a0Per ÖstlundFluid fixes: - Better handling of redeclare modifiers in SCodeDependency. - Updated DrumBoiler tests and moved them to working tests.
5e95cf70fbPeter FritzsonUpdated OpenModelicaMetaProgramming.doc and .pdf to be the same as the ep.liu.se report for MetaModelica 1.0. Title page only in the .pdf version
77c7ea13b6Adrian Pop- got rid of some of the warnings in Compiler/runtime.
1df805c2ffWuzhu Chen-- fixed variadic arguments compatibility
bbf77e7244Adrian Pop- missed one
e310e5ebcaMartin Sjölund- Refactoring of Error.mo: Use uniontype/enumeration to send message type/severity instead of strings
43d9b4a42fMartin Sjölund- Added draft of better getMessagesStringInternal API (less client-side parsing)
7cd5f1b045Martin Sjölund- Moved functionODE_residual to the runtime instead of templates (compile once, link many times)
95c729d410Adeel Asghar- Add modifiers implemented.
97fa78f98eAdeel Asghar- Update LineNumberArea whenever ModelicaEditor setPlainText is called. Otherwise the ModelicaEditor hides on the left side.
07d7cf6738Adeel Asghar- Fix ModelicaEditor text cursor for linux.
d2ad9d91e5Martin Sjölund- Disable Werror
cb745f392cMartin Sjölund- Force generation of headers before trying to compile fmi
6f9768c1f0Adeel Asghar- Changed QTextEdit to QPlainTextEdit. QTextEdit is evil. - Line numbers added to ModelicaEditor. - On ModelicaEditor Press Ctrl+L to open up line number dialog. - Highlighting the current line.
ab07757b79Adeel Asghar- Changed QTextEdit to QPlainTextEdit. QTextEdit is way tooooo slowww......
03f37fb715Adrian PopFixes for bug: #1637 - commented out the first case in Static.makeIfexp (thanks to Martin for pointing it out). case (cache,env,e1,DAE.PROP(type_ = (DAE.T_BOOL(varLstBool = _),_),constFlag = c1), e2,DAE.PROP(type_ = t2,constFlag = c2),e3,DAE.PROP(type_ = t3,constFlag = c3),impl,st,_, _) equation true = Types.semiEquivTypes(t2, t3); c = constIfexp(e1, c1, c2, c3); (cache,exp) = cevalIfexpIfConstant(cache,env, e1, e2, e3, c1, impl, st, inInfo); then (cache,exp,DAE.PROP(t2,c)); - all tests go.
1e4ee6b567Adeel Asghar- FMI Import widget files
f25af768a0Adeel Asghar- Interface for Importing FMU. - Better result checking for simulate command.
1233674e93Adeel Asghar- Output Directory can be specified for importFMU.
ba495513f2Adeel Asghar- increment the index even when no condition is satisfied.
5fe1e82c0aMartin Sjölund- OMEdit: Check getErrorString() after loadModel()
cc2b046a7cMartin Sjölund- OMEdit: Check getErrorString() after loadModel()
8ca6eb2e87Adeel Asghar- Don't append errors to the error file. Always write the current import errors.
b6a6c1bbf4Adeel Asghar- Changed fmuWrapper.a to libfmuWrapper.a - FIX fmi compilation on windows
4a6f968097Adeel Asghar- don't return error for default case because then the API will fail.
8463e0affeAdeel Asghar- getLastError() is wrong its GetLastError.
f0d4f62e07Martin Sjölund- Some fixes to equation index of distributed systems
6598124ce5Martin Sjölund- Some fixes
7edea585c5Martin Sjölund- Use unzip
b54a035597Martin Sjölund- FMI fixes
4489df75c7Martin Sjölund- FMI fixes (use .a-files)
b7c50d4738Martin Sjölund- Added +d=openmp, which slows down simulation in most cases (at least on 2-CPU systems)
4c152c8be6Martin Sjölund- Fixed OMEdit crashes when the MSL cannot be found
e7880c3477Adeel Asghar- Interface for adding libraries - Some documentation of the code. - Changed all buttons pressed signal to clicked. Pressed signal is bit weird.
3c35df1785Martin Sjölund- Fixes to compile using clang
f56a2b5900Martin Sjölund- Fix moGenerator compilation errors
0a73368527Martin Sjölund- Remove unused
659511db52Wuzhu Chen- Some bugs fixed in moGenerator, unzip cannot handle recursive directory creation - Remove excessive amount of warning messages
b61cecd681Martin Sjölund- Refactoring
b52a7b4d9cWilli Braun- added new solver: Dopri5. An implementation with step-size control and dense output by Thomas Schmidt @ FH Bielefeld.
1e349403b2Adeel Asghar- writing a log file of all omc commands.
8eb97e06a6Adeel Asghar- breakprocess section in Makefile.common - step to create BreakProcess.exe
33d8fa6e3cPer Östlund- Fixed stack overflow in ControlledTanks fluid test by qualifying redeclares properly in SCodeFlatten. Also gets rids of some other error messages.
96419b459eMartin Sjölund- Show all loaded libraries dependent on the ones listed in the config
66c125bfddAdeel Asghar- Add ModelicaServices as well.
de5508607eMartin Sjölund- Added a QSettings section for the libraries to load by default, e.g. [libraries] Modelica=default ModelicaReference=default Modelica_LinearSystems2=default
10ceab47c3Martin Sjölund- Disabled collapseIndependentBlocks by default as the whole backend+code generation now handles independent equation systems
0e9b0ae9c8Martin Sjölund- XMLDump now working for independent eq.systs
f156cfecacMartin Sjölund- Some fixes for indep.eqsyst
9cb4f58dceMartin Sjölund- Fix for createParameterEquations when not collapsing indep.eqsyst
e0e66730f5Martin Sjölund- Reset tmp ticks more often in generated code
9cd410a2aeMartin Sjölund- Do not generate duplicate statements for functionAliasEquation when partitioning independent equation systems
692c5ccfcfPer Östlund- Fixed record component assignment in CevalFunction. - Removed nogen and noevalfunc flags from fluid tests that don't need them. - Removed some unused code.
cd7b1fa1b8Martin Sjölund- Adding Modelica 3.3 draft spatialDistribution to the builtin env
0965a5ca3eMartin Sjölund- Fix bootstrap comilation warning
3e9703061cMartin Sjölund- Added Modelica 3.3 (draft) operator getInstanceName()
86a21e4645Martin Sjölund- Added some documentation
af2b8548dePer Östlund- Implemented RTOpts.setDebugFlag for the bootstrapped compiler.
4705f66af3Martin Sjölund- Fix POSIX compilation
19a95dab9fMartin Sjölund- Include malloc
1e057ab630Wuzhu Chenlog file generation, platform dependency handling, more functions for xml parsing
7c3c183d83Martin Sjölund- Use ModelicaBuiltin.mo to describe skew
9fc8fde9a7Martin Sjölund- Added cross to ModelicaBuiltin.mo
e02f2eeb31Adeel Asghar- Check for cycles.
aea416c98bMartin Sjölund- Force nogen for Interactive.getComponents
b8aeed806aAdeel Asghar- Removed >> from log
ad6d3aea51Niklas Worschechfix in cpp template for generate matrix code
1f39f144eeMartin Sjölund- Unparse the version string
12ffd6beceMartin Sjölund- Remove uesless config lines
90c9352844Martin Sjölund- Reduce the number of warnings clang gives about the GC macros
1084a94beaMartin Sjölund- Added support for quoted identifiers in functions
6a526fc1f2Martin Sjölund- Removed the Compile script on Unix platforms (call make directly)
160e54254eMartin Sjölund- Fix C++ compilation error (it's ok to call functions with too many arguments in C apparently)
7f7316ba7aAdeel Asghar- step to create fmigenerator.exe
a76e71f75aAdeel Asghar- Media is not deleted from MSL now.
96affb0225Adrian Pop- disable instantiation as basic type for anything other than type and connector (causes 1 test to fail). - some fixes for expandable-expandable connection (should be the union of all of them).
0fd12a1503Adrian PopFixes to FMU (mingw commands conflicting with Windows commands) - force cmd.exe to choose mkdir.exe instead of mkdir - use && instead of ; for command separation.
6af1705203Adeel Asghar- better error message for FMI.
37722d6878Adrian Popbug #1159 - do not use /B in Compile*.bat as Windows XP will crap out - delete .log .exe .dll when compiling.
e29ac3f4b3Adeel Asghar- some minor changes for FMI.
fd1d479c99Martin Sjölund- Use System.getExeExt instead of hard-coded values
b401db03baAdrian Pop- fix compilation on Windows. - delete also .log to be sure is actual.
1678bfa695Martin Sjölund- Access dates
e6528fcc5dPer Östlund- Fixed stack overflow in Inst.updateComponentInEnv for some fluid models.
58380b8288Martin Sjölund- Remove file before compilation starts and check that it exists after
e0e142fb51Martin Sjölund- bibtex update
55b2ec3afbPer Östlund- Relaxed the check for cyclic dependencies in Inst.instElementList, to avoid false positives when if-equations are used.
02a5d558bcPer Östlund- Fixed elaboration of stream operators on empty arrays, which fixes flattening of some fluid models.
babf633d46Martin Sjölund- Some bibtex updates
8d49c6a273Martin Sjölund- Removed some unused functions, fixed some compiler warnings
db7d701b04Martin Sjölund- Removed some old stuff from Builtin.mo
72f94538edMartin Sjölund- Implemented linspace in ModelicaBuiltin.mo
c7c8a9a090Martin Sjölund- Added outerProduct as external "builtin"
07315ca395Adeel Asghar- hide welcome page on library item show up. - plot window layout updates.
c351b69d6eAdeel Asghar- minor fixes of FMI import
9768d6b8dcAdeel Asghar- SIGUSR1 not really defined in windows. - use systemCall instead of spawnCall. - Removed the FMI bin and include folders. Not really needed. - the fmuModelica.tmp is used as fmuModelica.h. check the make file.
062132f18bMartin Sjölund- Removed .substring from the Builtin env
0d49175ae6Martin Sjölund- Generate header from template
cc0cb77794Martin Sjölund- Set LF props
cec9b11e32Martin Sjölund- Removed elabBuiltinRem elabBuiltinMod
74f12aa486Martin Sjölund- Removed elabBuiltinDiv
dc9ce930ddMartin Sjölund- Moved abs() from Builtin.mo to ModelicaBuiltin.mo
26182070b1Martin Sjölund- Removed boolean() from Builtin.mo as it is not a legal Modelica call
511f0b7891Martin Sjölund- Implemented function overloading
4e36173b95Martin Sjölund- Add dumping of overloaded functions
d35462f01fMartin Sjölund- Fix for vectorized delays
5be56ad0c4Martin Sjölund- Some more compiler warnings
865b1f3bcfMartin Sjölund- Fixed some compilation warnings
abbd90fcb4Adeel Asghar- using unzip instead of 7z.
983ae1fe72Martin Sjölund- Fix for vectorizing delay() calls
a4a6f59978Martin Sjölund- Some fixes for FMI import to compile under UNIX
2bf3a71b4dMartin Sjölund- Corrected linking order
b89a5e2bc8Martin Sjölund- Fix OSX compilation
e32c441e50Martin Sjölund- Make USR1 print some simple simulation status to stdout
e7e92831cfAdeel Asghar- FMI Import updated. - Added the new importFMU API. - fmuWrapper.o is removed. - fmi section is added to the makefile.Common. - build fmi in order to get the executable and required files.
c9cbf43ec8Per Östlund- Remove Util.stringDelimitList, since it's builtin now.
19d85e58e8Martin Sjölund- Use -enable-auto-import only for win32
6ddd8b055aMartin Sjölund- Use -enable-auto-import only for win32
a3608de10dAdeel Asghar- more style updates.
debc14f4e1Adeel Asghar- minor style updates.
bb4e532872Adeel Asghar- Recent Files feature with a welcome page.
d40243659aMartin Sjölund- Re-enabled the check for functions defining all slots - FunctionArg now stores the default expression in it so we can use it very fast
8707c5b2a1Martin Sjölund- Added List.selectFirst1
b0f8c700d4Adeel Asghar- pro file fixes. - some other minor updates.
c651ad28a1Adeel Asghar- pro file fixes. - some other minor updates.
70c8c97110Martin Sjölund- Fix bootstrapped compilation
2c9c7cb91dMartin Sjölund- Improved the error for imbalanced systems (prints all of them instead of only first)
4794a39d1eMartin Sjölund- Allow startTime=stopTime in OMEdit
82a6ca0c47Adrian Pop- for no GC use macros so we don't waste C calls for nothing. - you might need to do make clean for this to work.
b46a251603Adrian Pop- media fixes (allow instantiation of partial functions for now) until we can check if a class is basic type before we do the damn instantiation - we cannot fill all slots if the function has extends in it so SCode.getElementName will fail, so don't check if ALL the slots are filled in Static.elabCallArgs2 - most of Media models flatten now, we still have to test them a bit - we have one failtest in plus now due to these changes.
2a1e277846Adeel Asghar- FMI export and import icons.
e065d852b5Adeel Asghar#1593 - Now reads M_init.xml instead of M_init.txt - Text Annotation updates. - Recent Files feature in File menu. - FMI Menu. Only export supported.
64af87d2e0Adrian Pop- use Types.elabType instead of Algorithm.getTypeExpType - use match instead of matchcontinue in ClassInf.getStateName
80e91894e3Per Östlund- Changed the error messages from constant id + lookup list into just message constants.
5c2f777b7cMartin Sjölund- Added Modelica'2002
83222b18a2Per ÖstlundFix for bug #1627: - Pass the subscripts correctly in elabCrefSubs so that the bounds checking works correctly on qualified subscripts.
346ba57a6bMartin Sjölund- Fix extraPolate
9d8abbd81eMartin Sjölund- Some compiler warnings
c5aba33418Martin Sjölund- Changed the extraPolate macro so we don't get warnings because variables contain $-signs
3ba4b5ca83Martin Sjölund- README update
b36be1c174Martin Sjölund- Allow compilation without Java
97412445f7Per Östlund- Updated the OMC usage text.
e26d09a477Martin Sjölund- Added ceval of stringDelimitList
ed85bf655aPer Östlund- Allow connectors to inherit from records. - Removed the ModUtil package, because it mostly contained duplicates and unused functions, and had a confusing name. The only three functions that were used (pathEqual, innerOuterEqual and pathStringReplaceDot) have been moved to Absyn instead.
43c3ef904eAdrian Pop- getting the testsuite closer to 100% - more fixes are on the way for redeclares.
fa183e9aceAdeel Asghar#1612 - getDefaultComponentName and getDefaultComponentPrefixes now supported.
ba4a7a8099Adeel Asghar- New visualize2 API. - writes the file .visualize with the information about the visualization objects. - Later it needs to be extended to call the visualization tool and then pass the simulation result file and .visualize to it. - removed an extra print from getElementName. - OMEdit: the modelbrowser window take less area now.
85127e407eAdeel Asghar- New visualize2 API. - writes the file .visualize with the information about the visualization objects. - Later it needs to be extended to call the visualization tool and then pass the simulation result file and .visualize to it. - removed an extra print from getElementName. - OMEdit: the modelbrowser window take less area now.
8cde145ce0Jens Frenkel- remove unused parameters from functions
4dc59b25d7Martin Sjölund- Patternm: Only output a single error for patterns
0a8d302a36Martin Sjölund- Patternm: Only output a single error for patterns
160a956d83Martin Sjölund- Added boxptr_stringDelimitList
107ff29a63Martin Sjölund- Typographical issues (capitalization of MetaModelica, etc)
b44374d9cbPer Östlund- Added check for components with the same name is it's type specifier. - Enabled testcase mofiles/Lookup8.
31302f09dfMartin Sjölund- Added a few conference papers (mainly Modelica'2011) to the database
0bd84d81a1Martin Sjölund- Added missing function boxptr_listDelete
6f8d935573Adrian Pop- WARNING: NEW RML is needed for this revision! Update your OMDev for Windows and RML for Linux. - stringDelimitList is now a runtime function.
94fea1212cAdrian Pop- small typo fix
6790a17ffcAdeel Asghar- Information about AccessControl plugin.
77b3dfbe2eAdeel Asghar- Updated the version number. - Fixed the temp path issue. - other minor fixes.
c6a8a6264aAdrian Pop- SimCode.mo do not use listReverse on libs as List.union does not reverse the list anymore. this is needed to fix the wrong library order for linking. - update to version 1.8.0
e8d6f21363Adrian Pop- SimCode.mo do not use listReverse on libs as List.union does not reverse the list anymore. this is needed to fix the wrong library order for linking. - update to version 1.8.0
a749d6b67aWuzhu ChenFMU_Import: some files missing
01475ee729Wuzhu Chenprototype, refactoring still in process
8a6cd47a75Per ÖstlundFix for bug #1621: - Handle enumerations inside modified models correctly.
70f68a6505Per Östlund- Added test validation tool, useful to check tests when equation order changes.
923f0c08e8Per Östlund- Changed the error message for public non-formal parameters in functions to be understandable without reading the specification.
c3a0e9ebb9Per Östlund- Moved list functions from Util to a new List package.
c482c77944Martin Sjölund- Added a few conference papers
cf1375f163Martin Sjölund- Added Edgar's thesis to the publications
28ac571898Martin Sjölund- Generate the master's theses as well
1fb16888d9Adeel Asghar- Some editing of dialogs.
f40e6008e5Adeel Asghar#1604 - Fixed the connection of arrays. - Text annotations updated. - better omc logger - save file fixed for linux.
cbae921025Martin Sjölund- Some additional details for dissertations
25aaf49321Martin Sjölund- Generate also phd-theses citations
0f9687fe8fMartin Sjölund- Automatically generate the openmodelica.org (journals) bibliography - Simply run upload.sh in doc/bibliography - TODO: Also add PhD/Lic/MSc/Papers to the bibtex file
90073492a4Adeel Asghar- Fixed the temp path problem. - Use mkpath instead of mkdir. - removed the Helper::tmpPath since its not needed.
e14d6d2c39Adeel Asghar- Changed the OMEdit temp path.
f645074d0fJim NutaroRemoved dead code from the adevs backend.
2b1497ffabMartin Sjölund#1623 - Produce a good error-message when a pattern variable is not found in the local scope
05d8fa755dAdeel Asghar- Fixed the line conversion problems.
9b1171e75fJim NutaroCode generator works again. Still needs to have unnecessary code removed.
7a361e34a0Jim NutaroFixed issue with lambda, still working on other problems
f465197ccaMartin Sjölund- Some fixes for indep.eq.syst
26a92ba8d1Willi Braun - replaced the calculation of the jacobian by a fast column-wise method
d0ee53db81Martin Sjölund- Don't inline functions for clang to work
014bb84291Martin Sjölund- Added builtin function stringDelimitList to MetaModelica
0b034fd3cbMartin Sjölund- Some bugfixes for indep.eq.syst
70fdddd71bMartin Sjölund- partitionIndependentBlocks now succeeds all the way to codegen. Will need to check if it produces the correct result, too
3fddbaef71Martin Sjölund- Force #endModelicaLine at the start of match-expressions for the debugger
9ef59e2c3aMartin Sjölund- Builtin functions no longer use the weird _rettype crap
ff88ecacc7Martin Sjölund- Parallel eqsystems
5e18b957c8Martin Sjölund- getPathedClassInProgram now also looks for builtin classes (making MDT display builtin functions in any project)
ac416a7423Martin Sjölund- Fixed codegen for if-expressions of array crefs
ba37dd0e55Martin Sjölund- Skip writing huge comments for each rhs in generated code
5b6ab94904Martin Sjölund- Some more changes for indep.systems
6a10ec02aeMartin Sjölund- Fix convert_lines.pl so we can debug files that have digits in them...
c77d682a65Martin Sjölund- Added API call reopenStandardStream(OpenModelica.Scripting.StandardStream.stdin,"program.txt"); for MM course + This way, we do not need to redirect stdin in eclipse
1a251ee113Adeel Asghar- change the standard streams buffer size.
8915aefc98Martin Sjölund- Made changeStdoutBuffer run also on Linux
71828982b5Adrian Pop- update to MinGW gcc 4.4 (use -static-libgcc to not require additional gcc .dlls) - SCodeUtil: check for duplicates separately in absyn and loaded builtin functions (to allow MDT to load the builtin files without issues).
d5cbf060d2Martin Sjölund- Some more refactoring
ae112f6233Martin Sjölund- checkInitialSystem fixed for indep.systems
5fd8b44e5aAdrian Pop- added stdio.h for gcc 4.4 compilation.
405f3aeb9dMartin Sjölund- SimCode.generateHelpVarInfo now works for indep.systems
15b4e69448Martin Sjölund- The createSimCode handles independent eq.systems a little better (still not close to done)
7e7490d7c1Martin Sjölund- Some additional changes for independent eq-systems in SimCode.createSimCode (needs larger changes later on)
1cbf8dfc88Adeel Asghar- Fixed text visibility problem for MAC. hopefully it will work on linux as well.
bfbfaff31cPer Östlund- Added check for public non-formal function parameters, and fixed the compiler code and test cases.
c65a89ca47Martin Sjölund- matching,index-reduction and past-opt modules now handle independent eq-systems
d2369cca81Per ÖstlundFix for bug #1619: - Implemented support for boolean ranges.
115cd2ebc0Martin Sjölund- Refactoring: Started using the BackendDAE.MATCHING for sending assignments/strong components in some places
f1f06d3559Per Östlund- Cleanup of tests in mofiles. Activated some working tests and deleted some invalid/redundant tests.
f61b7df1b8Per Östlund- Changed argument order of Util.listMap01 to conform to the map(list, function, extra args) convention.
f4cc8a7914Per Östlund- Removed the scalar field from DAE.MATRIX, because a matrix should always contain scalars.
2001c11b57Martin Sjölund- Minor refactoring, adding field for storing matching information in each eqsystem
fab1baa337Per Östlund- Fixed some issues with elaboration of the matrix operator. - Changed Static.elabMatrixToMatrixExp to only convert 2-dimensional arrays to matrices. - Fixed some type issues and added type checking of empty arrays. - Added Types.verifyExpressionType which can be used to check that the type of expressions is correct. - Moved Epidemics1 and DimConvert from failing tests to working tests in mosfiles, and corrected some invalid tests.
3ab68877bcMartin Sjölund- Fix bootstrap compilation
d272489e09Willi Braun - get rid of tabs in source code - corrected indentation
338855a0f2Willi Braun - revised generation of jacobian matrices - now they are generated column-wise(speed up while compilation) - expand BackendDAE with a type - add some debug flags for jacobians in dassl
1dcb9f5672Martin Sjölund- Refactoring of matching/index reduction to take EqSystem/Shared as input instead of the whole DAE
d77c79a6b2Martin Sjölund- Fix for exptype of crefs in connections of composite names
652905155dAdrian Pop- updates to FMI import (from Wuzhu Chen)
b193e6386cMartin Sjölund- Better error-message for createEqSystem when the system is imbalanced
3b8711424fMartin Sjölund- Fixes for bootstrapping
80b1a83abeAdrian Pop- added the first draft of FMI import (from Wuzhu Chen)
fd6be1c161Azam ZiaFixed FMU makefile.
4f1a8f0494Lennart Ochel- revised initialization -- including full support of start-values -- including scaling
6a8212703dMartin Sjölund- Do not generate code for known external C function like Modelica.Math.sin
b88c1a217dMartin Sjölund- Minor performance increase by reordering modules
38fbc3d384Willi Braun#1617 - workaround for bug 1617 restart matching if it fails after dummyder method has applied and matching is wrong.
8f1cbdd374Martin Sjölund- Added support for collapseIndependentBlocks, made the (default) preOpt modules support this and enabled the partitioning of equations by default
c619bed040Niklas WorschechFix in cpp template for accessing array elements
9e3bf3cae9Adrian Pop- set properties - small typos fixed
4e999c5da9Azam ZiaCorrected FMU Makefile.
5aab8f009bAdeel Asghar- MessageWidget content margins adjusted.
835f7499afAdeel AsgharFixed some MAC bugs, - Mainwindow's splitters handle width is adjusted. - Tabs margins are fixed. - Library expanding, dragging and double clicking issue is fixed.
b81bca2616Willi Braun#1614 - added fix for Bug 1614( delay with events) - added testcase
89aead2d41Niklas Worschechfixes in cpp template for Modelica functions and arrays
345db746daWilli Braun - added small fixes to isDiscreteExp
28ea55c3beWilli Braun- fixed some bugs in event handling - changed debug output for events fprintf
93295ed702Martin Sjölund- Added check for unused variables in the partitionIndependentBlocks optimization module and enabled it by default (it simply does these checks for now; it does not partition the system)
fbdf37d438Per Östlund- Made the dumping of external declarations better. - Changed so that only constant complex equations are constant evaluated in InstSection.instEqEquation2. - Added handling of integers in omc-diff, so that integers are compared exactly (otherwise we allow a relative error for line numbers in errors).
3c1fa652ddMartin Sjölund#1609 - Fixed reductions that contain a constant if-expression
32ac96ce3eMartin Sjölund#1607 - Use a nominal type system for external objects
b34aab4157Per Östlund- Added check of function variable types.
1a4e8055dbMartin Sjölund#1610 - Rewrote the ANTLR parser to use END_IF END_FOR, etc tokens in order to produce sane error-messages + Note: 'end /*EVIL COMMENT*/ if' will no longer work due to lexer conflicts
79c5c24165Per ÖstlundFix for bug #1601 - Implemented support for using Boolean as array dimension.
85560f4a8fJim NutaroCorrected a save/restore issue in the adevs backend
a64bd948b5Willi Braun- added sample events support for FMU export
35b3e52fedAdeel Asghar- changeStdoutBuffer, Mingw based gcc has block buffer policy for stdout. we need to change it. Windows crap!!!!
e223f613fdPer ÖstlundFix for bug #1104 - Report error on recursive definitions.
bbf897adf8Per ÖstlundFix for bug #1605 - Report error for duplicate redeclarations in the same scope.
e390e8e062Martin Sjölund- Fix to allow reading from result-files given an absolute path
dcdf16c8ffWilli Braun - fixes for fmu export. Event-based model like BouncingBall should now work. Right now only time events are missing like sample.
97eaef03cbPer ÖstlundFix for bug #1602 - Fix vectorization of parameter arrays with slice subscripts.
960a23984aMartin Sjölund- Do not allow enum(A) to be assigned a value of type enum(A,B)
2536ca02d2Willi Braun- changed fmu export for event handling - added bug fix in event handling - removed one old unsed variable
362a6c725cPer Östlund- Fixed elaboration of scalar to work on any array, not just 1- and 2-dimensional ones.
956eb40f7ePer ÖstlundFix for bug #1598 - Implemented elaboration of matrix function.
51544515a0Martin Sjölund- Backend refactoring: Initial Equations stored with shared data (as they are not handled in the same way as the ordered eqs)
019df3a1e9Jens Frenkel- prefer as alias connector variables and avoid record or array elements, the result equations are much better readable
efb6064249Martin Sjölund- Some minor partitionIndependentBlocks changes
eccb9df547Martin Sjölund#1597 - DAE.MATRIX refactoring (it now has a Boolean scalar instead of storing this with each element in the matrix). The matrix was also renamed from scalar to matrix as this is more appropriate.
f12ddbeac5Per Östlund- Reimplemented connection handling to be more efficient.
e406f143bcTuomas MiettinenAdda interface documentation draft added.
7b2e829e7bJim NutaroFixed problem in the linear system solver for the adevs backend
bcd894846cMartin Sjölund- Removed support for sum(scalar) as it is not valid Modelica
36e007de3dMartin Sjölund- ndims() now always returns constant variability (as it always returns an integer literal)
48a0d39feaMartin Sjölund- Additional sum fixes
14c8dc10beMartin Sjölund#1595 - Simplify sums better
d618069fd3Adeel Asghar- getOptionValue is changed to isOptionNone.
de132dc4c2Jim NutaroFixed initialization problem in adevs backend
6ac62c65a0Martin Sjölund#1372 - Fix codegeneration for Modelica.Math.Matrices.norm (tuple subscript among other things) + Added testcase from the bug report
d46b225e13Martin Sjölund- Added runtime function identity_alloc_real_array
5c71435ab9Adeel Asghar- getOptionValue to return NONE or SOME based on option's value.
a4862ff93fMartin Sjölund- Fix some F77 code generation issues (char* vs. char**, etc)
e1cb93735dMartin Sjölund#1591 - Don't check if a singleton record in a uniontype has the correct CTOR; we can just assume they match up
ae1c9cd57eMartin Sjölund#1595 - Do not be overly optimistic about the number of dimensions in elabBuiltinSum (now works also for 3-dim arrays)
d3e8bf2933Martin Sjölund#1594 - Fix types when simplifying arrays/matrices with 3 dimensions
ca0858f1bbMartin Sjölund- Add template error if vector() calls remain
7a94fae23aMartin Sjölund- OMEdit: Check if file exists before assuming you can read it
00ef3d822eMartin Sjölund- Removed unused code
4d98cc0205Martin Sjölund#1591 - Removed calls to typeOfValue for crefs (ceval does *not* change the type)
f134901a71Martin Sjölund- Improved crefVectorize (data[:].b)[2] => data[2].b instead of previously (wrong) data[:].b[2]
62fd636dcfJim NutaroSet number of interpolation points for the adevs backend to the recommended number
1bde1e3119Martin Sjölund- Fixed potential loop with simplifyAsub
9e3b3af5daMartin Sjölund- Remove commented code
40acb4bb88Martin Sjölund- Do not do unsafe operations like saying ceval arr[i] = arr just because we are in a for-iterator scope...
0b1b5b3329Martin Sjölund#1591 - Don't convert a value into a type just to get its dimensions
27c139951cAdeel Asghar- getTypeOfAny modified for record type. Instead of returning the complete record it only returns the record name. - getRecordElementName to return specific element name on request.
1b7761cea8Jens Frenkel- us -O2 by default for FMU
b036421dbfJens Frenkel- bugfix fmu - check sim_result before calling - clean object files in fmu.makefile
a8b3ec81cbMartin Sjölund- Backend: Trace expanded derivatives
d88b51ed3fJens Frenkel- c-interace for fmu
0b473d49afJim NutaroUpdates to Adevs template
96df5232a1Jens Frenkel- call main_initialize from fmu::fmiInitialize - generate modelname.def for dll generation to export only necesary functions - generate for fmu only modelname.c modelname_record modelname_functions - small changes to simulation_init and solver_main to avoid linker problems
68de431361Martin Sjölund- MetaModelica: Create a new scope when inst'ing a metarecord
828a4feba2Martin Sjölund- Backend refactoring: Moved Inc.Matrices into the EQSYSTEM (it's passed with the dae instead of extra arguments now)
2f1855c747Martin Sjölund- Add support to print zero-length arrays
d379a94d8eMartin Sjölund- BackEnd: Refactoring
bd74340511Martin Sjölund- Removed now unused linear system macros
793add88ecMartin Sjölund- Linear equation systems are now allocated on stack instead of the memory pool
d90df7d81bMartin Sjölund- BackEnd refactoring
f3ed07bf66Martin Sjölund- Refactoring
73c24ebf40Dongliang Liupdate cpp template
f39e6905d2Martin Sjölund- Backend refactoring
173cc05bf0Dongliang Liupdate cpp template
8034f362d4Martin Sjölund- Refactoring
8bc8b7caf7Jens Frenkel- check allocation of Samples in initSample - do not use large number of simulation time in fmu, causes error in allocation Samples in initSample
183a19ae71Jim NutaroAdded bound_params function to the adevs backedn
d7684500b9Adeel Asghar- removed unused functions. - fixed bootstrapped compilation for windows.
eb130e4e0cJim NutaroMore work on automatic intialization for the adevs backend
4bbd5941bdMartin Sjölund- BackEnd refactoring: Grouped the common fields in the DAE into a single uniontype to ease sending only these to functions without tuples, multiple inputs, etc
f79a088710Martin Sjölund#1590 - Correct truncation on 64-bit platforms
4eac2fbd69Martin Sjölund- BackEnd refactoring: Now uses list of equation-systems instead of only one - No optimization module, etc can handle this yet (only lists of length=1), but this will change soon enough
b0a15bc405Jim NutaroAdded automatic initialization to the adevs backend
c282f96607Martin Sjölund- Backend refactoring of ordered vars/equations
c35b42df09Martin Sjölund- boxptr_arrayGet
50509fa0d7Martin Sjölund- Fix comment for removedEqs
3f87492bd0Martin Sjölund- Fix compilation using real C-compilers
3a8bbf979cAdeel Asghar- getNthListItem function to return the particular index value of a list.
5b58e020c1Adeel Asghar- getTypeOfAny function to check the datatype. - lisCount function to return the size the list.
e15c17ef91Martin Sjölund- Removed duplicate line (same function ran twice)
dba7b34d88Martin Sjölund- Unused pattern
e5d81e8cf4Martin Sjölund- New preOpt module stub: partitionIndependentBlocks + Finds independent blocks of equations (and does nothing with them except prints a pretty dump if more than 1 block was found)
262a3bc55dPer Östlund- Fixed compilation of bootstrapped compiler.
378877d6edMartin Sjölund- Util.listContains -> listMember, etc
ce64bda921Martin Sjölund- Mark ceval'ed parameters as final
ed2cc61d16Adeel Asghar- OMEdit connector types updates. - Users guide updated with new features of OMEdit.
3332e62e2eAdeel Asghar- OMEdit connector types updates. - Users guide updated with new features of OMEdit.
24cd6c5d01Jens Frenkel- fmu: replace . with _ in MODEL_IDENTIFIER
9d4208c82bMartin Sjölund- Also return the updated cache in elabAD2...
e4ed7fd9b6Martin Sjölund- Use updated cache in elabArrayDims2
76587ad8cfMartin Sjölund- Renamed the SimCodeDump target to Dump
3d74a8e01fMartin Sjölund#1503 - Optimize elseif statements in the traversal
9be4ddfbedMartin Sjölund#1503 - Optimize if-statements a bit when traversing the DAE
dede75fc93Martin Sjölund- Indentation
8e82caaadfMartin Sjölund#1543 - Load text settings before creating the widget
badf640ae4Martin Sjölund#1543 - OMEdit now asks for the default monospace font instead of default system font
8189f95849Martin Sjölund- Fix OSX compilation using macports gcc
0fe2bee22bMartin Sjölund- changeToTempDir now tries to execute the correct path; full path names returned by simulate() except when running testsuite
e55033d3c2Martin Sjölund#1407 - OpenModelica extension: Functions now accept "parameter input" and "constant input", which simply requires an argument to be a parameter/constant expression
3bfbff050bMartin Sjölund- Some fixes for loading SimpleVisual
c491293817Martin Sjölund#1407 - Added DAE.Const to DAE.FuncArg - To be used to check variability of input expressions (needed e.g. for the sample() operator)
25c2a8889bMartin Sjölund- Removed unused constants
8b539f0026Adeel Asghar- unparsing the string received from OMC.
9b214bb34fMartin Sjölund- Configure with static Coin/SoQt
aa65adb351Martin Sjölund#1420 - min({time,...,time}) = time
3098119df2Adeel Asghar- Fixed the back slashes issue. - Speed up the diagram load time.
703d525c77Martin Sjölund#1420 - Share constant literals in generated simulation code
bd7926d40aMartin Sjölund#1420 - Added initial support for sharing array constants (stored as pointers instead of being constructed at each reference) + Currently only done for called functions, but will be extended to simulation code
05abc5e7feMartin Sjölund- traverseExpTopDown: Handle DAE.PATTERN
33fb64c029Dongliang Liupdate cpp template for modelica function part
d9bb936d8fMartin Sjölund#1588 - Avoid putting crefs to empty arrays in the flat Modelica
0d9cdd4db0Adeel Asghar- Fix the empty annotation of new models.
4c33c733b3Adeel Asghar- Automatic resizing of graphics view. - Fixed the image path for Modelica documentation since the Modelica Library path is now changed. - some other minor changes.
8651ec988eWilli Braun - changed BackendDAEUtil.calculateValues to reduce Backend compile time - fixed small bug from r9599
ca19e212deMartin Sjölund#1587 - Fix codegen for allocation of 0-length boolean array
5e9228d06aMartin Sjölund- Error-handling
8e5177554bWilli Braun#1584 - simulation terminate now if non-linear systems are solved wrong
7e909431c6Adeel Asghar- API CHANGE for getNthConnectionAnnotation. It was only working if connection annotation starts with Line primitive, but now it will return the list of all annotations. ------------------------------------------ - Test (see new output below): ----------- test.mos --------------------- loadModel(Modelica); getErrorString(); getNthConnectionAnnotation(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot, 6); getErrorString(); getNthConnectionAnnotation(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot, 9); getErrorString(); adeas31@IDA-LIU085 /c/OpenModelica/trunk/build/bin $ omc.exe /c/TestModels/test.mos true "" {Line(true,{0.0,0.0},0,{{-5.0,35.0},{20.0,35.0},{20.0,14.5},{33.5,14.5}},{0,0,0},LinePattern.Solid,0.25,{Arrow.None,Arrow.None},3,Smooth.None)} "" {Text(error), Line(true,{0.0,0.0},0,{{-80.0,-10.0},{-79.0,-10.0},{-79.0,-15.0},{-62.5,-15.0},{-62.5,-45.0},{-25.0,-45.0}},{255,204,51},LinePattern.Solid,0.5,{Arrow.None,Arrow.None},3,Smooth.None)} "" ------------------------------------------ - The output shows Text(error) because OMC was unable to elaborate graphics expression of such kind :: connect(controlBus.axisControlBus2, axis2.axisControlBus) annotation ( __Dymola_Text( string="%first", index=-1, extent=[-6,3; -6,3]), Line( points={{-80,-10},{-79,-10},{-79,-15},{-62.5,-15},{-62.5,-45},{-25,-45}}, color={255,204,51}, thickness=0.5));
8d824b7379Adeel Asghar- API CHANGE for getNthConnectionAnnotation. It was only working if connection annotation starts with Line primitive, but now it will return the list of all annotations. ------------------------------------------ - Test (see new output below): ----------- test.mos --------------------- loadModel(Modelica); getErrorString(); getNthConnectionAnnotation(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot, 6); getErrorString(); getNthConnectionAnnotation(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot, 9); getErrorString(); adeas31@IDA-LIU085 /c/OpenModelica/trunk/build/bin $ omc.exe /c/TestModels/test.mos true "" {Line(true,{0.0,0.0},0,{{-5.0,35.0},{20.0,35.0},{20.0,14.5},{33.5,14.5}},{0,0,0},LinePattern.Solid,0.25,{Arrow.None,Arrow.None},3,Smooth.None)} "" {Text(error), Line(true,{0.0,0.0},0,{{-80.0,-10.0},{-79.0,-10.0},{-79.0,-15.0},{-62.5,-15.0},{-62.5,-45.0},{-25.0,-45.0}},{255,204,51},LinePattern.Solid,0.5,{Arrow.None,Arrow.None},3,Smooth.None)} "" ------------------------------------------ - The output shows Text(error) because OMC was unable to elaborate graphics expression of such kind :: connect(controlBus.axisControlBus2, axis2.axisControlBus) annotation ( __Dymola_Text( string="%first", index=-1, extent=[-6,3; -6,3]), Line( points={{-80,-10},{-79,-10},{-79,-15},{-62.5,-15},{-62.5,-45},{-25,-45}}, color={255,204,51}, thickness=0.5));
ad14f12f10Martin Sjölund- Spelling error not caught by RML
e577801dadWilli Braun - added bugfix for dassl tolerance - added relative comparison for testsuite
9a3ec00193Martin Sjölund#1447 - Vectorize calls with one foreach argument, even if its dimensions are unknown
8e81591839Jens Frenkel- update dynamic state selection
719afa2598Martin Sjölund#1583 - Fix codegen for asubs of if-expressions
3e96aaeea8Martin Sjölund#1582 - Don't ceval ranges that are not constant
f9e6d6718aPer Östlund- Removed cref filter argument in call to Inst.instClassIn in Lookup.lookupVarInPackages. This makes the whole test suite ~35% faster, and some media tests ~97% faster. - Updated test suite.
182730c391Martin Sjölund- Configure fix
5819dfd08eMartin Sjölund- Better error message
3a509ada5dMartin Sjölund- Make searching for rml.h simpler
adfb3dc123Martin Sjölund#1562 - Some F77 fixes
1c60eb9a67Martin Sjölund#1580 - Type-check fill(), just in case someone wants a String[:,:] as array dimension :)
8cb721172cDongliang Liupdate part of Modelica function in cpp template
fffbb3ecc5Martin Sjölund#1579 - Simplify cast(fill(1,...)) => fill(1.0,...)
4c31b5e03eMartin Sjölund- Added fill_alloc_real_array
0988891b35Martin Sjölund- Added simplify rules for the cat() operator
15ec366e5bMartin Sjölund- Fix type of 2D-matrix integer matrix that is type-converted to a real matrix with first dimension of unknown size
bfafe339f7Per Östlund- Fixed bootstrapped compilation.
3e52b7228bAdeel AsgharNew README-BUILD-RELEASE-NSIS.txt file.
f91c01055aabhinn kothari->Combined the Connector Array Menu for both the start and the end port.
90ca7f268aJens Frenkel- clean up code for dynamic state selection (add comments, remove unused code, change function names)
b0db4ba77aMartin Sjölund#1578 - The cat() operator now does basic type checking :)
7206d4daf9Martin Sjölund- Added preliminary support for type-checking dimensions with e.g. size-expressions - This is not checked due to MSL not adhering to all rules :)
a031d7dadcJens Frenkel- improve dynamic state selection
04b57c47e3Dongliang Liadd list for constant variables; update cpp template for arrays
8f061bdccbJens Frenkel- handle vars with StateSelect.prefer as states
77883d13f7Martin Sjölund- Added boolean array fill function
a0d68bda0aAdeel AsgharFix for bug #1404 #1532 - Updated the file saving functionality. - Fixed some minor issues in connectors.
a75415cb8aMartin Sjölund- Fix code generation of ASUB(ASUB(...,x),y), by making ASUB(...,xy) instead - Previously, we created one case for integer asub, one for 2d integer asub, etc... But forgot mixed int and enum asubs... The new code should work for any dimension, and any mix of asubs - Testcases were updated because we print [1,2] instead of [1][2]
3ddfb6720cAdeel Asghar- Fixed some minor problems. - Removed some unused stuff.
373590af13abhinn kothariEnhanced the speed of component browser and movement of connectors
23c26141e7Martin Sjölund#1576 - BinTree update using hashing
d42e30ecb5Jan SilarSimCodeCSharp.tpl - changes to zeroCrossing template - the domain zc approach
c8f6880952Martin Sjölund#1574 - Fixed indexing using non-constant subscript in simulation context - Also, made this fast by indexing the double* directly instead of creating an intermediate array+vararg addressing
feb75337ebabhinn kothariSome Minor Corrections
df11aec50eabhinn kothariAdded the facility for adding connections on components which have a connector array , now making the connection at a specified index.
c4986d003dMartin Sjölund- Fix for deleteConnection where the equations have subscripts
867af129a2Adeel Asghar- Fixed some problems of file dropping feature. - Now user can select multiple files and drop them on OMEdit.
68b2d7553cAdeel AsgharFix for bug #1538 #1527 #1534 - New getComponentAnnotations API is required to run OMEdit now. - Updated the Model Browser to show the inherited components as well. - Changed the open/save file dialog. Use the built-in static methods of QFileDialog because on Windows QFileDialog::exec has problems. - Fixed some issues with connections. - Fixed the problem of protected parameters. Now the protected parameters are shown as disabled items. Also only the changed parameter will be updated instead of updating all parameters.
9db2da6b06Jim NutaroCompleted (I think) the support for when clauses
523077eec6Martin Sjölund- Tail recursion
ee3d89b588Martin Sjölund- Tail recursion
08f4798d3cJim NutaroMore work on when clauses for the adevs backend
372af652a6Adrian PopFix bug: #1538 -------------- - API CHANGE for getComponentAnnotations (see new output below): ----------- ann.mos ----------- loadModel(Modelica); getErrorString(); getComponentAnnotations(Modelica.Blocks.Sources.RealExpression); getErrorString(); getComponentAnnotations(Modelica.Blocks.Sources.IntegerExpression); getErrorString(); getComponentAnnotations(Modelica.Blocks.Sources.BooleanExpression); getErrorString();
6c16ff171dJim NutaroMore work on when clauses for the adevs backend
13df747810Jan SilarSimCodeCSharp.tpl - case NEQUAL added to daeExpSimRelation
fc7632f135Martin Sjölund- PartFn.elabElements tail recursion
a69084ec46Martin Sjölund- Tail-recursive listMap3
49b0dfd6fcMartin Sjölund- Reverted part of r9497 as it does something funky with the bootstrapped compiler
c5d445e06cJim NutaroStarted work on support for when clauses in the adevs code generator
fa1f725f8bJan SilarChanges to SimCodeCSharp.tpl - templates daeExpRelation and daeExpSimRelation.
e7ea550907Martin Sjölund- Code generation: Create an array of (void*) for temporary boxed types - This should speed up garbage collection a lot, especially if the runtime is rewritten to store (void*,size_t) instead of just (void*), since then push/pop are faster
e78392f1c2Federico BergeroRemoving edge function call
5c7223338cAdeel Asghar- Fixed the tooltip exception - Updated the unparseStrings function. If the string contains quotes inside it then it raises the exception. For more info http://www.openmodelica.org/index.php?option=com_agora&task=topic&id=345&Itemid=87
d6435e2316Martin Sjölund- Added check for unused input variables in external functions - Also added a disabled implementation for regular functions, which has some quirks left to solve (and lots of problems to fix in the compiler sources)
ef519b7479Martin Sjölund- Removed old stuff
c324b4c175Adeel AsgharFix for bug #1498 - Diagram view can be exported to SVG format. - Diagram view can be printed. However, there are some problems while printing, especially when you try to make a pdf, the text of components does not show up.
50d33beacbMartin Sjölund#1572 - Added check for external function output assignment
51e05564c7Martin Sjölund#1572 - Check external function for illegal sections ([initial] algorithm)
4c4c5f43e5Martin Sjölund- Fix OMEdit compilation
383ca4e035Adeel Asghar- A new model browser is added. - Drag & drop of custom models supported. - Drag & drop of .mo files on OMEdit supported. - Documentation of custom models. - Connector type components can establish connection now. - Copy paste of models from Modelica Tree. - Options widget is updated. - Some updates in Icon editor.
7c597c0c49Martin Sjölund- Some backend tail recursion for checkEngineV6.mos (many equations)
93de92220eMartin Sjölund- More tail recursion
924490e15cMartin Sjölund- More tail recursion
c505f91300Martin Sjölund- More functions on tail-recursive form
1ae2f26acbMartin Sjölund- DAEUtil.getParameterVars tail recursive
25af17e0faJens Frenkel- fix initialisation of models using dynamic state selection
d28fcbaad6Jens Frenkel- BackendDAEOptimize.mo: move equal code in one function - BackendDAETransform.mo: update dynamic state selection (passes now testsimulation, not all with same results as old method but all simulate :) )
08f233be3bMartin Sjölund- DAEDump.dumpEquationsStream tail recursive :)
a4dd443984Martin Sjölund- Tail-recursive splitElements
faccd9c0ffMartin Sjölund- Fix an additional test for bootstrapping by making RML output NaN regardless of platform - Note: This requires RML r213 to work, but should mean the testsuite will work on both OMDev and Linux (previously only Linux worked fully)
85d6d37dd7Martin Sjölund- Fix for ctor index -1 (bootstrapping C runtime)
494b3108e4Martin Sjölund- Fix for bootstrapping
948d8ccaffMartin Sjölund- Fix boxptr_intMax for negative arguments
0356ec0011Martin Sjölund- Some fixes for LAPACK routines in the bootstrapped compiler
16f30cd427Dongliang Liupdate cpp template for array part
2f66a54385Martin Sjölund- Missing external argument
2c70d222c2Martin Sjölund- Fix a problem for bootstrapping
7fe9408ef8Martin Sjölund- More tail-recursion is needed than before since the size of the stack frames have grown
09c169cf5cMartin Sjölund- Made the bootstrapped testsuite more deterministic
b882cdc61dMartin Sjölund- Avoid overly optimistic switch-optimization
36a38dc88bMartin Sjölund- Bootstrapping: Fix SimulationResults.close()
e4ac0ea5a0Martin Sjölund#1568 - Check class inference for function/non-function of some statements: - reinit - when - return
acc80178c7Martin Sjölund- Fix testsuite
9c491c1137Martin Sjölund- Warning; not error
bd591d981bMartin Sjölund- Fix testsuite
93b7a2377dMartin Sjölund#1520 - Added check for shadowed function input variables before performing tail recursion optimization - Removed all such occurances from the compiler sources
0752e1b71bJens Frenkel- update new index reduction method
0c6ddd9974Jens Frenkel- Util.mo: make function listRemoveOnTrue more abstract
5f2a665c68Martin Sjölund#1520 - Removed shadowing local declaration - These mess up the tail recursion implementation since it needs to assign to the input of the function
ac899b3719Martin Sjölund- Fix some bootstrapping issues (unassigned outputs in external function)
208cdfd17aMartin Sjölund- Added tail recursion of match-expressions
b6c608893bMartin Sjölund#1520 - Added tail recursion of if-expressions
8dc2c987feMartin Sjölund#1520 - First working tail recursion testcase - Limited to the last statement being an assignment to a recursive call; but adding if-statements, if-expressions and match-expressions should be a minor addition
b21dd74e13Martin Sjölund- Moved fields in DAE.CALL around; started tail recursion optimization
47a0be7324Martin Sjölund#1555 - Too many error messages
13dea54a12Martin Sjölund- Added warning for multiple algorithm-sections in functions
ba26c9e4feJens Frenkel- BaseHashTable.valueArrayList2: add case for empty last element from hashtable
af1d9649bcMartin Sjölund#1555 - Produce an error message for variables with unknown dimensions and no binding equation
e5fcba5a1aMartin Sjölund#1559 - Fix code generation for sum(real_array), ranges that are not integers without explicit step
9773df5aedMartin Sjölund- Removed Option (dim) from Ceval.ceval as it is no longer required
0deae749d1Martin Sjölund#1567 - Only calculate duplicate delay-expressions once
a65b92fb38Martin Sjölund#1567 - Simplify some delay-expressions
ab5415af41Martin Sjölund#1566 - Only parse a mos-file if it exists
1e0235e0b1Pavol Privitzer- C# template progress
f720dc6fb7Per Östlund- Allow if-expressions in constant functions to be non-constant, because Lookup is stupid. - Updated test suite.
027af3bd74Per Östlund- Added Absyn.Info to Ceval.Msg for better error messages from Ceval. - Updated test suite.
29375de8b8Per Östlund- Removed some debug prints in Types.removeMod, which made the test suite about 20% faster. Some of the larger Media models became almost 40% faster. - Updated some tests due to the previous SCodeDump changes.
c2a177acbaPer Östlund- Added a missing space in dumping of external functions in SCodeDump.
8b3d1a2150Per Östlund- Added API call saveTotalSCode to dump the result of SCodeFlatten to file. - Use the +showAnnotations flag in SCodeDump to determine whether to dump annotations and comments or not.
51ff59679dPer Östlund- Added some missing bits in the runtime to get bootstrapping to work again.
dc9884df99Per Östlund- Small fix for modifiers in SCodeDumpTpl.
ba0d37cacaPer Östlund- Optimized Env.getEnvPath to speed up some Media models a bit.
a5af394c99Per Östlund- Changed instantiateModel to only instantiate the class once, and not twice if it fails the first time.
815b27c5c5Per Östlund- Fixed lookup of components in constant class array instances again, but correctly this time (I hope...). - Updated Modelica.Media test. - Changed test mofiles/EndIllegal to status incorrect.
eb8bcb5593Martin Sjölund#1559 - Some fixes for unknown end-expressions by removing DAE.END(), replacing it with calls to size(cr,dim)
bfa10f8890Martin Sjölund- Crazy indentation, tabs
a3d29836b0Martin Sjölund- Add checks for record/connector containing algorith sections
d688cabdccMartin Sjölund- Changed class inference for found equations,constraints slightly (all in one record)
c2b717b868Per Östlund- Changed print in Types.typeToValue to failtrace.
7335ea970fPer Östlund- Added flag to Inst.instElement to ignore failed elements, which is used by Inst.partialInstClassIn to allow Lookup to find elements in packages that contain components with unknown dimensions. - Updated test suite.
f936496c5eAdrian Pop- BREAKING 16 tests in the testsuite with this commit: ==== Log /tmp/omc-rtest-adrpo/biochem/log-BiochemModels.mos ==== Log /tmp/omc-rtest-adrpo/bootstrapping/log-SimCodeTest.mos ==== Log /tmp/omc-rtest-adrpo/interactive/log-Rename.mos ==== Log /tmp/omc-rtest-adrpo/mofiles/log-ArrayModification13.mo ==== Log /tmp/omc-rtest-adrpo/mofiles/log-Constant9.mo ==== Log /tmp/omc-rtest-adrpo/mofiles/log-Discrete2.mo ==== Log /tmp/omc-rtest-adrpo/mofiles/log-Modification9.mo ==== Log /tmp/omc-rtest-adrpo/mofiles/log-Overwriting3.mo ==== Log /tmp/omc-rtest-adrpo/mofiles/log-Overwriting4.mo ==== Log /tmp/omc-rtest-adrpo/mosfiles-nosim/log-FinalTests.mos ==== Log /tmp/omc-rtest-adrpo/mosfiles/log-BuiltinMath.mos ==== Log /tmp/omc-rtest-adrpo/mosfiles/log-CheckEvents.mos ==== Log /tmp/omc-rtest-adrpo/parser/log-CheckSourcesForTabs.mos ==== Log /tmp/omc-rtest-adrpo/parser/log-ParseCompilerSources.mos ==== Log /tmp/omc-rtest-adrpo/redeclare/log-RedeclareFunction.mo - i will fix them in the next days (they are not that problematic) - quite big commit, some fixes for Media 255/26 instantiate/check now. i'm still loosing redeclares in some cases (mostly weird restrictions like connectors), i'll do some more chasing for redeclare mods in Inst in the next days. - running the Media testsuite with nogen and noevalfunc (for now as even so takse ~10 minutes) will fix function problems later. - plenty of other new stuff: + some partial Graph implementation Edge.mo, Element.mo, Instance.mo, Node.mo, Reference.mo, SCodeGraph.mo, Visited.mo + general stuff Scope.mo, Name.mo, NamePool.mo, Relation.mo (moved to Util), more stuff in AvlTree.mo + global data structure which could be used anywhere (Global/Global.mo) + collecting all files in SimCode.mo (i had also send them to templates, but i will not push those changes as the templates get more complicated). - added Values.EMPTY and DAE.EMPTY to be returned when we do not have bindings. - many more things i forgot about.
4a4fe63885Adrian Pop- fflush(stderr);
008a480accNiklas Worschechsmall fix for typo in event iteration of cpp simulation runtime
baaec60f3cJim NutaroAdded support to the adevs code generator for mixed nonlinear systems.
23ac647eb6Per Östlund- Implemented constant evaluation of Lapack external functions. - Fixed dimension count in cat_alloc_real_array for less division by zero. - Added test case Modelica.Math.Matrices.LAPACK to test Lapack functions. - Updated test suite.
091670f5e2Niklas WorschechAdded new Euler methods to cpp simulation runtime
f4b9d88579Adrian Pop- C comments not C++ comments in a C file - set some vars to 0.
775f1ffc68Adrian PopFixes for BUG: #1370 - Compiler/susan_codegen/SimCode/SimCodeC.tpl + fixed iterators for functions not returning anything (added empty) + added more comments to the C code to understand where are things coming from (we can remove them later) + changed the order in which we evaluate function arguments and function variable declarations + changed the order in which we evaluate external function: vardecl->bivar->extArgs. + removed duplicates in the list map of extFunCallVarcopyF77 + changed handling of default value in extFunCallBiVarF77 + fixed handling of modelica_string send to Fortran (should not be prefixed by &) + changed algStmtTupleAssign to have a preExp and afterExp (before the preExp in writeLhsCref was never unparsed anywhere as <%preExp%> was before it??!!) + scalarLhsCref used daeExpCrefRhs??!! which was rather totally wrong for anything besides scalar component references; now it uses a new daeExpCrefLhs which has the causality reversed (for some parts as I haven't implemented all cases). + all *Lhs* templates now take an afterExp buffer instead of preExp to do more things after the actual statement (such as array slicing, etc); used in heavily in Modelica.Math.Matrices.mos, i.e. (eigenvalues[:, 1],eigenvalues[:, 2],eigenvectors, info) := LAPACK.dgeev(A); first we bind the call outputs to temps, then update the arrays slices using indexed_assign_<%type%> as an afterExp. - more error messages in the array handling inside c_runtime - added test to test Lapack and BUG #1370 in testsuite/mosfiles/TestLapack.mos - added test to test Modelica.Math.Matrices in testsuite/libraries/msl31/Modelica.Math.Matrices.mos - moved main from functions to the actual generated code for the model. - add SimCodeAdevs.mo to testsuite/bootstrapping/LoadCompilerSources.mos - all tests go.
5fe246582bAdrian Pop- meaningful error message.
4b6d03b2daJim NutaroFirst working version of the backend for adevs
c6508117f2Adrian Popc_runtime - merged libsim and libc_runtime into libSimulationRuntimeC - renamed some of the functions in c_runtime fortran generated files to avoid name collision. this also helps to avoid multiple definitions when we link with blas and lapack. We should really get rid of the fortran generated files and link directly with blas and lapack. - removed main.o from libf2c/makefile.mingw (to avoid multiple main definitions) - now libSimulationRuntimeC does not have a main anymore, the main function is generated with the model and calls _main_SimulationRuntime. - libSimulationRuntimeQss is now generated instead of libsim_ompd
cc0c1f43a7Per Östlund- Fixed type mismatch errors for checkModel in Modelica.Media. - Updated Modelica.Media test case.
32cffc21e9Adrian Pop- more complains :)
a1580cc8ddMartin Sjölund- Fix last commit
6ce0e5b306Martin Sjölund- omniORB configuration
5466188751Adrian Pop- update SVN props.
877f707cf5Adrian Pop- some updates to some readmes.
ae887192e6Federico BergeroRenaming Simulator class to SimulatorQSS
89e66c6cf9Mohsen Torabzadeh-Taritested the Linux/unix FMI export
dd3301026eWilli Braun - added workaround for algorithms from modelicaML models - added also a testcase for that issue
1fdf39328bAzam ZiaAdded linux compilation commands to FMU makefile.
e59c028372Azam ZiaUpdated FMI Modules. Simple models without events are working now. Removed try catch from fmu_model_interface.c as its not standard C.
107969283bPer Östlund- Added boxing of arrays to Types.typeConvert to fix the 'setState_pTX not found' errors. - Added ten more working or partially working models to the Modelica.Media test case.
dffe067cdaPer Östlund- Fixed invalid type in BackendDAETransform. - Updated testsuite.
2f56d942aePer Östlund- Fixed stack overflow for Modelica.Media.IdealGases.Common.SingleGasNasa, see added comments in SCodeFlattenRedeclare for explanation of the fix. - Added test case redeclare/RedeclareBaseClass1 and removed duplicate test redeclare/RedeclareFunctionBug1432.
b256c6f323Adrian Pop- small improvements to Relation.mo
c88cb2c7b9Jens Frenkel- update new index reduction method
08153c5bf1Per Östlund- Get rid of annoying types.
eb8fd4c9cePavol Privitzer- updated C# template - fix C template: use Util.escapeModelicaStringToCString() (instead System.escapeString()) to escape also \n in comments of SIMVARs in globalDataVarInfoArray() template
72e099e395Adrian Pop- found another bug in the RML compiler, it doesn't check for duplicate names, just takes the last one.
1f9812166fAdrian Pop- a generic relation Relation.mo between two objects.
76662889bfAdrian PopA NEW OMDEV and RML (2.5.0 revison 209) is needed for this (svn up or wait for your update) - generic AvlTree.mo (not tested yet, but it compiles fine) - small additions to Pool.mo - some more stuff in Util.mo - note that these generic files are not yet added to the Makefile.common, will come soon more.
dc17354f54Per Östlund- Print attributes for derived classes in SCodeDump.
5050a94df7Adrian Pop- YOU WILL NEED A NEW OMDev (svn up) or a new RML (svn up or wait for update) for this! - Added Pool.mo as a generic Pool of objects. - I've not added Pool.mo to the Makefiles yet, will come in a next commits.
6945de4544Martin Sjölund- Use the tmp-path returned by OMC instead of making up your own...
9235d769caFederico BergeroAdding simulation_input_xml to the object list of the QSS runtime
16be42677eMartin Sjölund- Don't create OMNotebook_tempfiles directory anymore (unused)
ba160a3277Jens Frenkel- bugfix getIndexReductionMethod
1bdb63570eJens Frenkel- minor changes to reduceIndexDummyDerX
1a42c08dfdMartin Sjölund- Use configured flags
476cafa8d3Tuomas MiettinenOPC interfaces documentation.
8ac6f1077aPer Östlund- Some SCodeDependency fixes for modifiers and derived classes.
86cd2567a7Per Östlund- Added more error checking for size.
deb79237afJens Frenkel- bugfix fmi, set and get real variables - ling FMU not with interactive
f1e8bf24acDongliang LiAdd list of string in SimVar, for the number of element in array
53a3c19e9fNiklas WorschechFix for calculate zero crossing index in collectZC and collectZCAlgs
69943013e2Jens Frenkel- change MIXEDEQUATIONSYSTEM, now it is easier to handle algorithm and arrayequations in compination with discrete equaitons
71a22c506dJens Frenkel- add type for MIXEDEQUATIONSYSTEM to StrongComponent
05ee96ba05Martin Sjölund- Check for expat.h
c8d9c43864Jens Frenkel- use flag for debug print in reduceIndexDummyDerX to run testsuite
e44740f408Jens Frenkel- add error msg for expressions "der(der(DAE.CREF(_))", see Bug [#1551]
e121a632a1Martin Sjölund- Fix list() command
779da9d999Jens Frenkel- enable optimisation module constantLinearSystem by default, passed testsuite without errors
6762574bfaJens Frenkel- bugfix constantLinearSystem, works now for model from bugtracker
812605f7beAdeel Asghar- Some changes in the toolTip functionality. - Changed the size of mainwindow to 800*600. - Changed the solver runge-kutta to rungekutta. - Added the variable filter option in simulation process.
c859da4738Martin Sjölund- configure: Added flag with-static-sqlite
781997c797Jens Frenkel- add fmi feature dynamic external function, for more information have a look at https://www.modelica.org/events/modelica2011/Proceedings/pages/papers/14_3_ID_162_a_fv.pdf
0185aaa6e6Adrian Pop- .pro.user files should not be in Subversion as they are different for each user. - add OMPlotLib.pro to OMTools.pro
fb1c0ad70ePer Östlund- Don't link with -lregex on Linux.
04012d706eAdrian Pop- link with -lregex and -lexpat on Linux too.
3e680ed76cAdrian Pop- 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.
b69944f793abhinn kothariEnhanced the tooltip for both the Library Files and Modelica Files in the Library Widget in OMEdit. It now displays the class comments , path , location etc also.
30e2616a9fMartin Sjölund- Added testcase for using initial() in blocks that are constant during the initial step
bf7109e7e4Martin Sjölund- Fix unparsing of MSL 3.2
b2609f2ff7Martin Sjölund- SCodeUtil: Give errors if Absyn to SCode fails
044d2d8ec0Per Östlund- Optimized Types.elabType by relaxing equality checks for types.
67aa41eaa8Martin Sjölund- Removed Interactive list(cr) functions as their result differs from CevalScript * TODO: Make sure OMEdit list() command handles strings correctly
e287609dddPer Östlund- Some small SCodeDumpTpl fixes.
dab454f466Martin Sjölund- Simplify also (e*e1)+(e2*e)=>e(e1+e2)
3b3acac66aJens Frenkel- update CMakeList files
de74090919Per Östlund- Added missing SCodeTV.mo. - Normalised Absyn.ComponentRef.
60e8daf2eaMartin Sjölund- Add simplification (e*e1)+(e*e2) => e*(e1+e2) (for +/- and swapping argument order)
00b5b1d95eMartin Sjölund- Changed order of some simplifications (commutative rules)
2098ee0e61Per Östlund- Implemented SCode dumping template. - Changed some functions in SCodeDump to use the new template functions. - Updated test suit.
f556790c62Martin Sjölund- Added ExpressionSimplify.simplifyBinaryCommutative - To be used for commutative rules so we do not forget these cases in the future
7562acd193Per Östlund- Changed OMEdit to call show on the main window instead of showMaximized, since showMaximized doesn't work correctly for some X11 window managers (see documentation for QWidget::showMaximized).
57afb3f14fMartin Sjölund- Fix compilation
222ed2d8b8Jens Frenkel- start to move solving of constant linear systems to BackendDAEOptimize
b9416e9b05Martin Sjölund- simplify: exp * sqrt(exp) => exp^1.5, exp^exp2 * sqrt(exp) => exp*^(exp2+0.5)
e6761593eeAdrian Pop- fix quoting of XML strings in SimCodeFMU.tpl
a94b8fa241Adrian Pop- small fix for modelIdentifier in FMU export.
0b9d8941c7Mahder Alemseged Gebremedhin- a note that OMDev needs to be updated
822877035aJens Frenkel- Inst.mo: - fix bug of number of output arguments - change implementation of strongconnected components, use now special types insted of list>, ToDo: move tearing and handling of constant equation systems from simcode to preoptimisation phase - fix testsuite for new implementation of strong connected components
8c486f1cafAlexey LebedevBase of modification processing for non-expanded arrays.
71a7143b52Lennart Ochelreorder include files to avoid unknown references
bf514a58b7Martin Sjölund- simplify sin^2(x)+cos^2(x) = 1
9a4e01b352Martin Sjölund- Added simplify rules for some trig.identities * asin(sin(x)) => x * sin(2*x) = 2*sin(x)*cos(x)
4552e821aaMartin Sjölund- Some simplification rules, e.g. sqrt(e)^2.0 = e
599ce04c81Per Östlund- Translate Absyn.ConstrainClass into SCode.ConstrainClass in translateAbsyn2SCode. - Updated some redeclare test cases.
56010579f3Martin Sjölund- Link with libsql3
625bb6b422Adrian Pop- moved trunk/OMTools/bin and trunk/OMTools/qtdlls to OMDev/tools/OMTools/
7aebef9806Adrian Pop- YOU WILL NEED A NEW OMDev FOR THIS revision, just do SVN update on OMDev - moved some binaries from /trunk into OMDev. + liblpsolve + libsqlite3 + liblapack-mingw.a + libblas-mingw.a + lib/libtmglib-mingw.a
be4552ca77Martin Sjölund- Moved part of deinitializeDataStruc from SimCode to simulation_runtime
9ed4b378e7Martin Sjölund- Moved part of initializeDataStruc to simultion runtime instead of generated code
db180d4ec2Per Östlund- Translate Absyn.ExternalDecl into SCode.ExternalDecl in translateAbsyn2SCode (because Absyn.Annotations are annoying).
3e1463f55bMartin Sjölund- Removed getNameReal, etc from SimCodeC.tpl
a3f7696dc6Martin Sjölund- Don't link readline with omc
c6c7527ac2Martin Sjölund- configure: include lp_lib.h or lpsolve/lp_lib.h depending on platform
8a36c715bbAdrian Pop- first db implementation, un-comment the new added deleted lines in Main.mo and Inst.mo create a db (called omc.db) with a table Inst.mo(path, time_to_instantiate)
b3db90114cWilli Braun - added fixes for initialization (Bug [# 1537]) - fixed builtin function semiLinear()
48aa63bd6dAdrian Pop- YOU NEED TO UPDATE YOUR OMDEV FOR THIS! - linked with static libregex. - Error.mo feeding my alignment issues.
d393ac198aMartin Sjölund- Forbid assignment to inputs when using +g=Modelica
4aa74350e2Adrian Pop- removed SCode.Accessibility element from SCode.Attributes and DAE.Attributes and the entire compiler. - Static.elabCref now returns DAE.Attributes instead of the SCode.Accessibility so one can check the flags in there, (flow, stream, direction, variability, etc).
6bba0e48fbAdeel Asghar- Changed omniORB414_rt.dll to omnithread34_rt.dll
01d3515c5fMartin Sjölund- Fix for omlibrary being updated properly
27d9bbff20Martin Sjölund- OMEdit: Updated for new loadModel
732a6522d4Martin Sjölund- Integrated the uses annotation with the loadModel command
2d3378abccMartin Sjölund- Fix read_matlab4.c
d6b5e90a2fMartin Sjölund- Makefile dependencies
b649ab792aMartin Sjölund- Added description to matlab reader
e443e0cc84Adrian Pop- moved all c_runtime/meta_* files to c_runtime/meta/ (also rml_compatibility.h) - changed all the required makefiles in Compiler/runtime/ and Parser/ - added SCodeFlatDump.mo. - implemented a first phase in SCodeFlat.mo.
5592c6609aMartin Sjölund- Handle odd string lists {"abc" + "def", "ghi"}
ae268a2115Martin Sjölund- OMEdit: Load the ModelicaReference library (latest release preferred over 3.1 version)
9a705582c6Martin Sjölund- OMEdit: Load the ModelicaReference library (latest release preferred over 3.1 version)
fd0de59449Martin Sjölund- Prefer ModelicaServices 1.0 over 1.1 (MSL 3.1 > MSL 3.2)
97362566ebMartin Sjölund- Fix priority MSL 3.1 > MSL 3.2 - Don't always copy omlibrary (test -d instead of -f)
11273d1fc0Martin Sjölund- Changed the installed library structure to omlibrary/Modelica 3.1 instead of omlibrary/msl31/Modelica - Testcases now use loadModel(Modelica,{"3.1"}), etc, instead of env.vars
1f9b57e8c4Per Östlund- Renamed tplAbsynExpEEquationLstLst to elseBranches in SCode.EEquation.EQ_WHEN.
2558fdd88ePer Östlund- Fixed SCodeFlattenRedeclare.addElementRedeclarationsToEnv for components.
f6ebe49c50Adrian Pop- add SCodeFlat.mo to compilation. - fixes for MinGW compilation of systemimpl.c
cf2cb8f7e3Martin Sjölund- Added extra argument to loadModel(Class,{"3.1","default"}) - We can now store multiple versions of the same library on the MODELICAPATH
10890d8a02Adrian Pop- forgot to add two files in the previous commit.
80f65f7e59Adrian PopFixes for bugs: #1430, #1432
52d049ddccParham Vasaielyfix: changeParameterValues fix: changeSimulationTime
99b95da8e6Pavol Privitzer- update of C# templates: removed Sample zero-crossing generation
7bfbc41404Per Östlund- Fix for instantiation of empty arrays.
27d4f5e5dcPer ÖstlundFix for bug #1529: - Don't evaluate non-fixed parameter subscripts. - Added test case mofiles/NonfixedParamSubscript.
b1f67dd944Dongliang Lifixed errors for revision r8974
b9f8fd8ae1Per ÖstlundFixes for bug #1528: - Add simplification rule pre(constant[index]) = constant[index]. - Implemented code generation for cref asub with one subscript.
94ef3f59b4Per Östlund- Cleaned up elaboration of subscripts in Static.elabSubscriptDims. - Corrected evaluation of subscripts in Static.elabSubscriptDims. - Added test case mofiles/SubscriptEval. - Corrected test case redeclare/Modification1.
b57d7e4488Parham Vasaielyfix: reinitialization after stopSimulation fix: wrong references on ssdArray update: setResultData and getResultData update: resetSSDArrayWithNullSSD update: initializeSSD_AND_SRDF
6ff0245484Adrian Pop- fixes for linking with lpsolve in c_runtime - compiled static lpsolve with mingw and used that to link with omc.exe and c_runtime. - todo: move it to OMDev.
2ba6ed755eMartin Sjölund- Added rule to simplify x+x+x-x-x=x
42ef95b0b1Jens Frenkel- continue to move analysation of strong connected components directly after blt algorithm, change modpar and TaskGraph to use new strongcomponent type
4d1cbd3d0dAdrian Pop- fixes for boostrapping on Windows (missing an "l" in -lpsolve55) - copy Compiler/runtime/lpsolve/lpsolve55.lib $(builddir_lib)/omc/liblpsolve55.a as the runtime is needing it now.
b4b0392239Jens Frenkel- continue to move analysation of strong connected components directly after blt algorithm
5f5e414f52Jens Frenkel-start to move analysation of strong connected components behind blt transformation
1ddd47bb84Martin Sjölund- Fix compilation of OMNotebook/OMShell for clean builds
b1b79f846dMartin Sjölund- Fix compilation of OMNotebook/OMShell for clean builds
6d8d04bee4Per Östlund- Element redeclare fixes in SCodeFlatten. - Updated Modelica.Media test case with new errors and enabled now working WaterIF97 example.
e63552ac83Martin Sjölund- Added support for checking the version of Modelica, loading ModelicaServices only if version >3.0. And Complex only if version >=3.2. - We now also display a warning if the loaded library is too old to be supported
f0fd4424afMartin Sjölund- Use simplify1 instead of simplify as it is marginally faster (simplify does nothing extra for DAE.CALL and DAE.ASUB anyway)
7d3842026bMartin Sjölund- Disable debug print that fails 30% of the testsuite
05aa1ed459Martin Sjölund- Fix compilation of OMShell/Notebook
13054555ceMartin Sjölund- Fix compilation of OMShell/Notebook
c7aa9199efParham Vasaielyfixed stopSimulation
996570c966Martin Sjölund#1493 - Added UTF-8 support to OMEdit
512b9bdd0dMartin Sjölund#1539 - Use the configured IDLCMD to compile OMEdit
4eb13170bcParham VasaielyDebug stopSimulation function and changeSimulationTime v2
f8c62c884dMartin Sjölund- Fix compilation (merge conflict that was ignored instead of resolved)
0444e85331Martin Sjölund- Fix usage
e998252dafParham VasaielyDebug stopSimulation function and changeSimulationTime v2
88793abde5Parham VasaielyDebug stopSimulation function and changeSimulationTime v2
688ebddbf3Per Östlund- Changed OMEdit open/save dialog to always open last opened folder, or the users home folder otherwise.
c8ea940a3fPer Östlund- Fixed error message grammar in OMEdit.
e8c0ca008cAdeel Asghar- Fix abs_path for Windows-msys.
5eed94a9a2Martin Sjölund- Added optimized codegen for ASUB(DAE.ARRAY(__),{index}) (only evaluates the index we are interested in)
5469f79902Martin Sjölund- Fix compilation
c78932da2dParham VasaielyDebug stopSimulation function and changeSimulationTime
5bf4aeecb7Martin Sjölund- Use abs_path or gdb gets cranky
d20110322ePer Östlund- Propagate replaceable/redeclare prefixes for modifier elements from Absyn to SCode.
4ab151fb5fMartin Sjölund- Fix stringCharInt returning negative integers
127a714d52Adeel Asghar- Changed Cwd::abs_path to File::Spec - Added the sub routine for trimming the string, otherwise the regular expressions fails.
920892ff0bPer ÖstlundFix for bug #1526: - Implemented support for logical operations (and, or, not) on arrays. - Added test case mofiles/ArrayLogic.
b2186fe8fcPavol Privitzer- updated C# templates - little re-formulation of some Susan errors
935d00fe3bPer ÖstlundFix for bug #1523: - {} is no longer allowed in Modelica code, since it's not allowed by the specification. - Added test case mofiles/EmptyArray and updated the test suit.
61e5592e14Martin Sjölund#1499 - Rewrote external function handling to use the FunctionTree and real external C functions - This means we now support array arguments for external objects
3364065f40Martin Sjölund- Added lpsolve55 binding to System.mo
06d706a014Per ÖstlundFix for bug #1522: - Consider size of arrays in function to be variable, since their size might depend on input arguments. - Added test case mofiles/FunctionEval12.
e1dccc47a6Per ÖstlundFix for bug #1516: - Fixed bad indentation in Dump. - Updated test suite.
a3ddf9cf07Martin Sjölund- Added simplify rules for change(constant) and edge(constant)
b93a1ba247Martin Sjölund- Fixes for CombiTable1Ds
b49347f4caPer Östlund- Fixed return values for size in Expression.sizeof (size(x) returns an array and size(x, 1) a scalar, not the other way around). - Cleaned up and moved Inst.elabArraydimDecl to Static.elabArrayDim.
8f1ffda909Willi Braun - added fix for Bug [# 1508] terminal() support. - moved mosfiles-msl22/LossyGear1.mos to failingtest
57403244a6Martin Sjölund- Revert revision r8974
ab8962104eMartin Sjölund- Disable debug trace
7f0ce46de2Per Östlund- Removed some inline annotations from SCode, because apparently the bootstrapped compiler doesn't like them much.
4b1b0d1d17Adrian Pop- remove duplicate declaration.
08ed23c8baDongliang LiAdded code generation functions for cpp template for update, handling event and make file. Modified the simcode for cpp code generation, added a flag for createEquation in a different way and sorting state variables. Modified the index generation for relations. Added a flag to call the simulation executable in a different way for cpp simulation run time.
802882cf92Martin Sjölund- Fix bootstrapped linking
36f52f8dbaMartin Sjölund- For safety, include math.h
ad0775d165Martin Sjölund- Check if install directory is sane
015dd0cd09Martin Sjölund- Link with ncurses in case someone uses static readline
478cb3e504Martin Sjölund- Fix for Linux versions that do not include NAN/INFINITY
4bddb63370Martin Sjölund- Fix for translateFMU
bc3f969805Martin Sjölund- Changed simulation code from C++ to C - ~80 seconds faster testsuite - pre(),edge() and change() operators no longer need to search for the array they are located in
740949c19cFederico BergeroIncluding the cross detector in the makefile
7c0b54a51dFederico Bergero* Updating the generation of the pds and code
c695b434d1Federico BergeroUpdating the generation of the pds and code
e165ab4ee7Martin Sjölund- Made headers more C-friendly
8612206eaaFederico BergeroImplementing QSS2
314180103aMartin Sjölund- Fix compilation
fc764b8721Martin Sjölund- Add Lapack libs to bootstrapped runtime
d457e2eae5Niklas WorschechModified cmake files for build of the Modelica system with generated make file
0b23a14e5fMartin Sjölund- SimCodeDump: Print solved linear eq.syst
9ed804c8eeMartin Sjölund- Fix for OSX
0717b1fa9aMartin Sjölund- Bootstrapped compilation
6245b06a46Jens Frenkel- continue new DAEHandler, works now for multibody elementary pendulum example
4164f59471Martin Sjölund- Retain elementsource for linear system of eq's
ba572492bcMartin Sjölund- Evaluate constant linear equation systems in SimCode (wrong place, but that's where it currentlt fits)
f4688aa30eMartin Sjölund- Fix for (some) polymorphic functions using array
d576632d1eMartin Sjölund- Solved segfault when creating 1-long strings where the character has the high bit set (unsigned/signed indexing issue)
a06c70b180Federico Bergero* Updating structures for the stand alone solver
b6da021f2fFederico Bergero* Adding discontinuities
24d584812fJens Frenkel- start to move analysation of strong connected components directly after blt algorithm, this has the advantages of speedup(because analysation is done only once), reporting kinds of appearing systems and easier implementation of new optimisation algorithms for this systems(simply as preoptimisation modules)
412f6bbf4aPer Östlund- Better propagation of flow and stream prefixes for structured components, and better propagation of attributes overall. - Cleaned up instElement and instVar a bit. - Added some new test cases.
3c6da0df30Jens Frenkel- update Workplan-status-estimates
ff55efa962Jens Frenkel- update Workplan-status-estimates
195abdbe4eMartin Sjölund- Fix initial value for rhsConstant (previously always returned false)
322f9a0886Adrian Pop- fix compilation error on Windows.
e8f4a04063Martin Sjölund#1512 - Added API call solveLinearSystem (same functionality to be used in the backend later)
c1606e7fe1Martin Sjölund- Use calloc+free instead of new+memset+delete
0cd1cc6b38Jens Frenkel- BackendDump: dump also whenclause - continue with new index reduction method, works now for simple pendulum example /testsuite/mosfiles/pendulum.mo
3a08d790e0Xenofon Florosbug fixed in creating empty DEVS structs
c7f3db729bMartin Sjölund- Do not use inline functions for pow as it makes gcc a bit slower - Use special cases for x^2,3 or 4
1b23e50117Martin Sjölund#1518 - Implemented faster power operator for known integer exponents using squaring
7fbbbd51f2Martin Sjölund- Added codegen for x^0.5 = sqrt(x) instead of pow(x,0.5) as it is faster
ab0cc371d1Jens Frenkel- continue new DAEHandler
d90fa6aac9Jens Frenkel- continue with new index reduction method
2afc1b0124Xenofon Florossome more optimizations
ea125f14bfFederico BergeroRuntime for the QSS methods
88a0315575Federico BergeroCode generation for the stand-alone solver of QSS methods
4a5b83f22dXenofon Florosoptimizing-using tail-recursion in functions
7bf4d71f06Martin Sjölund#1517 - Made Integer^Integer return a Real number as per the Modelica spec - Added simplify rule (e1^e2)^e3 => e1^(e2*e3)
5ee65d20b4Adrian Pop- small comment change.
ceff61011dAdrian Pop- small naming change and some other small things.
0b60ab9a1eAdrian Pop- space before comma.
7cdfeabba9Jens Frenkel- continue new DAEHandler
1f9a798915Jens Frenkel- update array only if element is updated
9d7562d4caAdrian Pop- got rid of BackendDAE.StringIndex and array> strIdxLstArr from BackendDAE.VARIABLES as is not used anywhere. - ~5 minutes speedup for the testsuite (and a bit less memory consumption).
5355467cd8Martin Sjölund- New +d=execstat; defined in Debug.mo and includes memory consumption
197e175062Jens Frenkel- continue with new index reduction method - add function setIndexReductionMethod to ModelicaBuiltin
7a82a8f0c9Martin Sjölund- Changed Error.mo filenames to be patched in the parser instead (so parser errors do not refer to "bad" filenames when running the testsuite)
1d08c184a8Per ÖstlundFix for big #1224: - Added dumping of function comments to DAEDump. - Updated test suit.
eeee312e52Per ÖstlundFix for bug #1513: - Changed CevalFunction to fail if it can't evaluate a function parameter binding instead of giving it a default binding. - Added test case mofiles/FunctionEvalFail.
6c79040831Per ÖstlundFix for bug #1492: - Only propagate final prefix if the component is declared final.
d86729f860Martin Sjölund- Added builtin function stringReal
61e1aea772Martin Sjölund- Fix bootstrapped compilation
c8b0f5db2aJens Frenkel- improve DAEHandler interface - start to implement new DAEHandler
50813533c6Martin Sjölund- Some README updates
034ee89d8aMartin Sjölund#1511 - Replace ASUB/CREF subscripts in BackendVarTransform - Do not perform empty backend variable replacements
351d55384bMartin Sjölund- Also traverse cref subscripts bottom-up
a33997d621Martin Sjölund- Dump linear equation systems
ff5be766c4Martin Sjölund- Remove compiler warnings
5e78c504dfMartin Sjölund- Fix compilation
29702b7cd5Martin Sjölund- Relax patternm checks
c72de263a0Martin Sjölund#1510 - Check that a CALL pattern defines all fields
52203b5b74Adrian Pop- fixes to Compiler/BackEnd/BackendQSS.mo to be able to compile. WARNING! i don't know if my fix is correct!
5f2e4583b9Xenofon Florossmall changes
aa9716cde0Xenofon FlorosDEVS structure generated correctly for whens-reinits-samples This is only a first version. To be updated soon.
8d01c27625Martin Sjölund- Fix compilation
ebdcf57795Martin Sjölund- Generate residual functions for nonlinear,mixed systems
5924dbb320Per Östlund- Better element redeclare support in SCodeFlatten.
640ba8c827Martin Sjölund- Create external objects one by one and free the stack after each object has been initialized
b11b429ef3Adrian Pop- use gcc instead of g++ because of c++ mangling.
1c0eb55bf7Martin Sjölund- Use correct extrapolation for CombiTable1D
5e47e9b92eMartin Sjölund- Use CC+LINK for dynamic function loading (so we can use gcc for the C-sources and g++ as the linker on Windows)
f447ed658eJens Frenkel- speedup when no optimisation is done
339322cc00Jens Frenkel- compare calls to Debug.fcall and Debug.fprint, --> speedup
4d2f7c5bd5Adrian Pop- fix bootstrapping on Windows.
ecd7cbba7eMartin Sjölund#1509 #1085 - Make elabArray a little smarter (for Digital)
4c6737583bJens Frenkel- remove old flag for EliminationLevel, cause it is not used anymore - implement last part of the equation system pipeline (index reduction handler), add new flag +indexReductionMethod to select the method for index reduction - remove some old error msg from Derive.differentiateEquationTime
01d2bb776dMartin Sjölund#1085 #1509 - Do some fun hacks when elaborating fully-qualified enumeration matrices - We simply compare the name of the cref to the type of the enumeration. Saves a lot of lookup (66% speedup for M.E.Digital.mos)
f0f8eab100Per Östlund- Fixed AVL tree in SCodeEnv so that it's correctly balanced.
c819661208Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
4349c82bd8Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
5c517afd57Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
88e239d790Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
81ccc53d52Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
f6e0140fecMartin Sjölund- configure libf2c
f5c2a2b10dMartin Sjölund- Use the configure-script to create the LinkMain.makefile
dc15eec582Martin Sjölund- Dynamically loaded functions are now compiled using CC instead of CXX - Some minor changes were needed to literals due to C being more restrictive
aa6a7b5f87Martin Sjölund- Fix for clean, parallel makes :)
b09198a2feMartin Sjölund- Use @CC@/@CXX@ for mosh
2c8de945e0Martin Sjölund- Compile qtclients with the configured CXX
cab72409edMartin Sjölund- Compile qtclients with the configured CXX
12c31ea24fMartin Sjölund- Compile qtclients with the configured CXX
4ded4eb1f1Martin Sjölund- Compile qtclients with the configured CXX
305031210aMartin Sjölund- Use the configure C++-compiler as the default compiler
1ae726d8baMartin Sjölund- Fixes for OSX
3bae3e96d7Martin Sjölund#1509 - 40% speed-up of Modelica.Electrical.Digital.mos by elaborating a matrix once instead of twice :)
1c2a4089e8Martin Sjölund- Use the proper AssertionLevel name in ModelicaBuiltin.mo
02b25dd83dJens Frenkel- remove unused code - bugfix BackendDAEOptimize: remove unused parameter and variables, traverse also whenclauses
72bb96fa40Martin Sjölund- Fixes for modpar+bootstrapping
15c34446bbJens Frenkel- Simcode: use only vars from equations for subsystems
8fa44e1eabMartin Sjölund- Build the difftool by default
b7c336a341Martin Sjölund- @DEFS@ is unused, so don't clutter our make logs with it
81a31541e7Martin Sjölund- Use referenceEq in traverseExp() so that we do not construct new expressions identical to the input - Theoretically, this should reduce the load on the GC (since less records are constructed), but due to RML oddities, we will create new garbage regardless. This new garbage will have 0 references and resides in the young region, which leads to it being removed early. Memory consumption should decrease for larger models.
59e29ccf37Per Östlund- Added function SCodeFlatten.flattenCompleteProgram which flattens a whole program, and use it to flatten the initial classes (ModelicaBuiltin, etc.). - Added case for Absyn.Code to Absyn.traverseExpBidir.
376d175d4dPer Östlund- Removed erroneous check for non-replaceable class definitions in Inst. - Added test case redeclare/FinalRedeclareModifier2.
89d3441257Martin Sjölund- Some simple changes to makeProductLst
282603e256Martin Sjölund#1507 - Made ExpressionSimplify more stable
d9a1c37d9dMartin Sjölund- Use @CC@
7fce268a4dMartin Sjölund- Update README
2ffeb31bf5Adrian Pop- make BaseHashTable.valueArrayList2 tail recursive.
a0a9f3f19cAdrian Pop- updated Compiler/FrontEnd/SCodeHashTable.mo
4392dec3faAdrian Pop- use -O3 for omc_release and -pg for omc_profiler - have an (key,value) array of 70% of bucket size in hashtables instead of size/10! - faster false = Expression.expHasCrefs(e) to be used instead {} = Expression.extractCrefsFromExp(e); - smaller hastable sizes in SimCode.translateFunctions - Hashtables do not take second size anymore, just bucket size.
8659c1b99bMartin Sjölund- Bugfix simplify() - only return true if the expression changed
2ea91aa618Jens Frenkel- CevalSrcipt use BackendDAEOptimize.countSimpleEquations for checkModel (speedup testsuite)
2aab275231Jens Frenkel- BackendDAEOptimize: add function to count Simple Equations. This function count the simple equations on the form a=b and a=const and a=f(not time) in BackendDAE.BackendDAE. Note this functions does not use variable replacements, because of this the number of simple equations is maybe smaller than using variable replacements.
ad9067f321Jens Frenkel- DAEUtil.mo: add function getNominalAttr - BackendDAEOptimze: - add optimisation module to remove unused parameters ("removeUnusedParameter") - add optimisation module to remove unused variables ("removeUnusedVariables")
20a5658771Per Östlund- Check for protected or constant elements when handling redeclare.
66c19a3f54Jens Frenkel- add heuristic state selction rule "state=var+param" - Expression.mo: add function traverseCrefsFromExp - fix testsuite
81e3f4930eMartin Sjölund- Use @CC@
9139e42ebaMartin Sjölund- Add wrapper to traverseBackendDAEExpsEqn to reduce the code needed to maintain the compiler
a544bb6fdaAdeel Asghar- Added some keywords to notebook highlighter.
2fd7adb8a9Martin Sjölund- BackendDAEOptimize.replaceExp now traces symbolic operations
365c288870Per Östlund- Implemented checks for correct prefixes when redeclaring elements in modifiers. - Added test cases to test the new error messages.
050cb68d93Martin Sjölund- Handle removeEqualFunctionCall for unary minus properly
b23f6149d9Martin Sjölund- Force 64-bit double precision only for the files that require it
ba3c5deec2Martin Sjölund- Fix compilation
b97d88baf0Jens Frenkel- use fixed attribute for stateselection (fixes msl31/simulation)
8cf994c194Per Östlund- Fixed bug which occured when an error message token contained %s, in which case it was replaced by the next token. - Added new positional index directive to error messages, see package comment in Util/Error.mo for details.
487f7a7484Martin Sjölund- Some extra type-casting for C++-mode
601d72329bWilli Braun - added bugfix for Bug [# 1501] and corresponding testcase - clean up directory mosfiles
b1587761c8Per Östlund- Cleaned up SCode.makeEnumType.
2d410db676Per Östlund- Enabled SCodeFlatten by default. - Updated the test suite to comply with SCodeFlatten.
25b333862cJens Frenkel- use derivativeNamePrefix from DAE - use function ComponentReference.crefPrefixDer
5d15256ba2Martin Sjölund- Use @CXX@ for C++ when linking omc
f0c913cde1Martin Sjölund- Add @CFLAGS@ to more Makefiles - Use gcc instead of rmlc to compile generated C-sources
a35a731be5Martin Sjölund- Add tracing of symbolic operations for derivative - Consolidate multiple substitutions into a single operation
ff321a5194Niklas Worschechadd CMakefile to build generated Modelica System
bbf48c81c9Jens Frenkel- speedup implementation of BackendDAEUtil.incidenceRow, around 10% for DoublePendulum example
796d5721ddMartin Sjölund#1502 - pre(constant) = constant
69b725a264Martin Sjölund- Track some symbolic operations for index reduction
314463b43eJens Frenkel- remove old unused code
fb700187caMartin Sjölund- --with-paradiseo=yes is now default instead of =check (yes now does what check used to do)
1f5c97c779Jens Frenkel- improve SimulationResultCompare
cfb350e5e6Jens Frenkel- improve SimulationResultCompare
a79bdd8ecfMartin Sjölund- Configure using --with-qwt
1772952f88Martin Sjölund- Added error-messages for invalid lhs of external declarations
cb65eaaf1dMartin Sjölund- Types.unparseType now prints the name of T_FUNCTION types - External object constructor/deconstructor is now fully-qualified
31c17a20c5Martin Sjölund- Added support for array-expressions used as input to external "C" functions/objects - Support for F77 functions that take arrays
ce32b1dc5fMartin Sjölund- Add default declarations of external object constructor/deconstructor
0e07701a97Martin Sjölund- Added a save dialog with support for default file suffix
ca1339ec0eJens Frenkel- bugfix for last commit
a1149532a7Martin Sjölund#1495 - Check for buildModel errors instead of warnings
b786569ed2Martin Sjölund- Fix compilation + tabs
632de65569Jens Frenkel- bugfix infinite loop
8df8bb9f91Jens Frenkel- fix testsuite - add minmax, nominal asserts to simcode, use type of var because type of componendreference is sometimes wrong (for example for stateselect) - BackendDAEOptimize: merge minmax attribue, and add compiler warning if min > max - DAEUtil: add setMinMax - Expression: add case for enumerations to expReal, add functions expMaxScalar, expMinScalar
aa5a7af1e0Xenofon Florosgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8729 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1e0e8cd889Adeel Asghar- Now one can open multiple models by passing them as command line arguments - simulation options can be saved in the model
5140748cfbJens Frenkel- fix some bugs to extend arrays only when necessary - add msl31 simulation to slowlogs
b8726fbba4Adeel AsgharBug fixed #1496 - Now you can not quit OMEdit or do anything while library is loading. - Not a very good solution but just a work around for now. I will try to make it more better. - New OMEdit and OMOptim
f270b01e16Jens Frenkel- VarTransform.mo: remove unused code - BackendVarTransform: change implementation to replace arrays and records. For example if there is a variable a.b[3] to replace all crefs a.b will be extendend to {a.b[1],a.b[2],a.b[3]} and a.b[3] will be replaced, same for records
ae4a261ed2Martin Sjölund- Added some extra checks in SimCodeC.tpl
500d33dcb7Jens Frenkel- fix some bugs to extend arrays only when necessary - move minmax and nominal asserts to simcode, the check is still done in BackendDAECreate
c8be694676Per Östlund- Added analysis of external declarations in SCodeDependency.
9c258b0692Per Östlund- Removed abuse of external declaration to mark class extends in SCodeFlatten. - Added some comments to SCodeFlattenRedeclare.
2ff4d827b7Adeel AsgharBug fixed #1474 #1494 - Now you can delete the plot result file from plot variables window. - Double clicking on the MSL item does not open it multiple times. - Fixed some of the context menu issues.
4516d3f3adPer Östlund- Optimized Component::getClassComponents in OMEdit by quiting earlier if the component inherits from a builtin type.
b4677441efPer Östlund- Changed SCodeFlattenImports to also update and return the environment.
1b682df4b1Per Östlund- Changed SCodeFlattenImports to also update and return the environment.
a8cdb537d6Martin Sjölund- Use $(MAKE) instead of make (enables parallel make)
0e818d414bMartin Sjölund- Use $(MAKE) instead of make (enables parallel make)
c8fbbfd74cMartin Sjölund- Use $(MAKE) instead of make (enables parallel make)
d85b7ac71cMartin Sjölund- Use $(MAKE) instead of make (enables parallel make)
28aa187d77Martin Sjölund- Improve performance of the Interactive API by adding initial support for SCode caching
555475ed94Jens Frenkel- do not add variables with stateSelect=StateSelect.prefer to states - update testsuite
3ac3548f84Martin Sjölund- OMEdit does not depend on OMNotebook anymore
fc67905e57Adeel Asgharremoved reference of OMNotebook
4cd8255631Jens Frenkel- bugfix removeSimpleEquation, do not remove toplevel inputs
47066f2822Per ÖstlundSCodeFlatten improvements: - Redeclare improvements. - Better recursive short class definition detection. - More redeclare error messages. - Reorganised the redeclare parts of SCodeFlatten by moving most of the code that handles redeclares to SCodeFlattenRedeclare. - Added some more redeclaration test cases.
d530da38acMartin Sjölund- loadModel(Complex) in OMEdit - Fix unparsing of operator XXX in OMC
872e829636Martin Sjölund- loadModel(Complex) in OMEdit - Fix unparsing of operator XXX in OMC
f47093da37Per Östlund- Fixed indentation of record constructor result parameter in DAEDump.
b312514193Federico Bergero* Implementing discontinuities
d6e7781e5bJens Frenkel- bugfix fmi - add test for fmi export
d02ac0db46Adeel Asghar- Fixed MAC application bundle problem. - No error is shown now if you launch OMEdit in MAC.
66f31fab7dXenofon Florosbug in generating connections fixed
867ffa377bMartin Sjölund- Fix SimulationResultsCmp.c (use 2-pass algorithm with only 1 malloc) - Fix some read/write errors (strncmp,etc)
5bdbb7e98cAdrian Pop- handle DAE.ENUM_LITERAL in several places where it was missing.
c3e989f80aJens Frenkel- BackendEquation.mo: bugfix equationToResidualForm - PartFn.mo: remove DAEDUmp - SimCode: get rid of BackendDAEUtil.equationList
c5cf5354a4Per Östlund- Changed Absyn.pathString to add a dot in front of fully qualified paths. - Added Absyn.pathStringNoQual with the old pathString behaviour, and replaced calls to pathString in some places that depended on the old behaviour of pathString. - Updated test suite.
c9344955c7Jens Frenkel- BackendDAEOptimize.mo: - add failtrace prints, add missing case for traverseIncidenceMatrixList - bugfix SimulationResultsCmp.c - update msl31 simulate
9c1bc68774Martin Sjölund- Added support for #define-macros used in external "C" functions
d50ad5173bJens Frenkel- bugfix SimulationResultsCmp.c - update msl31 simulate
a96b535413Adrian Pop- sane naming - a missed \" inside Env.mo comment killed the parser (no error).
fed024eed1Martin Sjölund- Remove references to Cygwin in the README
4ae387b90aMartin Sjölund- Fix compilation on Linux (assert.h) - Expected testsuite results - Remove tabs
fb3dd3a78bJens Frenkel- CevalScript: Bugfix Interval, calculation of stepSize - simulation_init.cpp, use "&&" instead of "and" makes Visual Studio happy - bugfix SimulationResultsCmp.c - update tests msl3.1 simulate
c436c10c8cAdrian PopFixes to bug: #1488 - propagate final correctly to the back-end and the DAE. - testsuite/mosfiles/FinalPropagation.mos
7a7e2c3f62Adrian Pop- fixes to c_runtime so no more crashes on Windows (even better on Linux)! - matrix.h (double assigned to modelica_boolean) *loc_ptrs[i]=values[cur_value_indx*size+i]; loc_ptrs is a array of pointers to doubles which is set to addresses of modelica_boolean then at those addresses a double is copied (values is a double array) - other files + initialize most variables to 0 or NULL or "". - flagSet now returns integer instead of bool! - fixes interactiveSimuation -> interactiveSimulation.
468a3d0b48Martin Sjölund- Fixed some issues with StringHandler::unparse - Added StringHandler::unparseStrings (handles arrays of strings) - Added support for multiple html-documentations, including mixed and text sections
d7292c4a6dJens Frenkel- bugfix SimulationResultsCmp.c - update msl3.1 simulation tests
06cfc2a2adJens FrenkelBackendDump.mo: dump final prefix
1d79b465e0Xenofon FlorosAdded structure/blocks for zero-crossings and cross-detectors
3acad5dffeWilli Braun - added some bugfixes for initialization and update some testcase to currect values
191de02f5fAdeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
5510cc6255Adeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
6e3dd730ffAdeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
d07677e1fdAdeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
677af61947Jens Frenkel- handle events better in SimulationResultsCmp.c
b4673301d7Federico Bergero* Updating template for the QSS methods * Conditional compilation of some part of the global data of the cpp file
1dab30d797Jens Frenkel- bugfix simulation_result_mat
20c886092eJens Frenkel- add missing try catch block
6fd9b0914eMartin Sjölund- removeEqualFunctionCalls now also finds non-CALL expressions
4f15dd7ee1Jens Frenkel- BackEnd/BackendDAEUtil.mo: change implementation of updateIncidenceMatrix -> speedup testsuite
2760f3b032Jens Frenkel- add abstol parameter to Simulation Result compare - Bugfix remove Simple Equations (this should speedup testsuite)
4cc96f2a58Martin Sjölund- Changed simplify1 to a fixpoint algorithm - No testcase changed result, but more cases in the backend are now covered
769d81378dAdrian Pop- changes to Absyn, SCode, DAE, Env! - Absyn.mo + Parser/Modelica.g + fixed some of the weird naming - SCode.mo + SCode.Class is gone, SCode.Program is now a list of elements + SCode.Attributes are now in DERIVED instead of Absyn.ElementAttributes + grouped the element prefixes into SCode.Prefixes and put them both in SCode.CLASS and SCode.COMPONENT + added visibility attribute to all Elements (extends, import, etc)! + replaced some false/true flags with real records for easier following of patterns or expressions. - DAE.mo + use flags instead of false/true - Env.mo + better naming for fields - SCodeHashTable.mo + new file to help with SCodeFlattenExtends.mo + more to come here.
47b0b5f35eNiklas Worschechchanged make files for cpp simulation runtime to cmake removed all old build files
1eb0bfbedeMartin Sjölund- Fix compilation
1f8430185cMartin Sjölund- Added API calls parseString and loadString (analogous to parseFile/loadFile)
9165321a7eJens Frenkel- BackendDAEOptimize.mo: - remove old remove simple Equation - add remove equal function calls equations module - use new remove simple Equation for Linearization - BackEnd/BackendDAEUtil.mo - change incidenceMatrix, now it generates the incidenceMatrix and the transposed incidenceMatrix at once - use removeFinalParameters,removeEqualFunctionCalls,removeSimpleEquations,expandDerOperator as default preOptModules - BackendDump.mo: add function debuglst - update testsuite
0b60fe6ce0Martin Sjölund- Fix for Windows hanging when trying to parse 0-length files
cff4007252Federico Bergero* Updating the QSS structure and c_runtime
c5dd738527Jens Frenkel- bugfix BackendDAETransform: traverseBackendDAEExpsEqn and traverseBackendDAEExpsWhenClauseLst
111bbb6b0fXenofon FlorosDEVS structures generated for NON-discontinuous systems
a6e1a0d23fMartin Sjölund- Remove garbage
96f010d73bMartin Sjölund#1484 - Do cyclic dependency checks also for conditional expressions of parameters and constants
3b28a1bb35Martin Sjölund- man pages!
d4a649529fMartin Sjölund- Added OMPlot man-page
40bcb57fdaMartin Sjölund- Changes to OMPlot (more sane interface now)
64a0b3dd72Martin Sjölund- Changes to OMPlot (more sane interface now)
fa17737f9dPer Östlund- Fix invalid free.
235f587230Federico Bergero* Updating the SimCodeQSS template
e3ef79516bAdeel AsgharBug fixed #1476 - Fixed the color change problem of OMPlot. - No more checkboxes with + items of plottree. - Double derivates can be plotted now. Tested with double pendulum example.
5f5917aa36Adeel AsgharBug fixed #1476 - Fixed the color change problem of OMPlot. - No more checkboxes with + items of plottree. - Double derivates can be plotted now. Tested with double pendulum example.
699bbd6d52Jens Frenkel- Main.mo: update usage - SimCode.mo: delete unused code - BackendDAEOptimize.mo: delete unused code
929b0c2469Jens Frenkel- remove old module removeAliasEquations, functionality is now part of removeSimpleEquationsX
622abd8a53Jens Frenkel- use removeFinalParameters,removeSimpleEquationsX,expandDerOperator as default preoptModules - use lateInline,inlineArrayEqn,removeSimpleEquationsX as default pastoptModules
00f4f91900Jens Frenkel- bugfix for compare SimulationResults , Dymola uses a[1, 2], OMC use a[1,2] (no white space)
3940412688Martin Sjölund- Remove the crap known as tabs from C sources
b872312296Martin Sjölund- Fix compilation
f4f60c56eaFederico Bergero* Adding QSS runtime solver * Creating a new library libsim_ompd for the QSS/PowerDEVS runtime(is similar to libsim.a but without the main function)
80f7527a9fJens Frenkel- bugfix read_matlab4.c - bugfix compareSimulationResults
ee36b08541Martin Sjölund- Added OMEdit man-page
875f64c27fMartin Sjölund- Added OMEdit man-page
5513ee606aMartin Sjölund- Updated the OMNotebook man-page
010fa87789Martin Sjölund- Update the man-pages slightly
537e594b3fMartin Sjölund- Installation of manpages (added the old ones from 1.4.5 to svn)
0a0f71b9ecMartin Sjölund- Installation of manpages (added the old ones from 1.4.5 to svn)
099cddaf89Martin Sjölund- Made the matlab reader/writer more portable (int32_t instead of int) - Use calloc+free instead of new+memset(0)+delete[]
5a23323fe4Martin Sjölund- Get rid of warnings
9537409c17Jens Frenkel- SimulationResultsCmp.c: - write result/log file
6012c8cb21Martin Sjölund- Fixed a type error in compareSimulationResults C-function
97e8f1831aJens Frenkel- add function to compare simulation results (May not work yet,ToDo: test,remove debugprint)
74d246c9bcMartin Sjölund- Added tracing of the new symbolic operations (alias/simple eq) - Removed unreachable cases in Ceval (evaluation of integer matrices cast to Real scalars, etc)
60950a13ecFederico BergeroAdding functions to the QSS backend
9cd05e0fb6Federico BergeroUpdating QSS templates
bcd0cc1dd4Martin Sjölund- Simplify after doing type-conversion
ccdddf9449Martin Sjölund#1477 - Generate proper array crefs for a[1].b.c (previously it turned into a.b.c)
027b2999d4Martin Sjölund- Added information about the inline operation to SimCodeDump - Solved memory leaks and segfaults for read_csv
52b9f5a738Jens Frenkel- use structure for simulationresults functions, make them global in the files including SimulationResults.c, this is usefull to load several result files at the same time
32205946ddMartin Sjölund- Added SimCodeC.tpl error when we fail to write an initial value to the text-file
81b7d98063Martin Sjölund- Fix testsuite
9fd9b2eafcAdeel Asghar- Added the CSV file reader that returns the list of variables for readSimulationsVars.
b412a5dd7fJens Frenkel- added support for dymola mat files
7d68d0f7e5Federico Bergero* Adding an extra argument to the template function to pass QSS info
469933933fFederico Bergero* Updating the QSS template and adding functions declarations in the SimCodeTV
d768433f73Federico Bergero* Adding functions needed by the template for QSS methods
ad5ea08c0bMartin Sjölund- Added support for annotation LateInline=true as an alias of __Dymola_InlineAfterIndexReduction and __MathCore_InlineAfterIndexReduction - With priority LateInline > Inline > EarlyInline This line, and those below, will be ignored--
f115acf78bMartin Sjölund- Added simulate() option cflags = "" - Also added a field for this in the OMEdit simulation widget
772acb9966Martin Sjölund- Added simulate() option cflags = "" - Also added a field for this in the OMEdit simulation widget
059b1a6486Jens Frenkel- BackendDAEOptimize.mo: - replace in all equations exclude the "der(a) = b" equation der(a) with b - add module to remove final parameters
8af0558937Martin Sjölund- Disable running perl on normal simulations
6e087b4072Martin Sjölund- Unescape comments in Interactive.getClassComment
e3b0143232Martin Sjölund- Class comments
b0d15c4807Martin Sjölund- Add class comments in Susan-generated code
52d2d1bed5Martin Sjölund- svn:keywords
9f2f24d994Martin Sjölund- svn:keywords
d065ef7dedMartin Sjölund- Some class comment changes. Some svn properies set.
c1c5a6465aMartin Sjölund- Added support for NORETCALL in Interactive statements - Added new API call writeFile (analogous to System.writeFile) - Added ElementSource to SIMVAR instead of Info - Added files to generate html documentation out of our packages
9e45c46495Martin Sjölund- Added support for variables with quotes in the name
0473f21d51Martin Sjölund- Added support for variables with quotes in the name
43dcd1fbd0Adeel Asghar- hopefully a final fix for linux settransformationorigin problem.
391717ecdaAdeel Asghar- another try to fix some linux issue.
65c6b41dfeAdeel Asghar- trying to fix some linux issue.
ee8a9fb646Adeel Asghar- some more updates - fixed zooming and sizing issue of plotting.
03ab28bf06Adeel AsgharBug Fixed #1462 - OMEdit now always send absolute path to omc. - Also fixed the OMEdit performance issue.
b2529a810bMartin Sjölund- Added missing icon from last commit
2ffcbc36c4Martin Sjölund- Added OMEdit support for instantiateModel - Added a QString unparser that works (not just removes first and last char)
e5391b2b3fMartin Sjölund- Made the Parser.mo interface a little safer (no more returning invalid AST's) - We no longer need to print as filename for ModelicaBuiltin.mo
b5bd9797e2Martin Sjölund- PlotWindow now uses time as index=1, so the scale is correct
b96c79fbe7Martin Sjölund- PlotWindow now uses time as index=1, so the scale is correct
422ebcd087Martin Sjölund- Store negative alias variables in a separate array in the Matlab reader
09e6d3144dMartin Sjölund- Fix for mat-files that contain alias of the time-variable
ae30379fabMartin Sjölund- Fix indentation (no tabs!)
455641da3eJens Frenkel- improve matlab file writer/reader to handle alias variables accurate
961ceaed05Adeel Asghar- Fixed exception throw problem. Using QApplication::notify now. - Fixed the shared memory problem.
da03266109Martin Sjölund- Added support for plot(der(x)) type-checking
76956c4469Martin Sjölund- Made System.spawn return 0 on success in Linux - Added sane minimum width/height for OMPlot
98e8aef82aMartin Sjölund- Made System.spawn return 0 on success in Linux - Added sane minimum width/height for OMPlot
8fa923c368Martin Sjölund#1472 - Fixed wrong solving of expressions where one factor is 1/x - See testsuite/mosfiles/TestSolve.mos
875e474cd7Martin Sjölund- Print some more debug information
ea5c2849a1Martin Sjölund- Use simplify1 instead of simplify in many places of the FrontEnd - simplify now returns a Boolean that signifies if the expression has changed
5e72d747deJens Frenkel- bugfix simulation_result_csv
1bc9bba4c1Jens Frenkel- BackendDAEOptimize: -improve merging of start values
4f4a3e47d1Peter FritzsonUpdate of template programming guide. empty lites, hasindex, fromindex, import of template files, error location
594521e396Pavol Privitzer!! this update will most likely need 'clean' or deletion of omc.exe as your old Susan parser will complain on the updated SimCodeC.tpl ... sorry for the inconvenience - Susan keyword 'from' is changed to 'fromindex' (according to the last Susan specification) - some other errors are now reported with correct source location (string conversion, argument type check, options type check, function/template lookup).
ba7d37d542Xenofon Florosprints removed
1af3c9da2eXenofon FlorosDEVS Structure generation for NON-discontinuous models (probably correct)
66b1de93c8Martin Sjölund- Disable type-checking of functions in the CORBA loop
e705affe86Martin Sjölund- Changed replaceExp to return a Boolean that signals if a replacement has been made - This should also be using less memory than before due to not constructing data-structures if nothing changed
43d582e495Per Östlund- Some small fixes in SCodeFlatten.
bc9497a0c9Martin Sjölund- Run simplify on any algorithm statement generated
dd0346243cMartin Sjölund- Fix compilation on any real OS
14f63d3624Jens Frenkel- BackendDAEOptimize.mo: - removeSimpleEquationsX now removes all time independent equations
5f9defac36Adrian Pop- updates to mark-and-sweep GC c_runtime/meta_modelica* - fixes for VS to Compiler/runtime/systemimpl.c
8cc78cb759Adeel Asghar- All clients runtimes are moved to OMTools/bin - All required qt libs are moved to OMTools/qtdlls - Some updates in OMPlot and OMEdit - plotParametric3 and plotAll3 is added.
dc73d9c8b8Adeel Asghar- All clients runtimes are moved to OMTools/bin - All required qt libs are moved to OMTools/qtdlls - Some updates in OMPlot and OMEdit - plotParametric3 and plotAll3 is added.
f70117b045Adeel Asghar- All clients runtimes are moved to OMTools/bin - All required qt libs are moved to OMTools/qtdlls - Some updates in OMPlot and OMEdit - plotParametric3 and plotAll3 is added.
d3ad836fbfAdeel Asghar- All clients runtimes are moved to OMTools/bin - All required qt libs are moved to OMTools/qtdlls - Some updates in OMPlot and OMEdit - plotParametric3 and plotAll3 is added.
410b0c70b2Jens Frenkel- Bugfix removeSimpleEquationsX, now testsimulation passes all tests
a3b28a14ddMartin Sjölund- Disable simplify after elaborating reductions
67a0281d01Martin Sjölund- Disable running simplify after each unary elaboration - Traverse each instantiated equation using simplify1 - cevalIfConstant on VAR variability expressions now does simplify1
f647c6aac8Martin Sjölund- Disable running simplify after each unary elaboration - Traverse each instantiated equation using simplify1 - cevalIfConstant on VAR variability expressions now does simplify1
12953dad39Per Östlund- Fix small mistake in previous commit.
8110c5f593Per Östlund- Fixed detection of recursive short class definitions. - Fully qualify all extends to avoid exponential lookup complexity. - Handle fully qualified names in SCodeLookup.lookupName. - Updated parallel test script to not run msl221 tests twice.
c14a5defeeMartin Sjölund- Guard against some div-by-zero simplifications
a77f153cb6Martin Sjölund- Check result of spawnCall in plot3 case
abaa59938dMartin Sjölund- Changed ExpressionSimplify to use traverseExp instead of its custom traversal
a8f22b2445Martin Sjölund- Make plot3() match plot() API
1fbab5ed93Martin Sjölund- System.spawnCall no longer waits for the process to finish on Linux
45490d23afAdeel Asghar- Fixed the OMPlot path.
002edb018cAdeel Asghar- Added a new command plot3 that uses OMPlot - plot3(x, true/false(externalWindow), filename, title, legend.....) - added spawnCall function in system.mo since system method blocks the execution so using spawn instead. - small update in plotwindow
73cc6b08fcAdeel Asghar- Added a new command plot3 that uses OMPlot - plot3(x, true/false(externalWindow), filename, title, legend.....) - added spawnCall function in system.mo since system method blocks the execution so using spawn instead. - small update in plotwindow
0c30aa889dJens Frenkel- Bugfix removeSimpleEquationsX
afbac907acMartin Sjölund- Use OPENMODELICAHOME/bin/omc instead of OPENMODELICAHOMEbin/omc
d982adc7a4Federico BergeroFixing indentation (using spaces)
202d14e972Willi Braun - added bugfix for parameter initialization and activated the testcase - added and changed some debug flag in matrix.h for LOG_NONLINSYS
4db34f5ac3Martin Sjölund- Remove tabs from sources
2008434d63Federico BergeroAdding functions to the QSS Backend
45344cdb1cFederico BergeroAdding function UpdateDiscrete
b46b438bbfPer Östlund- Fixed SVN info for SCodeDependency.mo.
3235bfe3b3Martin Sjölund- Make code pretty
6c26094d8aPer Östlund- Removed unnecessary key check in BaseHashTable.get1.
24fcd2b027Martin Sjölund- Made code pretty
f3cff4e670Martin Sjölund- Flat Modelica now uses "and, or, not" instead of "AND, OR, NOT" - This is to match actual Modelica syntax
621ea261a4Martin Sjölund- Changed simplify of LUNARY and LBINARY (we now only simplify these at the end; i.e. in the equations and bindings - not while doing static elaboration of the expression)
d2e1d2d25eMartin Sjölund- Remove tabs
e44a358146Adeel Asghar- Some updates in OMEdit icon editor. - OMEdit now uses new integrated plotting. - changed the OMPlot tool so that it uses setRawdata (finally). - New function to get color for plot curves. for 10 curves it uses the predefined colors for curves more than 10 it uses the hsv scale.
d05837c4c7Adeel Asghar- Some updates in OMEdit icon editor. - OMEdit now uses new integrated plotting. - changed the OMPlot tool so that it uses setRawdata (finally). - New function to get color for plot curves. for 10 curves it uses the predefined colors for curves more than 10 it uses the hsv scale.
ff13e7e508Jens Frenkel- BackendDAEOptimize.mo: - bugfix removeSimpleEquationsX
cc416738edMartin Sjölund#1467 - Disable envCache by default - Performance not affected - Added previously non-working testcase Constant12.mo
0aa00ea2edJens Frenkel- Bugfix removeSimpleEquationsX - Bugfix initialisation c_runtime windows - Util: bugfix arrayMapNoCopy_1 - add testcase testsimulate
011d188bcdXenofon Floros- updates to BackendQSS.mo
ead962b34fXenofon Florosmodified the SimCode.callTargetTemplates to include correctly the generation of extra info needed for QSS simulation
bd1033a98bJens Frenkel- do not generate code for constant startvalues
1f708d6c00Jens Frenkel- improve BackEnd/BackendDAEUtil.updateIncidenceMatrix
6d5d460157Martin Sjölund- Indentation
ebc9dc0f5fMartin Sjölund- In unelabMod, call simplify before trying to unelab the expression
5bd5f683fbPer Östlund- Fixed infinite loop in Inst.updateCompeltsMods for Media models. - Added more redeclare test cases.
00b44917feMartin Sjölund- Started removing assert(true, ...) from algorithm sections (functions)
9ed78954e0Jens Frenkel- Bugfix removeSimpleEquationsX
102967442fMartin SjölundNew runtime option (instead of debug-flags): $ omc +simCodeTarget=[C|CSharp|QSS|...]
56fd274cffJens Frenkel- BackendDAEOptimize.mo: - bugfix removeSimpleEquationsX
cc945f641dWilli Braun - fixed Bugs in AliasEquations for clean testsuite - added testsuite case to call only simulation tests
66cc37a3acMartin Sjölund- Fix bootstrapping compilation
7e24d46b5aMartin Sjölund- Removed tabs from sources
73eda7385cMartin Sjölund- Fix clean compilation of OMEdit
f3d37bcfb2Martin Sjölund- Removed "getUniqueColor" from OMPlot as it is bad; use an HSV color map instead
a0b006fb77Martin Sjölund- Also add the legend for parameters
0dbeef0074Jens Frenkel- BackendDAEOptimize.mo: - bugfix removeSimpleEquationsX, use var direct to update aliasVars - SimCode.mo: - use flag "qssinfo" to generate structure code QSS
56f8459232Jens Frenkel- replace Debug.fcall("..",print, .. crefStr(..) .. expStr(..) by adding print functions, this is a speedup because the unused string generation from crefs and exp are avoided - Bugfixes removeSimpleEquationsX
dcc8c76810Jens Frenkel- continue to reimplement remove simple equation stuff using information of the incidence matrix
0f90cf3ac0Jens Frenkel- continue to reimplement remove simple equation stuff using information of the incidence matrix - Util.mo: add function arrayMapNoCopy_1
a7c1a9d494Xenofon FlorosDEVS structures added
1c5d117a38Federico Bergero* Functions to replace zero crossings on whens * Functions to replace zero corssings on equations
60e9205918Federico BergeroUpdating QSS template code generator
58a1b1408cAlexey LebedevUpdated a document
16e9fb0102Jens Frenkel- continue to reimplement remove simple equation stuff using information of the incidence matrix
a2ae4e7116Adeel Asghar- OMPlot is a MDI application now. You can switch between tabbedview and subwindowview through the menu. - Only one instance of OMPlot is allowed at a time. The active window with in the OMPlot application recieves the new plot commands from omc. - New icon for OMPlot. - few more updates as well.
44887c49a2Martin Sjölund- Fix compilation of OMEdit - Renamed typo of filename
966471baabMartin Sjölund- OMPlot now at least displays an error if it fails to save a file
9965e44634Jens Frenkel- start to reimplement remove simple equation stuff using information of the incidence matrix
ce6fd3debaMartin Sjölund- fill() is not a valid MetaModelica call (fix for bootstrapped OMC)
312f27176cMartin Sjölund- Added ElementSource to some of the SimCode eq-systems
1110df9e91Jens Frenkel- DAEQuery.mo: delete functions varList, vararrayList and vararrayList2, using BackendDAEUtil.varList
236ad3ec6fJens Frenkel- BackendVariable: reimplement moveVariables and deleteVar using traverseBackendDAEVars -> speedup because arrays only traversed onc instead of twice because of generating a list from the array, add function deleteVars
f1c5aae5dcWilli Braun - for testsuite mosfiles-msl22 separated and actived some tests (initialization) - clean up testsuite - deactived print call in BackendQSS.mo, since it break the testsuite
e86bba97d6Adeel Asghar- Using setRawData instead of setData (Martin's request) - Make the OMPlot a single instance application. - Added an extra argument -ew true/false. if true will pop up new OMPlot window. - Fixed the segmentation faults problem.
90e1efdab4Xenofon FlorosAdded functions to split equations for each state variable
4b55dd75e3Willi Braun - bugfixe for generation of jacobian variables
c0ccd696c5Willi Braun - fixed bug in last commit - added AliasEquations testcase
5995f48c33Martin Sjölund- Use the configured CXX also in the generated code
b37aa8a8ffMartin Sjölund- Accept CC/CXX flags in more files
d4ef0587b9Martin Sjölund- Support CC/CXX flags in Parser/Makefile
6903d1dce6Martin Sjölund- Use -lf2c on OSX since -Wl,-Bstatic doesn't work with the OSX linker
66f5d22367Haris KapidzicSmall fixes
ac6c3a1c75Martin Sjölund- Fix some compiler warnings
e7fb28855bJens Frenkel- SimCode.mo: remove case local declarations, use names of record items for match case, user ComponentReference.makeCrefIdent
d30077e29aJens Frenkel- delete BackendDAEUTil.daeEqns use BackendEquation.daeEqns - delete Expression.getCrefFromExp use Expression.extractCrefsFromExp - SimCode.mo fix Warnings (local Declarations)
34063dc8adMartin Sjölund#1461 - Added support for LibraryDirectory and IncludeDirectory - The paths search are the default ones according to the Modelica specifiction, plus mingw32 on Windows and uname -sm | tr "[A-Z] " "[a-z]-" for other OS'es
a4b97ceaf3Martin Sjölund- Make the preview text editable in the options widget
41441b75d1Dongliang LiSimCodeCpp.tpl is added. Entry for SimCodeCpp in susan_codegen/Makefile is added.
d74b9fae96Dongliang LiFirst part of SimCodeCpp.tpl. Generate code for Modelica system header file. Generate implementation for init, writeoutput method, constructor code and System default implementation methods. Extended VarInfo structure for dimension of first and second order state variables. Added variable index to SimVar structure.
8f9314b05cWilli Braun- Bugfixes for RemoveSimpleEquations - Bugfixes for Intialization - Support for Alias Vars in result files
9f6997430dAdrian Pop- fixes to boostrapped compilation
13bdba9763Adrian Pop- fixed the boostrapped compiler compilation.
f0baebb10eAdrian Pop- third version of GC, still disabled for now. - still about 2-3 times slower than RML. - returned to the struct implementation of mmc_mk_rcon (and intercept the MMC_REALHDR in sweep_page). - made VC++ happy by returning values from functions that should do that in RTOpts_omc.cpp
99283e06d0Per Östlund- Fixed parser so that modifiers declared as 'redeclare replaceable' gets a proper Absyn.Info instead of NULL, which caused a segfault in Error.addSourceMessage.
95e550f6afMartin Sjölund- Added API function uriToFilename (takes file:// or modelica:// and produces a filename, if one exists) - Based on new functionality in System/CevalScript (to be used to generate Makefiles with -I and -L-flags set) - Added support for grouped import-elements (import A.B.{c,d=e}, etc; these generate a warning for now)
933828bf9cMartin Sjölund- Added pure/impure to the parser. Fixed the column-numbers of some lexer errors.
18b749245eMartin Sjölund- Added warnings for numbers that have the form .XXX (they should be written 0.XXX according to the specification)
b3c3a9534dJens Frenkel- optimise tearing algorithm
ed3c700885Martin Sjölund#1434 - Rewrote the OMEdit OptionsWidget to use QSettings API
8cec25085bAdrian Pop- removed duplicate target for SimCodeQSS.mo
3e8cc6dfb3Jens Frenkel- BackendDAEOptimize.mo: remove simple equations b = der(x) - Bugfix for removeParameterEqns - new module removeProtectedParameters - update testsuite cause of new case for remove simple eqs
932f82c92aMartin Sjölund- Fixed the default colour-scheme in the OMEdit editor to match MDT (almost; line- and block-comments now have the same colour, and keywords are not boldface) - Added colouring for numbers
fb4943362fMartin Sjölund- Fix multi-line strings in the OMEdit ModelicaEditor
3e73985c27Jens Frenkel- uncomment debug print
ad338da44eXenofon Florosinitial qss packages
145af3b8eeFederico Bergero* Adding a BackEnd implementation for QSS solvers
751cc0087bFederico Bergero* Adding the template to the QSS solver target
3daead3a41Martin Sjölund- Fixed single-line string literals in the OMEdit ModelicaEditor (allow \" inside the string; don't do greedy matching)
f3ad84d5cfPer Östlund- Changed popTimerStack in systemimpl.c from double to void, since it doesn't return anything. - Added missing RML_TAILCALLK(rmlSC) to System__setDataPort.
d4a7efb805Martin Sjölund- Added System.timer functions to bootstrapped OMC
45d5b24295Martin Sjölund- Fix off-by-one error in System.substring
395dcdc2a3Martin Sjölund- Fix for corbaSessionName not being NULL as it is supposed to
a7a9423300Martin Sjölund- Fix for corbaSessionName not being NULL as it is supposed to
7476b8ea31Jens Frenkel- improve bltdump, dump variable names in the order they are solved
2e11e8a291Martin Sjölund- Add MMC_{TRY,CATCH} to in-functions generated for external functions
a2e1d4c67bMartin Sjölund- Add support for Array
4d65f0b76cMartin Sjölund- Added support and testing of bootstrapped System.getCurrentTimeStr
34a736c857Jens Frenkel- ExpressionSimplify.simplifyBinary: add case for (a*b)/ b = a, (-a*b)/ b = -a, (a*b)/ -b = -a, (a*b)/ -a = -b and test SimplifyBinary.mo
6f3a555794Jens Frenkel- add script functions to set pre and past optimisation modules, ToDo implement function to get pre and past optimisation modules
5de12e9752EDGAR ALONSO LOPEZ ROJAS- Some fixes for bootstrapped System.{substring,regex}
f21a9ed20bMartin Sjölund- Removed tabs from sources
5ac85b64c8Jens Frenkel- simplifyBinary: add case for (a*b)/a = b and (-a*b)/a = -b
4111c1f48aJens Frenkel- implement runtime options +preOptModules and +pastOptModuels, now it is posible to select the optimisation modules for the backend via flag, use for example +preOptModules=removeSimpleEquations,removeParameterEqns,expandDerOperator or +pastOptModules=lateInline,inlineArrayEqn,removeSimpleEquations,removeAliasEquations ToDo: implement a script function to set and get the optimisation modules - dumpComponentsGraphStr is now availible via the pastOptimisation flag use +pastOptModuels=dumpComponentsGraphStr
0f97b03554Martin Sjölund- Better ./configure --help
00919be574Martin Sjölund#1460 - Fixed noretcall in algorithm-sections
7c3fb86daeMartin Sjölund- if-equation to if-expr residual translation now ignores NORETCALL, and prints a warning
4e04df2b52Martin Sjölund- Added support for code generation of M.U.S.substring
22114c6f0cMartin Sjölund- Use Makefile instead of Makefile.omc for mmdev - Rewrite PAMTRANS using Susan - Use less RML operators in the mmdev examples - Added configure option --disable-omshell-terminal - Added boxptr_stringLength - Added optimization for removal of unreachable branches in if-statements
5e2827faa9Jens Frenkel- bugfix tearing,relaxation
407a2ee3cdJens Frenkel- add optimisation module inlineArrayEqn, this inlines multidim eqs from type array = array, -> smaller equation systems for multibody models
7c6abda275Jens Frenkel- fix outpus for int and bool from result csv
d9ecb0cc52Adeel Asghar- includepath for local files.
0b4ebcb67aPer Östlund- Store SCode.Element.CLASSDEF in SCodeEnv.Env instead of SCode.Class.CLASS, so that we have access to redeclare information. - First attempt at handling element redeclarations in SCodeFlatten, still needs more work. - Updated the Modelica.Media test with more working models.
57741360a1Martin Sjölund- Allow \r in the lexer
7792d250f2Willi BraunBackendDAECreate.mo: - deactivated minmax and nominal assert, due to the fact that Bug [# 1454] is caused. SimCodeC.tpl: - changed measure_time_flag to be able activate it by simulation flag "-v" SimCode.mo: - added case for generation only the "jacobian" dg/dx with debug flag "+d=jacobian" BackendDAEOptimize.mo: - adjusted to SimCode.mo "+d=jacobian" solver_main.cpp and simulation_runtime.cpp: - activated "euler" solver again, was deactived for some reason. - added additional solver names : "dassljac" and "dasslnum" for using a symbolic jacobian and own numerical jacobian in dassl. - clean up some things. testsuite: - deactivated some tests that initialise wrong, due to the Bug [# 1455] - update some tests to correct results.
8b4f5a369cMartin Sjölund- ./configure now always sets prefix
758e769da1Jens Frenkel- ExpressionSimplify: bugfix for simplifyVectorBinary0 - fix first part of testsuite
cf6a743225Martin Sjölund- Deleted svn:executable from some source-files
3069ea40d9Martin Sjölund- Fix for when libf2c is installed on the system - Also, don't compile our f2c if it is
a003abd301Martin Sjölund- Support setting CC in c_runtime/
d0054a5cacMartin Sjölund- Add make clean for OMEdit
1ba9b64e22Jens Frenkel- do not add function return values, now Pendulum simulates
54373244d9Martin Sjölund- Implemented ceval of multiple for-iterators
3607af852cPer Östlund- Fixed correct type when instantiating equations where the lhs is a record reference and the rhs is a record constructor.
38b59b2089Jens Frenkel- improve annotation evalute handling, now equations from MultiBody examples looks better - do not propaged the dummy fixed attribute, do merge them -> ToDo
a5be963e69Jens Frenkel- BackendDAEUtil.checkEquationSize: add case for BackendDAE.SOLVED_EQUATION and COMPLEX_EQUATION
6cf81dd127Martin Sjölund#1457 - Fixed and added test for using Include="#include " for external objects
46a27d3193Jens Frenkel- add check size of equation left and right hand side are equal, use +d=checkBackendDAE
1eab902ad9Per Östlund- Code generation fixes to get Modelica.Media test to work again after r8322.
7d2fb3c1aaMartin Sjölund- Suppress GCC warning
9286934f52Per Östlund- More fixes for set/get global root.
9e82f8183aMartin Sjölund- Use error() more in Susan
123de492d9Adrian Pop- fixes for set/get global root (they use mmc_GC_state->global_roots, so mmc_GC_state cannot be null.
0f9d6b1333Jens Frenkel- bugfix for multibody, generate also code for bind expressions of function variables
678e0015c1Adrian Pop- SettingsImpl__getInstallationDirectoryPath and SettingsImpl__getInstallationDirectoryPath now return paths with forward slashes on Windows!
105bcdabdePavol Privitzer- Susan now reports unresolved bound values with proper source code location (Eclipse MDT plugin will mark the error lines) (remaining errors are still "reported" the old way, ...)
434028da7fMartin Sjölund- Also look for index>0 when evaluating subscripts
f9bc7e4697Parham Vasaielyupdate support for dassl2 update communication algorithm between runtime server and environment client update English comments
d3011a703cAdrian Pop- possible fix to OMI interactive simulation. - use timeValue instead of lastEmittedTime.
2f3e797fdfAdrian Pop- fixes to code generation for MultiBody, generate "world__gravityAcceleration" instead of "world.gravityAcceleration"
98015cdf7eMartin Sjölund- Added OSX icon-file for OMOptim (only 256 px resolution as I couldn't find an icon with full resolution)
5b39b94de8Martin Sjölund- See previous commit
4e5c37162dMartin Sjölund- OSX fix due to GNU-specific command arguments
611d4a90a9Martin Sjölund- Fixed compilation/configuration of OMOptim on Linux
7ae03d09afPer Östlund- Replaced SCodeLookup path prefix fix for imported functions with a better fix, since the old fix caused some problems. - Fixed wrong name in failtrace in BackendDAECreate.mo.
32083d9583Kristian StavåkerUpdated one document
57380ca4ceAdeel AsgharNew OMEdit, OMShell, OMNotebook and OMPlotWindow
3de7c982d3Adeel AsgharNew OMEdit, OMShell, OMNotebook and OMPlotWindow
dca55e4f95Martin Sjölund- Added support to change the plot format of the performance analyzer (since PowerPoint apparently does not know that the svg format exists)
291cb2d7a2Adrian Pop- fixes for Linux
1d8ff494e6Adrian Pop- fixes for Linux
b3c5858417Adrian Pop- 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.
4a31b87c67Martin Sjölund- Off-by-one error
a8484fb5f7Jens Frenkel- remove alias variables: merge var direction - BackendVariable.mo add functions etVarDirection, used for merge var direction
858e268319Adeel Asghar- A new OMEdit Fixes - Changed the typo conncted to connected - Changed the code so that protected connector only show on diagram layer and not on icon layer.
57cc4eaf97Martin Sjölund- Reverted change to main.cpp in r8278
b4b62ebd43Willi Braun -fixed the bug, that breaks the simulation testsuite last night.
753f997e2fJens Frenkel- remove debug call from wrong possision
b9aea435b5Haris Kapidzicchange color, remove left mouse click from toolbar
2f673afa8aHaris KapidzicFixed pan,zoom to work together. Print added.
81ff2294f0Haris Kapidzicthe resources qrc file
bec5f0721eHaris Kapidzicfixes to OMPlot
c0b7536340Jens Frenkel- FMU: do not set default startvalues, this is already done
232d724cd8Martin Sjölund- min/max typo :)
e58e26ce40Per Östlund- Propagated redeclare prefix for elements from Absyn to SCode.
4041547e1cJens Frenkel- add platfrom to MAKEFILE_PARAMS - FMU: generate directory from platfrom string - FMU: copy source files and delete others
033ec41654Adrian Pop- Fixes to Patternm.elabResultExp2 to NOT ASSIGN THE INPUTS. - This had a really bad behavior in the bootstrapped compiler: Util.splitTuple2List({(1,2),(3,4),(5,6)}) -> ({}, {}) instead of the correct: ({1,3,5},{2,4,6})
b8a7ed5236Martin Sjölund- OMEdit compilation on real OS's
592ab3263bMartin Sjölund- OMEdit compilation on real OS's
55f7116248Willi Braun -added some dassl stats for debugflag -v - added more debug verbose level in simulation -lv {LOG_STATS,LOG_SOLVER,LOG_EVENTS,LOG_NONLINSYS,LOG_ZEROCROSSINGS,LOG_DEBUG}
53d870f5baAdrian Pop- small fixes so that OMC bootstrapping works!
8b85235034Azam Ziaupdated makefile to create .fmu zipped file with proper directory structure. I have added code that creates .lib file to make it compatible with dymola import. Now we can export small models and import them in dymola.
2c634e105cPavol Privitzer- removed templateError() imported function (from my previous commit) ... to be replaced by the new approach: - introduced new magic builtin function sourceInfo() that returns contextual Absyn.Info structure based on the position in template files. The sourceInfo() can only be used as a direct parameter into a template/imported function,... no let binding of its value is possible for now (to be possible when full semantics of the let will be implemented) - added two Tpl functions Tpl.addSourceTemplateError() and Tpl.addTemplateError() to SimCodeTV.mo which can be used to implement user defined templates for reporting template errors, - see error() and errorMsg() example templates in SimCodeC.tpl and one usage of error() in literalExpConstBoxedVal() template - Susan compiler now fully captures source info for every expression, so the proper semantic errors are on the way "to be really soon ..."
76eb52300eWilli Braun- rewrote the generation of the analytical jacobian -> gain the performace a lot - fixed bug in solver_main - added "dassljac" as solvername that use the analytical jacobian for simulation
99d7aedd8bAdeel Asghar- Integration with OMNotebook. - Interactive Simulation. (untested) - updated OMEdit version to 1.7.0 - Lots of other updates.
71df6bc5c9Jens Frenkel- bugfix remove alias equations
4002af628bJens Frenkel- BackendDAECreate.mo: do not add asserts for min,max,nominal if const true - BackendDAEOptimize.mo: merge nomnial attribute - BackendDAEUtil.mo: bugfix checkinitialconditions for remove alias equations - BackendDump.mo: dump min,max,fix,nomial,start - FMU: bugfix alias equations
292b23fd3aAdeel Asghar- Added the code to get the unique color for each curve.
b24474cd6dPer ÖstlundFixes for Media: - Fixed Inst.makeBinding so that it correctly handles records. - Commented out recursive calls to simplify2 in ExpressionSimplify.simplifyBinarySortConstants and simplifyBinarySortConstantsMul, see bug 1450. - Changed declaration of sat in Modelica.Media.Water.WaterIF97_base.BaseProperties to be a modification instead, since it already exists as an inherited component (see ticket 505 on the Modelica Issue Tracker). - Updated test cases due to different simplifications. - Added test mofiles/RecordConstant4 to test the record binding fix.
c4ce2274f9Martin Sjölund- The performance analyzer now outputs correct XML (replaces invalid characters in XML)
519a8ba169Azam Ziafmi eventindicator fixed, makefile changed to create directory structure.
a007934203Martin Sjölund- MetaModelicaBuiltin now uses List and short syntax (no subtypeof) for all builtin functions
a029c9a484Martin Sjölund- MetaModelicaBuiltin now uses List and short syntax (no subtypeof) for all builtin functions
5f6a1ad933Martin Sjölund- Remove tabs from fmu_model_interface
e70ec3f89cAzam ZiaAdded code for eventupdate function.
954dff9169Pavol Privitzer... continuation from the previous commit (I hit enter accidentally) - added templateError() imported function to be used inside templates to report an "unexpected template error", usage is like this:
f7550cfa09Pavol Privitzer- added templateError() imported function to be used inside templates to report an "unexpected template error", usage is like this:
3b0f70ec55Adeel Asghar- Added the cancel button to the close dialog. - If user has clicked the close button by mistake her should be able to cancel the event.
c7a71fb1a2Martin Sjölund- Made the configure script not use [0-9] since [ and ] are special in autoconf
ac1c7fe658Martin Sjölund- Added support for List<> and Tuple<> instead of list<> and tuple<>
7be6070ae2Adeel Asghar- updated the OMPlotLib.pro file. - Added files to it.
d55aa1ad47Martin SjölundOMPlot - Added support for MATLAB files with any name of the time variable (it is always index 0) - Added support for reading parameters (previously, the variables matrix was read for these) - Added error messages for invalid input - Added better Usage text
b82acce7c2Martin Sjölund- Added support for short form of declaring type variables (MM 2.0) - See testcase Polymorphic2.mos
092bdef199Martin Sjölund- Added support for MetaModelica 2.0 "all wild" pattern REC(__) - Has testcase AllWild.mos
0f85d4948cMartin Sjölund- Don't use std::{min,max,abs}; use C99 functions instead since that makes VS-users happy
94684abb6aJens Frenkel- fmu: - bugfix - BackEnd/BackendDAECreate.mo: - generate asserts for min/max/nominal not vor constants
c08919278eMartin Sjölund- configure now puts the revision into the getVersion command (not working for OMDev since they don't ./configure or use command-line svn)
b19e00fbcbPer Östlund- Fixed lookup of components in constant class array instances. - Added test mofiles/RecordConstant3.
6f22f48ebbMartin Sjölund- Changed DAE.REDUCTION to contain a list instead of just one - Static, Simplify and Ceval do not yet use these, but should in the future
1920e45323Martin Sjölund- mmc_mk_rcon and mmc_unbox_real now do not use a padded struct for allocation/access of data
0991a6016aPer Östlund- Fixed lookup of components in constant class instances. - Cleaned up SCodeFlatten by removing some unnecessary code. - Renamed badly named protected_ to variability in DAE.ATTR. - Added test cases mofiles/RecordConstant1 and mofiles/RecordConstant2. - Updated Modelica.Media test with Modelica.Media.Air.SimpleAir.
ac2d895b64Adeel Asghar- Updated the OMPlot tool. - Now supports interactive simulation as well. - Added a namespace OMPlot, so that if one is using a lib the classes don't conflict. - Created classes for each Plot feature. - More work on the structure of the code is required.
a54686c0c0Martin Sjölund#1446 - OMEdit now uses
 for non-html documentation
70807bb0a8Martin Sjölund#1446 - OMEdit now uses
 for non-html documentation
49dfc76814Martin Sjölund- OSX /bin/echo does not support the -e flag (GNU extension)
38c1da96fdMartin Sjölund- Re-enabled QMake macports workaround (it's still present with default MacPorts CFLAGS)
6441bb648eMartin Sjölund- Re-enabled QMake macports workaround (it's still present with default MacPorts CFLAGS)
d5e8641937Martin Sjölund- Removed the QMAKE workaround for OSX, as MacPorts has now solved the problem
83d472aad2Martin Sjölund- Removed the QMAKE workaround for OSX, as MacPorts has now solved the problem
fac56716d5Martin Sjölund- Use DIM_UNKNOWN() when a reduction has a guard-expression
f7e424d893Martin Sjölund- Added a separate project-file for building the OMPlot library and GUI
d02d19c1eeJens Frenkel- check Min, Max, Nominal asserts of constant false
f668356840Martin Sjölund- Fixed codegen for reductions using guards (except for array-reductions)
b552466df6Per Östlund- Fixed some issues in the workplan.
0e152c5cf3Adrian Pop- updated
39fa6f6d6cJens Frenkel- fmu: fix bugs - add new functionality removeAliasEquations (usable with +d=removeAliasEquations), the alias equations are removed from the knwon equations TODO: implement output of alias equations in simulation_result_(plt,mat,csv) - add Alias vars to BackendDump.dump - use DAEUtil.setFixedAtt for function BackendVariable.setVarFixed - add function BackendVariable.setVarStartValue - use BackendDAEUtil.numberofZeroCrossings to generate SimCode.createVarInfo -> speedup because calculate size of states, algs, bool, ... only once
93b914dbeeJens Frenkel- add new functionality: - add asserts for basic types attributes min, max and nominal (see ModelicaSpec3.2 page 46)
f2e258b1f4Jens Frenkel- fix testmos use trunc/testsuite/mosfiles
fcc64fabc1Martin Sjölund- Improved Ceval of reductions without default value (use the first non-filtered value) - ListReductionCodegen now fails because I added the above as a testcase (the generated code will select the first expression regardless if it is matching...)
424b82bf5dAlexey LebedevAdded considerations of processing modifications and equations for non-expanded arrays to doc/performance/NonExpandedArraysDesignAndPlan.docx . Also updated older parts of the document.
12292db48dAdeel Asghar- some changes to the .pro file.
b1529ce5f8Martin Sjölund- Ceval now handles custom reductions (including guard-expressions)
96c4a767a5Willi Braun -Workplan update
98628c046cMartin Sjölund- OMPlot now compiles on Linux - Made OMPlot not crash if too few arguments are given
4a1885df47Martin Sjölund- OMPlot now compiles on Linux - Made OMPlot not crash if too few arguments are given
f149e1687aHaris KapidzicWorks with qwt-5.2.1 version now.
52ed93dba1Jens Frenkel- update Workplan-status-estimates.xls
fc52f5e054Martin Sjölund- Improved Ceval of reductions a bit
064709d146Alexey LebedevUpdated workplan
7fa8201f32Martin Sjölund- Workplan update
adeca3e8c8Martin Sjölund- Use elabExp to determine the actual expression that should be used in code generation - This is an extra field stored in DAE.REDUCTION, and is needed in order to handle sum() for different array types, etc
18e8d8bc56Azam ZiaAdded code for getEventIndicator function.
c2312aae89Jens Frenkel- start to remove alias equations from simulation calculation, not yet finished
e442e91d0bMartin Sjölund- Added codegen test of reductions (list/listReverse/min/max/sum/product/array), using both lists and arrays as the input - Note that array-reductions now work in generated code - TODO: More general reductions (sum of strings for example)
3ca1659d22Jens Frenkel- update fmi because of new solver interface
2291fb6536Per Östlund- Updated some dates in the workplan.
9872bf464cPer Östlund- Replaced workplan with improved version by Oliver Lenord. - Updated workplan.
ed77d99ea5Willi Braun- removed old dassl solver - adjust testsuite
9f0dc048f3Per Östlund- Fixed checkSubscripts to handle non-constant ranges as subscripts, which previously caused CevalFunction to fail for some functions (this speeds up the Modelica.Media test). - Fixed stupid check in bootstrapping/LinkMain.makefile.
980b25af2ePer Östlund- Don't remove path prefixes when looking up imports in SCodeLookup if we're in an encapsulated scope.
913f539aeaMartin Sjölund- Made System.int/realMaxLit external "builtin" again (because external "C" is limited to 32-bit int, while our longs are 64-bit) - Plus some fixes to the runtime system (declaring them in a header, since external "builtin" does not do that for us)
33cb4eb141Adrian Pop- add missing System.removeFile
45a522b403Adrian Pop- fixed compilation of the bootstrapped compiler
a824af4433Martin Sjölund- Added rules for DAE.REDUCTION in ExpressionSimplify instead of Static - Removed the hack used for multiple iterators (DAE.REDUCTION should support this rather than only supporting constant ranges of multiple iterators) - This causes the synthetic tests using multiple iterators to fail; they will be fixed at a later date - Added Option to DAE.REDUCTION instead of having multiple versions of the start-values in the compiler
36910f39bbJens Frenkel- bugfix dumpXMLDAE, uncomment generation of Tags hashTb and hashTbOldVars because implementation of dumpXMLDAE is not correct, add a fiew error msgs
dc5f8cc6dcPer Östlund- Remove path prefix from imported function in the same scope in SCodeLookup. - Removed check for checkModel in elabBuiltinCat2, it's needed otherwise too. - Ported external function parts of r7879 from the maintenance branch. - Added support for fill and ranges on integers in c_runtime. - Fixes for external fortran function: - Fixed correct types for function definitions. - Commented out function parameter names function definitions, since several parameters might have the same name. - Moved initialisation of output variables after initialisation of local variables, since the output variables might depend on them. - Added default values for scalar output variables (not sure if this is according to the standard, but Dymola does this). - Added test case libraries/msl31/Modelica.Media for Modelica.Media models. - Updated test suite.
d3e2bf0185Jens Frenkel- Derive: - differentiatetime: add case for records and arrays
3ce145399dAdrian PopFixes for bug: #1446 - fixes bug: https://openmodelica.org:8443/cb/issue/1446 - get the info annotation from external declaration in a function! - added testsuite/interactive/showDoc.mos to test this.
a523ca6546Martin Sjölund- Added support for list comprehensions using guards
fd5c9d5a0dMartin Sjölund- Changed Absyn.ForIterator from tuple to uniontype, and added a field for guard (only parsed when +g=MetaModelica is enabled; and doesn't do anything yet)
9bbe9e75a8Martin Sjölund- Rewrote Expression.replaceExp using traverseExpTopDown
83d12977e7Jens Frenkel- FMU: avoid warnings
efa1adebebMartin Sjölund- Remove tabs from C sources
77ee5f835aMartin Sjölund- Added support for list and listReverse reductions - listReverse builds the result using cons - list builds the result using destructive cons-operations - Neither way uses listReverse or allocate more cons-cells than required
4ef9549ccfJens Frenkel- FMU: - use integer as type for enumerations, until implementaion is not complet - do some more tests, add flag for calculate outputs/dependend variables
c1dc77757bMartin Sjölund- Use $TEMP/OpenModelica/ as tmp-dir instead of OMShell/ OMNotebook/
4add998bb3Martin Sjölund- Use $TEMP/OpenModelica/ as tmp-dir instead of OMShell/ OMNotebook/
916e7f4740Per ÖstlundFix for bug #1438: - Fully qualified parent classes InstExtends.instClassExtendsList2 when handling class extends. - Added test case mofiles/ClassExtends5.
44dd99308dMartin Sjölund- Added call count graphs to the profiling report
ab30fc030bPer ÖstlundFixes for bug #1436: - Replaced the dependency analysis in CevalFunction with a new that uses the Graph package, to fix bug 1436 (and probably more too). - Added traversal function Expression.traverseExpBidir. - Added function ComponentReference.crefEqualWithoutSubs, which compares two crefs but disregards their subscripts. - Extended Expression.subscriptExp to handle more cases, and added subscriptIndexExp that has the old behaviour of only handling DAE.INDEX. - Added test case mofiles/FunctionEval11 to test fix for bug 1436.
7943317ac9Per Östlund- Removed Interactive.traverseExp and replaced calls to it with calls to Absyn.traverseExp instead.
a8807711ecPer Östlund- Changed fail case in Algorithm.makeAssignment to use failtrace. - Updated test cases.
80505f9cfdPer Östlund- Added warning message in Inst.instWholeDimFromMod for when we can't deduce a variables dimensions from it's modifier (to avoid failing without an error message). - Updated test case libraries/msl31/Modelica.Blocks.mos.
b64b46cb67Martin Sjölund- measureTime=true now does the timing of the non-linear solver based on the whole time (incl. the solver itself, not only the time of the residual function)
2cb3e64e69Martin Sjölund- Some fixes for OMNotebookGUI.pro (Coin if configured using it, etc)
0b1cd57b2aMartin Sjölund- 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)
309ba00495Martin Sjölund- Fix OMShell compilation on OSX
deb4dbff28Martin Sjölund- Fixed compilation of OMPlotWindow
f6d3656395Martin Sjölund- Fixed compilation of OMPlotWindow
9a1d3566f4Martin Sjölund- Fixed compilation of OMPlotWindow
bc015effd7Martin Sjölund- Fixed compilation of OMNotebook
8e038e7856Martin Sjölund- Fixed compilation of OMNotebook
d7fc6e9551Martin Sjölund- Fixed compilation of OMShell (changed paths in makefiles)
37e8d617c6Martin Sjölund- Fixed compilation of OMShell (changed paths in makefiles)
30eb505b68Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
4ab4fade10Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
e073c27a1aMartin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
cabc171e02Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
68dfc58dabAdeel Asghar- Changed the settings of all OM clients so that generatedfiles are created in a separate directories. - Few updates of OMEdit
ae88f9b427Adeel Asghar- Changed the settings of all OM clients so that generatedfiles are created in a separate directories. - Few updates of OMEdit
083ec3b3d0Adeel Asghar- Changed the settings of all OM clients so that generatedfiles are created in a separate directories. - Few updates of OMEdit
9e40c974dcAdeel Asghar- Changed the settings
564540498bAdeel Asghar- Added OMTools, used to built all tools OMEdit, OMShell, OMNotebook and OMPlotWindow
871f1fd8d4Adeel Asghar- Added the OMShell resource files
67f5a2bd34Adeel Asghar- Removed VC++ stuff and now mingw is used to compile omnotebook and omshell.
892a4054dfAdeel Asghar- Removed VC++ stuff and now mingw is used to compile omnotebook and omshell.
744719f351Adeel Asghar- Removed VC++ stuff and now mingw is used to compile omnotebook and omshell.
ab0dc8cd63Martin Sjölund- Removed tabs from sources
a15e548719Adrian Pop- more updates
7f9d895a36Adrian Pop- update the readmes a bit.
04cedc4c8cAdrian Pop- README-WIN32.txt is no longer actual as we only compile the release with MinGW and OMDev and only create the .msi from these executables. - Look into README-BUILD-RELEASE.txt to see how to build on windows.
c0d0d6d3c9Jens Frenkel- fix typo
3e9baabb0cJens Frenkel- improve fmiSetExternalFunction
c4b7b4c89bMartin Sjölund- Set OPENMODELICAHOME in Main.main to work around issues with sendData
dad6a1d5d1Jens Frenkel- use cref because #define A.B is not allowed because of "." error C2008 (Visual Studio)
88befc8ca3Martin Sjölund- Use vfork instead of Qt's process creation in sendData (on OSX/Linux) as it causes weird issues
366ed4e479Jens Frenkel- implement causality for fmu
daf6f8fe11Adrian Pop- fixes to errors when starting on Windows.
1942028599Martin Sjölund- Added missing file
ad122088dfMartin Sjölund- Improved configure finding qwt when guessing it existing in $PREFIX
17d636bbfcAdrian Pop- first MetaModelica GC draft, disabled for now - see more in c_runtime/meta_modelica_gc.h - added GC bindings to: Compiler/susan_codegen/SimCode/SimCodeC.tpl, commented out for now - made all structures non-constant to allow marking/unmarking.
e6ddb2e10aAdrian Pop- fix the gnuplot on Windows in simulation_modelinfo.c - get rid of the warninging in simulation_result_mat.cpp
cf3e038718Martin Sjölund- Hardcoded xsltproc and gnuplot paths for simulations on Windows
a05f009823Adrian Pop- fix Linköping - fix missing %s in print.
55a3012446Adrian Pop- IN WINDOWS YOU WILL NEED A NEW OMDEV (just do svn update on OMDev) OMDev is now in Subversion here: https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/OMDev - now we copy xsltproc and gnuplot directories from OMDev/tools to build/lib/omc/libexec - Linux/Mac users are unaffected.
c2c31c5e1eMartin Sjölund- simulate option measureTime=true is now working; testcase MeasureTime.mos has been added
ccbc97eba6Martin Sjölund- Added configure checking of libqwt
a80e39aa7cMartin Sjölund- Added configure checking of libqwt
8528f87b3eMartin Sjölund- Removing qmake-generated Makefile from svn as it will conflict with Unix OS'es
0b05027f5fMartin Sjölund- Fixed the field names of DAE.ExternalDecl (the names and types were off-by-one since the translation from RML)
f9b5640a2aHaris KapidzicOMPlot 2D plotting tool. Uses Qwt for plotting. Plots .plt .csv and .mat files. Supports plot, plotAll, and plotParametric.
e357326790Jens Frenkel- compile dll for fmu
b605a21913Martin Sjölund- Fixed line endings of several files
25f0b5794bMartin Sjölund- Fixed line endings of several files
f04455326dMartin Sjölund- Fixed issues when looping over ranges with step=0 (add assertion), negative step (inf.loop in CevalFunction) and zero-length ranges (the generated C-code would iterate once anyway) - This is tested by testsuite/mosfiles-nosim/ZeroRange.mos
c809601482Martin Sjölund- Removed tab from fmu_model_interface.h
d908592b2bAzam ZiaUpdated variable ids for c and xml files.
e387022e5fJens Frenkel- get first fmu example running (no event handling)
f4749463d9Martin Sjölund- Added simulate() option measureTime=false - Not used for now, but will replace the -mt option of simulation executables
e0f32bf017Martin Sjölund- Use -O3 -falign-functions for simulations (our users should not run LARGE simulations with -O0...) - Use -O0 -falign-functions for dynamically loaded functions (we generally only execute this code once) - falign-functions is needed in order to make garbage collection work
2ccc988cd6Jens Frenkel- update c_runtime/CMakeLists.txt - fix bug for FMU DefineDerivativeVariables no ";" at the end of derivatives
f9b8da9d85Martin Sjölund- Removed unused CevalScript functions
03b43735f0Martin Sjölund- Don't use globalData in modelinfo.c
e186a008a9Martin Sjölund- Added a fix for debugging longjmp on any platform (the debugger needs to be a breakpoint on file Catch.omc:1 in order for step over to work) * meta_modelica.c needs to be compiled with debug symbols for this work, but that's a minor issue
dd89f9da83Per ÖstlundFix for bug #1334: - Added cycle detection to instElementList for constants and parameters. - Also sort parameters in instElementList. - Updated test cases due to different sorting of parameters. - Updated mofiles/CyclicBindingParam and mofiles/CyclicBindingConst and moved them from failing tests to working tests.
fca7b301bdMartin Sjölund- Changed tuple-assignments to use subtype instead of matchType (since the type-casting rules do not become part of the DAE) - All testcases still work (because only MetaModelica uses this feature, and when using MM, we have access to pattern-matching assignments, which do work properly)
4c043e5876Jens Frenkel- remove unused functionality
f49830edc4Jens Frenkel- run remove simple equations also in past optimisation phase
9c202be765Martin Sjölund- Time measurements now use a binary format instead of csv (a format description is part of the generated xml)
9f2dcd2a6fJens Frenkel- remove unused code - rewrite collect zero crossings function interface to run it only once(not in lower and matching)
8898c8f3ecJens Frenkel- bugfix for MinGW (undef ref to assert)
f370a087c3Martin Sjölund- Fix compilation on OSX
6124afecf0Jens FrenkelBackendDAETransform.mo,SimCode.mo: - remove unused function calls Main.mo - bugfix typo
f10a6fef43Adrian Pop- fixes for MinGW windows
e55546c16cMartin Sjölund- Added better output when doing time measurements of simulations. - For now, I use xsltproc and gnuplot for transforming an xml representation of the time measurement (in addition to png thumbnails and svg plots)
42a3a82ea3Per Östlund- Implemented dependency sorting of constants in instElementList. - Rewrote Util.listDeleteMemberOnTrue to be more efficient and to return also the deleted element. - Updated some test cases that changed because of the dependenc sorting. - Fixed some errors and test cases due to commit 8048.
7d828b16f2Jens Frenkel- first part of new interfaces for equation system pipeline ToDo: DAEHAndler part
8ffaa4d7b6Per Östlund- Enabled removal of unused constants in SCodeDependency. - Rewrote Util.listIntRange* to be tail-recursive and to better handle all cases, to get rid of the stack overflow in test bootstrapping/UtilTest. - Replaced implementation of ExpressionSimplify.simplifyRange with call to Util.listIntRange3. - Removed Absyn.optPathAppend because of duplicate functionality in Absyn.joinPathsOpt. - Removed test case mofiles/Function3, because it was incorrect.
6942d20218Martin Sjölund- Use .mat outputFormat when using the +s option to command-line omc
920eb526b2Martin Sjölund- Fixed compilation on a clean trunk
ded5d0f062Adrian Pop- use PERL=perl instead of PERL=\"perl\" - updates to clients OMNotebook.exe, OMPlotWindow.exe, OMShell.exe
973a067094Martin Sjölund- Fixed a bug with plt output when variableFilter is used - Added Absyn.Info to SimCode.Function - Started working on -modelinfo flag of simulation executables - Removed "bin" output format as mat has similar performance, and also contains headers so we can access the data
8de7a45d2dMartin Sjölund- Use the new OMShell icon in the application (about dialog, etc)
b1d18ea00bMartin Sjölund- Fixed the small resolutions of omshell.icns
41fbce9fc5Martin Sjölund- During startup, switch the omc working directory to TEMP/{OMShell,OMNotebook}/ so we have a directory with write access
7462b256a0Martin Sjölund- During startup, switch the omc working directory to TEMP/{OMShell,OMNotebook}/ so we have a directory with write access
43260560fdMartin Sjölund- Don't let the CORBA implementation free() tempDirectoryPath
73080166e8Martin Sjölund- Don't let the CORBA implementation free() tempDirectoryPath
7e30b01608Adeel Asghar- Removed the extra INCLUDEPATH from project file. - New build of OMEdit.
595500c7e8Martin Sjölund- Added a better OMShell icon
9cd836275dMartin Sjölund- Always filter the dummy derivative from the result-file
448401bd17Martin Sjölund- Fix result-file containing names C.der(x) instead of der(C.x); the first one is not a valid Modelica identifier and won't parse... - Fix plotting in OMEdit (send "filename.mat" instead of filename.mat)
dea972f82eMartin Sjölund- Fix result-file containing names C.der(x) instead of der(C.x); the first one is not a valid Modelica identifier and won't parse... - Fix plotting in OMEdit (send "filename.mat" instead of filename.mat)
04b7dc0720Martin Sjölund- Use --prefix as the guess of the omc executable if OPENMODELICAHOME is not given (not all platforms install omc on the PATH)
13a1bf4b0fMartin Sjölund- Use --prefix as the guess of the omc executable if OPENMODELICAHOME is not given (not all platforms install omc on the PATH)
41f910b148Martin Sjölund- Use --prefix as the guess of the omc executable if OPENMODELICAHOME is not given (not all platforms install omc on the PATH)
f2c1d042b9Martin Sjölund- Install .app's to /Applications/MacPorts
701078fe43Martin Sjölund- Fix compilation of OMEdit
9cc2de7badMartin Sjölund- Updated OMNotebook/OMShell commands.xml
af18aa170dMartin Sjölund- Added scalable icon to OMEdit.app instead of the default one
91c8a72afeMartin Sjölund- Install .app's to /Applications instead of prefix/Applications
bb4e153912Adeel Asghar- added cplusplus macro to the read_matlab.h so that it can be linked against c++ files. - Changed the simulate command to use mat as default. - Changed the plot API accordingly.
d5ac6e4c80Adeel Asghar- added cplusplus macro to the read_matlab.h so that it can be linked against c++ files. - Changed the simulate command to use mat as default. - Changed the plot API accordingly.
d2e77eb6b1Martin Sjölund- Install .app's instead of executables in OSX
890b6dc706Martin Sjölund- Install .app's instead of executables in OSX
977f37580fMartin Sjölund- Install .app's instead of executables in OSX
e42fc636adMartin Sjölund- Install .app's instead of executables in OSX
d9e6a8fd09Martin Sjölund- Fixes compilation of OMEdit when using Qt 4.6.0
e275c992deMartin Sjölund- Only link omniORB statically on OSX; it gives -fPIC errors when building shared objects on 64-bit Linux
a1d04dfc31Martin Sjölund- Fixed a plot/plot2 typo
36bf735b04Martin Sjölund- Statically link omniORB on OSX/Linux
867a83b55bMartin Sjölund#1399 - Moved the remaining scripting functions from CevalScript.cevalInteractiveFunctionsOld to cevalInteractiveFunctions2
1738ca1aa5Martin Sjölund- Moved the getBuiltinAttribute functions to ModelicaBuiltin.mo - Enabled the mosfiles-nosim/attributes, which still fails - This is due to CevalScript.getBuiltinAttribute apparently not working correctly
41928da122Martin Sjölund- Updated enableSendData(true) to use the variableFilter option of simulate() instead of using the setVariableFilter API call - Removed the setVariableFilter API call
5cb4575608Martin Sjölund#1399 - Moved plotParametric{,2} to ModelicaBuiltin.mo
7986a00c80Martin Sjölund- Moved plot,plot2,plot2,plotAll and visualize commands to ModelicaBuiltin.mo - Their API changed slightly (this will be announced when plotParametric also has been moved to ModelicaBuiltin.mo, and documented in trunk/doc): * Instead of plot(className, {x,y}), you now call plot({x,y}, "className_res.mat") * This is because className is usually used as a default argument, and thus should not be the first argument since then you cannot call plot({x,y}) * Also, we use the filename of a result file because then we can plot renamed files or files that were created using the fileNamePrefix option of simulate()
2719121b08Martin Sjölund- Added support for the variableFilter option when using outputFormat="mat" - This does not filter parameters (this matrix is rather small anyway)
fc2f87fe09Martin Sjölund- Fixed assignments in Interactive.mo to use the value to determine the type of a binding (since the elaborated type may contain unknown dimensions, but the Value certainly does not) - Fixed a bug in the handling of readSimulationResult (if the input size does not conform to the expected value, we now fail instead of writing to the error buffer and succeeding anyway) - Moved list() to ModelicaBuiltin.mo - Added support for default bindings of type OpenModelica.Code.TypeName
ae0fa6cf6aJens Frenkel- Bugfix replaceExp RELATION - use mosfiles-dassl for testmos (cause mosfiles does not exist any more)
bf39adc165Martin Sjölund- Added OpenModelica.Code.VariableNames since the type system cannot handle arrays of Code expressions or vectorization of these - Added readSimulationResult to ModelicaBuiltin.mo instead of using a special handler
f452c9a33dMartin Sjölund- Fix compilation of bootstrapped OMC
41c372bf05Martin Sjölund- ModelicaBuiltin.mo formatting
8f9d63fd83Martin Sjölund- Updated documentation with references to the default format of result files
36c394692dMartin Sjölund- When calling val() on a .mat file, use the right limit if we find an exact match of a time stamp
dbb1753592Martin Sjölund- Call SimulationResults.close() before running a new simulation
7a39a8e7a7Martin Sjölund- Updated the default outputFormat of simulations to be .mat - Only mosfiles-dassl/Sample2.mos changed its output; this seems to be because we have an event at the last time-step. I'll see if we can change the interpolation to always find the right limit
ab52ae8b03Martin Sjölund- Added support for readSimulationResult using .mat-files - This is ~5x faster than reading .plt even for files with few variables
57334028b0Martin Sjölund- Disabled some debug tracing in InstExtends.mo
7693ab6e63Martin Sjölund- Added API call readSimulationResultVars(filename) - The visualize call now uses this functionality (which works for both plt and mat files)
9184a0fd4aAdrian Pop- add -lregex to the compilation in Windows.
909f7c1d68Per Östlund- Added function Util.listMapAndFold1. - Rewrote updateComponentsAndClassdef in InstExtends and SCodeFlattenExtends to use Util.listMapAndFold1, to make it tail recursive and easier to understand.
7abfd0de45Martin Sjölund- Added readSimulationResultSize support for .mat format
24b8a35349Willi Braun- bugfix in differentiation rule for abs() - added some improvments in the c_runtime - adjust the SimCodeC.tpl for the c_runtime - adjust some testcase and moved some from msl221 examples to failed testcase, because they not simulate correctly anyway.
6494fa9d76Per Östlund- Improved dependency analysis of crefs in SCodeDependency.
ab5f4afd81Martin Sjölund- Expression.terms now uses an accumulator instead of listAppend
7a26594648Martin Sjölund- Use the correct loadModel command in Examples/3D_BouncingBall3D.onb - Fixed a flickering issue with the visualization issue by right-justifying the text so it doesn't jump around a lot; also increased the default size of the widget so it does not resize all the time
547ebc5d9eAdeel Asghar- Fixed the size of the MSL search suggestion box.
dc507922e4Adeel Asghar- A minor flickering effect is fixed in MSL suggestion box.
69b2b43837Adeel Asghar- Added the suggestion completion box for MSL Search.
eaed403e58Per Östlund- Better handling of class extends in SCodeDependency. - Added test case mofiles/ClassExtends4.
58e39c4adcAdeel Asghar- Fixed the text annotation resize problem. Although still requires some improvement.
2fd3f2bb42Sébastien CombelRefactoring design document
6dbfa8407fPer Östlund- Rewrote Expression.terms to always return the input argument if it can't do anything else, so that terms are not lost. - Added test case mofiles/Simplify2.
5dbf28750fPer Östlund- Added DAE.BOX and DAE.UNBOX to Expression.terms, so that they don't disappear in Expression.simplify. - Added test case meta/Simplify1 to test the fix.
4558e28592Adeel AsgharFixes for bugs #1390 #1435 - Now the parameter values are saved correctly. - BitmapAnnotation is fixed to show correct image. e.g Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot - TextAnnotation is fixed to display right component name and parameter value.
ae4c2f2c3dAdeel Asghar- Fixed the switch (int) problem.
6615bd1daeMartin Sjölund- Added a new SimulationResults.c - It only supports val() for now, but handles both .mat and .plt - It caches the last file opened for .mat (and the read variables). This should make it rather fast when scripts use a lot of val() commands. Especially since the whole Time vector is stored in memory (2 fread required for each val command; searching for a variable is done in log(n) time since all variables are sorted, etc). - NOTE: Someone should test simulate(A); simulate(A); on Windows. The file might need to be close prior to each simulate command (add a call in System.mo if this is the case) - TankPID.mos now tests val() on .mat-files - val() now returns NAN on error, and sets the error buffer instead of printing to console
b4b23497f6Per Östlund- Added missing SCodeDependency file.
3d07acba6aPer Östlund- Added new module SCodeDependency for SCode dependency analysis. - Added new debugflag +d=scodeFlatten to enable SCode flattening. - Removed environment path when printing error for components with same name, since it sometimes printed nonsense paths otherwise. - Updated test cases that changed due to above change. - Renamed absynExpOption to binding in SCode.Mod. - Added function Util.listMap02. - Added some more builtin Modelica functions (assert, constrain).
f73b1bfe46Martin Sjölund- Some bugfixes for read_matlab4.c
ea5b1ee4a3Martin Sjölund- Added C runtime for reading the .mat format
56c487b1beAdeel Asghar- Added the Search with Modelica Standard Library - Added very basic export to OMNotebook.
1b8cfa6c25Haris KapidzicDeleted unnecessary stuff
49f409db2bHaris KapidzicAdded text widget that allow user to specify fontsize and more. Fixed text width further.
818ab5995fMartin Sjölund- Fix for .mat output-format on 64-bit Linux (use uint32_t instead of long)
cc2fb5f8f7Martin Sjölund- Fix default x-label of the plotParametric command
bae39ab50bMartin Sjölund- Calculate better start-values for the init-file by interpreting function calls in the backend
b6ef61def8Martin Sjölund#1317 - Added support for simulation option fileNamePrefix (in the simulation runtime) - Added support for quoted identifiers in generated code - See for example testsuite/mosfiles-dassl/JapaneseBouncingBall.mos
8740ef5bfbMartin Sjölund- Added support for boolean min/max operators
805990a279Willi Braun- changed default solver to dassl2 (or from now it's called dassl) - for now old default solver renamed to dasslold
049801c6a6Martin Sjölund- Updated users guide (variableFilter option) - Added a ModelicaBuiltin.mo reference to the help text
eb204c4d64Martin Sjölund- 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
c32a130be6Jens Frenkel- Update CMakeLists.txt files for c_runtime
83123033dbAdrian Pop- added README about 3rdParty directory move.
7a87a1a355Adrian Pop- added README about omniORB-4.1.4-mingw
fd27a46453Martin Sjölund- Now runs convert_lines.pl in simulation and function makefiles
ceb9d8aebbWilli Braun- fixes for testsuite dassl2 and modelicaML - rewrote assert and terminate process for solver - added function checkForAsserts() - added asserts for sqrt(<0) changes in detail: - boolean_array.* -- added function for print modelica boolean - options.cpp -- fix bug for using options in simulation programm - simulations_events.* -- rewrote searching process - simulations_runtime.cpp -- added flag for solver switch (-s ) - solver_main.cpp -- adjustments to other changes - BackendDAEUtil.mo -- check RELATION for discrete Variables - SimCode.mo -- added searching for sqrt-asserts, some other adjustments - testsuite -- adjustments
57316de09aMartin Sjölund- Made the code for LibraryWidget a little more extensible
c7c474f78bMartin Sjölund- Added stringCharInt, intStringChar boxptr-functions
5b166cb0ddAlexey LebedevProcessing of fill(val,dims) with parametric dimensions in the case of non-expanded arrays.
71863724feJens FrenkelFix for bug/tasks: #1429 - replace the function with an additional variable with type of return value. Maybe some models of the testsuite using checkModel does now not work but my laptop is to slow to run the hole testsuite.
c1dcbb7b57Per Östlund- Fixed incorrect type when generating if-equation for actualStream. - Added test case streams/ActualStreamCodeGen to test the fix.
4798b5a975Jens Frenkel- add space in init file to number of parameters line, now looks like the others
ed30b830f3Niklas WorschechAdded cpp simulation runtime SimulationRuntime/cpp Binaries copied to trunk/build/bin/cpp and trunk/bin/lib/omc/cpp
39f9ad19b1Adrian Pop- Absyn.crefHasSubscripts has a new function to check if a component reference has subscripts
3aef3ef630Martin Sjölund- Added check for ClassInf.trans when instantiating equation-sections - Packages and functions containing equations now fail
d98da61df1Martin Sjölund- Fixed handling of string literals: - elabExp will now unescape any string to canonical form - calling MM stringLength on a string now returns the actual length of the string - calling expEqual on strings now works correctly - using CevalScript now returns properly escaped strings; for example "ab\"c" is now displayed instead of "ab"c" (which would not parse) - Note: list() in CevalScript and Interactive is different! The one in Interactive will not escape output strings - This seems to make OMEdit work as expected, but the function should probably be fixed - Note: Any elabExp-style function (takes Absyn.STRING as input) should now use System.unescapedString on the given string to make it canonical - System.unescapedString will only break string sharing if the string has to be modified (if it has no sequence to unescape it returns the old string)
8676882c35Adrian Pop- add -lregex for linking in Windows.
dcfef2fc3dPer Östlund- Implemented constant evaluation of array reductions in Ceval.
0e380635c4Mohsen Torabzadeh-Tariobserver
b62b79373bMartin Sjölund- Added regex and regexBool scripting functions, and a testcase
bd06224175Per Östlund- Added support for wildcard assignments in CevalFunction.
375e398b39Per Östlund- Fixed problems with local function variables with flexible sizes in CevalFunction. - Added test case mofiles/FunctionEval10.
684d308b25Martin Sjölund- Added initial implementation of scripting function regex (we might make this part of the MetaModelica builtin environment because it is so nifty...) - This version lacks some features (only returns true/false, but it does set Error.mo so even if it looks like it succeeds you should check it)
b21bfeff6eMartin Sjölund- Added scripting function readFileShowLineNumbers - It's implemented in OpenModelica script instead of MetaModelica itself
4535d12edfPer Östlund- Added symbol table to CevalFunction.
9154341d45Per Östlund- Fixed correct limits for reductions on 64-bit platforms. - Added simplification of reductions of an array with one element. - Updated test mofiles/NonConstantReduction.
c52165770dPer ÖstlundFix for bug #1412: - Removed error message for non-constant reductions. - Added test case mofiles/NonConstantReduction. - Fixed test case mosfiles/val.
6d4cd60944Martin Sjölund- Added Absyn.Info comments for statements in the generated C-code
005aa88163Per ÖstlundFix for bug #1422: - Fixed incorrect type on ranges when doing type conversion. - Updated test mosfiles-dassl2/nonConstantParam and added test mofiles/SimplifyRangeInCall.
2d7a8ce1ffMartin Sjölund- val() is now part of the builtin environment
5d8d0ec8bePer Östlund- Fixed proper handling of encapsulated in SCodeFlatten. - Fixed test mofiles/Sequence and added mofiles/Encapsulated4. - Detabbed some comments.
140bca3db3Martin Sjölund- Moved more scripting functions into the builtin environment - Some even have a bit of documentation attached now
a767bd1765Per Östlund- Fixed correct scope type when adding new classes to the environment in SCodeFlatten.
d08c03d995Per Östlund- Added support for enumeration redeclarations in SCodeFlatten.
83f902cfc3Martin Sjölund- Added support for OpenModelica.Code.TypeName - checkModel can now be represented in the builtin environment
264187dfb2Per Östlund- Added flattening of array dimensions to SCodeFlatten.
be6bcd2439Per Östlund- Fixed flattening of short class definitions with modifications that depends on the extended class.
6137bfd8f8Per Östlund- Added a new type of cref, Absyn.CREF_INVALID, which is used for crefs that could not be looked up in SCodeFlatten (which might still be valid, as long as they are not used). The error reporting for crefs that could not be found is now delayed until elaboration instead. - Removed some code for checking optional conditions, which is no longer needed because of CREF_INVALID.
9dbc91dc48Martin Sjölund- Propagated cache+env to BackendDAEUtil
d44c008a3eMartin Sjölund- Some fixes for compiling SCodeFlatten using bootstrapped OMC
5579ef7035Per Östlund- Fixed extends so that imports are not inherited in SCodeLookup. - Added error message for extends-clauses that depend on inherited elements. - Added test case mofiles/InvalidExtends1 (disabled for now until SCodeFlatten will be used). - Fixed invalid use of extends in test mosfiles-nosim/FinalTests.
0909f0ece3Per Östlund- Renamed SCodeFlatten.flatten to flattenProgram and added flattenClass. - Added flattening of functions in Interactive (disabled by default). - Renamed some functions in SCodeFlattenImports to be grammatically correct. - Added fail as a builtin MetaModelica function in MetaModelicaBuiltin. - Added missing declarations in test case parser/MetaModelicaMatchElse.
8a15ea4714Per Östlund- Fixes for redeclare modifiers in components for SCodeFlatten.
8f4c79604fAdeel Asghar- Fixed the a bug sent by Massimo Ceraolo thst crahses OMEdit. The reason is the shapes at the icon layer are referring to the diagram layer which means they are actually referring to a null pointer. - There is no problem in Massimo's model. It was internal OMEdit bug (coding mistake).
fca3700bb4Per Östlund- Propagated Absyn.Info from Absyn.ElementSpec to SCode.Element in SCodeUtil. - Replaced print with proper error message in SCodeEnv.checkUniqueQualifiedImport;
5b99a68b89Alexey LebedevModified non-expaned array processing so that DAE.RANGE is not used anymore.
d9dcf75137Martin Sjölund- Added Absyn.Info for Absyn.IMPORT(...)
16a6f00b23Martin Sjölund- Removed some warnings about duplicate variable info being generated by not generating these anymore.
3f0f24654ePer Östlund- Better comments and error messages in SCodeLookup.
3285478fb5Per Östlund- Implemented better support for match/matchcontinue expressions in Absyn.traverseExpBidir. - Fixed better error messages from SCodeLookup.lookupName.
b9011541d9Mohsen Torabzadeh-Tarispel correction DrControl, StateSpace.onb
098890ec29Martin Sjölund- Added printing of Absyn.Info when assertions happen in the simulation runtime, i.e. + e.g. [StringTest.mo:8:1-14:56:writable] Simulation call assert() at time 0.11 ...
21e74d6c6bPer Östlund- Implemented better support for MetaModelica in SCodeFlatten.
744f70aa84Martin Sjölund- Added a guard against algebraic types in the Modelica3 parser (list<...> only available with +g=MetaModelica)
5951d7e3c5Martin Sjölund- Fixed codegen for some reductions - ExpressionSimplify: + min/max({exp}) => exp + min/max({exp1,exp2}) => min/max(exp1,exp2)
df8e10c396Martin Sjölund- Added Absyn.Info to Absyn.REDECLARE and updated SCodeUtil - Fixed a bug in ExpressionSolve.mo
09601a5041Haris KapidzicAdded an text shape and bitmap shape. Implemented functionality to the shapes, (change size, insert picture).
d68edcfffcPer Östlund- Changed SCode.COMPONENT to have an Absyn.Info instead of an Option. - Changed print to proper error message in SCodeEnv.avlTreeAdd2. - Updated some test cases due to better error messages.
186a48fbf9Per Östlund- Added simple check for recursive short class definitions in SCodeFlatten, to avoid stack overflows.
99e9e864e7Willi Braun- correct a mistake from r7788
6e177f3a72Jens Frenkel- bugfix for BUG-1409 introduced in 7745
8e17c9f191Willi Braun- Bugfixes for generation of jacobian matrix added testcase for that issue
f3fe405e2eMartin Sjölund- Added expression simplification for asub of ranges, e.g. (1:2:10)[2]=>3
487f97bd9ePer Östlund- Changed SCodeFlatten.flatten so it uses the correct variables. - Changed SCodeEnv.printEnvStr so it prints the whole environment instead of only the last frame. - Implemented support for derived classes in SCodeFlattenImports.
a640039d79Martin Sjölund- Added ceval of more arguments to scripting functions
610c8b6d1dAdrian Pop- split SCodeFlatten.mo into several files: SCodeEnv.mo SCodeLookup.mo SCodeFlattenImports.mo SCodeFlattenExtends.mo SCodeFlattenRedeclare.mo
e9026c2cb8Per Östlund- Implemented redeclaration of variables in SCodeFlatten.
7cd722c3daPer Östlund- Fixed small mistake in SCodeFlatten that caused compilation to fail.
7375f067abPer ÖstlundSCodeFlatten fixes: - Fixed path-merging bug when looking up through imports. - Propagated Absyn.Info where needed and replaced some print-calls with proper error messages. - Added evaluation of conditional expression when lookup of a component fails.
06dd617fa2Martin Sjölund- Updated Absyn.Modification to store an EqMod instead of Option. This also contains Absyn.Info. - Moved more scripting functions from Interactive.mo to CevalScript.mo, and defined them in ModelicaBuiltin.mo - Some of the scripting functions are defined in the builtin environment instead of special rules - getEnvironmentVar now returns "" instead of "error" - Removed MetaModelicaBuiltinImports.mo (defined in MetaModelica.mo as builtin instead of import X=Y) - Added simplification of String() - Fixed a bug in getTmpDir for RML
dc9e356428Per Östlund- Added spliceFunction as a builtin function, since it's used in Modelica.Fluid (it's probably a Dymola builtin function).
2d127f0f73Per Östlund- Fixed bug in SCodeFlatten.qualifyRedeclare where the merged path was incorrect.
0fcde286a4Per Östlund- More redeclare fixes in SCodeFlatten.
487c201e80Adrian Pop- builds of clients using VS - small changes to make VS compile some files.
37300d47caAdrian Pop- builds of clients using VS - small changes to make VS compile some files.
b1a94324cfMartin Sjölund#1399 - Removed set/getClassNamesForSimulation from Interactive.mo - Moved strictRMLCheck() API call to CevalScript from Interactive
3ff6217137Martin Sjölund#1399 - Added some CevalScript functions to ModelicaBuiltin.mo - This means we now get vectorized builtin operator, and ExpressionSimplify - CevalScript still does not Ceval the inputs + loadFile(intString(1)+".mo") might not work + loadFile("a" + ".mo") will now work + loadFile({"a.mo","b.mo","c.mo"}) works + setCompilerFlags("singleFlag") now works as the function is vectorized instead of taking an array of strings as input
24cdc00fb8Adeel AsgharChanged the about text.
13f57d1243Martin Sjölund- When converting from match to switch, (x as _) is treated as _ to determine if a column of patterns are WILD or not - Also, the last case is excused from this check as it may be a default case
06757b02dbAdeel Asgharanother try to remove tabs form the file.
31830a67caAdeel Asgharremoved tabs form the file
1e272b6f19Adeel AsgharFixed the cells cut & copy bug.
1fd2714753Martin Sjölund- Added support for a "default" case when doing the match->switch translation - intString now checks for numbers 0-9 and returns the literal directly, based on the fact that most (99.9995%) intString calls use these numbers (see below)
359dce1e1fLennart Ochelfixed handling of known variables for symbolic jacobian
6d93004b60Martin Sjölund- Added match->switch conversion for integers. - There are very few cases using this, but they are used for lookup and the performance increase seems good
de971455d3Jens Frenkel- bugfix for r7745
31a72ac43aMartin Sjölund- More inline calls
2c6a6eeb44Martin Sjölund- Cleaned up boxptr-functions for record constructors
6524d68f01Jens Frenkel- perform remove simple equations also for removed equations - check if there are inputs insight the parameter equation candidate
6597f8487dMartin Sjölund- Generate if-expressions as (cond ? tb : fb) in C-code if pre-exp of tb and fb is empty (less temporaries is always nice)
7b83fd41f2Martin Sjölund- Moved elabType of "complex" types that have a regular base type (no longer uses a slot in the memory)
0e97306a2bMartin Sjölund- Added inlining of Util.if_
1bdae17eecAlexey LebedevImprovement in non-expanded array processing; new testcase.
6cf97d7120Martin Sjölund- Fixed inlining of function pointers that do not return boxed data - Added expression simplification for "if cond then true else false => cond" and "if cond then false else true => not cond" - This found more simple equations in mosfiles-nosim/Model{1,2}.mos
83125e9b5eMartin Sjölund- Annotated a few functions with __OpenModelica_EarlyInline - A NEW (r204+) OMDev or MetaModelica/RML is needed for this (older RML version do not parse annotations in regular functions): OMDEV: http://www.ida.liu.se/~adrpo/omc/omdev/mingw/ Debian/Ubuntu Linux: apt-get update && apt-get upgrade rml-mmc OSX: port update && port upgrade rml-mmc - Also fixed a bug where inlined call expressions were not boxed - TODO: Propagate the inline annotation of functions in crefs that are pointers to a specific function
92d5d031d7Willi Braun- Bugfixes for ZeroCrossing in algorithm for loop - correct ident in simulation_events.{h,cpp} and solver_main.cpp - add testcase for ZeroCross in for loop and adjusted some other testcases
73ce75c86fMartin Sjölund- Removed more Builtin.isXXX functions (Modelica.Math.min/max/cross/transpose do not even exist!)
b7d1f952d8Per Östlund- Fixed handling of redeclares in variable modifications and extends clauses in SCodeFlatten lookup. - Ported optimizations from Env for the AVL tree to SCodeFlatten.
b90a913da3Martin Sjölund- Removed some Builtin.isXXX functions that should not be used (pattern-matching is a lot faster and we no longer need it in order to look for sin or Modelica.Math.sin)
a6fc8dace2Martin Sjölund- Known external "C" calls are now treated as external "builtin" - That is, Modelica.Math.sin becomes a call to sin because it is calling the same C function we know that the builtin function is calling - This finds more functions than just Modelica.Math.sin (some of the testcases mapped their own external "C" function to C) - We should also be able to change Derive.mo to do pattern-matching against "sin" now, instead of calling Builtin.isSin
70f444bb33Martin Sjölund#1397 - Declaring for example Modelica.Math.sin as external "builtin" now works as expected - The compiler will treat this as a call to the builtin function sin() - This means Derive.mo and Ceval.mo will work properly without dynamically loading the function or requiring special rules that check for MyPackage.sin or sin - Added testcase ExternalFunctionBuiltin.mo
8d6fbe0776Martin Sjölund- -mt now generates profiling information for nonlinear, linear and mixed systems - meta_modelica_string_lit.{c,h} is now in svn instead of generated by sh (the script has problems supporting multiple platforms)
b725b2e3f4Willi Braun- modified comments for findZeroCrossing
9d8fddaf79Martin Sjölund- Fix Dynload sending boxed reals on OMDEV
53dd8459efMartin SjölundChanged impl. of boxed reals for OMDEV
eeb50b3276Martin Sjölund- Fix meta_modelica_gen_string_lit.sh for Windows
cc0a0d3c51Willi Braun- added index DAE.Relation that are ZeroCrossings(for models e.g. CheckEvents.mo) therefore rewrited BackendCreate.findZeroCrossing and adjusted simulation_runtime and Compiler/*.mo files -> all testcases from mosfiles works also with dassl2
7e046aad74Martin Sjölund- Use failtrace when generating Template files, but only display the log if susan fails (because the failtrace is huge even if Susan succeeds)
12cb779e8fPer Östlund- Fixed bug in SCodeFlatten where for-equations didn't create a new scope. - Implemented support for class extends in the SCodeFlatten lookup.
f741d6767fMartin Sjölund- Made valueEq faster by not comparing the names of uniontypes (only the index), as well as comparing the headers of boxed types directly instead of checking if lhs and rhs are both list or option, etc... - This made checkEngineV6_analytic ~10% faster for the bootstrapped OMC
f55523c05fMartin Sjölund- Started using System.stringHashDjb2Mod instead of intMod(stringHashDjb2 for most hashtable functions - Tested using a hashtable instead of linear search for Types.elabType, but this seemed slower
0add8133d8Martin Sjölund- Added support for converting cases with matching distinct strings (that also have distinct hashes) into a switch-case over their hash - Only matches elabBuiltinHandler for now since there are problems with escaped strings
7b76dc3947Martin Sjölund- Added optimization that converts match-expressions (for-loop searching for matching pattern) to switch (jumps to the correct case at once) - Works for records - Seems to be broken for strings so I disabled it (it uses string hashing, and DAE.SCONST is a bit weird at times so it needs more debugging)
365d36ea0aMartin Sjölund- Display "no classes loaded" instead of instantiating builtin class OpenModelica when calling OMC from commandline
e5c0caaa69Martin Sjölund- Don't disable ceval of builtin functions when +d=rml is activated
1229bcb9f4Martin Sjölund- Split setsEqual into multiple functions
e3e57c70a8Martin Sjölund- Rewrote crefPrefixOf, crefEqualNoStringCompare and setsEqual using match instead of matchcontinue (~20% speedup of checkEngineV6_analytic for bootstrapped OMC)
21a4faf0a2Martin Sjölund- Removed DAE.ExpType from DAE.LIST/CONS - Added some expression simplifications for MetaModelica (cons, listReverse, listAppend)
3817916904Per Östlund- Fixed Static.makeASUBArrayAdressing so that it doesn't create unnecessary ASUBs. - Added test case ArrayIndex2 that tests indexing of arrays with arrays.
cb757c5b91Martin Sjölund- Changed malloc.h to stdlib.h since malloc.h does not exist on OSX
04e43da679Martin Sjölund- Removed some useless stuff from Builtin.mo
57a2a1c4a7Martin Sjölund- Avoid gcc warning about malloc being implicitly defined
bb7b666ffcPer Östlund- Fixed lookup of builtin functions and variables in SCodeFlatten. - Fixed lookup bugs in SCodeFlatten. - Split SCode.traverseEEquationExps into traverseEEquations and traverseEEquationExps to be able to correctly handle for-equations in SCodeFlatten. - Added traversal function Absyn.traverseExpBidir, that can traverse an Absyn.Exp both top-down and bottom-up. - Added more builtin function to ModelicaBuiltin.mo. - Fixed test case interactive/interactive_api_param so that it uses valid Modelica.
860d892026Martin Sjölund- Use initialized data in rtclock.c on Windows/OSX
91b6d0f621Martin Sjölund#1402 - Added checkpoint/rollback of error messages for if-expressions when they are used like combitables (condition is a parameter expression and one branch is invalid)
ff158d25abAdeel Asghar- Added the omniORB 4.1.4 compiled with mingw. - Added the PSD's used for OMEdit icons.
9f7b6288a9Martin Sjölund- Changed envCache from array> to Option> - Instead of using OptManager for every cacheGet/cacheAdd, we now check if the option is SOME() or NONE() (it's set during creation of the cache)
2d6c77685fMartin Sjölund- Added support for expanding the number of RT clocks during runtime
94241c8a0aMartin Sjölund- Fix some gcc warnings for mmc_mk_bcon, etc
2d5115fe28Martin Sjölund- Added function names array in the simulation runtime - These are output with -mt on a simulation file (in addition to execution count and time of each function for every timestep)
7026706a39Martin SjölundFix rtclock compilation on OMDEV
6526b397e7Martin Sjölund- Moved rtclock from Compiler/runtime to c_runtime - Started using the rt clock to do time measurements in simulations
3be780f5c2Adeel Asghar- Added the View Documentation button in the StatusBar of models.
74fba7ec16Martin Sjölund- Added the tests for doing compiling bootstrapped C-files separate. - The file does not link due to referencing previously unused external functions
c3673a52a8Martin Sjölund- Added file missing in last commit
597b34dd16Martin Sjölund- Made the pointers to intAdd, etc functions part of the C runtime - They are now either function pointers or inlined; SimCode was updated to ignore builtin function pointers
eb41dbe88cMartin Sjölund- Started implementation of generateSeparateCode() API call - Generates code for all loaded packages at the moment - Fixed OMC source code where this new API call found errors (Main.main only found errors in functions that were actually used by the compiler)
cf2900c5c5Martin Sjölund- Added support for inlining code that has function pointers as input
a81dd749edMartin Sjölund- Started removing pattern inputs that are never used (OMC dead code): case (1,_) ... case (2,_) => case 1 ... case 2 - We have a lot of these because of RML forces us to put all inputs of the function as the inputs of a match-expression - This makes more match-expressions simplify into if-expressions - Made all packages encapsulated (and fixed Susan so it outputs encapsulated packages) - This should make dependency analysis on OMC work better
d8d188bd90Martin Sjölund- Enabled expression simplification for assignment statements - Added simplification for 1-input match-expression with a single true and false pattern and no body (result is an if-exp)
37b8d394e6Martin Sjölund- Tabs to spaces
2a27735668Martin Sjölund- Tabs to spaces
eed9d43e1aMartin Sjölund- Tabs to spaces
3a29506a5dMartin Sjölund- Reverting tab changes to Template/*.mo as Susan needs them
4236ad05bbAzam ZiaWorking copy for setstartvalues function
7557fc461fAzam ZiaAdded code for initialize and setstartvalues function.
391e07f967Martin Sjölund- Minor fix in generated code (deinitializeDataStruc would try to free output vars if input vars was requested; but the code is only used when everything is requested so no bug could be triggered before)
526721bb29Martin Sjölund- 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
a03358fe21Martin Sjölund- 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
441450c9acMartin Sjölund- 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
19223511a6Martin Sjölund- The last unused local declarations have been removed (had to split some lines, fix tabs, etc in order for the script to find some of these)
067386cfb4Martin Sjölund- Removed more unused local declarations
e6a88b74d6Martin Sjölund- Removed ~30 more unused local declarations
3923591b1bMartin Sjölund- Removed a few hundred more local declarations
b1633d9e1dMartin Sjölund- Removed another ~1800 local declarations
e38940cf64Martin Sjölund- Removed another 1014 local declarations
e8fd45ed64Martin Sjölund- Removed 138 more unused variables
bd8db466f1Martin Sjölund- Removed 1213 unused variables (automatically, using testsuite/bootstrapping/refactor-mc-to-m.sh)
2ba0e58b74Martin Sjölund- Added debug flag to disable moving the last statement of a match case into the result expression
dabab7b9efMartin Sjölund- Added debug flag to not remove as-bindings from case patterns if they are unused
d8c14bd6bbMartin Sjölund- Ran the automatic matchcontinue to match script - OMC now detects empty cases at the end of the case list and safely converts to match anyway - The script disables the rest of the dead code elimination since it's not safe to convert these without also removing cases in the middle of the cases
f8d81a29feMartin Sjölund- Added pattern simplification (mostly tuples that do not match against anything; they can be replaced with a single wildcard pattern)
9f4ab8af00Martin Sjölund- Removes as-bindings that bind local variables (these never have any effect; the compiler finds 1927 such instances) - Also, fixed a bug in traverseExp for DAE.ASUB
365cde4027Martin Sjölund- Changed DAE.STMT_ASSIGN_PATTERN into the regular STMT_ASSIGN - Added DAE.Exp.PATTERN (so we can traverse a DAE and collect all variable refernces; including DAE.Pattern.PAT_AS) - Started detection of unused local variables; around 6000 were found
f660cf5a55Martin Sjölund- OpenModelicaBootstrappingHeader.h now uses constants for records without fields
a3af0e5653Martin Sjölund- Added Absyn.Info to each case in a match-expression - Started dead code elimination in match-expressions (removing empty, failing cases) - This can detect that more matchcontinue expressions can be translated to match (it's not safe to refactor all of these without first removing the dead code)
35804023fcMartin Sjölund- Use Static.makeBuiltinCall in more places
eebc8d9c48Martin Sjölund- Some more Makefile dependencies
1f34bff1f0Martin Sjölund- Increased the size of the types memory array
733c42e2c5Martin Sjölund- Added some constant string literals to the runtime - Codegen and mk_scon now both use the same literals for 1-length strings - Some more matchcontinue to match
66b0b7a237Adeel AsgharRemoved the testing Message Box added.
58040e2a0aAdeel Asghartesting the temp path
3e6c6a1951Adeel Asghar- The Corba IOR file was not picked up on MAC OSX because the path for temp directory is hard coded. Using QDir::tempPath() now to get the temp directory path.
d8122c1ceeAdeel AsgharFixes for bug #1395 - Added the key bindings for OMEdit.
97766f5cb7Martin Sjölund- Automatic translation of matchcontinue to match (1448 hits) - testsuite/bootstrapping/refactor-mc-to-m.sh is the script that can perform this refactoring automatically
929edbc789Martin Sjölund- +g=MetaModelica now enables makes all strings boxed in the runtime - This breaks MatchCaseInteractive2.mos (and Uniontype7.mos); regular records used as input of dynamically loaded files crash - checkEngineV6_analytic now works (using only 7GB of virtual memory) - + some matchcontinue->match
9980295348Martin Sjölund- Added codegen support for "case ... then fn()", where fn() has multiple outputs - Added simplification for match expressions: (cr1,...,crn) = exp; then (cr1,...,crn); => then exp; - GCC should handle this, but if we need to do special optimizations for tail recursion in the future, we need to be able to access the last expression of a case quickly
6f37ffb174Martin Sjölund- Added pretty-printing of the cases in match-expressions (which used to be ignored)
f93f6ba7a5Martin Sjölund- Improved BackendDAEUtil.treeGet slightly for bootstrapping (more efficient, but not tail-recursive) - Made BackendDAECreate.lower tail-recursive
4292e8406fMartin Sjölund- DAEUtil: Stopped using matchcontinue in addComponentType,traverseDAE2,transformIfEqToExpr
fa268c253aMartin Sjölund- BackendDAECreate: Add start-binding as eq-binding of parameters without binding.
d6f37991f7Martin Sjölund- Fixed SimCodeTest using bootstrapped omc (force grammar in the test so it's not shared when loading the shared object) - Plus some matchcontinue to match, and less listAppend in some functions
aca8e5a9beMartin Sjölund- Changed printimpl.c from having static "global" variables since they got unpredictable behaviour when dynamically loading bootstrapping examples in the bootstrapped omc. - Now, all copies will share the _same_ print buffer, which means using Dynload.mo to run a function may change the internal state of the compiler (mainly print buffers). - Debug flags, etc are not shared though (I think). We don't test these much anyway.
be2e4a00dfMartin Sjölund- Some matchcontinue to match
c44ddfc854Martin Sjölund- Removed the DAEUtil.getAllExps functions (use DAEUtil.traverse* instead)
cbbe3065f9Martin Sjölund- SimCode.getCalledFunctionsInFunction now uses a HashTable; this is a lot faster for large functions
13d4651ebfMartin Sjölund- Use true = listMember instead of _ = Util.listGetMember
463476f6dcMartin Sjölund- Fix System.setVariableFilter
78335a35f5Martin Sjölund- Fix order of tokens for the system() error messages
c0130a82e2Martin Sjölund- Added optimization: If a case in a matchcontinue expression is followed by a (list of) cases that do not have overlapping patterns with the first one, an optimization can be made. If we match against the first pattern, we can jump a few positions in the loop!
9233756561Martin Sjölund- Fixed continue->match optimization for uniontype patterns - Added a testcase for this
5fcca706bdMartin Sjölund- Rewrite of Lookup.lookupMetarecordsRecursive, using HashTable instead of linear search in a list
f38d290f79Martin Sjölund- Improved mmc_alloc_bytes (still no GC, but does allocation in 512MB chunks instead of many small calls) - This is a big performance improvement for bootstrapping: Before: == Total: 20 out of 1365 failed, 32.05 minutes (single thread) After: == Total: 17 out of 1365 failed, 27.88 minutes (single thread)
3dbe674004Martin Sjölund- Added an optimization doing automatic matchcontinue->match translation if it is safe to do so. - This made 5 more tests run in the 300 second limit I set for bootstrapped OMC testcases - Now only 20 tests fail for bootstrapped OMC (8 tests fail for regular OMC)
f67498258bMartin Sjölund- More match less continue
82d4aa1327Martin Sjölund- More match, less continue
3908403412Martin Sjölund#1396 - Use vfork/execl instead of system for the System.systemCall implementation on Linux - This does not sometimes spin in an endless loop using bootstrapped omc
1c39d06001Martin Sjölund- Performance improvement for valueEq on strings
26181b8289Martin Sjölund- Rewrote listAppend without using listReverse (using 1 malloc instead of 2*n)
029f481ef0Martin Sjölund- Some matchcontinue to match
0a4ec0a89dMartin Sjölund- Replaced Types.searchInMememoryLst with Util.assoc
e9b8cfba52Martin Sjölund- Fix System.getHasExpandable/StreamConnector (output was unbound, i.e. false, in the bootstrapped omc)
764b530fecMartin Sjölund- Removed unused (duplicate) code
c8e185b7e1Martin Sjölund- Updated multibody tests to use teardown_command instead of system (which sometimes blocks the bootstrapped omc)
a635b8917bMartin Sjölund- Made the testsuite deterministic when running bootstrapped omc
46ab4d40d2Martin Sjölund- Some matchcontinue->match
383ae19475Martin Sjölund- Improved SimCode.addMissingEquations for bootstrapping (goes from >5 minutes to <1 second for some simulations)
5003f5ed6eMartin Sjölund- Rewrote parts of Env to use match instead of matchcontinue (while the performance gain is small per call, Env is called millions of times so it adds up for the bootstrapping implementation)
f0591263d9Martin Sjölund- Added MetaModelica optimization for matchcontinue expressions with only one case (then we use match instead)
3cb39b938bMartin Sjölund- Rewrote part of BackendDAECreate.lower2 for the bootstrapping (which does not optimize if the first statements of different equation-sections are identical) - lower2 needs more work done as it does too much listAppend - this small change reduced the memory consumption from 16GB to 500MB for large simulations using the bootstrapping implementation
18a76a5356Martin Sjölund- Rewrote Expression.expEqual using match
b609c343f8Martin Sjölund- Rewrite of Expression.factors (using match and an accumulator instead of matchcontinue and listAppend)
58a30eb727Martin Sjölund- More matchcontinue->match
2ee08674ceMartin Sjölund- Expression.isConst now does not construct any data, is tail-recursive and does not use matchcontinue
a48b434c61Martin Sjölund- Added Expression.expEqual support for MetaModelica types - This reduced the size of Main_main.exe by 0.9MB and compilation time by ~20% (this is a result of reducing number of literals by 75%)
89a8bbce6cMartin Sjölund- Expression.isConst now uses match instead of matchcontinue
c6e6d25fb8Martin Sjölund- More match, less continue
1f6ffe517bMartin Sjölund- Added code generation support for Integer()
b871dc97a2Martin Sjölund- Added Dynload support to read Values.ENUM as input
c81c742e70Martin Sjölund- Added file MetaModelicaBuiltinImports.mo, containing the renaming imports used by MetaModelica - This replaces the string literal in Builtin.mo
cec38342d1Martin Sjölund- Split Builtin.mo. The new MetaModelicaBuiltin.mo and ModelicaBuiltin.mo are now loaded as files instead of string literals.
8998318083Martin Sjölund- Made mmc_mk_icon take a long instead of an int (and made sure djb2_hash returns an unsigned number)
b0bb1a5591Martin Sjölund- Add setGlobalRoot to Builtin.getInitialFunctions - Give proper error message for type list
d382cc876cMartin Sjölund#1373 - Added Absyn.Info to SCode.EXTENDS - Added a warning when extending from a function containing an external declaration
b571b7f624Martin Sjölund- Some fixes for OMNotebook startup - Do not only wait for omc to start; also wait for it to open a connection - It also works properly when OPENMODELICAHOME lacks a trailing slash
1e36f703d7Martin Sjölund- Some fixes for OMShell/OPENMODELICAHOME
3991a5d0e2Martin Sjölund- Fixed code generation for integer mod() (previously used doubles, which don't hold large enough integers on 64-bit platforms)
85afab4149Martin Sjölund- Fixed some type errors in elaboration of CONS expressions (minor thing that RML also did not handle properly) - Updated PartialFn15.mo to its original form
74937e82b1Martin Sjölund- Removed the SimCode helper that boxed constants in lists during codegen (all expressions now contain boxed types, so this hack is no longer needed)
04a4bd71c9Martin Sjölund- The boxptr_-function is now only generated if not all of the function in/outputs are boxed (meaning the wrapper is only generated if needed; otherwise it's a preprocessor macro)
fe21650f30Martin Sjölund- Removed inVars from SimCode.FUNCTION (unused)
3f9e83c736Martin Sjölund- Made sure all arguments of a METARECORDCALL are boxed - Started sharing metarecord literals (30000 more constants shared for Main.main, up from 10000) - Some functions using large constants (such as Error.lookupMessage) now have 500 less malloc calls, which should result in a performance improvement
809f69ea27Martin Sjölund- Fixed bugs where constant evaluation/simplification resulted in unboxed expressions
bff745f5aaJens Frenkel- parts of rewrite removeSimpleEquations
e39976317dMartin Sjölund- Made the list operations always boxed (hopefully), which means code generation could be made simpler
f2fc061727Martin Sjölund- Implemented scripting command getModelicaPath() (setModelicaPath() already existed) - OMEdit now uses this command to query the path instead of getting it from the system environment
d0cae34fe9Martin Sjölund- Implemented scripting command getModelicaPath() (setModelicaPath() already existed) - OMEdit now uses this command to query the path instead of getting it from the system environment
b587517a01Adeel Asghar- Using OMC to get environment variables like OpenModelicaHome and OpenModelicaLibrary.
cdd65f5d54Martin Sjölund- Some fixes for sendData
fefa1ea285Martin Sjölund- Started the implementation of sharing constant literals - It is a one-pass phase on list, right before code generation starts - For now, it is limited to string constants (not even boxed strings...) - It is also limited to function code (not simulations) as equation-systems in general don't use MetaModelica types, which will benefit the most from this change (gcc already shares string constants)
10398a7386Jens Frenkel- removesimpleequation - extend parent types if they are from type array or record
89fc3e5f82Martin Sjölund- Changed implementation of InstHashTable to the new generic HashTable - This solves some issues for the bootstrapping implementation and gives us less code to maintain
8c7359cd7fAdeel Asghar- Library right click issue solved. - UserManual opening code is updated again (a test for MAC).
6295b40511Adeel Asghar- Library drag implementation is changed. - UserManual opening code is updated.
82dbb72826Martin Sjölund- Fixed code generation for simulations and external functions
3c70ce6d9fMartin Sjölund- Improved unparsing of DAE.META_OPTION
5154a2ad89Martin Sjölund- Changed modelica_integer to long, so it is 64-bit on 64-bit platforms
2a4716747aMartin SjölundFix for #1041 - Reduce the number of error messages generated by builtin operators (only add the generic error message if a specific one was not added)
50435f2e47Martin Sjölund- Added a generic error message for elabExp (only 1 testcase needed to be updated; no scary floods of failed expressions followed...) - Changed errorext.cpp slightly: Now we remove duplicate errors when pop'ing the stack. - The reason for this change is that if we called Error.addSourceMessage and the top already had a copy of that message, the error count would not increase. This could cause additional generic error messages to appear.
fa38339f80Jens Frenkel- removesimpleequation - extend parent types if they are from type array or record
8ec5878070Martin Sjölund- Fix regeneration of libomcmodpar.a if make clean has been run
62f1446284Jens Frenkel- replaceDummyDer: - traverse also WhenClauses and WhenOperators
dd78a7a89bMartin Sjölund#1142 - Added a better error message for invalid singleton expressions in the parser
8f38cb3083Martin Sjölund- Fix OMNotebook so it does not require OPENMODELICAHOME to be set on Unix
0bceb8da87Martin Sjölund- Fix OMNotebook so it does not require OPENMODELICAHOME to be set on Unix
63a7289c34Martin Sjölund- Fix OMEdit so it does not require OPENMODELICAHOME to be set on Unix
255b32fa62Martin Sjölund- Added support to OMShell to function without OPENMODELICAHOME set
69d23c9baaMartin Sjölund- Added Error.mo messages for Derive.differentiateEquationTime
b7634ca821Martin Sjölund- Made semiLinear() and edge() into classes in the initial environment
0734c9de4eMartin Sjölund- Fix compilation of Builtin.mo
2898ea9592Martin Sjölund- Added parser error for equations containing assignments
b96f068edfAdeel AsgharFixes for bugs #1385 #1389 - Fixed the icons extent points bug. - Added the new Type Icon image.
32f1ce5294Martin Sjölund- Removed some unused constants from Builtin.mo
7e61783888Martin Sjölund- Added builtin classDirectory as a class instead of type only
63bf40d4aeMartin Sjölund#1062 - Added Error.mo messages for invalid when-equations
e9fff2cea5Jens Frenkel- fix for extendRecordEqns - add case for records for getVar - ComponentReference.mo add function creffromVar - SimCodeFMU.tpl - use {guid} like in xml file, otherwise strcompare fails
379ca1fc35Martin Sjölund- Removed arctan from simulation runtime
cce7b77d26Martin Sjölund#1388 - Absyn->SCode now checks if duplicate classes have been defined in the top-level scope - This includes a check for duplicate builtin classes - Added testcase ErrorMultipleClasses.mo - Removed a duplicate definition in Constants.mo
fc9918f1d6Jens Frenkeladd COMPLEX_EQUATION and INITIAL_COMPLEX_EQUATION to dump2
968922291fMartin Sjölund#1387 - calcTinyStep now uses (stop-start) as its basis for choosing epsilon
c53004ff69Martin Sjölund#1384 - Typo in last commit
c79401ec21Martin Sjölund#1384 - Hopefully a better fix for OSX configure woes
5d7b621ec0Martin Sjölund#1386 - Changed return type of sign() to Integer instead of depending on the input
80564175dfMartin Sjölund- Removed elabBuiltinInteger
8bbc8e0204Martin Sjölund- Removed elabBuiltinInitial/Terminal/Sample
0f6c7b0d74Martin Sjölund- Removed some old code
c4efc4b426Martin Sjölund- Removed elabBuiltinFloor/Ceil/Sqrt
2e6fdff592Martin Sjölund#1374 - Fixes syntax error when trying to declare partial functions through CORBA
9f88954843Martin Sjölund#1384 - Fix typo in configure
2a27db514cMartin Sjölund#1384 - Fix for building qtclients on MacPorts i386
0d3fed352eMartin Sjölund- 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
e4d0a36a8bMartin Sjölund- Removed some tabs from omi - Added some dependencies for omi_ServiceInterface.o
ce5f92e634Jens Frenkel- rewrite function makeZeroCrossing without match case
f2eff8980eMartin Sjölund- Remove noEvent from c_runtime. It's now handled in SimCodeC.tpl - The names and comments of variables are now separated also by a newline. This makes the code more readable. - Removed tabs from SimCodeC.tpl
e95a240342Adrian Pop- 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.
ae540a66f5Adeel AsgharFixes for bugs #1382 #1383 - Fixed the BusUsage example crash problem. - Icon and Diagram annotations for model are now saved.
dc1e0b60c9Adrian Pop- cat the testsuite-trace.txt at the end of testlog
c055b5a51fAdrian Pop- exit if we cannot connect after we retry 5 times with 2 seconds delay.
a3042af9a1Per Östlund- Fixes to make the interactive client also compile on Linux.
2c7648282aPer Östlund- Split SCode.traverseStatementExps into traverseStatements and traverseStatementExps to be able to correctly handle for-statements in SCodeFlatten. - Implemented more of SCodeFlatten. Some of the major things are lookup through extends and lookup of crefs.
f12dc7c3b2Adrian Pop- build also the client for interactive simulation so we don't break it: c_runtime/interactive/client.cpp
6ead96e635Adrian Pop- get rid of warnings, fixes for Linux.
4c78c5a3c4Adrian Pop- updates to readmes and interactive-simulation test - added the interactive-simulation to be run with the testsuite - updated SimulationApplicationExample_TwoTanks.zip
a0180581faAdrian Pop- finished the interactive-simulation test.
0eaf4cafbbAdrian Pop- 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.
ae0246b8abMartin Sjölund- Fixes for #1371 - Implemented errors when functions contain illegal elements (except public elements that should be protected, since MSL uses that) - Added testcases FunctionWithEquation.mo and FunctionProtectedInput.mo
9df144fdd9Jens Frenkel- FMI: compile with extern "C" to get correct names for functions
067603100fAdrian Pop- make it portable
10ab6b8db1Martin Sjölund- Add #error message if the Qt version is too low for OMEdit
0bdee47699Martin Sjölund- Hopefully fixes the macports issues that causes qmake to generate erroneous makefiles
773bbeb0a5Martin SjölundFixes for #1381 - Only try to print the graph of plot windows if isQtPlot() is true - Print output text of any graph output cell Printing still is not perfect and success depends largely on the chosen printer settings, but it's a lot better now
e79449fc8fAdrian Pop- rebuild OMNotebook
bf992d0893Adrian Pop- create share/omnotebook directory during the omc build
a2fe2ebb93Martin Sjölund- Install the interactive readme to build/share/doc/omc/
c233d26721Adrian Pop- added a README.txt for interactive simulation.
4bfedf1e23Martin Sjölund- Remove valgrind warnings by making sure size!=dest in the memcpy used in simulation_events.cpp
f75b9c0294Jens Frenkel- bugfix Backend expandDerExp
2d85a2ce01Martin Sjölund- Fix memory access issues in simulation_events.cpp
4b61e912c4Martin Sjölund- Explicitly add -lrt to LDFLAGS if sendData-Qt is specified
50ce8e20e8Martin Sjölund- Fix compilation on Linux
ba78a41609Adrian Pop- small fix to make omc MetaModelica filter happy.
a897969d99Adrian Pop- small fix to make omc MetaModelica filter happy.
f1695446a8Adrian Pop- do not free something that was not allocated!
f9fc7e5cf1Adrian Pop- more zeroing out malloc-ed regions.
6328031678Adrian Pop- zero the malloc-ed region.
e6623b8960Adrian Pop- do stream operators handling phase only if System.getHasStreamConnectors() is true. - tail recursive implementation of DAEUtil.traverseDAE2 to get rid of stack overflow for very large models.
fe90b32d57Mohsen Torabzadeh-Tariupdating for MSL 3.1. only E3.4.1 left to do
d39745d5e9Willi BraunUpdate Solver dassl2 - handle sample call as time events - some event handling bugfixes for dassl2 - added mosfiles-dassl2 to testsuite as copy of mosfiles - two testcases (Delay.mos, TanksConnectedPi.mos) are temporarily broken
f36a25bae9Mohsen Torabzadeh-Tari- update DrModelica
e0028ccffaJens Frenkel- update makefile for test msl31 seperate in simulates, notcompiling, notsimulates
3c56e887ffMohsen Torabzadeh-Tari- update DrModelica
e42dae2f15Mohsen Torabzadeh-Tari- update DrModelica
868230574cMohsen Torabzadeh-TariCheck the comment
6246b50b9aMohsen Torabzadeh-TariCode replaced. Please check the comment.
7ca1969af9Mohsen Torabzadeh-TariFixed with "val", check comment.
9a34ec576dMohsen Torabzadeh-TariRemoved the "Parameter" keywords in order to have the plot working.
38ccba06f7Mohsen Torabzadeh-TariRemoved ; from the End-of-Line of simulate command. This enabled us to view the simulation result.
d75949f8beMohsen Torabzadeh-TariParameters initialized to fix version compatibility issue. Ver. 3.1 requires the params to be initialized before simulation.
cf422a0cfaMohsen Torabzadeh-Tarifixed initial values of resistor array. Ver. 3.1 requires default values.
7e5e6287e9Mohsen Torabzadeh-TariDuplicate variable names Real [0,3] A; Real A [:,:]; and Real B[5,0]; Boolean B[:,:,:]; >> gave errors. So, we changed the Real A[:,:] to Real A2[:,:]; and Boolean B[5,0] to Boolean B2[5,0];
fdc30a0793Jens Frenkel- update msl31 tests
db8cd8f7baAdrian Pop- added fmi* to the c_runtime/Makefile.common so they are copied on build to build/include/omc
d2c807c57eJens Frenkel- add c_runtime/fmiModelFunctions.h c_runtime/fmiModelTypes.h c_runtime/model_fmu.in - c_runtime/linearize.cpp, c_runtime/simulation_events.cpp use && instead of and - c_runtime/tables.cpp define fmin and fmax for visual studio - SimCodeC.tpl - bugfix for models with none algebraic variables - SimCodeFMU.tpl - bugfixes for visual studio
8c01f33e1bAdrian Pop- added fmu_model_inteface.h to the c_runtime/Makefile.common so is copied on build to build/include/omc
014e742574Mohsen Torabzadeh-Tariver. 3.1 compatibility issue with default value init.
3d490d4207Mohsen Torabzadeh-TariFixed end tag
ba491aaaeaJens Frenkel- c_runtime/CMakeLists.txt, c_runtime/ModelicaExternalC/CMakeLists.txt - add ModelicaExternalC to CMake - add macro for fmu - c_runtime/fmu_model_interface.c, c_runtime/fmu_model_interface.h - bugfixes for visual studio - SimCode - add model name to message for translated to FMU - testsuite/libraries/msl31/simulate - add testcases for simulation of examples with start and end values
459d4941fcMohsen Torabzadeh-Tarireplaceable Resistor R1; changed to replaceable Resistor R1 (R = 4); since ver. 3.1 requires default value, otherwise raises error.
a202e1ce0fAzam ZiaHeaderfile for fmi c interface.
7f07b918d9Mohsen Torabzadeh-TariFixed end tag from Point to Point2
cc85229c38Mohsen Torabzadeh-TariFixed Real type of blue to MyReal blue in CorrectColorCode. Fixed end tags of Color2 and Color3 from Color to Color2 and Color3
d0cd6b0eedMohsen Torabzadeh-Tariend tag fixed, Voltag to Voltage
d3830e8311Mohsen Torabzadeh-Tariend tag of model name fixed Ciruit to Circuit.
8c750a62f7Mohsen Torabzadeh-TariSyntax changed from "class Voltage" to "type Voltage".
317dfdffbdMohsen Torabzadeh-TariSyntax changed from "class" to "type". Check the comment in code.
6281a28812Adrian Pop- updated dcmotor.mo to MSL 3.1
ccf1214f2aMohsen Torabzadeh-TariSyntax changed. Old one commented and new one added.
eb92fc991eMohsen Torabzadeh-TariVer. 3.1 fix has been referenced. Default value require.
fbf8d5e4ffMohsen Torabzadeh-Tariupdating for MSL 3.1
9a040b464eAzam Ziaadded code for fmi export functionality
d078e8c50eAdeel Asghar- Added the support to open .mo files from command prompt; e.g, OMEdit.exe file_path/test.mo
446bde0ec6Adeel AsgharFixes for bugs #1376 #1377 #1378 - Added the timestamp and sequence numbers to messages shown in messages window. - Changed the simulation code so that if there is a message from simulation result it will always be displayed.
45b28b14c0Jens Frenkel- add alias Attribute of ScalarVariable for FMU modelDescription.xml
b0624c6e85Adrian Pop- fixes to constant evaluation of substring (Modelica.Utilities.Strings.substring).
13ce3590e4Adeel Asghar- Changed the font of Modelica Text View to default system font. - Incresed the font size to 10 from 8. - Created tabs in messages window and also allow user to copy from it. - search dialog closes with ESC key.
2ac5b9e926Martin Sjölund- Added annotation __OpenModelica_Impure. Using it prevents constant evaluation of a function call. - DAE.T_FUNCTION now has FunctionAttributes instead of InlineType (which is now stored together with the other function attributes)
9e1b0ab10fJens Frenkel- BackEnd/BackendDAETransform.mo - use NONE as variable attibutes for dummyder vars - libraries/msl31/simulate/Makefile - add tests for Modelica.Mechanics.Translational.Examples simulation
51188bff97Jens Frenkel- BackEnd/BackendDAETransform.mo - use NONE() for dummyvar variable attributes - BackEnd/BackendDAEUtil.mo - add functions for analysation of initialisation system - BackEnd/BackendDump.mo - print nothing if start values is not given - BackEnd/BackendVariable.mo - use fixed=false als default for states - add function isConst - BackEnd/SimCode.mo - use function BackendDAEUtil.checkInitialSystem to fix the initialisation systems.log - delete older functions for initialisation stuff - update tests for mosfiles - Initialisation.mos: no warnings anymore - DAEexample2.mos: use x as fixed=true because it has a start value
ee90718193Per Östlund- Added function to Absyn: prefixPath, prefixOptPath and pathToCrefWithSubs. - Finished implementation of the SCode traversing functions in SCode. - Updated SCodeFlatten module.
dcfdd4992aAdrian Pop- updated WhiteDecember-milestone.doc and added WhiteDecember-milestone.pdf
f57dbf633bMartin Sjölund- Make .depend a non-PHONY target so we don't run make depend twice
c8b9a63cb4Martin Sjölund- Some fixes for the build system (call simcode and OpenModelicaBootstrapping.h targets)
7bff6e2114Martin Sjölund- ExpressionSimplify: - Added rules for e and false, e or true - Added rules for stringAppendList - Added DAE.BOX, DAE.UNBOX instead of weird mmc_unbox_xxx calls (these are similar to DAE.CAST)
1ab820cfccAdrian PopFixes for task: #1344 - updated omc_profiler and omc_debug targets.
46bf875f32Adrian PopFixes for task: #1344 - Linux part is now updated. - only omc_release is updated, working on omc_debug, omc_profile.
5817f90f4bAdrian PopFixes for task: #1344 - split into directories: FrontEnd BackEnd Template Script Util Main - only working on OMDev MinGW Windows right now, I'm working on the Linux part.
37bbd758e8Martin Sjölund- ExpressionSimplify: Added rule for "s1"+"s2"=>"s"
3ce5f7233eAdeel AsgharFixed the Modelica Text View to Diagram View loading problem.
c17fa42719Martin Sjölund- Added ExpressionSimplify rules - true AND e => e - false OR e => e
94ae72b702Martin Sjölund- Added annotation __OpenModelica_EarlyInline = true - This annotation will inline as early as possible, making function calls look like expanded macros - MetaModelica builtin functions use this annotation
9a8534fe27Martin Sjölund- Added ceval for listReverse
c1bf18dfd2Martin Sjölund- Moved some more MetaModelica function definitions to Builtin.mo
c28cc0a1c0Martin Sjölund- Removed the old arcsin, arctan, arccos and ln functions since they are not part of the standard - They are also no longer used in the standard library - Started using renaming imports for functions that are simple aliases, e.g. import realSin = sin - This will make expressionSimplify and derive work without writing new special cases
4b8b3a421eAdeel AsgharAdded the search functionality in Modelica Text View
473f0b802aMartin Sjölund- Moved some builtin Real functions to Builtin.mo
35b051db60Martin Sjölund- Fixed codegen for div() - Moved some MetaModelica builtin functions (Boolean/Integer) to Builtin.mo instead of C sources
58a504317cMartin SjölundFix for #1356 - More of the function in the initial environment now have real classes instead of just a type - Added test Import7.mo that tests if you can write "import sinx = sin;"
3868cbf267Martin Sjölund- DAEDump now displays the language of an external function instead of always displaying external "C" - Added initial support for external function language "builtin" - These functions call the other function directly without overhead - external "builtin" functions are omitted from DAEDump
03d4f8762dJens Frenkel- use fixed=true for DUMMY_STATE variables for residual equations
275fe12285Jens Frenkel- SimCode.mo, BackendVariable.mo - for initialisation use not startvalue use pre(variable) this is the same value but it is possible to change the startvalue with the model_init.txt file - also add residual equations from vars moved to known variables - ToDo: - change states variables fixed=true by default to fixed=false and do not set the fixed attribute from variables (dummy_states) to false if it is true. - analyse the initial equaition system if additional variables must be fixed for initialisation - add some stuff for calculating the initialisation values via matching algorithm. This works if the number of unknown variables es equal to the number of equations for initialisation, use the debugflag=initdlowdump and uncomment the initialisation method via initial_residual function
7601eb76c0Jens Frenkel- small bugfix for algorithms with no outputs
b77bf0093fJens Frenkel- BackendDAEOptimize.mo - use not "a = der(b), a not state" case for simpleEquation because this leads to problems in the removed equations Example model Modelica.Mechanics.Translational.Examples.Damper : 5 : $DER.mass1.v := $DER.$DER.mass1.s 6 : mass1.a := $DER.mass1.v - update test because of this
336f72d05fAdeel AsgharAdded the getSimulationOptions API Command Updated the user manual splash screen and version.
08a52f87f9Jens Frenkel- if subs of componentreference are stripped do not use the type from DAE.CREF to generate a new DAE.CREF from stripped componentreference
ceb627be82Jens Frenkel- if subs of componentreference are stripped do not use the type from DAE.CREF to generate a new DAE.CREF from stripped componentreference
765f035240Jens Frenkel- fix testsuite, incomment states fixed=false als default
3e75fc66d6Jens Frenkel- BackendDAETransform.mo - speedup replaceDummyDer - set starvalue of dummy_der to zero - BackendDump.mo - add Startvalue to dump - BackendVariable.mo - use named parameter for case - States are not fixed=true for default - add function varStartValueFail - Expression.mo add case for DAE.REDUCTION to isConst
54afcbc1b6Adrian Pop- updates to the deadline for WhiteDecember-milestone.doc
59c6de9097Peter AronssonUpdated WhiteDecember-milestone.doc with status and new estimates.
f326a74ba7Per Östlund- Removed space in front of unary minus and plus when using Dump, to make linearize/test_05 succeed on linux too (where you get -0 instead of 0). - Updated test cases due to these changes. - Updated the parallel test script to handle modelicaML tests. - Fixed spelling in Absyn.
0d2ba6b688Adrian Pop- added API: getExperimentAnnotation and getSimulationOptions Example: getExperimentAnnotation(Modelica.Blocks.Examples.PID_Controller); getSimulationOptions(Modelica.Blocks.Examples.PID_Controller); simulate(Modelica.Blocks.Examples.PID_Controller, outputFormat="empty"); Result: {StopTime=4} {0.0, 4.0, 500, 1e-06, "dassl", "Modelica.Blocks.Examples.PID_Controller", false, false, "", "plt"} /* startTime, stopTime, numberOfIntervals, tolerance, method, fileNamePrefix, storeInTemp, noClean, options, outputFormat */ - now the simulate(Model, ...) will read the experiment annotation from the model if there is any and use these settings. - updated SimulationRecord to display simulation options. - updated tests to suite the new SimulationRecord. - added a generic COMPILER_WARNING in Error.mo and function Error.addCompilerWarning
4b78eceafdAdrian PopFixes for bug #1238 - fixes for bug #1238 via construction of fully qualified crefs from modifications so we can properly check for duplicate modifications. - added tests for bug #1238 - moved some things from Inst to Mod and PrefixUtil as they belong there.
e5eecce57cMartin Sjölund- Alias make testfast = make test. It's not that slow anymore ;)
42ef27e6c8Jens Frenkel- BackendDAETransform.mo - got ride of some unused print calls - BackendDump.mo - add function dumpStateVariables - fix tests from testcase, now more trivial equation are detected
f57ad0fdd8Jens Frenkel- bugfix for evaluateAnnotation, avoid infinite loop
0933ebd3daPer Östlund- Fixed some syntax errors in BackendDump and SimCode that wasn't caught by RML but by the bootstrapped compiler.
fffd896429Jens Frenkel- bugfix for evaluateAnnotation
a30eed27f2Jens Frenkel- implement new feature: evaluate parameter with annotation(Evalute=true), see Modelica specification 3.2 chapter 17.3 Annotations for Code Generation, codeGenerationFlag
d06015982dJens Frenkel- start to implement code for the Evaluate annotation. This is used for a lots of multibody examples.
5bd392c078Jens Frenkel- BackendDAEOptimize.mo, SimCode.mo - use equations like "a=der(b)" with a is not a state to replace a in all equations with der(b), This solves problems with fullRobotR3 initial equations.
8d7d7de779Adeel AsgharRemoved wish-list document since Adrian already added it to trunk.
91a22525a8Jens Frenkel- BackendDAEOptimize.mo, BackendDump.mo - add dump for aliasvariables - BackendVariable.mo - add function varBindExp
6bf8d3ed64Adeel Asghar- added OMEdit wish list
b1ba2c8f59Jens Frenkel- BackendDAEOptimize.mo - implement new features: - remove constant equations from simple equations - add alias variables to BackendDAE.DAE.aliasVars - BackendDAEUtil.mo - add function addAliasVariables
18d67a85acJens Frenkel- BackendVariable.mo - reimplement isVariable - BackendDAEOptimize.mo - use new feature removeParameterEqns - SimCode.mo - implement new feature: sort the bound parameter equations in right order. - fix some testcases of mosfiles - AlgorithmArrayEqn.mos: delete generated files - EventIteration.mos: delete generated files - InOutStrings.mo: use parameter to test also simulation - ModelBalance1.mos: delete generated files - ModelBalance3.mos: change number of equations because of new feature remove parameter eqns
7ffa927628Adrian Pop- report an error when file is too large to read into a MetaModelica string on 32 bit platforms.
ad8c207f23Adrian Pop- Workplan-status-estimates.xls updates.
bc6c6f1273Jens Frenkel- BackendDAEOptimize.mo - fixe bugs for function removeParameterEqns - BackendVariable.mo - add function setBindValue - SimCode.mo - check also bindvalue for inital value
47332d6bffAdeel Asgharremoved the unused reference of component and Inheritance Annotation.
ec4004c76dJens Frenkel- BackendDAE.mo -add type IncidenceMatrixElement - BackendDAEOptimize.mo - add function removeParameterEqns Detect all equations with only one time depend variable and check if it is a time independend variable. In case of time independendce it add a bind expression and remove the equation --> this solves the problems for Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis but testsuite does not yet work, use debugflag "optimizeParameter" until testsuite problems not fixed - BackendDAETransform.mo - got ride of some unnessesary integer operations - BackendEquation.mo - add function equationDelete (used for removeParameterEqns) - BackendVariable.mo - add function setBindExp (used for removeParameterEqns) - CevalScript, Main, SimCode, XMLDump - use removeParameterEqns - ExpressionSolve.mo - reimplement function solve3 - Derive.mo - delete case for derive DAE.BCONST because derive of false is unkown - uncomment case for DAE.RELATION because The derivative of c > d is not der(c) > der(d). It is the derivative of (c>d) "der(c>d)" and this is perhaps NAN for c equal d and 0 otherwise
2b2f8a75fbJens Frenkel- BackendDAECreate.mo - lowervarkind StateSelect.prefer as STATE
6d327e0009Martin Sjölund- Fix Compiler/runtime/corbaimpl.cpp (use the same path as Settings.getTempDirectoryPath() as the temp-dir) - Updated OMShell, so it does not assume /tmp is the tmp-dir
5d7803ce04Martin Sjölund- Fix Compiler/runtime/corbaimpl.cpp (use the same path as Settings.getTempDirectoryPath() as the temp-dir) - Updated OMShell, so it does not assume /tmp is the tmp-dir
7ff67f69baMartin Sjölund- Fix Compiler/runtime/corbaimpl.cpp (use the same path as Settings.getTempDirectoryPath() as the temp-dir) - Updated OMShell, so it does not assume /tmp is the tmp-dir
24df0def77Martin Sjölund- Fix OMEdit compilation on Linux
576d3d0901Martin Sjölund- Fix compilation on OSX using new Qt
45b8a7d038Martin Sjölund- Fix compilation on OSX using new Qt
6503f60ac3Jens Frenkel- Derive.mo - add derivativeTime of abs - use type to generate zero - check if call have only parameters -> no derivative of call needet - Expression.mo - use type to generate zero - vectors are scalar arrays -> for function makeZeroExpression - SimCode.mo - use Expression.expSub, Expression.negate, ... - error message from translateModel commented out because of testsuite
6962507eebJens Frenkel- BackendDump.mo - add number of algorithm - SimCode.mo - add case for algorithms to function createNonlinearResidualEquations
36319a6bceJens Frenkel- add {model}_functions.cpp and {model}_functions.h to target
6934e57e71Jens Frenkel- BackendDAECreate.mo - removed unused variable var from lowerEqn - SimCodeC.tpl - add STMT_REINIT (Simulation does not yet work, but code generation)
74b3e9fa02Martin Sjölund- Added function cevalStringAppendList - Added a notebook for basic MetaModelica types
14310bf43fAlexey LebedevFix for bug: #1328 Added a check for recursive short class definitions (so that compiler does not enter infinite loop). Also added a test case
e152352a7dJens Frenkel- fix for bug #1368 - collect zero crossings inside loops using loop variable range
3de8670200Martin Sjölund- Defer the check of Interactive.typeCheckFunction when adding functions through CORBA. The check needs to be done in the new environment if the function is recursive or has other dependencies that were added in the same sent command. - Added ceval of DAE.CONS
c4cae3fabbJens Frenkelupdate workplan
c1fd2f5682Alexey LebedevUpdated workplan
7a3e652781Adeel AsgharAdded the support for user defined shapes. Removed the QtSvgdll as it is not needed anymore. Caching the OMC commands so that library browsing become more faster. More enhanced library icons.
f328e3d427Martin Sjölund- Updated workplan
a0b0e693f4Per Östlund- Updated workplan.
6dfa3d2f8dMartin Sjölund- Fix for -disable-rml-trace configure option
5941b5d2cdJens Frenkel- Util.mo add function listIntRange3 - BackendDAECreate.mo start to implement: use the range of for_stms for findzerocrossings and detectimplicit discrete bug-1368
11939bfaafMartin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
3288b93e58Martin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
5e62d3ecb2Martin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
c609608833Martin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
667b2cada5Martin Sjölund- Fix for configure (got empty rmlc_bin if RMLHOME was not present)
88163970abMartin Sjölund- OMNotebook now respects LDFLAGS configure flags
16ba9bfb8aMartin Sjölund- Search for sqlite3.h in the configure script
786026a7cfMartin Sjölund- Search the whole path when looking for rmlc
5cf256d3e0Jens Frenkel- partial fixes for #1365 - add CREF(componentref=DAE.WILD for simulation case
cabffc1d76Jens Frenkel- partial fixes for #1365 - add basic initial Algorithms support
1eaa978f25Jens Frenkel- use option RTOpts.splitArrays() also in the Backend to avoid extendsion of arrays - SimCode.mo - try to collate the arrays before solving
f4c19c6ee2Jens Frenkel- partial fixes for #1365 - Derive.mo - bugfix for derive ASUB - return correct type of Zero for call expressions - Expression.mo - add case to makeConstOne so the function does not fail - ExpressionSolve.mo - return also asserts for solved expression Example for the equation 0 = a*(b-c) solved for b the assert (a!=0,"..") is added and the equation is solved b = c
3fd9340718Jens Frenkel- partial fixes for #1365 - ExpressionSolve.mo - add case for expressions like a*(b-c) solved for b or c - createSingleArrayEqnCode use matchingAlgorithm to solve the array equations correct
00cf5067a8Jens FrenkelPartial fix for #1365 - partial fix for 1365 - BackendDAETransform.mo - get states in eqns from incidence matrix - Util.mo - add function intNegative
bf77a73bfcAdrian PopPartial fixes for #1365 SimCodeC.tpl - handling ET_ENUMERATION where ET_INT is handled - handle string comparison via strcmp - handle ASUB(e, {index}) via string(et.ty)_get(arr, index - 1)
2cd93268f9Jens FrenkelPartial fix for bug #1365 - partial fixes for 1365 - call clearDifferentiated after remove simple Equations - abs() and sign() are only discrete expression if all parameters discrete expressions.
46c01a5392Adrian PopPartial fixes for #1365 SimCodeC.tpl - fixed code generation for enumeration casting - handling integer(...) builtin operator - write more information about not handled ASUB in the generated code. - updates to testsuite/libraries/msl31/simulate/Modelica.Electrical.Digital.Examples.mos due to changes in codegen.
472a8875d9Anton SodjaUpdated export to Dymola mat-file format -- also integer and boolean variables are now stored in the file.
d5045e7979Adrian PopHelp for dealing with bugs: #1365 #1364 - code for sharing crefs (too slow for now so disabled) in ComponentReference.mo - use Expression.makeASUB everywhere where DAE.ASUB is created so we can check if the given expression is a cref and give a warning if +d=checkASUB is on. - function Expression.makeCrefExp will display a warning if +d=checkDAECrefType is ON and we give a *different* type than the one already present in the cref. - flags +d=checkASUB and +d=checkDAECrefType should be used with -trace to see where the functions that are buggy are actually called! - fix warning in Compiler/susan_codegen/SimCode/SimCodeC.tpl for equations: enum = pre(enum) by casting: enum = (modelica_integer)pre(enum) previously it only added cast for ET_INT, now it handles also ET_ENUMERATION - maybe we should create *ALL* expressions via functions so we can easily check if the typing is OK!
216f944114Martin Sjölund- Allow resizing the OMEdit main window so that it fits on smaller screens
1801082b6bMartin Sjölund- Adding a MetaModelica optimization: (a,b,c) := match ... is now translated to a tuple assignment instead of pattern-matching assignment - This reduces total memory consumption by around 33%
96745727fdMartin Sjölund- Simplified some MetaModelica types in DAE.ExpType
b72e5c7318Jens FrenkelFixes for #1365 - bugfix for traversingDivExpFinder, now Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum simulates
126049fa0dAdrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF - use ComponentReference.makeCrefIdent and ComponentReference.makeCrefQual when building DAE.CREF_IDENT and DAE.CREF_QUAL
28b548a451Lennart Ochel- fixed handling of algorithms for symbolic jacobian - added some testcases
191b6bd7c6Adrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF - use ComponentReference.makeCrefIdent and ComponentReference.makeCrefQual when building DAE.CREF_IDENT and DAE.CREF_QUAL
c657ee0ae9Adrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF - use CevalScript.buildCurrentSimulationResultExp instead of building the component reference for the simulation record directly.
a738409107Adrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF - remove tabs in some files.
178e9a2bc5Adrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF
c5111f1ce7Adrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF
7da34553edAdrian Pop- use DAE.CREF directly without re-creating it (with the same values).
0754853da0Jens FrenkelFixes for #1365 - bugfix for Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 cause of an error somewhere the type of the expression CREF is not equal to the componentreference type
7d547f0ccdMartin Sjölund- Changed the interactive buffers to no longer be read-only, so we can use the API to modify them - Added a testcase for renaming components inside read-only files
0656f46e86Adrian Pop- increase hash table sizes and use a prime number of bucket size (the default is now defined in BaseHashTable.mo) - leave a space at the end in Unparsing.tpl
bbef335cafAdrian Pop- fixes for c_runtime/meta_modelica.c
5e3e12fce0Adrian Pop- remove spaces in DAE.ASUB printing (to make it exactly as ComponentReference) - got rid of most of Util.boolAndList which were not exactly needed - added more specific map functions that can check global list properties - updated tests due to changes in DAE.ASUB printing - changed the annoying "Modelica specifications" to "Modelica specification" in Error.mo and tests - get rid of warning due to missing newline at the end of Compiler/OpenModelicaBootstrappingHeader.h
b41fed1354Martin Sjölund- Inline some MetaModelica data constructors
27c54b93a3Martin Sjölund- Inline listEmpty and STRUCT_HDR for records
10cfb34722Martin Sjölund- Some fixes for OMNotebook printing (removed the annoying debug boxes)
8171d2579fMartin Sjölund- Fix for Makefile.humbug (use the configured CFLAGS so e.g. -fPIC is used)
85f4086bd9Adrian Pop- constant evaluate Modelica.Utilities.Strings.substring - update tests due to changes of SimulationResult record
f45d17e5feAdrian Pop- fix RML weirdness.
3b3fa1dc6dAdrian Pop- fix bootstrapping in Windows OMDEV (link sendData when building .dll to get all depends of omcruntime).
8bb6677031Adrian Pop- get rid of rml_prim_once in Compiler/runtime/SimulationResults_rml.c - add $CFLAGS a bit later so people can use it to link libraries via MODELICAUSERCFLAGS in Compiler/susan_codegen/SimCode/SimCodeC.tpl - removed old comment from Compiler/runtime/System_rml.c
858bba6786Adrian PopPartial fixes for #1365 - link properly to get tables working. - display the name of the model in the SimulationResult record when failing.
2bdc23d549Martin Sjölund- Added support for the new special Library annotation, OpenModelicaCorba, which will use the configured Corba implementation to choose appropriate linker-flags for external functions
2f79bb55ccMartin Sjölund- Added support for SimulationResult (79/119 mosfiles succeed)
0adb618973Per Östlund- More work on SCodeFlatten. It can now remove all imports from EngineV6, but a lot of work still remains. - Changed Util.listMapAndFold to return the folded argument.
65666dbba7Jens Frenkel- Derive.mo - bugfix der(atan2(y,x))
bb059c3c24Martin Sjölund- Ported BackendDAEExt to OMC runtime - Note: This might also be a fix for some weird bugs, or stuff that just accidently worked before (the old code would use the second argument of functions taking only 1 argument)
0a27d7eae4Jens Frenkel- BackendDAETransform.mo - add BackendDump. Derive.mo - add derivative of atan2
3de1383b52Martin Sjölund- Added Corba implementation for the bootstrapping. Use with caution; OMEdit queried omc so much 8GB RAM used in a jiffy.
7055f3a757Martin Sjölund- Use Absyn.pathString2 in Dynload_omc.cpp (easier code to maintain)
131082046eMartin Sjölund- Fix exception handling infinite loop on Linux; enable it on Windows (seems to run properly there) - Added Dynamic function loading to the bootstrapped compiler (mofiles is now at 100% using the bootstrapped compiler)
a3ad87a2c4Per Östlund- Fixed invalid propagation of connection sets from redeclared components (commit 7185 to OpenModelica-1.5.1-Maintenance branch). - Take face of connector components into account when connecting potential connectors (commit 7173 to OpenModelica-1.5.1-Maintenance branch). - Optimized findEquSet and findFlowSet to terminate earlier in some cases. - Cleaned up ConnectionGraph. - Cleaned up connection handling in InstSection. - Updated test cases that changes due to equation ordering changes.
394b87b7cdMartin Sjölund- Change try/throw/catch implementation on OMDEV to setjmp/longjmp (fixed the bug by copying the whole data-structure instead of only backing up the first 1/16 of the array)
9d8d0b9115Martin Sjölund- Fix error in TplAbsyn.mo - Update expected output of testcase SusanTest.mos
1220ef11b3Adrian Pop- return on top catch
c6c0839b73Adrian Pop- properly use the old throw for now in Windows (switch to it when working properly)
6c082261b0Pavol Privitzer- Susan now: - translates case local names into function wide local names and has nicer name prefixes to have more easily distinguishable origins of the generated identifiers - respects full 'hasindex' semantics with a new keyword 'from' added that is used instead of indexOffset= option new syntax is: lst |> elem hasindex myIndex3 from 3 => '<%elem%><%myIndex3%>' the 'from' keyword is optional (and can only together with 'hasindex'); default is 0 - does not hide implicitly scoped patterned matched record fields in 'if' expressions (only directly tested implicitly scoped values was visible after 'then' till now) - has much better 'let' scoping, to be continued ... - has better emptiness testing of Texts in 'if' expressions (does direct Text value test for emptiness instead of translating it to string) - reports better errors for options; mainly does not allow a typo in option names and non-sense options are errors now
0f6097240cAdrian Pop- use the old throw for now in Windows (switch to it when working properly)
b33ff76dd8Martin Sjölund- Change MetaModelica try/throw/catch to setjmp/longjmp implementation as it gives a 3-10x speedup
9f047761aaMartin Sjölund- Added preprocessor macros MMC_TRY, MMC_CATCH, MMC_THROW to easier change exception implementation in the bootstrapped compiler
8c76e29261Per Östlund- Ported commit 6987 from OpenModelica-1.5.1-Maintenance branch to trunk (fix elabMatrixCatOne to take care of dimensions).
013e48536fMartin Sjölund- Remove Absyn.GOTO, Absyn.LABEL and Absyn.ALG_MATCHCASES from the compiler
8aaf0151ffPer Östlund- Added flag +orderConnections=[true|false] that enables/disables alphabetical ordering of connections (default true). - Added API calls setOrderConnections and getOrderConnections.
cc8cc33970Martin SjölundPartial fixes for bug #1365 - Fixed generation of invalid C tokens in the generated simulation/function headers
805abaf09eMartin Sjölund- Avoid duplicate records with the generated header for bootstrapping if several external libraries use them
7f254f1a63Adeel AsgharUpdated the screen shots in user manual and added the page numbers. Changed the Open Modelica to OpenModelica in OMEdit source code. Added the new keywords to syntax highlighter class.
ea2cc3c83cWilli Braun -Fix for bug in linearize testsuite
2e2d5a838bAdrian Pop- added new API getNamedAnnotation(class, name) to get non-standard annotations: getNamedAnnotation(Modelica.UsersGuide, __Dymola_DocumentationClass) -> {true} getNamedAnnotation(Modelica, __Dymola_DocumentationClass) -> {}
0fb2618961Martin Sjölund- Added boxptr_intLt,intGt,realLt,realGt - Fixed Util.listMap6 RML error - Moved Parser/OpenModelicaBootstrappingHeader.h to Compiler/OpenModelicaBootstrappingHeader.h - It should also be used by Compiler/runtime so it makes more sense to keep it here - Simulations and functions now generate a _records.c file containing record declarations - This is needed so that external C functions can also construct metarecords - Updated Unparsing.mo (no longer needs to duplicate the record declarations)
ba88cbb9d0Adrian Pop- fixes for OMDev MinGW
acabe7bb4cMartin Sjölund- Changed the SimCode data structure (RecordDeclaration is now stored in SIMCODE and FUNCTIONCODE instead of in every function individually)
e7e12a0cacWilli Braun- update synchronous events solver: dassl2, rungekutta - some bug fixes - remove discrete variables in Algorithms while continuous integration - update some testcases
d8ef1b00feMartin Sjölund- Fix MM listDelete() for index other than 0
42f902b19bPer ÖstlundFixed for bug #1361: - Fixed elaboration and constant evaluation of ranges with negative step. - Updated test case mofiles/drmodelica/RangeVector, so that it's now correct. - Updated test case mosfiles-nosim/ZeroDims that changed due to commit 7161.
79b98beca2Martin Sjölund- Fixed MM listDelete (also handle index 0)
c8df72632aMartin Sjölund- Rename Types.ndims to Types.numberOfDimensions (ndims is a Modelica builtin operator and gives us conflicts)
d39eb192edMartin Sjölund- Fix bootstrapping OMC on OMDEV (can't link to non-portable UUID libs; should be rewritten in some portable C way)
c8bb2af6e1Adrian PopFixes for bug: #1315 - manually ported from: https://openmodelica.ida.liu.se/svn/OpenModelica/branches/OpenModelica-1.5.1-Maintenance - fixes for bug 1315 - relaxed typing if checkModel is ON: TypeName should be ok to match a TypeName[0] - added tests for: Modelica.Mechanics.MultiBody.Visualizers.Internal.Lines in testsuite/libraries/msl31/Modelica.Mechanics.MultiBody.mos - added more tests for zero dims in testsuite/mosfiles-nosim/ZeroDims.mos
41286c7e72Martin Sjölund- Push Absyn.Info through to more error messages (none that are actually tested in the compiler it seems)
f6faa47206Adrian Pop- fix for OMDev MinGW compilation of Compiler/runtime/systemimpl.c
ebcfe50438Martin Sjölund- Fix for Error.updateCurrentComponent (field isReadOnly was always true in the externally defined because the field after it, fileName, was never 0)
e4a9e1d180Martin Sjölund- Print a newline after a version request
07870e4c6eMartin Sjölund- Fix compilation on OSX
dce2c55eedAdeel AsgharAdded the basic syntax highlighting code.
8af7fc5172Martin Sjölund- Fix code generation for assigning output variables that are function pointers
f3c24dcebbMartin Sjölund- Fixed some function definitions so it will be easier to use 64-bit integers in the simulation/function runtime
cc0d565959Martin Sjölund- Fix for intMod (should only return positive results) - Change for realString (same precision as RML so rtest diffs are smaller)
c565abeafbMartin Sjölund- Adding missing file Compiler/Unparsing.mo (needed if omc was not already compiled)
8ba1bc71c7Martin Sjölund- Fix for parsing of the replaceable prefix in the RML version of the parser
130fe76112Martin Sjölund- Additional fixes for bootstrapping (parsing, etc)
7532ed250cMartin Sjölund- Fix the testsuite
db22d3e774Martin Sjölund- Added SimulationResults_omc.cpp - Added the remaining external functions in System_omc.cpp - Main.main now passes the gcc linker and produces a 15MB executable that at the very least can display the help text on start (the main() function ignores argv,argc)
b49446711cMartin Sjölund- Added new API call generateHeader(), for generating the uniontype header for the parser external code - Uses a new Susan module for unparsing - Added the OMC version of the ANTLR parser to the default make target - Note: Due to mutual dependencies the generated header will point to different constants for the record description in external code. To produce more efficient code, all uniontype record descriptions need to be generated in its own C-file (last on the GCC line)
1df09553a0Martin Sjölund- Started updating the generation of files for parsing (to support bootstrapping)
5ec29c5ff8Martin Sjölund- Added OptManager_omc.cpp
b4b4986f8aAdeel AsgharFixed a small problem with component's context menu.
42a1391ba5Adeel AsgharFixed the PlotWidget crash issue. Removed the extra files that are not being used. Modified the code for the Library Icons.
74028d6e07Martin Sjölund- Small fix in Compiler/runtime/Makefile.in (config.h dependency)
7f1bc7c15dMartin Sjölund- Fixes for OMDEV
ec69d87cdcAdrian Pop- fixes for OMDev MinGW
f71200ed81Martin Sjölund- Implement System.setEnv for System_omc.cpp
4eb4da6e22Martin Sjölund- Update for OptManager.setOption (no more return value since it always returned true)
563d09beccMartin Sjölund- Completed implementation of Settings_omc.cpp
4dc54cb531Martin Sjölund- Updated the external C code for Settings.mo - If OPENMODELICAHOME is available and OPENMODELICALIBRARY is not, we look for libraries in the default locations
8e22235bceMartin Sjölund- Updated OMShell-terminal to try "omc" if "/bin/omc" is unavailable
82f7a6e887Martin Sjölund- Add the remaining functions in Error_omc.cpp
3bd28c2596Martin Sjölund- Implemented the rest of RTOpts_omc.cpp needed for Main_main
363d69a2a0Martin Sjölund- Changed dynload.c to Dynload_rml.cpp and fixed the compilation errors that were warnings in C - Added a (stub) Dynload_omc.cpp
3b3e492c60Martin Sjölund- Fix compilation on OSX
152ee105a0Martin Sjölund- Added corba and socket stubs to libomcruntime.a
5dc4f976a2Martin Sjölund- Added a Makefile.common for Compiler/runtime/
b6dcbbb3efMartin Sjölund- Added libomcruntime.a (stub) implementations for BackendDAEEXT
a158e24ba7Martin Sjölund- Added an error message in manner that plot() usually fails: Return Values.STRING(msg) instead of Values.BOOL(...) (this is very good for scripting and keeping the types consistent) - Anyway, if we compiled --without-sendData, we now return an error instead of success - This error is returned through CORBA instead of stderr + return success - OMEdit displays this error message if we use an OMC without sendData support
ae489aa83bAdeel AsgharChanged the checkModel dialog to textbox. Changed the usermanual path for unix users. Removed the extra omc instance used for library loading.
ba4dde62aeMartin Sjölund- More external function implementations
85ebccdc3dMartin Sjölund- Implemented some additonal runtime functions for libomcruntime.a
01eaaaf3b1Martin Sjölund- Added more external functions for System_omc.cpp
dbdf0f489dMartin Sjölund- Implemented libmodparomc.a (the stub version of modpar)
b7290ea0e6Martin Sjölund- Implemented UnitParserExt_omc.cpp
d70d44ecfdMartin Sjölund- Implemented UnitParserExt_omc.cpp
68ad0d3e47Adrian Pop- fixes and tests for updateComponent
173dd4d227Adrian Pop- fix Compiler/runtime/systemimpl.c for MinGW.
d80f5a8656Adeel AsgharAdded the user manual and about OMEdit in the OMEdit menu. Created a doc folder and added the documentation files in it.
e04f2b19a2Martin Sjölund- Further changes from char* to const char* - Now all strings in the simulation runtime should be const - Implemented some additional external functions for libomcruntime.a
ad219abaf4Adeel AsgharAdded the component attributes widget. Updated the Modelica Documentation view. Added the status bar to project tab.
cbdc3b5d3eMartin Sjölund- CevalScript.generateFunction now only generates code for the calculated dependencies
f351665bedAdrian Pop- renamed DAEEXT.mo daeext.cpp to BackendDAEEXT.mo BackendDAEEXT.cpp.
0e44d32169Adrian Pop- removed Compiler/test_codegen as is not used anymore since A LONG TIME NOW.
306f7dcce4Adrian Pop- removed old files for generating/checking RML based signatures.
a25e642370Adrian Pop- small cleaning, running make in Compiler/rml2sig is not needed!
86c622a6e0Adrian Pop- moved Compiler/WhatDoesNotWork.html to doc/administration/WhatDoesNotWork.html
969a3925d5Adrian Pop- moved RML->MetaModelica translation tool from Compiler/rml2mmo to /tools/rml2mmo
17d5c828a4Adrian Pop- deleted very old report (even in Swedish)
b5560011a2Adrian Pop- moved old Compiler/tools/rmldoc tool to /tools
dd0ae4955dAdrian Pop- do not use -ansi when compiling the code as strdup is not ANSI!
864a2ddfd0Martin Sjölund- Fix so that Susan runs (SimCodeC.tpl->SimCodeC.mo works) using bootstrapped OMC - It uses too much stack so we can't run it in the testsuite, but the test has been updated so that it is easy to try it yourself
e80dce9126Martin Sjölund- Fix typo in BackendDAEUtil (broke bootstrapping but not RML)
7e8bf7e7f2Martin Sjölund- Changed the C runtime to allow the use of const char* instead of char* for string literals - We no longer need to strdup every single string literal we find. This should produce a lot more efficient code if someone likes priting a string constant every time step, etc
15052ddcdcJens Frenkel- reimplement some functions using not equationList and travese the array of equations directly
306b59c2b6Jens Frenkel- reimplement some functions using not equationList and travese the array of equations directly
d4dc6015baJens Frenkel- reimplement one functions using not equationList and travese the array of equations directly
1320b02c7fJens Frenkel- reimplement one functions using not equationList and travese the array of equations directly
29023cb9c0Per Östlund- First revision of the new SCodeFlatten module. It's not used yet.
c3c75be3a7Pavol Privitzer- Susan updated tests to be all OK - C# codegen for non-linear strong components
e2bbc5b441Martin SjölundFix for #1360 - We now copy string outputs of functions - Previously, we could overwrite strings and get really weird results - Added testcase StringPool.mo
efe933268fMartin Sjölund- Fix for MODELICA_ASSERT in the simulation runtime - We now generate code such that we only allocate the message string if the condition is false
0e522bb4e6Adrian Pop- fixed a small bug with the check for DynamicSelect/OnMouse* in annotations.
421a1d79abAdrian Pop- update version to 1.6.0
8b19997436Adrian Pop- latest build.
914bdf674dAdrian Pop- latest build.
43e2c380a4Martin Sjölund- Fix warning in Settings_rml.c
ea3a33e7b1Adrian Pop- added a new function interactive renameComopnentInClass that doesn't do instantiation.
ccd240d504Adrian Pop- fixed more problems with annotations. - now if we fail to instantiate an annotation we return it as it is: { annotation(...) } - if an annotation is not present at all we return {} instead of empty string. - moved interactive tests to testsuite/interactive - Lookup.lookupVar2 now only prints an error message if +d=lookup is present (not on +d=failtrace). - added all extra tests into testsuite/interactive/interactive_api_annotations.mos
c747844141Martin Sjölund- Disable SQLITE3 linking on Linux (keep the configure line there but commented out in case we need it in the future)
8dccb913d8Martin Sjölund- Added configure feature rml-trace (to be disabled by the Debian/Ubuntu builds as the executable shrinks 5-6MB)
429e01ec44Mohsen Torabzadeh-Taritrying to fix the initial equation problem in impulse response
a72f6b2814Per Östlund- Fixed propagation of enumeration indices when connecting arrays. - Fixed connections with multi-dimensional arrays. - Added test case mofiles/ConnectEnumArray.
92b0ff2f47Mohsen Torabzadeh-TariDrcontrol
2798b5a509Adrian Pop- fix Linköping, the pour ö gets shredded to pieces sometimes.
6f047428e9Mohsen Torabzadeh-Tariupdating DrControl.onb
cbd0fe5031Mohsen Torabzadeh-TariUpdating DrControl
4e5629d7eaAdrian Pop- add an extra newline at the end of h files in Compiler/susan_codegen/SimCode/SimCodeC.tpl - fixes in Compiler/runtime/config.h - other smaller issues
bfc53f1207Martin Sjölund- Fix for System_writeFile
fd38f92f20Martin Sjölund- Update some external definitions in System.mo
01c3abefd2Martin Sjölund- Added an error message for match expressions like: match in1 local input Integer i (input/output of a local component is not allowed)
d0e41870baJens Frenkel- BackendEquation.mo add function traverseBackendDAEEqnsWithUpdate - BackendDAEUtil.mo add function traverseBackendDAEArrayNoCopyWithUpdate
5daa72b692Martin Sjölund- Fix System.time for bootstrapping
b2f34f557eMartin Sjölund- Improve CevalScript.cevalGenerateFunction - No longer does lookup+inst again on every function (this was already done by elabExp) - generateCode() for MainTest.mos now only generates code; it does not compile it (saves 1~2 minutes of testsuite time and reduces the RAM requirements for running the testsuite)
e94da17b8dAdrian Pop- delete .mo files on clean - fixes to Compiler/omc_profiler/Makefile.omdev.mingw to link correctly.
21a9be2e67Adrian Pop- ConnectUtil.mo: small speedup by verifying face first, then the others - SimCode.mo: small comment.
af2a3cd382Adeel AsgharOptimized the Library Loading code. Updated the documentation viewer code to support external links. Optimized the components and connectors drag and drop code.
c6f7d6b258Martin Sjölund- Fixed the generateCode() API call
18ca920c80Martin Sjölund- Fixed compilation of Main_main.so (linking still fails)
2ab96fd1d4Martin Sjölund- CevalScript.generateFunctions speed-up (breaks error messages in one testcase) - This change is needed (or something similar); the speed-up for bootstrapping is ~100 times - Fixes for bootstrapping
b531fa86e8Martin Sjölund- Added some functions for bootstrapping
705caf2882Martin Sjölund- Added error message when a TCOMPLEX type has the wrong number of types - Fixed one such error in Patternm.mo
10a482da6fMartin Sjölund- Minor changes to failtraces
d46f6e703fMartin Sjölund- Minor syntax change
395b6f2200Martin Sjölund- Changed SimCodeCTest to SimCodeTest - It is more extensive; a lot more external functions - It also covers the DAE to SimCode translation (for functions)
be0db620ddMartin Sjölund- Susan update - Use Tpl.emptyTxt in the templates instead of a protected constant (bootstrapped OMC could not find it)
3fc615447bMartin Sjölund- Implemented some more external functions in libomcruntime - On Unix you no longer need to set OPENMODELICAHOME - It uses the --prefix from configuration - OPENMODELICAHOME still overrides that since most developers don't run make install
a06aaabdc7Jens Frenkel- reimplement some functions using not listEquation and travese the array of equations directly
8382d0ab9cMartin Sjölund- Added support for unit testing of SimCodeC.translateFunctions - Implemented some additional function in the bootstrapped runtime
a034170c80Martin Sjölund- Added support for solving polymorphic array types - Changed tuples to always contain boxed types - Improved matching polymorphic types for functions (function pointers always take boxed types)
6ca603e4e6Martin Sjölund- Removed some unused MetaUtil functions
2c67f13d31Martin Sjölund- Remove Absyn.VALUEBLOCK - Remove DAE.VALUEBLOCK - Remove DAE.STMT_MATCHCASES - Remove Convert.mo - These constructs were no longer needed since the match implementation was rewritten from scratch
898b934c41Martin Sjölund- Remove some now unused code from the pattern matching module
052a2a9094Martin Sjölund- Some minor OMEdit fixes - Set a proper Unix tmp-path except when on Windows - Change to this directory at program start since instantiation may cause files to be generated in the current directory
a4f9888577Martin Sjölund- Fix for arrayMap (no need to call listMap) - Some other minor fixes
6365717c41Martin Sjölund- New match implementation using Absyn->SCode->DAE->Done instead of Absyn->SCode->DAE->SCode->Absyn->SCode->DAE->Done - The meta testcases are almost 40 seconds faster now
e564918411Martin Sjölund- Improved instantiation of algorithm assignments (a separate function) - We only elaborate the expression at most one time. This is faster and does not produce duplicate error messages
aa171bbce9Martin Sjölund- Removed some useless information from the pattern matching algorithm
1855643ccbAdrian Pop- changed SES_MIXED.values to list to save memory (but no computer on earth will save you if you need to do permutations of 0/1 for 34 variables!). This should be fixed somehow.
5981b2465fMartin Sjölund- Fix type error in Util.mo
f072a116baMartin Sjölund- Re-compile SimCodeC using a modern Susan (no NONE is allowed)
28a46b03f2Adrian Pop- Util.arrayMap now works on empty arrays - BackendDAEUtil.incidenceMatrix now works directly on arrays and can generate normal or absolute index values. - made some other backend functions work on arrays directly. - some other memory usage improvements
e0cfa05b9cJens Frenkel- continue with redesign of listVar to traverseVar
579e6f6154Martin Sjölund- Update some RML syntax to MetaModelica
79713a798cMartin Sjölund- Update some RML syntax to MetaModelica
841b8ec938Martin Sjölund- Update some RML syntax to MetaModelica
36b290adecMartin Sjölund- Allow MetaArray to be treated as a TYPE in ClassInf
bf1047cf59Martin Sjölund- Use Error.mo for ClassInf.assertValid instead of printErrorBuf - This also works with getErrorString()
4fe3141f3eMartin Sjölund- Add debug_print to builtin env
e61143696eMartin Sjölund- Added support for Util.listMapMap in bootstrapped OMC
3ffc3ab2fbMartin Sjölund- Code readability for lookup when implicit scope names are involved
64f55d0766Martin Sjölund- Added boxptr_realString - Bugfix for boxptr_intReal
c6ee5c03feMartin Sjölund- Improved the error messages for bootstrapping slightly - Also fixed some RML/Modelica syntax clashes
47eac27bcbAdrian Pop- Inst.instantiateClass: clear the inst/type cache at the end of instantiation. - SimCode.createResidualEquations: less memory consumption. - some fixes in Util.mo (bad judgment)
4a7818abb0Martin Sjölund- Bugfix for instClassDefHelper (used for MetaModelica, TCOMPLEX, types) - Do lookupType instead of lookupClass for functions
03749a2aecAdrian Pop- faster and (far) less memory usage for some functions.
5df5efe494Martin Sjölund- Fixed output assignment of traverseBackendDAEOptEqnWithStop
f4b2749381Martin Sjölund- Remove references to modelica_parser and flat_modelica_parser from the configure script
7c823c0bf9Adeel AsgharAdded the code to resize the components.
cc8a8d32baAdrian Pop- modelica_parser/flat_modelica_parser directories are no more. - so for "clean" target they should not be cleaned!
3700b6421eJens Frenkel- continue with redesign of listEqn to traverseEqns
f81e0297c1Adeel AsgharRemoved the getinstallationdirectory command. No need to get the installation directory since we have the openmodelicahome environment variable that is pointing to installation directory.
343055e9f0Adeel AsgharReferenced the new images in the qss file
5851b03ce5Adeel AsgharAdded the new splash screen and images for model, package, record etc.
e47bb5e522Adeel AsgharDeleted the old annotations file and ico images
f7e94f574cAdeel AsgharAdded the code for documentation view of any component. Make the annotation 3 default annotation for omedit Added the code to load a .mo file.
0d7a07d5b4Martin Sjölund- Added Builtin stringEqual - Fixed some old RML syntax - Made some proper error messages for Patternm.mo instead of INTERNAL_ERROR
4672844214Jens Frenkel- to save memory start to get rid of some BackendDAEUtil.equationList by traversing the equation array direct without convert to list
82d3448205Per Östlund- Use Error.addSourceMessage instead of Error.addMessage when printing inStream and actualStream elaboration errors. - Turned on stream connector balance checks by default, because models using stream should follow Modelica 3 rules anyway. - Added Modelica.Utilities.Files.list to libraries/msl31/Modelica.Utilities test case. - Added a couple of stream test cases.
b294d0d96bJens Frenkel- get rid of some BackendDAEUtil.varlist - BackendDAEUtil.mo - fix rml bug, replaceable type Type_a subtypeof Any was not defined
4a56c0ce42Martin Sjölund- Removed the old ANTLR2 parsers from the trunk (previously, only the walker was removed)
4d693be257Per ÖstlundFix for bug #1354: - Don't add binding equation for variable of type that extends basic type. - Added test case mosfiles/ComplexTypeEquationCount.
cbe840cb42Martin Sjölund- Replaced the old /trunk with /branches/sjoelund-functiontree
2f7d084457Martin Sjölund- Replaced the old /trunk with /branches/sjoelund-functiontree
180751e524Willi Braun- added assert() and terminate() to c_runtime - moved Linearization stuff to BackendDAEOptimize - fixed index bug for partial and numerical derivative in Linearization
6d2a3179e7Martin Sjölund- Fix RML oddities
a0e71ef016Martin Sjölund- Merging
3701562084Martin Sjölund- Refactoring/Removed RML weird stuff
2755d8904eMartin Sjölund- Changed the pattern-matching implementation (for statements, now STMT_ASSIGN_PATTERN) - This uses the DAE instead of converting back to Absyn to create a match-expression - It should be faster and work more often
7576d90b01Adrian PopMore fixes for bugs #1347 #1335 - fixed an issue when annotation was not find in a class containing multiple sections. - added more tests in testsuite/mosfiles-nosim/interactive_api_annotations.mos
08b8c6eb99Per Östlund- Removed error in Interactive.evaluateWhileStmt that immediately exited the while loop. - Fixed elaboration of graphical annotations. - Moved meta/PartialFn15.mo to failing tests. - Moved some libraries/msl221/ tests that are not part of the normal testsuit to failing tests, since they are part of the parallel testsuit. - Updated parallel test script.
6c5ddac7bfWilli Braun - some linearization bugfixes - add testcase for numerical derivative
00accde8f8Per Östlund- Fixed issues introduced in r6938. - Updated parallel test script.
e163a6cc7fMohsen Torabzadeh-TariOptimization problem support tokens OPTIMIZATION and CONSTRAINTS are added to BaseModelica_Lexer.g and Modelica.g Absyn.mo : new record CONSTRAINTS SCode.mo : uniontype Restriction updated with R_OPTIMIZATION Dump.mo: unparseRestrictionStr updated Absyn.mo: printClassRestriction updated tith Absyn.R_OPTIMIZATION() ClassInf.mo: trans updated, new record in State
7b1ac26ae0Per Östlund- Fixed mistake in Util.listSplit which broke test case meta/PartialFn8. - Added test of listSplit to meta/UtilTest.
80a8c89995Per Östlund- Added work-around for checkModel when BackendDAECreate.lowerArrEqn gets an array equation of unknown size. - This fixes the mosfiles/ArrayParameterSize test case.
3f5c6da912Per Östlund- Fixed array reduction with unexpandable range for checkModel. - Fixed v[i] := (function returning tuple). - Added libraries/msl31/Modelica.Utilities test for Modelica.Utilities.Streams.readFile. - Added Modelica.Math.Vectors.reverse to Modelica.Math test case.
4489c318f0Martin Sjölund- Merging
668b81c6a3Adrian PopFixes for bugs: #1353 #1298 - final parameters and constants are NOT input in record constructors. - disable checking for duplicate modifications via (Mod.lookupCompModificationFromEqu) in InstExtends.mo if the EqMod modification is typed and the sub modification is not. - keep the variability of the component in records - use the variability of the default bindings also when calculating the constant-ness of the call - update tests testsuite/libraries/msl31/Modelica.Magnetic.FluxTubes.mos (now correct) testsuite/records/RecordModifications.mo (improved it) testsuite/records/RecordVariability.mo (now display constant instead of input) - some other small changes (mostly indentation).
712d8542cdMartin Sjölund- Fix for HashTableStringToPath (using Util.id as its String->String functions) - This should also fix other similar issues with the type inference of polymorphic types
31881e0f8cMartin Sjölund- Merging
b4e2145682Martin Sjölund- Fixed some weird RML syntax
49e354873cDaniel HedbergFixed bug in constant evaluations of functions with multi-dimensional array assignments.
23b0571aefMartin Sjölund- Fix some RML stuff
a44447baf9Martin Sjölund- Fix RML duplicate element
f077ddc3d5Per Östlund- Implemented inStream for the general case (needs a lot more testing though).
ce7007f6fbMartin Sjölund- Fix some duplicate declarations
68cc076d80Martin SjölundFix for #1352 - Add error messages for invalid complex types
249ff87338Martin SjölundFix for #1351 - Add an error message if a local section contains non-component elements
4a43d8f969Martin Sjölund- Use Settings.mo instead of readEnv to get OPENMODELICAHOME
a8cbf2c123Martin Sjölund- Fix merging compilation error
75076dc943Martin Sjölund- Merging
7da267c73bPer Östlund- Fixed issues with Types.getDimensionSizes returning -1. - Rewrote Static.sameDimensions to use DAE.Dimension instead of Integer. - Added testcases mosfiles/ArrayParameterSize and mofiles/ArrayInvalidDims.
a7098d0158Martin SjölundFix for bug #1350 - Check for invalid named fields in pattern record deconstructor
55e542f244Per Östlund- Relaxed type requirements of Util.listGetMemberOnTrue to make it more versatile. - Added Util.listRemoveFirstOnTrue. - Implemented inStream and actualStream for one-to-one stream connections.
730b4a311bMartin Sjölund- Merging
1fb4bdb625Martin Sjölund- Merging
7412337f8aMartin Sjölund- Fix type of ENUM_LITERAL expressions in Susan
d7389b4050Per Östlund- Fix for bug #1349.
b6437a9a74Martin Sjölund- Merging
f904657724Adrian Pop- update OMNotebook project (NotebookParser is not needed anymore).
1de7c7d9eeJens Frenkel- BackendDAETransform.mo - rewrite replaceDummyDer2 and replaceDummyDerOthers, use one function called traverseBackendDAEExpsEqn for both
475d82a359Jens Frenkel- BackendEquation.mo - add functions traverseBackendDAEExpsEqnList, traverseBackendDAEExpsEqn - use traverseBackendDAEExpsEqnList for equationsCrefs - BackendDAEUtil.mo - use BackendEquation.traverseBackendDAEExpsEqns for traverseBackendDAEExpsEqns - BackendDAECreate.mo - use BackendEquation.traverseBackendDAEExpsEqns for expandDerOperator
1b999ceb28Jens Frenkel- BackendDAEUtil.mo - bugfix for traverseBackendDAEExpsEqn
55a44b08fcMartin Sjölund- Fix for SimplifyTest.mos
4725bf4184Jens Frenkel- BackendDAEUtil.mo - speedup isDiscreteExp
bdebfbf0a9Jens Frenkel- BackendDAECreate.mo rewrite isAlgebraic using Expression.traversExpTopDown
276fd186d4Jens Frenkel- BackendDump.mo - fix bugs (BackendDAE.Variables to Variables and remove newline for zero crossings) - BackendDAEUtil.mo - use traverseExpTopDown for isDiscreteExp, statesEqns, incidenceRow - delete unused function incidenceRowStmts - BackendDAECreate.mo - delete function expandDerOperatorStmts and use DAEUtil.traverseDAEEquationsStmts
7b43eea2b8Per Östlund- Use traverseExp in CevalFunction.optimizeExp to traverse all expressions. - Use the cache in CevalFunction. - Updated parser/ParseCompilerSources test.
14f94612e0Martin Sjölund- Merging
94824fad2fAdrian Pop- make 3.x annotation version the default.
5a221113e8Adrian Pop- update the White December milestone document.
8d9084322bAdrian Pop- fix new introduced RML warnings - do not load Cevalfunc.mo in testsuite/meta/LoadCompilerSources.mos as it gone! - update SimCodeFMU.mo
c5d417f6c4Per Östlund- Fixed slice assignment with step values other than one in CevalFunction. - Added test case mofiles/FunctionEvalSlice to test this fix.
e597daa9afMartin Sjölund- Merging Interactive.mo
502b665fd6Martin Sjölund- Merging (except Interactive.mo)
a7d76495dfPer ÖstlundFix for bug #1346: - Allow InstSection.instArrayEquation to not expand non-expandable expressions.
8b2a7af13aPer Östlund- Changed Lookup.lookupIdentLocal to have the same behaviour as lookupVarLocal, i.e. continue searching if the current scope is a for loop scope. - Implemented record assignment in CevalFunction. - Changed test case mosfiles/AlgorithmForInClass so that it doesn't use uninitialized variables. - Removed loading of MSL from some tests in mosfiles-msl22 that doesn't use the MSL.
eb028e2720Adrian PopFixes for bug: #1347 #1335 - for annotations that contain references to the model parameters the class is instantiated and the parameters in the annotations are evaluated. - fixed getDocumentationAnnotation
aa94297b69Martin Sjölund- Added testcase 10_pamtrans to the testsuite
1a0bff629bMartin Sjölund- Added boolEq (bootstrapping) - Fixed MetaModelicaDev testcases (they need +d=noevalfunc so the new CevalFunction does not try to ceval external calls)
0041e9d2bdAzam ZiaAdded initialize function for FMU C file. fmu_model_interface.h contains structure that will be used to store model status information. Added checkInvalidState function in fmu_model_interface.c file to verify if a model is in invalid state or not. Added some code to fmi setter/getter functions also.
dab8cd6fc2Per Östlund- Implemented more of CevalFunction (now available with comments!), so that it's now more or less functionally equivalent to Cevalfunc. - Removed Cevalfunc and switched to CevalFunction. This makes instantation of EngineV6 more than twice as fast. - Removed reduction to valueblock transformation in InstSection. - Fixed some type issues with Static.expandArray. - Implemented constant evaluation of fill in Ceval. - Added Util.listThreadFold. - Fixed listSplit so that the second list isn't reversed. - Fixed issues in Types.typeConvert with unknown dimensions. - Updated ForIterator1.mo in mofiles and mosfiles because of a dimension mismatch that was previously not caught.
a42460aa3cMartin Sjölund- Merging
ed5f3cf783Martin Sjölund- Fix "make omlibrary" on non-GNU systems
a1b0474aa5Jens Frenkel- Expression.mo - Added makeDivVector and makeProductVector. -Fixed bug with enum literal in terms and allTerms
b2375a2bd3Martin Sjölund- Add MetaModelica builtin cons()
5be270a956Peter Aronsson-Fixed bug in AbsynDep for building class dependencies. -Added Exp.makeDivVector and Exp.makeProductVector. -Fixed bug with enum literal in Exp.terms and Exp.allTerms
3975a95625Adrian Pop- a document for planning the Red October milestone (deadline 2010-10-15)
5de9ba94ceMartin Sjölund- Merging
19873a51abAdrian Pop- a document for planning the White December milestone (deadline 2010-12-20)
27b32bba32Adrian Pop- updated SimCodeFMU.mo
20889c9243Martin Sjölund- Merging
ce0332f9d7Jens Frenkel- use type from componentref for lowerEqn (DEFINE,INITIALDEFINE)
e29a312ad9Jens FrenkelFixes for bug: #1345 - bugfix index of external Objects - use typeinformation for lowerEqn
3504e6d921Jens Frenkel- bugfix index of external Objects
4a03e24a86Martin Sjölund- Merging
e69e9b2ce2Azam ZiaAdded functions for c code generation.
9e7aea1e90Adrian Pop- order potential roots by component reference string (alphabetic) if the priority is equal - this fixes some models in the MultiBody testsuite (for some reason in trunk they are ordered differently).
0ee582286aJens FrenkelBug fix for expContains, added missing case for ENUM_LITERAL.
d1ff15850aAdrian Pop- got rid of unused imports
7af1fc3633Martin Sjölund- Update ParseCompilerSources to accept the current warnings (only ones left are automatically generated code; from Susan)
354bceb76bJens Frenkel- Util.mo switch function arguments from listRemoveOnTrue to use it in compination with listFold_1 - BackendDAECreate.mo - remove all output variables from input variables for algorithm sections -> now testsuite works (mosfiles)
2993f56bf4Otto TronarpBug fix for expContains, added missing case for ENUM_LITERAL.
c61f046546Martin Sjölund- Fix RML warnings in InstExtends.mo
8c7abdeaebMohsen Torabzadeh-Tariremoved the sketch library to the branch omnotebook
54a9ce94e5Jens Frenkel- bugfix BackendDAEUtil.mo traverseBackendDAEExpsEqn
09c2b8434aMohsen Torabzadeh-Tariadded the omnotebook sketch library
ca182e7a5dMartin Sjölund- Fix InnerOuter.mo RML warnings
51c197e3dbMartin Sjölund- Fix warnings in PrefixUtil.mo
e57dc69607Martin Sjölund- Use getInstallationDirectoryPath() in OMEdit to query where the standard library is located
69bf942aabMartin Sjölund- Use getInstallationDirectoryPath() in OMEdit to query where the standard library is located
cf824e6a2aMartin Sjölund- Set svn:keywords on Compiler/*.mo
e5677d05b0Adrian Pop- get rid of local case/else declarations. - minor formatting changes.
c847f18dc4Martin Sjölund- Do parallel make on OMEdit
50c49a1ec4Adrian Pop- get rid of local case/else declarations. - minor formatting changes. - got rid of unused imports. - fixed subversion RCS id.
b8834eb05dAdrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
78a61b8098Adrian Pop- YOU WILL NEED A NEW OMDEV/MetaModelica/RML for this: http://www.ida.liu.se/~adrpo/omc/omdev/mingw/ (revision 187) - replaced Util.boolString with boolString - get rid of local case/else declarations in ExpressionDump.mo - minor formatting changes
8e095cb7b8Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
526c04a519Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
f391ed0880Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
299dc66bc8Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
6abfdea794Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
eb02cd2552Adrian Pop- get rid of local case/else declarations. - minor formatting changes
28b561c262Adrian Pop- minor formatting changes - got rid of unused imports
7c5872c033Adrian Pop- minor formatting changes
ead706b74eAdrian Pop- get rid of local case/else declarations. - minor formatting changes
456bb109d3Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
ed4191ba90Adrian Pop- get rid of local case/else declarations. - minor formatting changes.
e5c5ca7ee1Adrian Pop- get rid of local case/else declarations. - minor formatting changes.
7c27a861c6Adrian Pop- get rid of local case/else declarations. - minor formatting changes.
1e63c6256aAdrian Pop- get rid of local case/else declarations. - minor formatting changes.
450c6ff17eAdrian Pop- get rid of local case/else declarations.
e8be4e5403Adrian Pop- get rid of local case/else declarations. - minor formatting changes
a8fd61c2d2Adrian Pop- get rid of local case/else declarations. - minor formatting changes
52f5120ed5Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports - added subversion RCS id to the files where it was missing
1da49e9a6aMartin Sjölund- Merging
c9219daf3eMartin Sjölund- Fixed RML warnings in Inst.mo
04db0d652dAdrian Pop- get rid of local case/else declarations. - minor formatting changes
e9a3e30c76Martin Sjölund- Fixed RML warnings in InstSection.mo
728cfcc88cMartin Sjölund- Fix RML warnings in Interactive.mo
8bc5d69169Martin Sjölund- Fix duplicate declarations in Interactive.mo
dd7277e4a9Adrian Pop- updated copyright (it should be OpenModelica). - added package info - minor formatting changes.
7b53c555f6Martin Sjölund- Fix RML warnings in Linearization.mo
61f82a7b78Adrian Pop- get rid of local case/else declarations.
0e98db830bAdrian Pop- homogenize printing (include package name). - get rid of local case/else declarations. - minor formatting changes. - added subversion RCS id to the file. - got rid of unused imports.
5feeb1bd58Martin Sjölund- Fixed RML warnings in Lookup.mo
4f005f6e40Adrian Pop- homogenize printing (include package name). - get rid of local case/else declarations. - minor formatting changes. - added subversion RCS id to the file.
58b9ceeb50Martin Sjölund- Fix RML warnings in Main.mo
ab1a6ab378Martin Sjölund- Fix MetaUtil.mo warnings
48f8451745Adrian Pop- removed unused imports
ad46578891Martin Sjölund- Fix RML warnings in Mod.mo
cc3e4252a4Adrian Pop- homogenize printing (include package name). - get rid of local case/else declarations. - minor formatting changes.
8ac1669353Martin Sjölund- Fix ModUtil RML warnings
4856c8222fMartin Sjölund- Fix Patternm.mo RML warnings
9b60106444Adrian Pop- add subversion RCS id to new files
c2ce46243eAdrian Pop- add subversion RCS to new files - got rid of unused imports and duplicate variables in BackendDAEOptimize.mo
ed8ee8cfb4Adrian Pop- align properly in Absyn.mo - remove unused import in AbsynDep.mo and update copyright.
1683517d4bAdrian Pop- remove duplicate definitions with different types.
901e65d1ddAdrian Pop- remove frontend targets from makefiles
14f8a293d4Adrian Pop- remove stubs files and the frontend makefiles and directories
704eed8d79Martin Sjölund- Merging
5f5c0d2f03Jens Frenkel- fix some testcases from testmos
0452c4b6a9Martin Sjölund- Fix make install for omlibrary target
d7257cda26Martin Sjölund- Fix omlibrary installation issue
409c3200cfMartin Sjölund- Add Makefile target "omlibrary"
55735c2c5cMartin Sjölund- Fixed some more RML warnings
fc60d62215Martin Sjölund- Fix RML warnings in SCode and SCodeUtil
867a4b5712Martin Sjölund- Fixed UnitChecker,UnitAbsynBuilder RML warnings
c7439129deMartin Sjölund- Fixed XMLDump.mo RML warnings
7a2b302966Martin Sjölund- Fixed one additional omc warning in Static.mo
5bc2fcca7dMartin Sjölund- Fixed all warnings when compiling Static.mo
5b8f7d2f82Martin Sjölund- Fix more errors in Static.mo
95f7ff938aMartin Sjölund- Removed some duplicates/local clauses in Static.mo
fed758cdffMartin Sjölund- Added new RML warnings to the Linux makefile - Fixed some of them
3a167c6b70Martin Sjölund- Remove case-local declarations
dad3f1e30fAdrian Pop- got rid of unused import
d0986cd61fAdrian Pop- no more local declarations in cases in DAEUtil.mo
ef4a6d8698Martin Sjölund- Updated expected output of some models
f0f6a29490Adrian Pop- got rid of some local declarations.
6ce95233f9Kristian StavåkerSome minor changes
7fc92ea431Martin Sjölund- Fix function input/output
498f4f5288Martin Sjölund- Fix TplAbsyn, TplMain syntax
f7a9b5e7e2Martin Sjölund- Fix travering function references (UtilTest.mos now works)
ae1679b69bMartin Sjölund- Fixed 1 more testcase in meta/
829a7216ceKristian StavåkerAdded information regarding held meetings, etc.
994ef11ee7Martin Sjölund- Fixed traversal of metarecord calls
f8172a6e49Martin Sjölund- Fix RML crap
5b9fee1dd7Martin Sjölund- Fix parsing of Util.mo
9f1fae6d75Martin Sjölund- Fixed traverseExp for VALUEBLOCK
9159c1a573Per ÖstlundUpdated CevalFunction implementation: - Fixed correct dimensions for function variables. - Added dependency analysis for function variables so that they are added to the environment in the right order. - Added function to convert all ASUBs to CREFs. - Implemented support for : and slices. - Implemented support for if, for and while statements.
9ea111ade9Jens Frenkel- fix BackendDAEUtil.checkBackendDAE
ee93614f05Martin Sjölund- Made more things work
862ae8c3bdMartin Sjölund- Fix compilation
5ba0f295b2Martin Sjölund- Fix RML crap
dc9b43c41aAdrian Pop- no more local decls in matchcontinue cases.
9c975c0d90Adrian Pop- no more local decls in matchcontinue cases.
9e7164af6dMartin Sjölund- Fix RML crap
78debabf92Martin Sjölund- Remove RML crap
dc226d486cJens Frenkel- BackendDAECreate.mo change interface for user function for traverseDAEExps
87cfff8aa7Martin Sjölund- Deprecate case-local declarations in the grammar
f3333b4b8bAlexey LebedevMerged the non-expanded array stuff.
910d72b522Martin Sjölund- Added more expressions to SimplifyTest.mos
79c8f229f4Martin Sjölund- Merging
efa29f5ff6Martin Sjölund- Update path of OMEdit binary since the project changed
5a77e79487Martin Sjölund- Also handled ENUM_LITERAL and METARECORD in traverseExp
0fba28c1f7Martin Sjölund- Partial fix for problems with traverseExp
9d58064517Martin Sjölund- Fix syntax error in CevalFunction.mo
a9c57ca062Martin Sjölund- Fix printing of DAE.Type
9793d81422Martin Sjölund- Merging
15c2c2e2c0Jens Frenkel- FMU - use to get the valueReference = string(prefix)+string(var.index) prefix: states 1 derivatives 2 real algebraics 3 real parameter 4 integer algebraics 1 integer parameter 2 bool algebraics 1 bool parameter 2 string algebraics 1 string parameter 2
bd325d3556Jens Frenkel- implement some event stuff
77dfa3e7e8Per Östlund- Added utility function Util.listSplitOnFirstMatch. - Added valueInteger and valueDimensions to ValuesUtil. - Implemented more parts of CevalFunction.
965c74e051Martin Sjölund- Fix meta testsuite
39c1ffc7d8Adrian Pop- planning for Media and Fluid.
4a2b23bfc9Jens Frenkel- fix bugs - DAEUtil.mo - improve function traverseDAEEquationsStmts
05f689c9ecMartin Sjölund- Use realLn
67e5538616Willi Braun - renamed uniontype DAELow to BackendDAE - renamed record DAELOW to DAE
8ebd87b837Martin Sjölund- Fix merging error
e4bed5777aJens Frenkel- fix bugs for event stuff
f3cfd1a933Martin Sjölund- Merging
5ed0df5783Martin Sjölund- Fix configure script
0e9f8ab1c1Martin Sjölund- Remove Compiler/absyn_builder - Run Susan quiet by default
6f4c744559Mohsen Torabzadeh-TariAdding linearization exercise in DrControl
0533c68df6Martin Sjölund- Remove mk_bcon from Modelica.g
1b0d4b0d2fMohsen Torabzadeh-Tariadding an exercise to DrControl
d144305bdfMohsen Torabzadeh-TariAdding linearization to the examples
29d64124a8Jens Frenkel- fix some bugs check for records improved rename BackendDAEUtil.traverseExp to traverseAlgorithmExps - Expression.mo delete makeCrefExpNoType use crefExp improve isConst
dc7a0663fcAdrian Pop- changed stringEqual to stringEq - YOU NEED A NEW OMDEV/MetaModelica/RML: OMDev: http://www.ida.liu.se/~adrpo/omc/omdev/mingw/ MetaModelica/RML for Linux, revision 183.
db2b457ff1Adeel AsgharAdded the tree view and zooming images.
ff06bd7202Willi Braun - separated functions for BLT to BackendDAETransform
4f303d4f43Adrian Pop- speeding up the type by returning constants (no new memory allocations) and made the type memory default as is now faster than without it.
19ae448b3aMartin Sjölund- Fix svn:eol-style on OMEdit, OMNotebook, msl32
8e5881d5a2Martin Sjölund- Fix svn:eol-style on OMEdit, OMNotebook, msl32
14f147e0eeMartin Sjölund- Fix svn:eol-style on OMEdit, OMNotebook, msl32
91f758f5cdJens Frenkel- Expression.mo delete makeCrefExpNoType and use crefExp rename generateCrefsExpFromType to generateCrefsExpFromExpVar
5156ff2a47Jens Frenkel- delete unused code
ce288ebaddWilli Braun - thrown DAELow.mo away and divided the stuff on the files BackendDAE* - separated some more stuff
ad2ff1c930Jens Frenkel- BackendDAECreate.mo use BackendVariable.setVarKind
9a06965b1dJens Frenkel- fix some isues
1b0d43339fAdeel AsgharAdded the custom sendExpression in OMCProxy.cpp Updated the delete feature of tree. Updated the rename feature of tree.
cf8d72ad32Jens Frenkel- fix bugs - BackendDAECreate.mo use traverseExp and traverseDAE2 for state search
1bdff3745aJens Frenkel- DAELow.mo move translateDAE and calculateIndex to BackendVariable.mo
a21e1677a6Jens Frenkel- DAELow.mo move DelayExpression stuff to SimCode.mo and delete duplicatet functions
9a9c149f15Jens Frenkel- DAELow.mo move DivExpressionErrorMsg stuff to SimCode.mo
b9dc0b881fJens Frenkel- DAELow.mo move tearing stuff to BackendDAEOptimize.mo - Util.mo add function listSplittOnBoolList
12e7426af5Martin Sjölund- Merging
44ac5d69afMartin Sjölund- Fix RML crap
dc792e72f4Martin Sjölund- Fix RML crap
d1ece24afcWilli Braun- added BackendEquation.mo - moved caluclate incendece Matrix to BackendDAEUtil
1a4fa9daa7Per Östlund- Started implementation of CevalFunction, a replacement for Cevalfunc that works on instantiated functions instead of Absyn.
89cf0d64f0Martin Sjölund- Fix listMember( (a,b), lst ), and similar problems with polymorphic functions
2ed3cbb607Willi Braun - added BackendDAEOptimize.mo and move functions for simplify equations
4b13ccf0c0Adrian Pop- a document for design and planning of the non expanded arrays/equations.
cd88b7f6a8Martin Sjölund- Fixed polymorphism so that Util.listListMap now works - Removed DAE.T_POLYMORPHIC_SOLVED - Instead, we prefix polymorphic types from the called function with $.
243024ab2bWilli Braun - rename BackendDAETransform.mo to BackendDAECreate
da96617b6cJens Frenkel- update RedesignBackendOMC.doc - SimCode.mo remove unused code
63ccaa5e8fMartin Sjölund- merging
ed0516b73dMartin Sjölund- Some more changes that rely on new RML
326775b249Martin Sjölund- Fixed ExpressionSimplify.simplify testcases using the bootstrapping
76829f5e48Jens Frenkel- commit out useles code
6ea1dd6025Martin Sjölund- Remove some useless code
eb915a2e92Jens Frenkel- bugfix for derivative function annotations, also have a look into the annotation from external functions.
35b7bfae70Martin Sjölund- Don't ceval functions with initial algorithms
08f147027cAdrian Pop- use setGlobalRoot/getGlobalRoot instead of System.addToRoots/getFromRoots - use Inst.instHashIndex instead of 0 in the set/getGlobalRoot - you will need a new MetaModelica/RML (or OMDev) to be able to compile/run: OMDEV: http://www.ida.liu.se/~adrpo/omc/omdev/mingw/OMDev-mingw-msvc-2010-10-26-revision-181.zip MetaModelica/RML for Linux, revision 181.
89c0167f5fMartin SjölundRemove unused imports
75bf510a44Martin Sjölund- Merging
6627e96a2eWilli Braun- continued with remove functions from DAELow
a5de90b0d9Jens Frenkel- SimCode.mo do not use DAELow.getAllExps. This is a realy bad function for large models. It needs too much memory. Use DAELow.traverseDAELowExps instead.
93806fbe3bWilli Braun - continue with remove functions from DAELow
d373b517deJens Frenkel- Compiler/ComponentReference.mo delete function crefAddPrefix use makeCref_Qual
3d7568224bWilli Braun - extract all function regarding Variables from DAELow. to BackendVariables
4261b9ba67Jens Frenkel- Expression.mo remove traverseExpLst and rename traverseExpLstinternal to traversExplst
576fd51e8eJens Frenkel- delete Exp.mo
c250c9c813Jens Frenkel- rename Exp to Expression
5c64b6e3d0Martin Sjölund- Merging
993032b659Willi Braun - continue with with moving functions from DAELow to BackendVariable
6834be7cc8Jens Frenkel- Exp.mo copy all functions for dump and print to ExpressionDump.mo
0208a13dbcJens Frenkel- Exp.mo copy all functions for simplify to EpressionSimplify.mo
323bdfe356Azam ZiaCorrected xml for scalar variable start parameter. Added code to generate some global data for c file.
aafaddf0a7Martin Sjölund- Fixed HashTableTest.mos
33e72d42aaMartin Sjölund- Changed HashTable implementations to use the new BaseHashTable.mo
6114143a8eWilli Braun - added BackendVariable modele that deals with BackendDAE.Var, BackendDAE.Variables and BackendDAEVariablesArray. - started to push functions from SimCode.mo and DAELow.mo to that file.
8a96951297Jens Frenkel- Exp.mo copy all functions for solve to ExpressionSolve.mo
21d0fcd6d2Jens Frenkel- Exp.mo sort the functions and remove functions with equal functionality - ComponentReference.mo update Comments - BackendDAEUtil.mo improve error msg and use flag "checkBackendDAE"
2b4a17ebdaPer ÖstlundFix for bug #1323: - Fixed bug in Lookup.checkSubscriptsRange2 that only worked on constants. - Updated CyclicPerm test case, since it now gets a more correct error message.
917db5dbecMartin Sjölund- Added BaseHashTable.mo, a truly generic HashTable - Made HashTable2 use it
0506ff6599Martin Sjölund- RML crap
6f46b00f54Jens Frenkel- DAELowUtil.mo - improve Error Msg and use flag checkDAELow for now to keep testsuit running
dc753ed1ecMartin Sjölund- Added elaboration for internal builtin functions as a separate function - simplify() is now called OpenModelicaInternal.simplify() - The same goes for the mmc_xxx functions
14df3bb682Martin Sjölund- Fixed some type issues with OMC-MM
02720a0072Jens Frenkel- fix bug
93241868bfMartin Sjölund- Merging
700c53ae2fMartin Sjölund- Add set/getGlobalRoot to Builtin.mo
5cea8df2cbPer Östlund- Fixed some bugs introduced by revision 6568. - Renamed DEA to DAE.
9135e4dc24Martin Sjölund- Merging
c9c7910482Martin SjölundMerging
31b689961eWilli Braun - correct merging error in DAELow.mo
c4b4a9634aJens Frenkel- DAELowUtil.mo - add case for functionpointers to checkDAELow
4783c2549fWilli Braun - continue to split out functions from DAELow to BackendDAEUtil
f59cece13fJens Frenkel- BackendDAEUtil.mo - add case for functionpointers to checkBackendDAE
9f1480f8ddJens Frenkel- use functions from ComponentReference.mo
e0bd9da3f8Jens Frenkel- fix bug
ff8345daf0Jens Frenkel- Algorithm.mo use Exp.makeCrefExp for crefToExp - Convert.mo use Exp.unelabExp for fromExpExpToAbsynExp use ComponentReference.unelabCref for fromExpCrefToAbsynCref - DAELow.mo use ComponentReference.crefAddPrefix for crefPrefixDer and delete makeDerCref because it has done the same as crefPrefixDer - SimCode.mo use crefPrefixDer instead of crefPrefixDer
47b9c86668Jens Frenkel- fix bug
78b172f989Jens Frenkel- fix bug
ce0e3dd3f7Jens Frenkel- finish to copy all functions do something with a ComponentRef from Exp into ComponentReference
8bae2aee87Adrian Pop- fixes for BackendDAETransform.mo
447f484b68Willi Braun - start to separate DAELow.mo on the files BackendDAEUtil.mo and BackendDAETransform.mo - all functions regarding the lowering are moved to BackendDAETransform and util functions need there moved to BackendDAEUtil
e9fd73a9c7Martin Sjölund- Fix RML crap
e1fa84ef8eMartin Sjölund- Fix RML crap
231b38d1b1Jens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
04535a658fMartin Sjölund- Fix more RML crap
bd485be5f8Martin SjölundNo message
8e7fdebdc6Martin SjölundBootstrapping
8982bc10f4Martin Sjölund- Fix sources
82122c0876Martin Sjölund- Refactoring
01b03825e1Martin Sjölund- Merging
4a51f60ca8Peter Aronsson-Moved traverseExpList to traverseExpListInternal and created a new traverseExpList that doesn't take the newly added traversal function.
1ae7527e34Martin Sjölund- Merging
fd27ac66f2Jens Frenkel- fix bug
af1d4ffb46Jens Frenkel- rename DEALowUtil.mo into BackendDAEUtil.mo - continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
ef2f45b41fJens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
aa2067ac50Jens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
7d4100257bJens Frenkel- DAELowUtil.mo - finish function to check that a variable (cref) used in an equation or algorithm is actually present in the declared variables. bug #1302 - Exp.mo - add function traverseExpTopDown, is used for DAELowUtil.mo
8dd71264c1Per ÖstlundFix for bug #1330: - Removed handling of implictly connected flow variables, because for some reason it's no longer needed and it causes problems with some old models. - Made the parallel test script a bit more random. - Updated some test cases due.
cbb6110f26Martin SjölundMerging
12afbe8542Jens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference - DAELowUtil.mo - finish check of BackendDAE object Bug 1302 - Exp.mo - add function traverseExpTopDown, used for check of BackendDAE
436dcfaa36Per Östlund- Implemented merging of annotations for short class definitions, for use with showAnnotations.
d39c6e991cPeter AronssonAlgorithm.mo: Added function isNotAssertStatement Exp.mo: Optimized the code in simplify1 HashTable2.mo, HashTable3.mo: added emptyHashTableSized VarTransform.mo: Optimized code.
ed2acad232Martin Sjölund- Merging
3fc48f5628Willi Braun- replaced DAE.CREF_IDENT with ComponentReference.makeCrefIdent - replaced DAE.CREF_QUAL with ComponentReference.makeCrefQual
fd70f86886Pavol Privitzer!!! use clean or delete omc.exe to compile this update, I am sorry for the inconvenience. - Susan "import" clause implementation, use: import TemplatePackage.*; //for unqualified import ... the package-name prefix is optional when calling imported template (but may be used when a name hiding occurs) import TemplatePackage; //for fully qualified import .. similar to MM, the package TemplatePackage. must be used to access a template, e.g. TemplatePackage.aTemplate(..) - the new syntax for interface packages (typeviews) - in the interface package, see SimCodeTV.mo for example, use: interface package SimCodeTV package SimCode ... end SimCode; ... end SimCodeTV; - in the importing template package, SimCodeC.tpl for example, instead of typeview "SimCodeTV.mo" is now: import interface SimCodeTV; - SimCodeC and SimCodeFMU slightly redesigned to accommodate the new Susan's import feature and possibility (removal of the stringEqual() usage and some other changes) my notes here: - try to avoid data transforming operations to preserve model/view separation; express the transformation in the SimCode structure instead (usage of intAdd(), for example) - try to avoid overusing of the MM style of value bindings ... use dot notation instead - try to avoid bringing new names by the let clause when only aliasing other name or "naming" simple template invocation (except preventing multiple identical invocations) - indenting is natural and automatic in Susan, see the changes in SimCodeFMU.tpl (although, there are some remaining design issues here; to be soon finished) - Susan's "indexedby" keyword is now changed to "hasindex"; although one still must use only i0 or i1 names for the index ... to be soon finished - the "spackage" keyword changed to "package" used as the top-level package clause in the .tpl template packages (--> towards Susan and MM integration)
20e9fff41dJens Frenkel-- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
70d93bf5d8Martin Sjölundgit-svn-id: https://openmodelica.org/svn/OpenModelica/branches/sjoelund-functiontree@6557 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
f129eb0218Martin Sjölund- Add new module BackendDump.mo
35817e99b4Adrian Pop- replaced DAE.CREF_IDENT with ComponentReference.makeCrefIdent - replaced DAE.CREF_QUAL with ComponentReference.makeCrefQual
1a689ec6b8Adrian Pop- added ComponentReference.makeCrefIdent and ComponentReference.makeCrefQual
63dda96305Martin Sjölund- Refactoring: DAELow datatypes added to BackendDAE.mo
bb4d222c98Jens Frenkel- fix some bugs from last commit
bc77c84646Jens Frenkel-- start to copy all functions do something with a ComponentRef from Exp into ComponentReference
70690e44e2Martin Sjölund- Remove support for parsing of the old notebook format (this means we no longer need ANTLR2 to build OMC)
aceedfdb1fJens Frenkel- fix some bugs from last commit
32c2df8026Jens Frenkel- start to copy all functions do something with a ComponentRef from Exp into ComponentReference
d439c5c43bAdrian Pop- change to c-like comments.
30f895f5abMartin Sjölund- Remove type Exp = DAE.Exp from Exp.mo
13fa077cc3Jens Frenkel- add file ComponentReference.mo
4762a25063Martin Sjölund- Fixed some illegal code in the compiler
e0454fa63cMartin Sjölund- Fix compilation of OMEdit StringHandler.cpp using Qt4.4
f42a32437cMartin Sjölund- Merging
5c6fce8096Willi BraunDAELow.mo: - bugfix for partial partialAnalyticalDifferentiation and partialNumericalDifferentiation of functions. Derive.mo: - add case for differantiate abs(). Exp.mo: - add solveLin for LinearSystem. SimCode.mo: - add functions to create always linear system in Jacobian code. - add sorting of Jacobian variables. Utils.mo: - update only some comments. simulation_runtime.* and solver_main.cpp: - add some code for dassl2 that enables the usage of the analytical Jacobian for calculations. - enable this feature by the solver flag "-jac", only availible if soure code was created with the flag "+d=linearization"
f94870ad4eMartin SjölundMerging r6536 through r6537
4b4542a5aaMartin Sjölund- Added OMEdit as a make target (built together with qtclients) (The Debian package has also been updated and should include an OMEdit package if all goes according to plan) - The OMEdit Unix makefile creates symbolic links/etc needed to compile OMEdit
89a3e90cd4Martin Sjölund- Added OMEdit as a make target (built together with qtclients) (The Debian package has also been updated and should include an OMEdit package if all goes according to plan) - The OMEdit Unix makefile creates symbolic links/etc needed to compile OMEdit
b8845eb1faMartin Sjölund- Merging
0d5e40e5c8Per ÖstlundForgot to commit changes to Error.mo in previous commit.
3194e0b500Per Östlund- Fixed makeASUBArrayAdressing for package constants. - Updated some test cases, because for some reason we use different formatting for crefs and ASUBs. - Better elaboration of inStream and actualStream.
e4240a3823Martin SjölundMerging
0a5914bd7bMartin Sjölund- Fix compilation
178285cbe2Martin Sjölund- Updated the testcases that load compiler sources to run a common script (less files to update if the compiler structure changes) - Don't load _stub files in parser/ParseCompilerSources (if you do, you don't test input/output of functions as they are overridden)
ac7b87eb27Jens Frenkel- fix for bug 1329 - DAELow.lowerEqn generated for DAE.DEFINE a=a equations
be0fe7388cMartin SjölundMerging
7d12bf1171Otto TronarpAdded option for dynamic state selection.
a20d850b76Otto TronarpBug fix for arrayReplaceAtWithFill, it created an array that was one element longer than what was requested.
05621a32e0Martin Sjölund- Fix getCrefFromExp for Absyn.FOR_ITER_FARG
8f4c2543a6Otto TronarpAdded missing extern "C".
60ef227742Adrian PopPartial fix for task: #1327 - this is a hack for lowering the memory requirements for storage of DAE.ExpType. - to activate this feature use +d=useTypeMemory - the feature is not activated by default as it slows down the testsuite by about 2 minutes (24 min. vs. 26 min).
8335159f6cPer ÖstlundFixes for bug #1329: - Fixed prefixing of subscripts in crefs that could not be found in the environment, such as package constants. - Added test case mofiles/SubScript3 and updated libraries/msl31/Modelica.Electrical.Digital.
448de76046Martin Sjölund- Improved error messages
78c5e66a9aMartin SjölundRemove debug printing
c85eac6c68Martin Sjölund- Use addSourceMessage for Error.HIGHER_VARIABILITY_BINDING
d259096648Martin Sjölund- The compiler flag +showErrorMessages now also shows Error.mo messages as they occur. This should make it easier to relate Error messages to failtrace messages. - If a message would be reverted, this is of course sort of bad + Keeps memory consumption low for large models + For looping models, you can now see errors even though instantation will never succeed
b5a5226929Martin Sjölund#1318 - Disable instSingleCref in MetaModelica mode (maybe this should always be disabled; it certainly would reduce the load on the cache)
c5dfa26b92Martin Sjölund- Fix unparsing for DAE.Exp.NONE()
0fd6541609Martin Sjölund#1318 - Fixed inputs/outputs of all functions using match expressions (all crefs are now in the correct order, with the correct name, and without duplicates)
96d735f0c3Martin Sjölund- Fixed the output of some functions
8c7e8cab7eMartin Sjölund#1318 - Add API call strictRMLCheck() - Checks that all input/output of a singleton match expression in a function matches the function arguments - Run it on the whole compiler in the testsuite - Currently 179 functions fail the check
f08af0b0c6Martin Sjölund- Some more fixes for things RML doesn't check for
71e9184b20Martin Sjölund#1318 - Added DAE.STMT_FAILURE, and handling of Absyn.ALG_FAILURE. Simplified generation of code for failure() - Added HashTable testing
d1a0be6d5cMartin Sjölund#1318 - Remove NONE from all places in the code. It has been replaced with NONE() - This is enforced when parsing the compiler sources (which is done in the testsuite)
646c0d0d4dMartin Sjölund- Fix MetaModelica parsing...
0b7039a209Martin Sjölund#1318 - Remove more NONE() - Add check for NONE already in the parser (so the testsuite can automatically fail if someone uses evil syntax) - Should probably only be enabled with +d=rml, but +g=MetaModelica will work for now
dee7e1f972Martin Sjölund#1318 - Replace more NONE with NONE()
a3104141d0Martin Sjölund- Replace more NONE with NONE()
5b26c40b6dMartin Sjölund#1318 - Replace some NONE with NONE()
f84c54803aMartin Sjölund#1318 - Added initial support for meta-array indexing (arrayGet and arrayUpdate) using the operator []
df0dc739c4Martin Sjölund- Added flag to do strict checks so that inputs/outputs of function and match expression are the same
bde7b842bbMartin Sjölund- Fix parsing of match-expressions with an else that lacks local declarations
297e36848eMartin SjölundMerging r6488 through r6494
4da4919950Martin Sjölund- Fix some more errors RML ignores
95a8277e78Martin Sjölund- Improved error messages for lookup of function (now states that it was looking for a function; previously we didn't know if it was the type of an element or a function call that failed)
bc719f8dc9Adeel AsgharAdded the contextMenu to Modelica Files Tree. Updated the simulation and icon properties dialogues. Deleted the simulation and icon properties ui files.
18f5447857Martin Sjölund- Avoid duplicate error messages when elaborating function calls
34461e98edMartin Sjölund- Remove some errors RML doesn't check for
ebc6a511c1Martin Sjölund- Merging
5fb9bbe462Martin Sjölund- Removing old code
8870a97000Martin Sjölund- Reverting accidental changes
20ecc71ba5Martin Sjölund- Fix Error.mo (don't change name if empty string is given)
26b78069e3Daniel Hedberg- Minor update for Visual C++ (get rid of the directory separator in front of the file name).
0de311e6afDaniel Hedberg- Fixed compilation errors in Visual C++.
1ecb588f46Martin SjölundMerging
3933c27b3aMartin Sjölund- Make the metarecord calls take boxed arguments
774e09eab2Martin Sjölund- Option now always contains a boxed type
0dbbbd1d8dMartin Sjölund- Updated code generation to add declarations for local variables that are function pointers
a51bb84ddbMartin Sjölund- Improve error message for cons-exp
1021c80db9Daniel HedbergFixed a bug introduced by r6450: Better get the commas and braces in the right place as well.
8c043822a1Martin SjölundFix for #1326 - Use basename instead of filename in error messages when running the testsuite
8e19c1edcaMartin Sjölund#1318 - Add testcases PartialFn15 and updated DumpTest (with Exp.printExpStr and DAEDump.dumpDebugDAE) - These testcases all use function pointers as data (in lists or options), as well as pattern matching on these structures - Added more functions to RTOpts_omc
8a6cdb5659Martin Sjölund- Add function pointers for builtin binary real operation
70f4997ad0Martin Sjölund- Merging
540e17bf1eMartin Sjölund- Fixed some errors RML ignores
5e33d058a7Martin Sjölund- Added support for polymorphism in function pointers, uniontypes
9e6843fc52Adeel AsgharUpdated the tmp directory path in simulation and Plot Widget. Updated the Splash Screen text. Added the contextmenu to tree. Added the resources file.
7436c13a7eMartin Sjölund- Made polymorphism work better with NONE() or {} input
c25e547301Martin Sjölund- Merging
fd939a2c05Martin Sjölund- Merging
baefd641ebLennart OchelUpdate symbolic jacobian and generation of linear model - fixed handling of algorithms for symbolic jacobian - fixed some general bugs for calculating symbolic jacobian - improve the performance for calculating symbolic jacobian - add simplifying equations and removing unused equations for codegen - fixed some general bugs for generation of linear model - update testsuite/linearization
c6d2a6a744Adrian PopFixes for bug: #1325 - merge cached overconstrained connection graph with the current overconstrained connection graph Compiler/ConnectionGraph.mo Compiler/Inst.mo - added test for this bug in testsuite/libraries/multibody/elementary/DoublePendulum.mos testsuite/libraries/multibody/elementary/Pendulum.mos
5b861116d0Jens Frenkel- Util.mo - add listMapFlat2 - add DAELowUtil.mo - add function to check DAELow object checks if all componentreferences of an expression part of the DAELow object - DAELow.mo - add a additional input to traverseDEALowExps - run DAELowUtil.checkDAELowWithErrorMsg not yet in function lower because of unexpected error msg from checkDAELow for some testcases - SimCode.mo - adjustments for additional input to traverseDAELowExps
9c4413cfbdMartin Sjölund- Added more error messages for metarecord calls (and make the checks in a separate function)
4baeba34a3Adrian Pop- prepare for 1.5.1 - update version number in settingsimpl.c - update directories in Examples/ModelQueryAPIexamples.onb Examples/UsersGuideExamples.onb - build a new OMNotebook.exe
1426014fcdDaniel HedbergPrint messages in the right order in getMessageStr().
c18689aa7cAlexey LebedevFixes for bug: #1322 Added a new error message for tuple assignments where lhs tuple contains not only component references
e66fa266b5Martin SjölundMerging r6431 through r6436
8bd0c5bc9eMartin Sjölund- Enable testcase running Susan on a very small template
6058deae6cAdrian PopFixes for bug: #1324 - fixes for updateConnection: https://openmodelica.org:8443/cb/issue/1324 - update the interactive symbol table with correct program in Interactive.mo - add testsuite/mosfiles-nosim/interactive_api_attributes.mos to test for this bug.
ee3b79e440Martin SjölundMerging
974004e1a3Martin Sjölund#1318 - Implement more runtime functions for bootstrapping
d5dbc8de6aPeter Aronsson-Added Algorithm.isReinitStatement -Fixed compilation of systemimpl.c for Visual Studio (All declarations at beginning of block for ANSI-C)
12078b9f49Otto TronarpMoved traversingComponentRefFinder to public.
83d3cf376ePer ÖstlundUpdated workplan
ae1c9abbc7Adrian Pop- use System.stringAppendList instead of Util.stringAppendList - use System.stringAppendList instead of multiple stringAppend in Exp.mo
23e78c4a75Martin SjölundFixes for #1318 - Added some more runtime functions for bootstrapping - Added testcase SusanTest.mos; still incomplete but part of it is working
5c835f2da5Adrian Pop- update status
fd3e0bb821Martin Sjölund- More runtime functions for bootstrapping
83d6d21b21Martin Sjölund- Merging
011516ca69Martin Sjölund- Added some Print.mo functions for the OMC runtime
671276174eWilli Braun- bug fix: derivative annotation for external functions testcase added.
6664d236b7Martin Sjölund- Added runtime support for stringCharListString - Fixed a bug with generation of names for function pointers - We can now generate code for TplMain.main (no testcase has been added; it is slow and does not link)
00e7899938Martin SjölundMerging r6410 through r6413
af7516dcc8Martin Sjölund- Merge trunk (Per's changes)
d8a16c68bcJens Frenkel- implement getUUIDStr for windows.
e6f8de6fa9Martin Sjölund- Additional fix for type matching polymorphic tuples
7d59665d14Per ÖstlundImplementation for tasks: #1277 #1279 - Rewrote parts of the connection handling so that all flow variables are added as inside connectors by default, which is according to the Modelica specification. - Removed the phase that connects unconnected flow variables, since it's no longer needed now. - Potential connection sets are now sorted alphabetically, and the first element in the set is then connected to all the others in the set. - The equations from connects are now generated at the top level, instead of for each class as was previously done. - Deleted components are no longer instantiated. - Added utility function Util.listMergeSorted. - Updated the parallel test script to report missing test cases. - Updated some test cases due to the changes made.
9386d7fe7fMartin Sjölund- Propagate input expressions of match expressions to codegen so we can revert changes to them in each iteration - Added test for Util.listSplitOnTrue
18a58cdbeePer ÖstlundUpdated workplan.
4be0e490c8Martin SjölundUpdated workplan
7ec410e938Martin SjölundMerging r6391 through r6403
e90cfad53aAdrian Pop- got rid of Debug traces to speed up the handling of expandable connectors.
f09482aa88Martin Sjölund- Force lists to be built of boxed types - Fixes Util.splitTuple2List (which has been added as a testcase in UtilTest.mos
8a8514b0eaMartin Sjölund- Add type conversion from TUPLE to META_TUPLE (when the expected type is T_BOXED)
165c66df67Martin Sjölund- Add error message if inputs or outputs of a match expression are not component references - Added testsuite/meta/ErrorMatchInOut{1,2,3}.mo to test this
9c0dfdd642Martin Sjölund- Added support for patterns of unary integer/real constants (in Modelica, -15 is not an integer constant; it is a unary expression)
62a3eefc67Martin Sjölund- Add error message if a pattern in a match-expression is invalid (such as case (1+2)) - Added testcase ErrorInvalidPattern.mo
5a0cea96a3Martin Sjölund- Propagate Absyn.Info to Types.checkValidBindings - Fix polymorphism in some recursive calls - Enabled 06_advanced testcase since it's working again
b7019411c4Martin Sjölund- Fix listMember (was listMember(lst, elt); should be listMember(elt, lst))
aba5bfdabdMartin Sjölund- Removing more old syntax
1fee03b21aMartin Sjölund- Replaced the T[:]-types used in HashTables with array
af3522c981Martin Sjölund- Change the type of DAE.METARECORDCALL to DAE.T_UNIONTYPE - Changed some old syntax to new
c3ec14cb4dMartin Sjölund- Changed the path of a metarecord from Package.MetaRecord to Package.UnionType.MetaRecord - This means we can get the path of the uniontype by looking at the MetaRecord (this is needed if we create a list of metarecords)
12a3dc2821Martin SjölundMerging
60bf0263a8Adeel AsgharAdded the Component Parameters classes. Added the facility so that user can modify parameters. Added the component rotate feature. Added the connections compatibility check. Added the save functionality
967b7606b3Martin SjölundMerge
215ca2033cDaniel HedbergFixed a couple of bugs in traverseExp, it now properly traverses subexpressions in matrix and array expressions. As a result all dependencies are found in expressions like:
99bdf0a4e6Martin Sjölund- Split generation of functions from .c into .c and .h-files
4157bc93cdJens Frenkel- SimCodeC.tpl - add Version of Compiler to first comment - System.mo - add function getCurrentDateTime - add function getUUIDStr both used for fmu xml file - Util.mo - add uniontype DateTime - add function getCurrentDateTime both used for fmu xml file - SimCodeTV.mo - add function builtin.add - add function builtin.stringEqual - add functions System.getCurrentDateTime and System.getUUIDStr and Util.getCurrentDateTime - add uniontype Util.DateTime - continue with SimCodeFMU.tpl - add file c_runtime/fmu_model_interface.c
cdaaf77702Martin Sjölund- Custom error message when failing to elaborate a metarecord call
3082d624b2Martin Sjölund- Added showErrorMessages to RTOpts_omc.cpp, so the testsuite succeeds on Mac
cef0090f08Martin SjölundFixes for #1318 - Added field patternInfo to Absyn.CASE (it displays fileinfo only for the pattern; the other parts of a case already have Absyn.Info embedded) - Propagated this field to more functions in the pattern matching modules
7cafae492eMartin Sjölund- Changed Env.Cache to use array<>-notation instead of [:]
8628d90ca4Martin Sjölund- Removed some conflicting variable declarations
e2adcdf8f3Martin Sjölund#1319 - Fixed a problem when a metarecord had the same name as the package it was defined in (did a useless lookupClass in the wrong environment)
2088a7f239Adeel AsgharUpdated the viewport viewing area. Added the plotting package of OM. Will replace it later on. Added the simulation feature. Needed few updates while in the simulation process.
48fa61c990Martin Sjölund- Add SimCodeFMU.mo to svn, so automatic builds don't fail
86a33c6979Martin Sjölund#1318 - Added stringCharListString to the initial environment
7dfedb75fbMartin Sjölund- Renamed some old MetaModelica builtin functions (int_add) to the new ones (intAdd)
86165d7963Martin SjölundMerge
17f32bd023Jens Frenkel- add missing file
e77642aa3fJens Frenkel- start with implementation of FMU - Exp.mo - add Function crefToStr and use it for crefStr and crefModelicaStr
a0eeab2702Martin Sjölund#1318 - Fixed some code using syntax that RML allows but should not
1ad03c0c31Martin SjölundMerging r6364 through r6368
5267dbaeabMartin Sjölund#1310 #1318 - Propagate Absyn.Info to elabExp and elabMod
524e4fa71fMartin SjölundPartial fix for #1310 - Elaboration now fails if you call a function with too few arguments (the error message is still pretty bad though)
c6d51dbc5fMartin SjölundBootstrapping: #1318 - Changed System.stringAppendList to use stringAppendListExt in OMC (else you get conflicting types) - Added testcase meta/DumpTest.mos: It tests Dump.dump Dump.dumpStr Dump.getAstAsCorbaString and DumpGraphviz.dump functionality in OMC - Bugfix for errorext.cpp (declaring globals as static, so they are not free'd multiple times when we dynamically load functions that also linked against errorext)
78340bf71fMartin SjölundFixes for #1316 - Prepend _ to all variable names in function context, so we don't use C reserved words in the generated code
8597653dcbMartin Sjölund- The (Unix) make process now installs DrControl files by default
f4ea4528f4Martin Sjölund- Fix OMNotebook search path for OMNotebookHelp.onb (search in $OPENMODELICAHOME/share/omnotebook/ instead of $OPENMODELICA/bin/)
1556b95750Martin Sjölund- Fix notebook.h header (new Qt seems to have a constructor QString(int) which conflicts)
585410123cMartin SjölundMerging r6355 through r6356
4c500ba09eMartin SjölundMerging
bea1e3a041Martin SjölundMerging r6340 through r6351
97beeddc35Willi Braunsmaller update of linearization code. change some function calls and comments.
9035a8d92cMartin Sjölund- Fixed Builtin.isDer typo
d1f8fc52e0Willi BraunAdded features for generating linear models, that looks like: der(x) = A*x+B*u; y = C*x+D*u; The Code to generate the Matrix's A,B,C,D is not activated by default. It can be activated with the debug flag "+d=linearization". With the usage of this debug flag a linear model can be created from the simulation program by using the flag "-l ".
341ef325faMartin Sjölund- Split errorext.cpp into OMC and RML parts
2db395b50eMartin Sjölund- Fix printimpl.c (inverted a 1 and a 0 in previous commit)
71c0798815Martin Sjölund- Split printimpl.c into OMC and RML versions
4399c2ff14Martin Sjölund- Minor fix in previous commit
0a30bd60e7Martin Sjölund- Fixed some MetaModelica string functions. Leaking memory is preferred over random memory.
2c1692ee2fMartin Sjölund- Minor fix (RML doesn't care about output arguments; OMC does)
fe512bd2dcDaniel HedbergChanged STRUCT_SINGULAR_SYSTEM_CONNECTORS from being an error to a warning.
9deee0356bMartin Sjölund- Updated the type of identity (it is not Integer[1]...Integer[8]; it is Integer[:][:])
080ea0e9e8Martin Sjölund#1308 - Fix so that X.identity does not lookup the builtin identity function - This is just a partial fix of the problems we have with builtin functions
1f5f5ece3eMartin Sjölund#1308 - Remove the function identity in Dump (OMC cannot handle shadowing builtin functions)
4e684102c1Martin Sjölund- Merging
f4a30512bbMartin Sjölund- Changed the polymorphism implementation a bit more - We now use a new function Types.subtypePolymorphic that does polymorphic bindings if the expected type contains any polymorphism - Now, we can't try to convert an expression while solving the system of polymorphic types - Added an error message if we can't solve the polymorphic bindings (such as when we have contradicting input)
652d7f2aa8Martin SjölundFix #1307 - Allow plot, plot2, val to use der(cref) as input
bc24b96633Adrian PopFixes for bugs: #1272 #1130 #1270 #1120 - finished the expandable connectors implementation - added tests for expandable connectors: testsuite/expandable/* [many thanks to Pavol.Privitzer for providing the models] testsuite/libraries/msl31/Modelica.Blocks.mos [BusUsage] testsuite/libraries/multibody/systems/RobotR3.mos [oneAxis and fullRobot] - other small edits, comments and formatting.
f4c3698830Martin SjölundMerging r6331 through r6334
37696909c8Martin SjölundMerging r6327 through r6330
bd2e2f83edAdrian PopFixes for bug: #1306 - use CONNECT LPAR component_reference COMMA component_reference RPAR instead of CONNECT LPAR connect_ref COMMA connect_ref RPAR
09fa0ed439Adrian Pop- added RCS line and usage info to HashTable* - changed timer code to handle recursive calls more gracefully: see info in System.mo & systemimpl.c
13a8cd2ae6Martin Sjölund- Remade polymorphic function calls: We iterate, trying to solve the variables until fixpoint is achieved - There might be more problems with the algorithm (some cases have probably been forgotten, and there might be problems with using Types.equivtypes with empty lists or NONE()) - Added boxptr_stringAppend - Added cevalBuiltinListLength - Added testing of Util.getOption and Util.listMap1r to UtilTest.mos
9f87adfe20Adrian Pop- more cache tuning
d893d7449eMartin Sjölund- Changed Static.instantiateDaeFunction to not use print() for error messages - We use Error.mo instead; and we do not print error messages if another was already produced - If Static.instantiateDaeFunction fails, return status Util.FAILURE() - This disables the error message that no candidate exists (and the error lists a candidate with the same type...)
cfbfbe3c4aMartin Sjölund- Merging
56aa74cc1fMartin Sjölund- Improved MetaModelica error messages by performing the conversion to list() when elaborating an array - This is only performed if MetaModelica grammar is specified and the type cannot be a Modelica array (only boxed types) - Added a debug flag +d=rml which will improve the error messages even further by also transforming arrays of basic types into lists - Bugfix Types.isBoxed: T_METARECORD was previously missing
1f55acc0ffAdrian Pop- faster instantiation of enums by more tuning of the inst cache preconditions in Inst.prefixEqualUnlessEnum. Modelica.Electrical.Digital is about 1-1.5 minutes faster. - renamed some of the SCode restrictions to full name INT->INTEGER, BOOL->BOOLEAN, etc.
c98752c728Martin SjölundMerging r6322 through r6323
30548eb903Martin SjölundFix bug #1303 - Bugfix for Inst.checkRecursiveDefinition - We now check if the class we looked up is the same as the actual class, instead of just comparing the last identifier (this should also successfully guard against renaming imports/etc) - Added testcase NotDependsRecursive.mo
20aa6eefbaMartin SjölundMerging r6317 through r6321
d4ee0fd7b8Martin Sjölund- Updated unparseType, so error messages are shorter and easier to read
e45d521dcfAdrian PopFixes for bugs: #1304 #1305 - implemented setting of array bindings in functions - implemented String(x, format="str"); where x can be any of integer, string, real - rem is now translated to mod_real or mod_integer depending on the type of first argument - fixed handling of external functions with *no return* arguments, i.e. Modelica.Utilities.Streams.print - handle case DAE.STMT_NORETCALL in DAEDump.mo - added testsuite/mosfiles/Random.mo testsuite/mosfiles/Random.mo to test these things and more.
49db1bd5f1Martin Sjölund- Fix some functions in Dump.mo for bootstrapping
6c517a0579Martin SjölundMerging r6302 through r6316
90a9e36b67Martin Sjölund- Fix bug in System.trim (becomes a 1-char long string with random memory when called on a string with length 1) - Fixes the randomly failing EventIteration testcase
38c6de5da1Adrian Popalready present inside ./doc/Compilation_omcd_omnotebook
0e12b7dc58Adrian Popalready present inside ./doc/Compilation_omcd_omnotebook
5c795002dbAdrian Popalready present inside ./doc/Compilation_omcd_omnotebook
4e21b07223Martin Sjölund- Fix some issues by not adding aliased functions to the cache
3760c8057aDaniel Hedberg- Added an option to checkExamplePackages, making it possible to specify a list of excluded classes. This is used by MathCore.
09af3e74f7Martin Sjölund- Fixed instantiation of (some) derivative annotations - Basically only multibody left to fix
0d9fbdf925Martin Sjölund- Fixed record constructors; updated testcases that now show more functions than previously
b7bae558fcMartin SjölundMerging r6296 through r6301
f07dd75a75Martin Sjölund- Changes to function instantation are now almost working - There is a problem with record constructors (the added type is not the RECORD_CONSTRUCTOR function) - Derivative annotations are not handled properly yet
cb113add9fAdrian PopFixes for BUG: #1071 - allow different type names for components if they lead to the same class but issue a warning about it - add source message to the duplicate component warnings and errors - nicer printing of component in SCode.unparseElementStr - nicer display of the error/warning message - added more tests and updated the old
895685c369Adrian PopFixes for bug: #1234 - handling Absyn.UNQUAL_IMPORT in InstExtends.mo fixes the 1234 bug. - check earlier in Inst.mo if Type name equals Comp name in Inst.addComponentsToEnv. this will get us a warning before running into lookup errors so the user has some idea what the real problem is. - add source location to the warning above. - changed System.mo so that System.strcmp returns only -1, 0, +1 so we can patter match on it directly used in Lookup to get more deterministic code. - added warning for updating the environment with a different kind of item than is already there VAR vs. CLASS. Disabled for now, see more info in the code. - other minor edits.
7e5d06a665Adrian PopFixes for bugs: #1129 #1122
44e8d013ddMartin Sjölund- Merging
526b6ad7d2Martin Sjölund- Changed DAE.FunctionTree to a map->Option instead of Function
e22cd43004Per ÖstlundFix for bug #1262: - Add generation of initialization for local variables in functions. - This also causes default values on output variables to work. - Added test case mosfiles/LocalVariableInit.
984ad37c1fDaniel HedbergMinor change with regards to enumerations.
54a01a7bd3Martin Sjölund$ svn merge https://www.openmodelica.org/svn/OpenModelica/trunk . Merging r6287 through r6291 into '.'
f13fdf3d65Martin Sjölund- Refactoring: Moved DAE.FUNCTION and DAE.RECORD_CONSTRUCTOR from DAE.Element to DAE.Function - This simplified a lot of code in the compiler; the elements were usually filtered to either contain functions or non-functions
0941d32424Adeel AsgharDelete the Annotations.cpp and Annotations.h files.
589f44023eAdeel AsgharUpdated the Connection mechanism. Split the Annotations file to individual Annotations files.
78247fede3Per ÖstlundFixes for bug #1134: - Fixed constant evaluation of String(enumeration literal). - Implemented minimumLength and leftJustified when constant evaluation String(). - Removed significantDigits from *_to_modelica_string function in runtime except for real, because real is the only one that supports significantDigits. - Updated test cases that use String().
2f556d20c5Per ÖstlundFix for bug #1189: - Implemented nested when detection for equation sections. - Added test case mofiles/WhenNestedEquation.
97cccc95bcPer ÖstlundFix for bug #1040: - Added new record to DAE.Const, DAE.C_UNKNOWN, which is used for component binding with unknown variability. - Rewrote Static.elabBuiltinFill to use DAE.C_UNKNOWN when checkModel is used and fill couldn't be expanded. - Added test case mosfiles-nosim/ModifierVariabilityError.
a8e9a9180bAdrian Pop- well, seems that adding \\\n didn't fix it, use just && directly without a space.
86a52cade6Adrian Pop- do not overwrite the output of pushd so we can catch more errors.
182027f59aAdrian Pop- remove the space at the end of OPENMODELICAHOME in: set OPENMODELICAHOME="..." && ... by adding a \\\n after the last " - any of the OpenModelica nightly-builds done since this space appeared are not able to compile any models if OMDev is not present. Doh! - many thanks to Carlos Antunes [ cmantunes nowthor com ] for pointing this out!
ac6d9d654dDaniel Hedberg- Updated grammar to allow Code( () ), i.e., expressions with surrounding parentheses. Before, anything inside Code() starting with a parenthesis was assumed to be a modification.
192ac5fb1ePer ÖstlundFixes for bug #1040: - Added optional scope information to Env.Frame, so that it's possible to see if the current scope is a function or not. This is needed for bug 1040. - This means that we can now check if we're inside a function or not in Static.warnUnsafeRelations, so that we don't print a warning about == and != inside of a function. - Added new function Env.newEnvironment to create a new empty environment, and made Env.newFrame protected, since newFrame was only used to create empty environments anyway. - Extended Env.newFrame to set name and type of the new frame. - Updated test case libraries/msl31/Modelica.Math, since the erronous warnings about == on Reals are no longer issued.
0247391547Adeel AsgharAdded the Inheritance Annotation in Icon Shapes. Added the code for connecting components. Updated the stylesheet for QTreeWidget.
01a03fc40cAdeel AsgharDeleted unused icons
6a1863a10aAdeel AsgharFirst revision of OMEdit. OMC Corba communication is done. Annotations is done partially. Splash Screen is added.
583ec4f4f4Martin Sjölund- Remove all (match) equations of the kind "x = x"; these are generated by match x case x ... - Since Modelica disallows assignment of input variables, it's a good idea to remove these assignments (when we enforce this property; we either need to enforce it or change the matchcontinue implementation to first copy all inputs)
473b63e3d7Mohsen Torabzadeh-TariCommiting the first version of DrControl under OMNotebook. Mohsen 101001
6f5c9073a4Adrian Pop- reversing the reverse as now it seems the libs are added in the proper order to the makefile.
8b8d5f5b1aJens Frenkelupdate RedesignBackendOMC.doc
fe2e16919aMartin Sjölund- Rewrote a few functions in the C runtime to take constant strings as input instead of strings
523304e9e0Alexey LebedevFix for bug #1040: Further fix for bug 1040 https://openmodelica.org:8443/cb/issue/1040
0553c42fefMohsen Torabzadeh-Taridocumentation on how to compile OMNotebook
15030c28b8Mohsen Torabzadeh-Taridocumentation installing and setting Eclipse+MDT for debugging MetaModelica code.
c5c49077faPer ÖstlundFix for bug #1207: - Fixed so that iterators in for loops get correct type when the range is of enumeration type. - Added test case mofiles/ForIteratorType and updated mofiles/Enum7.
43532e8dd0Per Östlund- Speed up arrays of enumeration variables by relaxing the criteria for finding matches in the cache for enumerations.
e2be88a502Martin Sjölund- Enable error messages for cevalCallFunction again
a895033f5cMartin Sjölund- Check if SimCode is trying to generate code to dynamically load a function that takes a function pointer as input - This is an error (the runtime doesn't support it), and a testcase has been added for the error message
88007929d9Adrian PopFinal fixes for task: #1268 - now the user can select in GraphViz lefty which connect edge to break. - the selected edge is passed to OpenModelica breaking algorithm as a guide. - this all happens in an interactive loop until the user is satisfied. - heavy tailor of openmodelica.lefty to: + not be able to break branches + easier and targeted menus + complete help text.
0856bb51edAdrian PopPartial fixes for task: #1268 - minor typo fix.
3221dfeeb9Adrian PopPartial fixes for task: #1268 - implemented means to display the overconstrained connection graph to the user so that he can decide which connect to break. - added flags: +d=cgraphGraphVizShow use this to generate the overconstrained connection graph as GraphViz file and display it with GraphViz lefty. You will need to have lefty[.exe] in the PATH +d=cgraphGraphVizFile this flag will only generate a GraphViz file Model.gv - still left to do: handle the user input and order the connects so that the edge given by the user is handled last and will be broken - added Compiler/scripts/openmodelica.lefty which is an adaptation of dotty.lefty for GraphViz. Copy this file into share/omc/scripts on build. - moved Inst.selectList to Util.selectList. - more explanation to System.writeFile, what is file name and what is data.
8e4eefa0b1Jens Frenkel- update RedesignBackendOMC.doc
cc7b6ecc9dMartin Sjölund- Changed SimCode structure slightly: - When elaborating functions, we collect the includes and libs - This avoids duplicate includes, which were previosuly not collected. It also does more things in a single pass - We also only generate the in-function for the "main" function (we could also generate a main() function for this one if the inputs were list or void) - The testsuite should be slightly faster as GCC will only have to compile roughly half as many functions
2e69b6656cJens Frenkelupdate RedesignBackendOMC.doc
ac82016d20Adrian PopFixes for bugs: #1244 #1295 - More information is now printed when we can't find an outer for an inner: The inner components that were found until we instantiate outer are listed so the user can find out if he didn't misspelled the name of the outer: Example: Warning: Variable particleEffect1.particleEffect2: No corresponding 'inner' declaration found for component particleEffect1.particleEffect2.updateVisualization2 declared as 'outer '. The existing 'inner' components are: MyPackage.UpdateVisualization updateVisualization; defined in scope: MyPackage.Examples.Effects.ParticleEffect. Referenced by 'outer' components: {particleEffect1.updateVisualization} MyPackage.UpdateVisualization particleEffect1.updateVisualization; defined in scope: MyPackage.Effects.ParticleEffect1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration.
fee787aa9aMartin SjölundFixes for #1296 - Moved the generation of pattern-matching equals equation to instStatement, since RML allows pattern matching here as well - lhs := rhs is translated into: _ := match () local vars // list of temporary vars case () equation vars = rhs; match vars case lhs /* lhs becomes bound here */ then (); end match; then () end match; - Error messages for this are probably pretty bad... - Note that you can now write "3 := 1+2" in an algorithm section if MetaModelica grammar is enabled (just like in RML) - Added testcase meta/AlgPatternm.mos
111670d509Jens Frenkel- avoid Warnings
5d2499734dJens Frenkel- Bugfix Initialisation Method leastSquare
f5561551d0Martin Sjölund- Reverted part of r6231 (re-enable String pool; malloc() doesn't work to 100% when returning strings through the interactive API) - Updated meta/UtilTest.mos (we create a much smaller list of Strings, and a large list of integers instead)
2777dd5910Per ÖstlundFix for bug #1044: - Added Util.listUnionComp, list union with a compare function. - Made SCode.equationEqual public. - Use list union in Inst.instClassdef2 to filter out identical equations. - Added test case mofiles/IdenticalEquations.
6bf2ada6eeMartin Sjölund- Propagated Absyn.Info from assignments to DFA.mo - Add testcase meta/ErrorMatchNumOutput.mos
9bc540b365Martin Sjölund- Implement support for match expressions that return a tuple to a single cref - b := match () case () then (1,2); end match - Also added error messages for when the number of actual/expected output of a match expression differ - Testcase for this will be added when Absyn.Info is propagated for match expressions
bb6a3161aaAdrian PopMod.mo - use case instead of else as the current 1.5.0 release cannot parse the file otherwise
f71259b323Adrian PopDAELow.mo, DAELow.lower2 - include source position when reporting errors - when running checkModel ignore warnings/errors about unimplemented features in the back-end: + initial algorithms + initial if equations that cannot be translated to if expressions + if equations of the form if initial() then equations end if; + constrain function
ca866dce6fMartin Sjölund- Missing code from r6238 (allow running as root when running in testsuite mode)
87fb99ec65Martin Sjölund- Allow running as root when running in testsuite mode
d05440a54dMartin Sjölund- Fixed instantiation of derived types that are uniontypes (MetaModelica/RML uses type UT = T1.UT syntax instead of import T1.UT) - Propagated Absyn.Info to instClassDef (better error messages)
bd9f1afe57Adrian Pop- use case instead of else as the current 1.5.0 release cannot parse Absyn.mo otherwise
840986ab40Per ÖstlundFixes for bug #1121: - Removed index from DAE.ET_ENUMERATION, since it no longer needed due to DAE.ENUM_LITERAL. - Split the list of variables in DAE.T_ENUMERATION into one list containing literals and one containing attributes. - Implemented enum->Real implicit type casting. - Fixed connect with enumeration variables. - Fixed so that enumerations are basic types. - Static.elabCref now takes the variables subscripts into account when determining it's variability. - Added utility function Util.isPrefixListComp. - Removed testsuite/mofiles/rtestsim, since it's not used. - Updated test cases and enabled the Modelica.Electrical.Digital tests.
e13742e8cdMartin Sjölund- Static.elabCallArgs2 no longer prints error messages if it succeeds, but elaborating as record constructor fails
be2b13e7d5Martin Sjölund- Added CREF_FULLYQUALIFIED to the parser (and Absyn,Static,Lookup,Dump,Exp,etc). - This is needed to parse Modelica 3.2 properly (e.g., abc = .Modelica.x.y.fn()). - Disabled the string pool in c_runtime/modelica_string.c - It never free'd allocated strings anyway, so changing it to strdup is safe (but stupid) - Updated DFA.mo to use Absyn.CREF_FULLYQUALIFIED for primitive operations such as listRest() - Else a function named listRest that uses the listRest() primitive will become a recursive call due to going back to Absyn (Valueblock implementation limitation) - Added testcase UtilTest.mos - Tests Util.listIntRange2, Util.listMap1, Util.listMap and Util.listFold - We test the actual Util.mo from the trunk, so changes to that code reflects on the testcase
eff1aec35dMartin Sjölund- Fix meta_modelica_builtin.cpp so that the first call always returns 0
b91bf95e3bMartin Sjölund- Updated makefiles to link against sqlite3 instead of compiling it ourselves on Linux - Updated README to cover this dependency - Updated omdev makefiles to generate Compiler/runtime/runtime.a like Linux does (this is so Windows and Linux can link different objects in Compiler/runtime) - Updated configure script to search for sqlite3
d816e0c7e5Martin Sjölund- Removed antlr2 dependency from the configure script
969abb7ff0Martin Sjölund- Fix compilation on Linux (database.o -> Database.o)
a703380229Adrian PopCompiler/Database.mo Compiler/runtime/Database.c Compiler/runtime/sqlite - a wrapper for SQlite (empty and unused for now)
1a8ba8284dMartin Sjölund- Added the boxptr functions for the MetaModelica builtin Integer functions
a5bfaaa71fMartin Sjölund- Updated SimCode.getCalledFunctionsInFunction to filter out function references called in valueblocks
e74b03859aMartin Sjölund- Changed code generation for function pointers. They now also work when you bind valueblock-local variables.
6ff9efad3eAdrian Pop- clean ModelicaExternalC also when cleaning c_runtime
90f8c403d8Adrian Pop- use intEq instead of equality
a6c9f4bb6dAdrian Pop- get rid of equality()/failure(equality())
5a7990e1a4Adrian Pop- use intEq instead of equality.
39e624c40eMartin Sjölund- Added support for if-equations in match-expressions - Added some error messages when an equation that is not valid in the context of match-expressions is found
4fc3e7b78dAdrian PopFixes for #1294 - in MinGW/MSVC/Windows open the parsed file in "rt" mode Parser/antlr-3.2/runtime/C/src/antlr3filestream.c - in MinGW/MSVC/Windows open the written file in "wt" mode Compiler/runtime/printimpl.c Compiler/runtime/systemimpl.c
a7dfd92a1eMartin Sjölund- Guard parser/ParseModel files from svn-eol-style script
4efbb1ad09Martin Sjölund- Fixed else for match expressions
d73eb8176cAlexey LebedevAdded a check whether component's name is the same as its type specifier. Modified the testsuite correspondingly. Added a couple more test cases.
6b970d4155Martin Sjölund- Disable LossyGearDemo1 testcase (spins until memory runs out) - Fix refactorGraphAnn2.mos
e328561b69Martin Sjölund- More int/modelica_integer fixes
aeaf75985fMartin Sjölund- Changed int, unsigned char in the simulation runtime to modelica_integer, modelica_boolean
4266afff8dMartin Sjölund- Fix compilation of errorext.cpp (rml-trunk mk_scon doesn't accept const char*)
793269b5e4Adrian Pop- Fixes for bug #1285 #1286
ba950503a6Adrian Pop- fixes so we can compile with MinGW GCC 4.5 also.
497b34318eAdrian Pop- got rid of an unnecessary stringAppend.
53ec55249fAdrian PopFixes for #1294 - System.writeFile and Print.writeBuf now open the file in *binary* mode with "wb". Otherwise, if you open the file with "w" it opens it in text mode and when you write \r\n into the file it writes \r\r\n because \n on Windows is \r\n! - added testsuite/parser/ParseModel.mos to test that Parse-Write-Parse cycle works.
20672528f6Martin Sjölund- Fix for ModelicaExternalC - Compile with "-Dstatic=", to remove static keywords everywhere. - Static functions are not exported, but all functions were declared static. - Compile with -D_POSIX_ so OSX works
a5b8be4544Martin Sjölund- Added /libraries - a common place for the Modelica libraries we test OpenModelica against - It is possible to switch between Modelica versions using the following environments: - OPENMODELICALIBRARY=/libraries/msl221:/libraries/common - OPENMODELICALIBRARY=/libraries/msl31:/libraries/common - (Separate with ; on Windows platforms) - Moved /libraries/testsuite/libraries/ ... msl221 msl31 BioChem to /libraries - Added ModelicaAdditions, SimpleFluid to /libraries - Updated testcases to reflect these changes (testcases that load MSL now use loadModel)
0e2dcee03eWilli BraunCorrect small error for revision 6177
d20f9f9ebfWilli BraunFixed memory error in initialitation after rev6171
9cdf03684cMartin Sjölund- Fix compilation on Linux
cdac4a0bd5Martin SjölundFix #1294 - In the parser, we replace CRLF with LF in Windows. This is because fprint("\r\n") in MinGW is CRCRLF. - This is performed as backpatching because you can't set the text of a fragment rule (the STRING_GUTS is just the start/stop index in the instream). The alternative would be to lex strings by hand (including exception handling/error messages) - In Linux/OSX, the backpatching is not performed, since this issue is not present there - NO testcase was added for this because rtest ignores whitespace
dae6b64efcPer ÖstlundFix for bug #1133: - Added support for reinit in DAELow.lowerStatementInputsOutputs. - Added test case libraries/msl31/Modelica.Mechanics.
d7d5b8d01dWilli Braun- Added support for Boolean and Integer Variables in c_runtime - simulation_result changed only for plt output
2592cea0faPer ÖstlundPartial fix for bug #1287: - Fixed code generation for algorithm with single output variable.
73b669dd34Martin Sjölund- Added support for parsing class Code - cref's can't use the CODE token due to parsing conflicts with expressions, but the MSL 3.2 beta now parses - Added testcase parser/Code.mo to test this as it's not needed to add the whole MSL 3.2 to the repository yet
6bca829635Jens Frenkelupdate RedesignBackendOMC.doc
55777f9785Jens Frenkel- update RedesignBackendOMC.doc - Util.mo - add listMapFlat and listMapFlat1, this is the same as listMap and listFlatten, but with less memory consumption - DAELow.mo and Algorithm.mo - add functions to traverse all expressions of an DAELow object/ algorithm - SimCode.mo - reimplement extractDelayedExpressions with less memory cunsumption and speedup
bf73bb4098Jens Frenkel- update RedesignBackendOMC.doc - Util.mo - add listMapFlat and listMapFlat1, this is the same as listMap and listFlatten, but with less memory consumption - DAELow.mo and Algorithm.mo - add functions to traverse all expressions of an DAELow object/ algorithm - SimCode.mo - reimplement extractDelayedExpressions with less memory cunsumption and speedup
4cbdfa8b02Per ÖstlundFix for bug #1286: - Added error message for modifier type errors. - Added test case mofiles/ModifierTypeError. - Fixed some error messages in InstSection, and updated some tests to reflect these fixes.
9084ca4393Martin Sjölund- Added new module InstSection.mo. It handles instantiation of algorithm and equation sections (including connect-equations) - The split is rather well defined (for loops sometimes need to declare a new loop variable, so it still needs to import Inst) - Combined compilation time is the same (split 67/33) - ~40 seconds faster to compile omcd with a single-line change in Inst.mo
6c30f41471Daniel HedbergAdded dynload_try.obj to VC makefile.
366006ea22Per Östlund- Updated workplan.
42ed1b83bePer ÖstlundFixes for bug #1272: - Fixed checkModel of for-loop with unbound parameter range.
fd225f2fa3Martin Sjölund- Fix svn-eol-style on Makefiles
008860fd4cMartin SjölundFix #1291 - Propagate Absyn.MatchType to SCode, DAE and finally code generation - Use throw instead of break when calling "fail()" in the then clause of a case - Don't catch exceptions in match expressions (pattern matching failures break instead of throw) - Added testcase MatchCase12.mos
141c705b7fPer ÖstlundFixes for bug #1272: - Fixed several checkModel issues with parameters without bindings. - Removed dummy dimensions phase from CevalScript that was introduced in r6142. - Disabled "unbound parameter"-warning when doing checkModel, because we can't know whether a parameter would have been given a binding when instantiated or not. - Cleaned up the handling of dimensions a bit: - Renamed DAE.DIM_NONE to DAE.DIM_UNKNOWN and DAE.DIM_SUBSCRIPT to DAE.DIM_EXP, to better tell what they represent. - Use DAE.DIM_UNKNOWN instead of previously used DAE.DIM_SUBSCRIPT(DAE.WHOLEDIM) (a subscript is not a dimensions). - Updated tests Modelica.Math and Modelica.Blocks in libraries/msl31, and enabled Modelica.Blocks.Continuous.StateSpace in Modelica.Blocks.
77082237dbMartin SjölundFix #1290 - Functions that fail() now return that as a value, so we can distinguish between those and cases when code generation/ceval failed - More make fix-svn-eol-style
737234b77dMartin SjölundFix #1293 - Enable MetaModelica grammar when +c=mdt is given
95dff65138Martin SjölundFix #1292 - Changed ModelicaExternalC makefile so that it does not use the CFLAGS env.var when compiling in Unix. Instead, we use the CFLAGS specified when configuring. This solves the issue of -ansi -pedantic being added to a file that cannot be compiled -ansi -pedantic.
0eccfc6fe9Martin Sjölund- Ran make fix-svn-eol-style
d57c3d1e91Jens Frenkel- update RedesignBackendOMC.doc
7ba52093deMartin Sjölund- Changed default optimization level from -O0 to -O3. MODELICAUSERCFLAGS may override this. - Testsuite runs ~0.2% slower than earlier (our testcases only simulate for 4 or 5 time steps, which means the additional cost of GCC optimizations is higher than the gain) - Actual simulations see a 5~25% improvement due to GCC optimizations
32bc44a6c3Pavol Privitzer- Susan's text rendering improved performance; now using Print.printBuf instead stringAppend ( approx. 4x faster Text -> String conversion; resulting to approx. 3x faster template evaluation for tested models; with the cost O(n+s) where n is number of strings and s is their overall length; previously it was O(n^2*m) where m is average string length! ) - template based generation of simulation initial data file; the new type SimulationSettings added to SimCode TODO: complete initial values elaboration for enumerations; now, algebraic enumeration start values won't work (e.g.,discrete enum vaiable) -> see DAEUtil.mo comments - timeCodeGen time in SimulationResult record is now separated into timeSimCode and timeTemplates for SimCode structure building and templates evaluation - fixed non-working optional parameter fileNamePrefix in script commands simulate() and buildModel() - added 2 external helper functions to Print to support fast template rendering (Adrian, please, check it if they are OK) - changed SimCode.ModelInfo.name to Absyn.Path - fixed a bug in SimCode.cre2simvar to correctly deal with derivatives - added SimCode.derComponentRef to support der(cref) handling in templates -> TODO: this is only a workaround; there should be nothing like der(cref) in as an input expression - C# codegen improvements
9c079488d4Per Östlund- Reverted some changes from r6146, since they broke some Modelica.Math functions.
abc137ccf6Per ÖstlundFixes for bug #1272: - Allowed Inst.elabComponentArraydimFromEnv to fetch dimensions from the component declaration if a component doesn't have a modification.
be6eb4fc29Jens Frenkel- update RedesignBackendOMC.doc
b86f995759Martin SjölundTrunkate integers in the interval 30~31 bit like the old parser did.
01256d88c9Per ÖstlundFixed for bug #1272: - Added phase before instantiation when doing checkModel that inserts dummy dimensions where needed. - Added working models in Modelica.Blocks to test suite.
7b1c9a84bcMartin Sjölund- Fix parsing of if-expressions in mos-files
12d1f8e43aMartin SjölundFix #1284 - Fixes a bug where "No viable alternative near token: " would result in a segfault
551386936eMartin Sjölund- Change error message for assignments using (=) instead of (:=)
a93e918fd9Jens Frenkelupdate RedesignBackendOMC.doc
582991dd06Peter Aronsson-Changed error messages for unbound parameters.
91cb5d0927Per ÖstlundFixes for bug #1275: - Allow arrays in instBuiltinAttribute when checkModel is used, so that checkModel can be used on array types with modifications. - Added test case libraries/msl31/Modelica.Mechanics.MultiBody.
5869308b83Per ÖstlundFix for bug #1237: - Added special case for Modelica.Electrical.Analog.Lines.M_OLine.segment in Static.elabSubscriptType, to allow that model to use Real as array index. - Updated test case libraries/msl31/Modelica.Electrical.Analog. - Replaced Absyn.pathPrefixOf with a function of less algorithmic complexity. - Renamed Absyn.stringPath2 to Absyn.stringListPath and made it public.
38d6314067Per Östlund- Fixed missing semicolon when printing STMT_NORETCALL in DAEDump.ppStmtStr.
d6b64cb4c9Adrian PopSpeed improvements #1264 - System.mo/systemimpl.c: added System.stringAppendList and improved checking for file writing - Print.mo/printimpl.c: improved file handling and buffer filling + new functions for Template Codegen - CevalScript.mo: check also partial classes in CevalScript.checkAllModelsRecursive and do not filter libs. - Util.mo: call System.stringAppendList in Util.stringAppendList
3fd98df68eJens Frenkel- fix else path of functionODE_inline - cast conditional expressions to modelica_bools avoid warnings
ea24c37cf7Per ÖstlundFixes for bug #1274: - Implemented calls on the form min|max(function returning multiple values), which may or may not be valid Modelica but which is used in Modelica.Math. - Unified elabBuiltinMax and elabBuiltinMin, since they do the same thing anyway. - Added Static.makeBuiltinCall, to make it easier to create builtin calls. - Added fixed models to test case libaries/msl31/Modelica.Math.mos.
4e63c7e718Per ÖstlundFixes for bug #1274: - Replaced Static.dimSize with Types.getDimensionNth. - Rewrite Static.computeReturnType to allow unknown dimension in matrix multiplications when checkModel is used.
172e07d4b3Adrian PopFixes for #1273 #1282 - allow partial classes to be fully instantiated via checkModel and issue a warning about it. - update testsuite/libraries/msl31/Modelica.Electrical.Analog.mos - update msl31/Makefile - make sure msl31.log is always generated in testsuite/libraries/Makefile
7702c1561cAdrian Pop#1266 - do memory profile only when MEMORY_PROFILE is defined - use $CLAGS in Makefile.common - more comments in Makefile.vc - ensure that variable declarations are first in a block in Modelica.g (for Visual Studio CL crap compiler) - do not use void inside macros in ModelicaParserCommon.h (for Visual Studio CL crap compiler) - ensure that variable declarations are first in a block in parse.c (for Visual Studio CL crap compiler)
c85d03ee88Adrian Pop- a makefile that works with Visual Studio nmake.
fa6eaf0cabPer Östlund- Added printing of class comments and annotations to DAEDump. - Updated test cases.
807192b6c1Per Östlund- Fixed expansion of sum(param with fixed=false). - Added test case mofiles/Sum.
02abb48ffaPer Östlund- Fixed type of skew function. - Added test case mofiles/Skew.
f5aa5b7850Per Östlund- Fixed connect statements of array with enum dimensions. - Added test case mofiles/EnumConnectArray.mo. - Removed unnecessary parentheses around annotations in DAEDump. - Modified msl31/Makefile so that the parallell test script can parse it correctly.
caab1f90bbAdrian PopFixes for bugs: #1273 #1156 - OMC will now use the start value for a parameter during instantiation if the parameter does not have a default value and report a warning about it. This is widely used in Modelica 3.1.
3294b10256Anton SodjaFixed error in c_runtime/Makefile.common regarding libModelicaExternalC.a.
24337450ecAnton SodjalibModelicaExternalC.a is now compiled from Modelica/C-Sources/*c.
74e4fdeeccPer ÖstlundFix for bug #1274: - Modified Static.elabBuiltinIdentity to work on arrays of unknown size when checking a model.
3db308f519Per ÖstlundFix for bug #1274: - Changed Types.matchTypeTupleCall to allow tuple calls where the LHS has fewer components than the RHS.
ff25ae7201Martin Sjölund- Add -lrt to LDFLAGS when needed
cebff61899Martin Sjölund- Add missing #include in rtclock.c
9f11b6758fMartin Sjölund- Updated code for rtclock.{c,h}. The new stopwatch uses a clock index outside the range of the user-accessible clocks instead of 13.
1e6d000ffcPer ÖstlundFixes for bug #1274: - Changed Static.elabBuiltinSize so that the resulting expression is not a constant if we don't know the dimensions yet. - Added check for checkModel in Static.elabBuiltinCat2, in case the dimension is not known.
e9d7b36c9aMartin Sjölund- Fixed compilation of ModelicaExternalC.cpp (missing errno.h header)
8ae5a1e11dAdrian Pop- add a cumulative timer in System: + System.resetTimer() -> set the time to 0 + System.startTimer() -> starts counting + System.stopTimer() -> stops counting and adds the elapsed time since System.startTimer() to the cumulated internal time + System.getTimerTime() -> retrieves the internal time.
38096e5f1bAdrian Pop- include more functionality in ModelicaExternalC.cpp needed for Modelcia.Electrical.Machines.
c176fa3619Adrian Pop- transform an integer literal into an enumeration literal if the requested type is an enumeration. - used in Modelica.Electrical.Machines and Modelica.Electrical.Digital.
d538b4a912Adrian Pop- allow enumeration type to be used as a connector as is used in Modelica.Electrical.Digital.
8e856f5c5aMartin Sjölund- Fix for parsing element_replaceable
8d996956f0Martin Sjölund- Transform strings that contain \ not followed by a proper escape char with \\ - We print a warning whenever we do this. It is not in the specification; only for compatibility with Dymola. - Fixes bug #1143, add testcase testsuite/parser/DocumentationBackslash.mo
8222968ba0Per Östlund- Fixed bug in ceval of <>, same problem as fixed in r6093 for ==. - Added test case mofiles/ConstantLogicalRelations.
9777e95151Per Östlund- Implemented assignments on the form cref := function_returning_tuple(...), which is possibly needed for bug #1274. - Added test case mofiles/TupleSingleAssign.
7fa4d4314bPeter Aronsson-Fixed bug in ceval of false == true, introduced in -r 5993
51932838beJens Frenkel- add RedesignBackendOMC.doc concept paper
f2e35c7c07Adrian Pop- got rid of an left out debug print in Compiler/runtime/errorext.cpp - give more memory to ANTLR3 by default in Parser/antlr-3.2/runtime/C/include/antlr3defs.h - use NULL instead of 0 in Parser/parse.c
1264120095Jens Frenkel- speedUp again the backend for handle the division by zero problem therefor Exp.printExp2Str have two new inputs. This inputs are functionpointers. One for how ComponentRef should be printed and one for how DAE.CALL should be printed - Inline.mo - remove unused import
fdb4d9262bMartin Sjölund- Workplan update
25f2865b25Adrian Pop- ClassInf.mo: handle all cases in ClassInf.getStateName - Exp.mo: minor edit - CevalScript.mo library filtering for checkAllModelsRecursive (disabled for now) we should make possible to specify a filter in this API.
28a1be4ab3Martin Sjölund- Allow the parser to treat list[:] as valid MetaModelica code, since that's the syntax used in the compiler. - Fix a bug when a generic parser error got as the previous token. - Added testcase for this - Added a testcase that loads all the Compiler/*.mo sources and parses them - None of them give error messages using the new parser
28d85f98c5Jens Frenkel- speedUp the backend for handle the division by zero problem therefor Exp.printExp2Str have two new inputs. This inputs are functionpointers. One for how ComponentRef should be printed and one for how DAE.CALL should be printed
d8b1b164dbPeter Aronsson-Fixed compilation of rtclock.c for visual studio.
5d114b63d4Per Östlund- Use fake dimensions when vectorizing a function if checkModel is used. - partial fix for bug #1274
ad2d387c93Per ÖstlundUpdated workplan.
c10e4bb931Peter Aronsson-Removed some newlines in the debug print of expressions
b3419e922dMartin Sjölund- Fix parser compilation with GNU C++ headers (involves #undef __cplusplus to prevent the unintended use of C++ features)
957aab9a6fAdrian Pop- use g++ for now to compile the generated parser/lexeer code until MetaModelica problems with the alignment of double is solved. - fix compilation errors and warnings due to compilation using g++ vs. gcc.
8a07489eabAnton SodjaFixed a bug in tables.cpp, when table is not read from file - in that case it is passed to table-intialization function as an array (which is a local variable in a wrapper function). Previously the code did not copy that array (just the pointer value).
d98eb99723Martin Sjölund- Update the type of SimulationResult
94d359770cMartin Sjölund- Fix rtclock.o compilation on OMDev
7a43d4b14bMartin Sjölund- Adding Compiler/runtime/rtclock.c; a part of the System module - Contains functions for _accurate_ timing (the Linux timer reports a 1-nanosecond resolution) - Added extra fields to the SimulationResult record returned by simulate() - totalTime, timeFrontend, timeBackend, timeCodegen, timeCompile, timeSimulation - The fields are disabled when running omc through rtest - Added new flag to omc, --running-testsuite flag (note that you need to use -- --running-testsuite in order to prevent the RML runtime from eating the flag)
f83cc58613Per Östlund- Implemented option to output annotations in flat modelica. - Cleaned up Interactive.evaluateGraphicalApi to make it easier to maintain. - Updated some msl221 test cases that are normally not run, due to Martins recent changes.
f35adfa0baMartin Sjölund- Changed the output of simulate() - Two fields: resultFile and messages - If the command fails, only messages will be present - If the command succeeds, the messages field is the contents of output.log - More fields will be added (for time measurements; to be disabled by a compiler flag so we can run the testsuite)
3be70af079Martin Sjölund- Fix parse.c when parsedebug is used
ceb97af05eMartin Sjölund- Added testcase for getting values from records in the interactive API. The following now works: - x := rec.field; - rec.field;
ec1423f871Per Östlund- Fixed so that iterators in for loops get correct type, instead of assuming that the iterator is an integer. This fixes enumerations in for loop ranges. - Updated test cases and added test case mofiles/EnumFor.
3edbc66b4bPer Östlund- Made all enumeration names fully qualified.
dba6c747b4Anton Sodja- Removed unnecessary VarTransform.VariableReplacements from DAELow.removeSimpleEquations. - Changed type of aliasVariables in DAELow.DAELOW (currently ignored in trunk).
bbbea5cb46Adrian Pop- handling task #1269 - partial implementation of stream connectors + connection of stream connectors works now
1a95d5681eJens Frenkel- fix bug (more than one tearing variable) for relaxation algorithm
0064bbb934Willi Braun- fixed bug [#1263]
82657ee127Jens Frenkel- speedup updateAlgorithm
d73a40e961Martin Sjölund- Fixed IntegerLiterals32.mo on OMDev
878d7a4f2eMartin Sjölund- Also sort files in a directory when using the class loader - Fixed some compiler warnings (unused imports)
292f84a822Martin Sjölund- ClassLoader change: Sort subdirectories so list() output is the same in Linux and Windows - Add (preliminary) parser support for fully-qualified names and crefs - Absyn was not updated with CREF_FULLYQUALIFIED; a warning is output - pathString was not updated to print the initial dot for fully-qualified paths, since the function is used in so many places - Added testcase for empty within statements
4cdf9c75f6Martin Sjölund- Fix parser for empty within statements (within ;)
83fcbb7ce4Martin Sjölund- Added parsing support for empty tuples, and Modelica wildcard matching in tuples: (a,,c) is (a,Absyn__WILD,c). It's the same as writing (a,_,c) with a MetaModelica lexer.
81c1c3ae55Per Östlund- Implemented reduction of enumeration ranges so that the enumeration literals are preserved. - Added utility function Util.listSub. - Added test case mofiles/EnumRange.mo.
8427ca70e1Martin Sjölund- Removed antlr dependency from OMShell-terminal
1151192be6Martin Sjölund- Update parser makefile
da13ec0628Martin Sjölund- Fix integer overflow problem warning on 32-bit systems
00ba3abe75Willi Braunadd reinit support for euler, rungekutta, dassl2
36b4e1fc35Adrian Pop- fixed model extends X end X;
d897f977f9Jens Frenkel- handle also inputs from DAELow.ALGORITHM in remove simple equations - check if all inputs/outputs still used in algorithms - more information in case of an error for lowerWhenEqn
65718eed2dMartin Sjölund- Fix compiler makefile dependencies of subdirs
b1409562c0Martin Sjölund- Changed default parser from ANTLR2 to ANTLR3 - All testcases except flat modelica parsing works
b95e74fed1Per Östlund- Fixed elaboration of sum of array with enumeration dimensions. - Expanded test case mofiles/EnumDimSum to test the new functionality. - Changed Util.listMap1_tail and Util.listMap1r_tail so that they use listReverse instead of listAppend. - Added function Util.listMapAndFold.
1e9833008cAnton SodjaReverted checking for stricly-monotonous time samples in c_runtime/tables.cpp. It turned out that having only monatonous time samples is not the smartest idea, since CombiTimeTable does not raise any events.
8653dcbf7fAnton SodjaFixed bug where InterpolationTable::extrapolate() expects enumeration indices to begin with 0.
c2d026ce5fAnton SodjaIn c_runtime/tables.cpp, fixed modulo divison in extrapolation and add zero-division guarding in interpolation (since time samples do not need to be strictly monotonous anymore).
92166980ccPer Östlund- Fixed vectorization of crefs so that enumeration dimensions are preserved. - Added test case mofiles/EnumDimSum.
05084f4d66Anton SodjaAllowed time samples to be only monotonous (before strictly monotonous) in c_runtime/tables.cpp.
48fa0803cbAdrian Pop- added missing c_runtime/ModelicaExternalC/Makefile - fixed ö from Linköping in ModelicaExternalC.cpp and included "../tables.h" instead of "tables.h"
4a45ac2746Jens Frenkel- handle also inputs from DAELow.ALGORITHM in remove simple equations - remove negation sign, - remove equal inputs - TODO: check if all inputs still used in algorithm
fbad45ad5aAnton SodjaAdded wrappers for table-manipulation functions (defined in c_runtime/tables.h) to libModelicaExternalC.
d82d552d41Jens Frenkel- handle also inputs from DAELow.ALGORITHM in remove simple equations - TODO: remove negation sign, remove equal inputs, check if all inputs still used in algorithm
4bb4943004Martin Sjölund- Simplified parsing of identifiers - _ is now a valid identifier when lexing as Modelica 3 - It is Absyn.WILD when lexing as MetaModelica
2b628e7b30Anton SodjaIn Modelica Standard Library 3.1, certain external functions are lined with library ModelicaExternalC, which is currently missing in OpenModelica.
258df9bab9Martin Sjölund- Handle $Code in ANTLR2 and ANTLR3 parsers; in preparation of MSL 3.2 support - Tools are recommended to use $Code instead, but for now Code is also supported
1ae5f6197aMartin Sjölund- ANTLR3 parser - Handle code expressions as in ANTLR2 (never output as VARIABLENAME or TYPENAME) - Commented Absyn.mo to reflect that the parser shouldn't consider these - Handle integer overflow in the parser (64-bit versions now get up to 63-bit integers; this may cause differences in test models - if so, simply force them to be real numbers)
4c47984ba9Per Östlund- Implemented simplification of size calls. - Added test case mofiles/ConstantSize and updated mofiles/DiagonalBlock.
bfe7352ff1Martin Sjölund- Added support for Parse.parsestring and parsestring in the ANTLR3 parser - Now clients like OMNotebook and OMShell work fine with it - Added testcase for parsing "else" in matchcontinue expressions - TODO: Flat Modelica
7d6eba547dMartin Sjölund- Updated ErrorExt runtime - The C version now has a function rollBackAndPrint, which does a rollBack to an ID, and returns the strings of all errors that were removed from the stack. - To be used by the new parser for handling the weird output of Parse.parsestring
b9de7054f6Jens Frenkel- speedup backend function addDivExpErrorMsgtoExp
5f6d3602ffPer Östlund- Fixed bug #1255 by also fixing submods in InstExtends. - Added test case mofiles/ExtendsModWithImport.
7208e7d6d1Martin Sjölund- Added testcase for runScript() API
d285cae598Jens Frenkel- do not replace outputs of algorithms
150a3afe5cJens Frenkel- do simple replace also for algorithms - TODO: add algorithm outputs to BinTree of DAELow.removeSimpleEquations
5f08c46294Peter Aronsson- Changed Exp.subscriptDimension to return list of DAE.Dimension
f377ef4a6dMartin Sjölund- Updated ANTLR3 parser (match/matchcontinue/else) - Most of the testsuite now passes (virtually only error messages are different)
a8f190b409Martin Sjölund- Modified some old testcases that used MetaModelica grammar (+., +& operators) even though they were Modelica testcases - Fixed some issues with the ANTLR3 parser crashing when the lexer was fed bad input - Fixed parser errors in testsuite/mosfiles/BouncingBall.mos (non-backtracking parsers can't see the difference between if-expressions and if-statements; it needs parenthesis or to be part of an assignment statement in order to work properly) - Fixed rtest (erroneous testcases now always print "erroneous" regardless if they fail or not)
1deb03978bPer Östlund- Implemented expansion of reduction calls sum and product, which are now expanded when possible. - Added test case mofiles/Reductions.
5c4f4fc339Martin Sjölund- ANTLR3 parser now compiles lexers in separate object-files, and can switch between them at runtime. No MetaModelica tokens will be generated from the Modelica3 lexer. There is also a Modelica2 lexer if someone wants it.
3ae4516f59Per Östlund- Simplified elaboration of reduction iterators due to general changes in iterator elaboration.
cd8f312413Martin Sjölund- Added omc.exe omcd.exe targets to the Parser/Makefile, to link and use ANTLR3 instead of ANTLR2
10dae7a242Martin Sjölund- Fixed some more issues in the ANTLR3 parser (97 of 1036 testcases failing now) - Still needs to be able to work as string parser (CORBA communication, etc) - Needs to be checked for performance issues (loadFile() is faster, but instantiateModel() is slower when working on the generated data structures) - Needs to have two (or three) different lexers (for Modelica, MetaModelica, maybe flat Modelica modes) - Currently, there are some special macros for MetaModelica stuff, but these are ugly - Moved around in the testsuite: created a parser library strictly for testing lexing/parsing/unparsing - One of the new testcases does not work with the ANTLR2 parser, because it can't switch between MetaModelica and Modelica mode
aafe19f6b1Per Östlund- Fixed bug 1241, wrong array index in expanded multidim equation. - Added test case mofiles/ArrayIndex2 to test the fix. - Updated test case mosfiles/SliceAssignment with bug id.
4cf9aa2b4aJens Frenkel- fix bug in DAELow.traversingextendArrExp
ac645eb9f4Per Östlund- Commented out case in DAELow.traversingextendArrExp that converted component references belonging to blocks to empty calls. - Added test case mofiles/BlockResult.
e02bc2f5b0Per Östlund- Fixed bug 1249 by relaxing the condition in crefHasScalarSubscripts, so that crefs can have less dimensions than subscripts. - Added test case mosfiles/SliceAssignment.
99bf7a9e83Per Östlund- Introduced a new Exp type, ENUM_LITERAL, that represents enumeration literals. - Enumerations in array dimensions and array subscripts are now kept in the flat Modelica output. - Replaced DAE.ArrayDim and Inst.DimExp with DAE.Dimension. - Added type constants to Builtin.mo to make it easier to change type representations. - Changed Exp.printExp2Str to take a string delimiter as input, so that DAEQuery and XMLDump don't need their own copies of printExp2Str. - Fixed a lot of type errors in Static, Exp and ValueUtil. - Updated the code generator to handle enumeration literals and the new dimension type. - Updated the parallel test script to handle erronous test cases. - Updated a couple of test cases due to changes in the flat Modelica output. - Added a test case to test enumeration dimensions in array equations.
4a6b0c5a75Martin Sjölund- Updated ANTLR3 grammar slightly (if-expressions). It can now handle ~623 of the testcases, and many of the "failing" ones are just old ones but with improved error messages.
bf3458ab88Martin Sjölund- Update handling of Absyn.IFEXP in the old parser and Static (we now have support for else-if branches in elabExp)
e922c8570eMartin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~572 of the testcases. - Improved error handling in the new parser.
924423af97Martin Sjölund- Add some error handling to the ANTLR3 grammar
4a6fcce671Niklas Worschechupdated project plan
c52a3a12b7Martin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~485 of the testcases.
0b28ce1c5fMartin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~399 of the testcases.
c8a3f827f9Martin Sjölund- More fixes to the ANTLR3 grammar (~308 working testcases)
64e5772053Martin Sjölund- More fixes to the ANTLR3 grammar (~264 working testcases)
28909bdf96Martin Sjölund- More fixes to the ANTLR3 grammar (~165 working testcases)
3e3bc2b697Martin Sjölund- Add missing parse.c to the ANTLR3 parser
5099b97a14Martin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~140 of the testcases.
e3c83fe09dAnton SodjaReplaced isblank() with isspace(), because the former was added with C99 standard and it seems not every compiler supports it.
653fe0e1a0Martin Sjölund- ANTLR3 rules almost done. Can now link it with the omc executable, but it crashes for most input :)
83464e2924Martin Sjölund- More actions to the ANTLR3 parser - Now initializes like an RML module so we can use real RML calls and see how slow the parser is using lots of malloc()
22b3bcf7e8Anton SodjaReimplemented tables.{h,cpp} (and hopefully made code more clear) and also added support to load tables form MAT-file ver4.
07dfbfe073Martin Sjölund- More actions to the ANTLR3 parser
297e5be012Martin Sjölund- More actions to the ANTLR3 parser
0ab6e1f723Martin Sjölund- File encoding UTF-8 to 8859-10 (c_runtime/solver_main.cpp)
c460bfef47Martin Sjölund- Fixed RK allocation issues once and for all (alloca doesn't work in mingw, so we use a global malloc instead)
99c1416290Martin Sjölund- Guard some macros in f2c.h so they don't mess with C++ headers
fcd11b39faMartin Sjölund- Changed RK allocation method to alloca instead of variable-length arrays, since Visual Studio doesn't support those...
5e65412bd9Martin Sjölund- Another memory leak in rungekutta_step fixed
1b8845ec4bMartin Sjölund- Fix rungekutta memory leak
619142f0c0Otto TronarpRe-enabled the general handling of import in Cevalfunc.
57979b084eMartin Sjölund- Added some actions to the ANTLR3 grammar
1ceb951dfdPeter Aronsson-Added Util.arrayMap and Util.arrayMapNoCopy for mapping functions over arrays.
14872126a7Martin Sjölund- Fix building ANTLR3 parser prototype on Linux (ignore the directory recursion in the executable as it is written in Win32 API)
c0b665a3f0Martin Sjölund- Changed output of a flat class from fclass to class (omc a.mo > a.mof; omc a.mof no longer causes a parsing error) - All testcases have been updated
7e90ffe63cMartin Sjölund- Fix and add testcase for Integer() of enum - Fixes bug #1250
3921efce74Martin Sjölund- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)
c567a2c7acMartin Sjölund- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)
f8ba685186Martin Sjölund- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)
7525cd61eeMartin Sjölund- Simulation runtime change: - The cref defines also define $P$old<%cref%> (and old2) - This is a replacement for the old() old2() functions and is a lot faster
40f105c7bbMartin Sjölundworkplan update
17363ad41dPavol Privitzer- fixed a bug in SimCodeC.daeExpAsub() in the last case where context condition should be FUNCTION_CONTEXT vs. other contexts (did not work for OTHER context) - removed a redundant case (repetitive code) with Susan's "or case" feature in SimCodeC.daeExpMatrix() - a new version of C# code generator (better array support in functions, mainly 2D slicing)
df41f5a194Martin Sjölund- Improved the rungekutta implementation (call functionODE n times per loop instead of n+1)
fdb9a8bcfaAlexey LebedevImproved error messages in Static.mo - added Prefix information into them. Modified test files where needed. See http://openmodelica.ida.liu.se:8080/cb/issue/1235?navigation=true
f9863a8060Adrian Pop- updates to the Workplan-status-estimates.xls
7124ca3705Martin Sjölund- Updated workplan (missed one line: inline)
5e4adf4392Martin Sjölund- Backup algebraics in functionDAE_res, as per bug #1176
5801e42ce1Per Östlund- Updated workplan.
02cf50d3dcMartin Sjölund- workplan update
309ea32fe3Martin Sjölund- Added runtime support for array equations "cref = fn()", where the cref is an integer array - Solves bug #1242
4658adc790Martin Sjölund- Changed the inline implementation slightly so that it works properly with events - Added functionODE_inline in the runtime (only called by the inline solver) - Now uses RK order 4 properly (was order 1 previously) - Verified that RK produces correct results with der(z) = time - The inlined code now updates the global time instead of the solver routine
dd4c2638acAdrian Pop- updates to release files
3f53ac6a7cAdrian Pop- fixed setting the compilation command on Windows for Inline solvers - fixed test name in InlineSolverCodeGenerationRK.mos
8a44c138e0Per Östlund- Fixed simplification of min and max so that a value of the right type is returned. This fixed the mosfiles-nosim/matrices test case.
6976d45292Martin Sjölund- simulate(..., method="inline-...") now sets the environment variables required during compilation
f4995318fdMartin Sjölund- Added "inline-rungekutta" solver - Uses C preprocessor, and for now "inline-euler" and "inline-rungekutta" requires adding environment variables so that the executable compiles code for the inlining
a21a1ea5f6Martin Sjölund- Only use EQUATION_GENERIC_FAILURE if no other error message was output during instantiation of the equation
67e58194ffMartin Sjölund- Add line numbers to error messages in Inst.checkConnectTypes
d78c0de047Peter Aronsson-Added extra guard to Exp.solve so it doesn't solve equations like a*b=0 w.r.t. a. (a is not necessarily zero)
31bc1393e0Peter Aronsson-Made DAE.transformIfEqToExpr public again since MathCore uses it in their backend.
1dc7a51866Martin Sjölund- Added new solver "inline-euler" - Works for all equation blocks OpenModelica currently can generate derivative assignments for - Does not generate callback functions for all the blocks (which means it can't be used to implement inline-rungekutta) - Mixed equation systems inline the solver in each iteration, which is not optimal performance - Does not require any API calls or flags to use this solver - simulate(..., method="inline-euler") works
dd34e69631Martin Sjölund- Changed SimCode.SES_SIMPLE_ASSIGN.cref to a ComponentRef instead of Exp
a6b7fd432aPer Östlund- Added failtrace to DAELow.lowerStatementInputsOutputs. - Fixed correct type of DAE.STMT_ASSIGN_ARR in Algorithm.makeAssignment2. - Fixed code generation for array equations in algorithm sections in models.
704c78d5e2Martin Sjölund- Removed the SIMVAR to String to function from the template; the cref stored in it is sufficient to create the string
64408a43a2Martin Sjölund- Fix a configure issue when using sendData-Qt on OSX
66dc286c08Martin Sjölund- Added a generic error message for failing to instantiate an equation - There are many ways that the equations can fail, and only error messages for some; it's important to at least print something - Closing bug #1239 (which had 2 errors in it; neither of which were caught)
7bee92d780Ariel LiebmanFixed minor bug in notebook.cpp introduced in new message window string concatenation.
329884227dPer Östlund- Added getVectorizationLimit to complement the previously added setVectorizationLimit API call.
7d95a39cc5Per Östlund- Removed check for DAE.VARIABLE in SimCode.daeInOutSimVar so that it doesn't fail for parameters in functions.
1e5a948fefMartin Sjölund- Updated OMC lexers to use look-ahead that detects if +. is supposed to be PLUS followed by some text, or realAdd (i.e. PLUS) - Fixed bug #1148, and added testcase RealOpLexer.mo
8bd36e4d51Martin Sjölund- Refactoring MetaModelica Real operations - The source code now contains a space after each real oepration (e.g. a*. 0.4) - The RML and OMC parsers will be updated to require a space after these operations in order to avoid ambiguity with regular Modelica code
9cd5dc1242Per Östlund- Added setVectorizationLimit as an API command. - Cleaned up implementation of vectorization limit in RTOpts, and sprinkled some comments on it.
55d6d0b301Per Östlund- Unlifts both sides of the equation in Inst.instArrayElEq, so that their type is correct. - Added testcase mosfiles/ArraySlice.
f3ae7f3db2Martin Sjölund- Backend: Better error messages when if-equation to if-expression fails. - Backend: Ignore assert() and terminate() in if-equations, and print a warning. We need to do this to get some MSL models to generate code since OpenModelica doesn't fully support if-equations.
c60144e20cPer Östlund- Moved an failtrace guard in instElement so that error messages are printed correctly.
7d0e021567Peter Aronsson-Fixed bug with prefixing of expressions inside subscripts of component references (Bug reported by Hannes Edinger). (testcase in ArrayIndex.mo)
ce8d339cb3Martin Sjölund- Enforce that function calls with multiple output have a tuple of crefs on the left side of an equality equation.
cdb205fde3Martin Sjölund- Added output String name to lookupVar functions, so it's possible to create the correct FQ path from the output - Testcase Import6 tests this (import a=X.b would previously get FQ path X.a)
bb5feeb382Per Östlund- Added the new vectorization limit switch to the help text of OMC.
6e356d937dPer Östlund- Added command-line switch to set the vectorization limit used by Static.crefVectorize.
c6f0127ec6Martin Sjölund- Fix XmlDump; escape comments (bug #1101) - Fixed the rtest script, so that it is possible to have output that starts with "xmlNameSpace:..." or similar
c90ce8d6d9Per Östlund- Readded changes made in revision 5900 that were removed in revision 5901, since they seem to be working anyway.
af398596a7Per Östlund- Undid revision 5900, since it caused some testcases in mofiles to fail.
f026142a2aPer Östlund- Fixed code generation of functions returning tuples. - Added testcase that tests the above fix.
0472e19dbaMartin Sjölund- Changed elaboration of cat() to ignore checking that the dimension we concatenate over is always identical - Fixes bug #112
6c6cbd64cfMartin Sjölund- Fix year on copyright notice in the "About OMNotebook" dialog
42a586f6dbMartin Sjölund- Fixed the DAE function cache when elaborating the expression in a reinit() statement - Added simulation testcase FunctionReinit.mos - Closing bug #1023
b19ccda037Martin Sjölund- Use $(MAKE) in c_runtime Makefiles, to suppress warnings
4d3e6c0d97Martin Sjölund- Added runtime code for semiLinear(), and added simulation testcases for it
885d0c8547Martin Sjölund- Improve the error message when trying to use a non-linear system of equations in a when-equation
1c97aa013aPer Östlund- Commented out cases for arrays in writeLhsCref in SimCodeC.tpl. - Changed the type of return variables for the size operator to modelica_integer instead of size_t, so that min works on arrays of unknown dimensions.
8dac993ab4Martin Sjölund- In errorext.cpp, fix the error message when a mismatched delCheckpoint is detected (id and top of stack used to be switched around, making you debug the wrong piece of code) - Added checkpoint rollback for "instArray", and renamed it "instArray Real[0]"
51e05b98bdAnton SodjaCorrected SimCode.getInitalValue(), so it check that variable's initial value is a constant.
291c7aba13Anton SodjaAdded additional fields to SimCode.SIMVAR structure: - String unit, displayUnit - Option initialValue (from modified SimCodegen.generataInitData{3,4})
edf3ffafc8Jens Frenkel- Exp.mo - add function expLastSubs - DAELow.mo and VarTransform.mo - extend arrays if elements of the array has to be replaced
9b6205d81dPavol Privitzer- fixes to make slicing like a[1,:] := a[:]; and/or a[2:3,2] := x[2:3]; work: - fixed code in indexed_assign_real_array(), index_real_array() and index_alloc_real_array() - fixed daeExpCrefRhsIndexSpec() template to generate "zero" dimension size for scalar subscripts for INDEX case: (0), make_index_array(1, <%expPart%>), 'S' - added test ArrayAssignWholeDim.mo; but it should be moved to mosfiles to ensure C-runtime invocation TODO: the same should be done for integer_array.c; then the character slice coding, i.e. 'S','A','W', can be removed entirely; or, perhaps, the slicing operation can be generated inline as appropriate nested for loops (I'll do that for C# generator, then it may be ported back to C++) - fixed daeExpAsub() template for _get_1D() .. _get_4D() constant index cases ... decremented indexes, because the _get_#D() functions works with zero based indexes - commented out #include "utility.h" in simulation_events.cpp to enable debugging in Visual Studio - added NO_INTERACTIVE_DEPENDENCY macro switch used in simulation_runtime.cpp for simpler compilation of simulation runtime in Visual Studio - added SimCode.cref2simvar(ComponentRef,SimCode)->SimVar function and daeLow field into SimCode.SIMCODE record to enable lookup of representation arrays in templates (C#); note that only cref2simvar() is visible from templates, but not the daeLow field which is not added to SimCodeTV.mo; the function needs a SimCode value as a whole, so the implementation is effectively hidden from templates' viewpoint; BUT, this is only a workaround for the lack of the needed information in component references themselves (hope they will have it in the future); see usage of cref2simvar() in SimCodeCSharp.tpl - added extern int const specifiers in functionStoreDelayed C++ template to resolve a link problem in VC++ - renamed local identifiers named cref to cr or ecr (ecr when of type DAE.Exp) in the C++ templates to disambiguate them from cref() template name (will be checked in the future; now value binding names and template names has separate name scopes, but that will be changed in the next versions of Susan); maybe the cref() template should be renamed to compRef() because there exist fields named cref in SimCodeTV.mo - simplified several constructs like '<%val%>' to just val and/or like (libs |> lib => lib) to just (libs) in C++ templates - re-factored some case clauses when they shared the same then part (Susan can have "or" cases,e.g.: case PAT1 case PAT2 case PAT3 then tplExpr ... where the same tplExpr is lexically used for every given case) - renamed subscriptsTpl() and subscriptTpl() templates to more suitable names subscriptsStr() and subscriptStr() - added many improvements in C# code generator - changed some make commands for Susan/C# codegen testing - added testmo make command to Makefile.common
95e688a3ceAnton SodjaAdded output of results into a MAT-file that Dymola is able to read, so Dymola's variables' browser can be used. Specifications of Dymola's output format are described in Dymola User's Guide.
3176b77969Per Östlund- Fixed constant evaluation of for iterators. - Added test case ForIf.
99ea8af7d4Peter Aronsson-removed __inline when compiling with visual studio, because it can not cope so well with inline in combination with extern, causing linking error.
eadb012bbdPer Östlund- Fixed small mistake in instantation of reinit statements.
c6a172fe08Peter Aronsson-Fixed bug with infinite recursion when trying to constant evaluate parameter that has no binding (must be allowed when e.g. checking models). Testcase in multibody/checkingModels/BodyCylinder.mos
0df1c741a9Peter Aronsson-Added error message for structurally singular equation (e.g. 0=0). Before we only had message for structurally singular system.
f356f49783Peter Aronsson-Added ClassInf.State to the Prefix information so at least the state is part of ET_COMPLEX information in DAE.VAR. Note that list of variables in ET_COMPLEX is still missing (this is a little bit of the chicken and egg problem, since the type can not be properly filled in before the type of the class is known). However, by at least having ClassInf.State in ET_COMPLEX one can distinguish between e.g. connector variables and other variables in the backend. Also note that for expressions in equations and algorithm the ExpType is correctly filled with type information, since those are elaborated first when the components have been instantiated (and their types are known), so the above is only concerning DAE.VAR objects.
3cdea38380Per Östlund- Fixed test case AlgorithmForInClass that was broken by commit 5859 by fixing the lowering of for statements. - Fixed bug #1236, constant evaluation of product in nested for iterators. - Implemented constant evaluation of empty ranges in reductions. - Extended sum reductions to also handle vectors, matrices and strings. - Use correct type for the iterator variable. - Extended the ConstantReductions test case to also test the new functionality.
d3458c9f6dAdrian Pop- new releases of qt clients OM* and some other small changes
5982a41b99Jens Frenkel- SimCode.mo -collate crefs of arrays before template code generation - DAELow.mo -add function collateAlgorithm, collateArrExpm, traversingcollateArrExp - SimCode/SimCodeC.tpl - improve template algStmtTupleAssign to generate code for functions return arrays
f8b62b51d6Ariel Liebmanchanged #include to #include . Caused problem in compilation of OMNotebook
f46d1cc24dJens Frenkel- Exp.mo - simplify array of array * array with simplifyScalarProduct
bf4f3e2d49Jens Frenkel- DAELow.mo - extend arrays in algorithms - fix bug DAE.STMT_ASSIGN_ARR results in error " Too few equations, underdetermined system. The.." - SimCode.mo - check index of array to test singleAlgorithmSection - ToDo: SimCodeC.tpl array = f(...), (array,array) = f(...)
fcad441a83Per Östlund- Moved valueExp from Static to ValuesUtil. - Added a new cevalIfConstant function to Ceval, and removed the old one from Static. - Removed calls to cevalIfConstant in Static, and added calls to cevalIfConstant to Inst, Interactive and Mod where appropriate. - Updated testcases due to changes in constant evaluation.
faf9a638c4Adrian Pop- link of Lapack on mingw to the correct libraries.
2ad8b3a044Jens Frenkel- SimCode/SimCodeC.tpl - use "int" for enumeration type for external functions
61836d2451Adrian Pop- small fix
9d3d91308cMartin Sjölund- Propagate Absyn.Info from every equation and algorithm up to the DAE AST - One exception: The parser segfauls on Absyn.Algorithm in mosfiles, so dummyInfo is provided for most algorithm sections.
875344a484Jens Frenkel- Builtin.mo - add function isCross, isMax, isMin, isTranspose, isSkew - DAEDump.mo - add in function dumpDebugElement some elements - DAELow.mo - if initialarrayequation is lowered add it to initalarrayequations - uncomment case for DUMMY_STATE in function statesDaelow2 because this is not a state - add variables with kind STATE to BinTree "states" to avoid removing of states in function removesimpleequations - if complex equations are lowered and extendet to its elements add array equations to list of array equations - remove functions extendAllRecordEqns, extendRecordArray, extendRecordEqOpt and extendExp because the are now unused (topic above) - add cases for matrix expressions to lowerMultidimeqns2 - remove simple equations in function matchingAlgorithm after index reduction because multibody models have a lot of simple equations after index reduction - Derive.mo - use Builtin to check if builtin function - Exp.mo - add case for functions min and max to function simplifyBuiltinConstantCalls - to more simplifacation in case of array expressions - add case for matrix + array of array to function simplifyMatrixBinary because function identity generates array of arrays - SimCode.mo - dump also components with bltdump in function translateModel - improve createSingleArrayEqnCode
61e8401a04Martin Sjölund- configure searches also for omniidl in the specified place
51a8829779Martin Sjölund- configure for mico in custom directory, not on path
6d9af77968Adrian Pop- test commit in the new server
c37fd0165cMartin Sjölund- systemimpl CFLAGS for OSX
c95244d135Jens Frenkel- Exp.mo - try to simplify exp in ASUB in simplifyAsub if all other cases not true
f48be22180Martin Sjölund- Syntax error
5066a3ba34Martin Sjölund- Add check for -ffloat-store in the configure script. That also solves dassl runtime issues.
ef901fba1aMartin Sjölund- Change -msse to -msse2 as we need to use SSE on doubles, not floats
863b07dd8eMartin Sjölund- Set -msse in configure in case the instruction set does not have it enabled
aa859532c6Martin Sjölund- Running autoconf
3abdc5e9daMartin Sjölund- It's called -mfpmath, not -fpmath....
bb08ee6bbaMartin Sjölund- Force -fpmath=sse on Linux platforms, as otherwise simulations spin forever (32-bit)
d8d92ad600Martin Sjölund- Fix configure on OSX
ac71acc421Jens Frenkel- SimCode.mo - fix bug in derVarFromStateVar to avoid redefinition of macros in generated code
a50e099c4dJens Frenkel- SimCode.mo - bugfix code generation for arrays in function createNonlinearResidualEquations
b72b8c82fbMartin Sjölund- Added Absyn.Info field to Absyn.{Equation,Algorithm}Item - Renamed SCode.Algorithm to SCode.AlgorithmSection since that is what it is - Added new datatype SCode.Statement, which is what an AlgorithmSection contains lists of - All statements have comment and info fields preserved so they can be used by Inst/Error
4dfe86b35fMartin Sjölund- Updated checkSettings() to also post "uname -a" output - Compiler/runtime/Makefile no longer sets -O3 twice
0439004d51Martin Sjölund- Updated c_runtime/Makefile to use the CFLAGS set by the configure script - OMDev is still always -msse2 - Default Unix is -O3 -march=native, which means it's tuned for your CPU regardless of what kind you are using - To override, specify any CFLAGS (CFLAGS=-O2 ./configure, ./configure CFLAGS=-O2, etc)
c17e38e528Jens Frenkel- Update Workplan
b22dd42b4fWilli Braunupdate dassl2 in main_solver + change step calculation + and some minor changes regards error treatment
6dbad112afJens Frenkel- Derive.mo - add der(der(cref)) to traversingcrefOrDerCrefFinder - derivative of functions max, min, sqrt, cross, transpose, array*scalar, ... - derivative of matrix - DAELow.mo - add number to dumpArrayEqns - use Exp.traverse for replaceDummyDerOthersExp - extend expressions in complex equations --> now multibody elementary examples PendulumWithSpringDamper simulates
a846a7368ePeter Aronsson-Fixed copy paste bug introduced in r5807 (in isZero)
32d2a69e52Willi Braunupdate dassl2 - add warm-start functionality when no event occuors - work faster than dassl
9808284825Jens Frenkel- DAELow.mo - makeMatrix: check if exp is scalar - use SUB_ARR because Exp.isConst work now for arrays and matrix - calculateJacobian: make array equations singular with all possible subscripts - Exp.mo - isZero implement Matrix - isConst implement Array and Matrix - SimCode.mo - dlowEqToExp: make array equations singular with all possible subscripts - SimCodeC.tpl - implement built in function cross --> now multibody elementary examples DoublePendulum,InitSpringConstant,Pendulum,PointGravityWithPointMasses,World simulates
091cfc98d7Martin Sjölund- Fix configure script so include flags in qmake are set correctly (does not expect -I input as gcc does)
694ac06baeMartin Sjölund- Fix configure script so include flags in qmake are set correctly (does not expect -I input as gcc does)
bf09803926Martin Sjölund- Fix configure script so include flags in qmake are set correctly (does not expect -I input as gcc does)
3a964eba85Martin Sjölund- Added new field to DAE.ElementSource - A list so we can propagate line numbers for equations/algorithms further - Absyn.mo does not yet contain this information, so the list is empty for now - Changed code generation of functions without outputs - They now have void as return type, and we generate a lot less code when calling them - Added support for using builtin functions as function pointers - PartialFn14.mos tests this functionality - So far only print() is implemented in the runtime - SimCode.getCalledFunctionsInFunction was updated slightly to work better with the new DAE structure - DAEUtil.getNamedFunction now also looks in the FunctionTree structure
c4e97f2be5Martin Sjölund- Adding new tests to API checkSettings() - In the CWD: try to create a file, then remove it
1528f62f53Jens Frenkel- DAELow.mo - bugfix calculateIndexes now all arrays close together - Derive.mo - use type if componentref is derived
bc4fc344aeJens Frenkel- DAELow.mo - extend all records in array equations so remove simple equations will work - Inline.mo - case for inlining functions with record constructors as arguments --> DoublePendulum oscilates now with model Revolute( constant Real e[3] and constant Modelica.Mechanics.MultiBody.Types.Axis n instead of parameter)
592e60f5a3Adrian Pop- no need to call generateFunctions2 in createFunctions anymore
7bb64a8877Martin Sjölund- Moved elaboration of NONE into elabCref to reduce the failtrace generated by MetaModelica files
879e3caf3aMartin Sjölund- Call instantiateDaeFunction when elaborating a cref that is a function reference
809f1e2d5bMartin Sjölund- Spelling error omshell
b4a2e7d1beJens Frenkel- DAELow.mo - extend all unextended array componentref so the rest of the backen would work right - SimCode.mo - replace der operator also in multidimequations now multibody double pendulum model generates compilable code
957c669ab5Martin Sjölund- matrix.h: Fix off-by-one error
08a1883d0cMartin Sjölund- SimCode makefile update for OSX (cp -u is not valid in BSD Unix)
c006189291Willi Braun- update workplan again due to forgot svn update
f38ce5c504Jens Frenkel- DAELow.mo - function statesAndVarsExp add special Case for unextended arrays - remove unneeded listreverses from calculateJacobian - SimCode.mo - createOdeSystem: - because listVar orders the elements not like listEquation the pairs of (var is solved in equation) is twisted, simple reverse one list --> now multibody simple pendulum model oscillate
5b2a848364Martin Sjölund- make install no longer tries to install qtclients if they were not compiled
6b2f603cd6Martin Sjölund- make install no longer tries to install qtclients if they were not compiled
e1e9e606fbMartin Sjölund- make install no longer tries to install qtclients if they were not compiled
66b5f210b2Willi Braunupdate workplan
04b2be4051Otto TronarpAdded option to collect ZC from smooth.
425b379cf8Jens Frenkel- bugfix createOdeSystem2 for arrays
a6335a62d7Filippo DonidaThe "Boolean asInSimulationCode" parameter of the dumpXMLDAE() API method was changed in "String translationLevel". Allowed strings are: flat, optimiser, backEnd.
8e0b9af17dJens Frenkel- fix errors from last commit 5765
6edafbc6d9Adrian Pop- replace equality(x = y) with stringEqual/intEq/realEq - added more comments and updated some of the formatting - use Exp.crefEqualNoStringCompare in ConnectUtil.setsEqual as we cannot have stringified crefs there. - proper dimension printing in PrefixUtil.printPrefixStr - removed some debug prints from SCodeUtil.mo to make it faster
4b6744d1b3Adrian Pop- minor formatting changes for improved readability
54403c4473Adrian Pop- proper error messages including the correct package name.
e47e9efea5Adrian Pop- faster Util.listSetDifference* functions. Empty - B = Empty.
898bad7d6bAdrian Pop- Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum now simulates - fixes to handle code generation for world.gravityAcceleration function - code generation for functions now take the functions from the DAE.FunctionTree instead of re-instantiate them - some problems appeared with partial functions (i fixed some of them but more debugging is needed to fix all)
853d59ee67Jens Frenkel- bugfix linearSystems with array equations
2b5f014209Adrian Pop- updated OMCMonitor to work on Windows Vista and 7. - updated the project to VS2010 - you can find a binary version here: http://www.ida.liu.se/~adrpo/omc/OMCMonitor/
82cfddd80aJens Frenkel- fix SimCodeC.tpl for records(containing arrays) pushed to functions
bb14693ff2Alexey Lebedev- Added an error for components having bindings of variabilty higher than their own (see http://openmodelica.ida.liu.se:8080/cb/issue/1040); - Fixed a bug in lookupVarF returning wrong properties; - Improved error messages for non-processed modifications of built-in types; - Modified testsuite accordingly.
9b5a9f3701Jens Frenkel- delete unneeded code
0f5c22e193Jens Frenkel- bugfix expStripLastIdent
2850de4419Jens Frenkel- Derive.mo - div ADD_ARR, SUB_ARR - DAELow.mo - simpleEquation for Arrays - do inlining of Array equations in lowerArrEqn - bugfix calculation Jacobian for arrays - bugfix equationToResidualForm for arrays - bugfix extendExp for CREF Exptype - Inst.mo - bugfix ExpType for expand record equations - SimCode.mo - bugfix dlowEqs for arrays - Exp.mo - bugfix for arrays, to not use typeBuiltin to detect arrays use DAEUtil.expTypeArray - simplifyUnary also for arrays
28bfa04aa6Adrian PopIOStreamExt.c - fail and print a message in IOStreamExt__printReversedList if we cannot allocate the string.
5069c32a57Adrian Pop- make the boundaries of functions more visible
4d784d6e27Adrian Pop- replace equality(x = y) with stringEqual/intEq/realEq - added more comments and updated some of the formatting
b284358f33Martin Sjölund- Removed the global variable numpoints from the simulation runtime, as it was used before set. - Instead we use the number of output steps as an initial guess for the size plt needs to allocate for result variables
4f81331cbcAdrian Pop- faster Exp.crefPrefixOf - replace equality(x = y) with stringEqual/intEq/realEq - added more comments and updated some of the formatting
2e309a879bAdrian Pop- replace equality(x = y) with stringEqual/intEq/realEq - added Absyn.pathEqual - added more comments and updated some of the formatting
1775f841c8Adrian Pop- get rid of the warning.
e1a3ef7ae3Martin Sjölund- Updated SimCode Makefile: Always set OPENMODELICAHOME to the build directory
71c456bf55Martin Sjölund- Update for code generation of abs() - Is fabs() for non-Integer - Is std::abs() for Integer because on OSX __gnu_cxx::abs() is a candidate
747e7d3d7eMartin Sjölund- Added function printTypeOfAny function to c_runtime for GDB debugging of MetaModelica code - Simply use the command "out printTypeOfAny(exp)" (or printAny()) in GDB to print the data structure's type or value - Fixed a problem with mmc_mk_rcon on 64-bit architectures
8c29228504Martin Sjölund- Ran Valgrind on some simulation executables: - Updated simulation runtime/code generation to free more of the allocated structures - Didn't update c_runtime/interactive/, which has the majority of memory leaks now
71422106a0Martin Sjölund- 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
038b98914fMartin Sjölund- Updated code generation for min/max/abs builtin functions - Previously, they would always return a double - Now, integers are produced if both arguments are integers - This fixes ExternalFunction4 (will allocate 2 elements instead of 66187348)
6756969ee9Martin Sjölund- Remove duplicate SimCodeC.mo from svn
00791817f5Adrian Pop- update the Visual Studio projects to VS2010 - it seems vcproj has a vcxproj counterpart and there are some other new files too - renamed ext.exe and ext.pdb to OMPlotWindow.exe and OMPlotWindow.pdb - rebuild all Qt clients: OMShell, OMNotebook, OMPlotWindow
3620f28f43Adrian Pop- update the Visual Studio projects to VS2010 - it seems vcproj has a vcxproj counterpart and there are some other new files too - renamed ext.exe and ext.pdb to OMPlotWindow.exe and OMPlotWindow.pdb - rebuild all Qt clients: OMShell, OMNotebook, OMPlotWindow
cfe815dcf6Jens Frenkel- DAELow.mo - extend multidimeqn after inlining if it is possible - Exp.mo, SimCode.mo - fix some bugs relatet to arrays
46087545aaMartin Sjölund- Added arument to simulate: outputFormat= - Default is "plt", which is the old format. It's the only format currently capable of using simulation results within OMC. Other formats need external tools. - "csv" is another textual format. It's roughly twice as fast and uses no additional memory (plt uses several GB for large simulations). - "empty" does the same thing as interactive simulations - it disables result file generation. Useful for benchmarking. - "bin" is experimental and should not be used. It basically measures the overhead of converting doubles to strings (speed is 50x times faster than CSV) - Model_init.txt has a new field for the output format - The c_runtime contains the interface used for result file generation. - Added testcases for "csv", "plt" and "empty" simulation results. - Added these options to OMNotebook/OMShell commands.xml.
787f3b41ccMartin Sjölund- Added arument to simulate: outputFormat= - Default is "plt", which is the old format. It's the only format currently capable of using simulation results within OMC. Other formats need external tools. - "csv" is another textual format. It's roughly twice as fast and uses no additional memory (plt uses several GB for large simulations). - "empty" does the same thing as interactive simulations - it disables result file generation. Useful for benchmarking. - "bin" is experimental and should not be used. It basically measures the overhead of converting doubles to strings (speed is 50x times faster than CSV) - Model_init.txt has a new field for the output format - The c_runtime contains the interface used for result file generation. - Added testcases for "csv", "plt" and "empty" simulation results. - Added these options to OMNotebook/OMShell commands.xml.
89eca8e0feJens Frenkel- CevalScript.mo, Main.mo, SimCode.mo - do late inlining earlier to avoid generade code for unused functions - Exp.mo - bugfix expStriplastSubs - isZero for UNARY_ARR - getTermsContainingX also for arrays
f29e750e30Martin Sjölund- Install OMNotebookHelp.onb when building OMNotebook
6230303484Martin Sjölund- Install DrModelica files when building OMNotebook
8d619b7ac0Martin Sjölund- Install DrModelica files when building OMNotebook
2b41654952Martin Sjölund- Update makefiles for qtclients. - Added Makefile.unix.in in each client's directory - Should be easier to customize behaviour now - Now copies the binary from OSX .app's into the build dir when doing a Unix build
dc7c846b12Martin Sjölund- Update makefiles for qtclients. - Added Makefile.unix.in in each client's directory - Should be easier to customize behaviour now - Now copies the binary from OSX .app's into the build dir when doing a Unix build
5b152d4d36Martin Sjölund- Update makefiles for qtclients. - Added Makefile.unix.in in each client's directory - Should be easier to customize behaviour now - Now copies the binary from OSX .app's into the build dir when doing a Unix build
f63b232ac1Martin Sjölund- make install needs to use -r flag on OSX (*.app are directories)
514d410da4Martin Sjölund- Spelling ifdef
269c313210Martin Sjölund- ifdef APPLE_CC on r5726
c0cd7cc9bdMartin Sjölund- Fix OMNotebook crashing on OSX - Some text boxes are now a bit too large, but it's still usable
41787ea6baJens Frenkel- bugfix simplify
fe0d83a415Jens Frenkel- SimCode.mo - do lateInline - Inline.mo - also inline start expressions - SimCodeC - implement more cases for daeExpBinary
ce884aa18cMartin Sjölund- Fix spelling of OMNotebook
0844ddf963Martin Sjölund- make clean removes omc-diff.exe
f4e3fed49cMartin Sjölund- Makefile update for OSX .app extension
a27a8cc843Jens Frenkel- DAELow.mo - replace dummy der also in multidim equations - extend array equations for crefs
6498e0cd17Jens Frenkel- VarTransform.mo - implement addMultiDimReplacements to replace arrays and records - Inline.mo - bugfix for records - Exp.mo - implement expStripLastIdent, is used from Vartransfrom.addMultiDimReplacements - extend isZero for arrays - simplify array_add and array_sub - Derive.mo - do simplify after derive equations - run inline functionality after derive functions - bugfix derive functions - DAELow.mo - use VarTransform.addMultiDimReplacements - remember derived arrays and multidimequations to avoid duplicate arrays and multidimeqations - bugfix incidenceRowExp for array variables - bugfix extendRecordEqns
8c242f31a5Per ÖstlundFixed constant evaluation of all functions used in the multibody loops models, which gives large speedups (Engine1a.mos went from ~21 sec to ~9 sec, while EngineV6.mos went from ~10 min to ~8.5 min). The axesRotations function is currently not evaluated in Cevalfunc though, because for some reason it's much slower to constant evaluate it with cevalFunc than with dynamic loading. - Fixed correct dimensions in ValuesUtil.matrixStripFirstColumn so that ValuesUtil.multScalarProduct works correctly. - Added support for record variables in Cevalfunc.extendEnvWithInputArgs so that they are correctly added to the environment. - Added support for imports in Cevalfunc.extendEnvWithInputArgs (only SI-import at the moment, because other imports cause large slowdowns when evaluating the axesRotations function from MSL). - Added handling of DAE.WHOLEDIM in Ceval.cevalSubscriptValue.
dda206a454Martin Sjölund- Fix testsuite after commit r5715
4aa3fa66deJens Frenkel- removeSimpleEquations also for simple array equations
243b13f807Jens Frenkel- VarTransform spelling - Derive bugfix dimension of zero derivative - DAELow start to implement removeSimpleEquations also for arrays and records
3d5a078ff7Mohsen Torabzadeh-TariUpdated the OSMC public license from Berkley for the Release 1.5 //Mohsen
53125d5765Jens Frenkel- fix bug in statesAndVarsExp for records
fc85679751Peter Aronsson-Fixed bug with stateSelect set to parameter not picked up due to limitation in type system (enumeration(:) not implemented. This is mostly used in new MultiBody library.
c6c93dfbfcJens Frenkel- add derivative for ARR_ADD, ARR_SUB, CREF array - lower MultiDimEquations to normal equations after inlining if it is possible
94ab80f19bMartin Sjölund- Added LDFLAGS to LIBSENDDATA_LDFLAGS also for sendDataHumbug
c2b60b9ba5Martin Sjölund- Added flag -noemit to the simulation executable - Up to 10x faster than a simulation that stores results - Only useful to get performance of a simulation without taking file IO into account
8737bea032Martin Sjölund- Added missing space in configure script
2c384467f6Martin Sjölund- Added compilation check of the sendData dependencies to the configure scripts - Added support for LDFLAGS="-L/my/path/to/lib/" for LIBSENDDATA_LDFLAGS
2954b3ca4cAdrian Pop- first draft of performance enhancement analysis and proposals
1986af6fdcJens Frenkel- start to add code for array equations to simcode
65e1796a87Martin Sjölund- OMShell-terminal: Changed history file to ~/.mosh_history instead of ./mosh_history on Unix
323186aba5Jens Frenkel- bugfix inlining records
8306ce5183Jens Frenkel- Bugfix extend Complex Equations
cadb20a6e3Adrian Pop- uncomment Static.cevalIfConstant as is was commented by mistake - replaced equality(x = y) with true = intEq/realEq/stringEqual(x, y) - replaced equality(x, y) with Exp.expEqual(x, y) in Static.eqSubscript
df7694a519Jens Frenkel- Activate function inlining after move it into lowering process. Now inlining should work and generate better results because remove simple equations is done after inlining.
bd54f3b9acPer Östlund- Removed commented case from elabCallReduction (see commit 4787).
416caefdc0Per Östlund- Fixed memory copy in solver_main.cpp (copying pointers does not copy data!).
94355bfd62Per Östlund- Moved Codegen.getMatchingExpsList and Codegen.getMatchingExps to Exp. - Moved Codegen.getUniontypePaths to DAEUtil. - Removed Codegen.
4c4c1c3410Martin Sjölund- Fixed compilation of OMShell.app on OSX
8c2f7766a4Martin Sjölund- Fixed compilation of OMShell-terminal on OSX
dd3c90abe3Martin Sjölund- Fixed compilation of OMShell-terminal on OSX
c901c4c0f0Martin Sjölund- Updated configure/Makefile to work using MacPorts on x86_64 - qmake-mac can be found, and used to generate sendData makefiles - omniORB can be found, and used to generate the CORBA communication - The qtclients were not updated - The following configure command needs to be provided in MacPorts: ./configure '--with-sendData-Qt' '--with-omniORB' 'LDFLAGS=-L/opt/local/lib/' 'CFLAGS=-I/opt/local/include/' - The following packages should be installed: antlr qt4-mac lp_solve omniorb autoconf and probably some more
8edf4bd14dPer Östlund- Rewrote templates for for-loops and reductions to share more code. - Implemented code generation for reductions where the range is not a RANGE. - Renamed the previously named member boolean in record DAE.STMT_FOR to the more descriptive name iterIsArray, and added a comment on what it does.
af858ed121Martin Sjölund- System.os now returns "OSX" on OSX.
ac68f9b820Daniel HedbergBuilt-in function fill is now simplified in Exp.simplifyBuiltinCalls() (used by MathCore).
330d5b9bf8Martin Sjölund- Updated configure/Makefile to handle qmake on OSX differently - Updated makefiles to check if qmake and idl exists before trying to compile qtclients - Don't try to clean qtclients if qmake does not exist (systems without qmake can now make clean again!)
d41f8910dcPer Östlund- Added min of array to code generator.
601156d763Adrian Pop- fixes for list stream printing.
edc9a98fbbPeter FritzsonThe OpenModelicaTemplateProgramming document is a users guide on the new OpenModelica text template language Susan. This version is from April 21 2010.
ea0620fbc8Martin Sjölund- Fixed usage of sed on OSX (GNU sed handles -i differently)
aa1a3f7818Martin Sjölund- Add missing file config.unix.h.in
6ac75ea248Martin Sjölund- Fix configure for OSX
40d5a2b6efAdrian PopInst.mo - first draft of the expandable connectors - return the environments in Inst.instClassdef2 and pass them along - return the new environments where needed and pass them along - changes due to Lookup.lookupVar*
fd24645590Adrian Pop- updated Workplan-status-estimates.xls (since 2010-04-15 for Adrian Pop)
4830f971aaAdrian Pop- fixed compilation on Windows MSVC/OMDev
7bf6324398Adrian Pop- fixed problems on Windows MSVC/OMDev
10ea6fd19fMartin Sjölund- Added new function call for interactive sessions: - checkSettings() : record OpenModelica.Diagnostics.ImportantValues - Add any information you constantly need to ask users for when debugging their problems - A single command that you can get a lot of useful information from that OMC doesn't always check - Updated System.regularFileExists, System.directoryExists to return Boolean instead of Integer - Updated System.systemCall to return the exit code rather than the exit status (which is platform-dependent) - For example, an application that returned 127 would show up as 32512 in Linux
dbf2255a08Peter Aronsson-Added crefPrependIdent that prepends and identifier to a cref (also given type and subscript list)
f0826337e2Martin Sjölund- Updated c_runtime/Makefile.in for building sendData on OSX (which won't link on x86_64 anyway)
68ba76f8b3Martin Sjölund- Added ringbuffer implementation for delay() - It is faster for large simulations, although not much so (the original impl. is O(log(n))). Note: The template code does not have access to delayMax for the store function, which is where the buffer should be cleared. Now it's done after binary search, but only if delayMax == delayTime. The SimCode really should have this information added.
eec9cb3b2aDaniel HedbergReverted most changes of error messages due to a huge number of tests failing.
276c71e845Daniel HedbergImproved/corrected even more error messages (this should be the last commit).
0fa9137a18Daniel HedbergImproved/corrected even more error messages.
435b01af93Daniel HedbergImproved/corrected more error messages.
9c92ebc9dbDaniel HedbergImproved/corrected error messages.
a692140d75Per Östlund- Fixed wrong path to typeview in SimCodeC.tpl.
f8c1524b6fPer Östlund- Reverted removal of functions in Exp.mo and Util.mo from commit 5649 and 5650.
0a465569adMartin Sjölund- Changed the exit() function in c_runtime to an EXIT macro - This is aliased to _exit() on Unix because exit() always returned 0 - Fixed better handling of assertions in Euler and Dassl runtime - Updated StringTest.mos as it now prints that simulation failed
1c272f6b11Per Östlund- Removed more unneeded checks in Exp.crefEqual.
d5a083fad6Per Östlund- Removed name mangling from DAELow, and implemented it in the template-based code generator instead. - Removed origVarName from DAELow.VAR, since varName is now the same. - Removed unused functions Util.modelicaStringToCStr and Util.cStrToModelicaString. - Removed unused stringify functions from Exp (Exp.stringifyComponentRef etc.). - Fixed remaining issues with the template-based code generator, such as external fortran calls, function pointers and returning records from functions. - Added unboxing of arrays to meta_modelica.h - Removed the old SimCodegen module and replaced it with the new SimCode module. - Removed printing before ASUB expressions in Exp.printExp. - Updated lots of testcases to comply with the changes made. - Fixed some spelling errors (Descrete => Discrete, Resudials => Residuals)
66b06d8220Martin Sjölund- ANTLR parsers updated
c9687d6dedMartin Sjölund- Fix bug in absyn_builder make target
5666f4fa4eMartin Sjölund- Updated dummy_model.cpp
fe0fec712cMartin Sjölund- Don't compile main() into libf2c.a
d4eb8d009bMartin Sjölund- Added automatic regeneration of TplCodegen.mo if the template changes
045af69843Martin Sjölund- Updated workplan
4e717a1f8dAlexey LebedevA little more to derivatives of constant expressions:
78f84c6febWilli Braunsmall bug fixes for solver_main
8e606f53acMartin Sjölund- Fix for Makefile ANTLR dependencies with parallel makefiles - Now says "Nothing to be done for `all'." instead of running ANTLR regardless
acf84baeafMartin Sjölund- Compiler/Makefile .depend target depends on a mo-file being changed.
8fbc7721a7Willi Braunadd a brute-force approach for DASSL with synchronous event handling + usage with method=dassl2 + rename solver_euler* to solver_main + add s-stage runge-kutta method
25f8749527Alexey LebedevIf expr is a constant or parametric expression, der(expr) is replaced during elaboration: by 0.0 if expr is Real or Integer; by an array of corresponding size filled by 0.0 if expr is an array of Real or Integer.
44088ddd7fPeter Aronsson-Fixed bug in instantiation of external objects. Even thought they do not generate equations, the connection set must be propagated through it. Before it returned emtpy set.
605ca5be4aMartin Sjölund- Remove tab characters from Absyn.mo
d49456c57bPeter Aronsson-Added simplification in Exp.simplify: der(c) => 0 for constant expression c.
cfd11e213dMartin Sjölund- Fix for delay() when the time step taken was larger than the max delay - This is a problem because the next value from the buffer will be used even though it has not been initialized - Should possibly be fixed in the future by changing the assert to i+1, and changing the solver to never take a too large time step
bb45ea3e82Martin Sjölund- Update makefiles to fail if we failed to generate simcode (and only try if omc is already compiled)
be11920144Martin Sjölund- Fixed line endings for the new .mo-files - Reverted accidental change to SimCodeC.tpl
7e183dee64Daniel HedbergFixed a bug in simplifyAsub for binary operations with operator type DAE.DIV_ARRAY_SCALAR.
9c7d3901a6Otto TronarpAdded /LTCG switch to the makefiles for visual studio.
fccbe6af68Martin Sjölund- Updates due to printing mosfile output to stdout directly - dynload.c - flush output buffers function call for deterministic behaviour - Testsuite updated - testcases that used stdout now prints lines in different positions than earlier
e1f51511e4Jens Frenkel- comment out extendAllRecordEqns until testsuite library uses inline annotation
8625642271Jens Frenkel- continue with extendRecords and function inlining
f41c316772Adrian Pop- fix the number of elements in Util.listFill call inside lowerComplexEqn.
cc832a19b8Jens Frenkel- comment out extendAllRecordEqns until it does not work as expected
5563a5caadAdrian Pop- new implementation of the inner outer to get rid of very expensive phases that are not needed, see Inst.instVar - got rid of phases: InnerOuter.checkMissingInnerDecl, InnerOuter.renameUniqueVarsInTopScope, InnerOuter.changeOuterReferences - phase InnerOuter.changeOuterReferences replaced with lighter phase: InnerOuter.changeInnerOuterInOuterConnect - prefixing of outer cref is now done directly with correct prefix of the corresponding inner cref. - Inst.sortInnerFirstTplLstElementMod is now called to correctly sort the inner components to be instantiated first even if they come from extends. - PrefixUtil.prefixExp now gets the instance hierarchy and uses it to prefix the outer crefs. - added Util.listMapMap0. - Main now runs a .mos file directly on the standard output. - updates to Makefiles to compile and link the new packages: IOStream.mo IOStreamExt.mo DAEDump.mo and the new C file: runtime/IOStreamExt.c - missing of the inner component declaration now generates only a warning.
630c48c44aAdrian Pop- added function evaluateToStdOut now used in Main to display the result of running a command in a .mos file directly on standard output instead of building strings. - send the instance hierarchy to Mod.elabMod as is now needed in prefixing crefs.
7028d71c6cJens Frenkel- move function inlining previous to blt - start implementation of extend recordequations - ToDo: Test Records with array elements
7a874fe54fAdrian Pop- use the faster crefEqualNoStringCompare instead of crefEqual in crefPrefixOf - use stringEqual(x, y) instead of equality(x = y) - unelab reductions back to an Absyn.CALL
326421d2d3Adrian Pop- renamed fcallret to fcallret1 - added fcallret0 to be used when only printing and not returning values. - the new function is used in package Main for printing to standard output based on a debug flag.
fbf1fdc8e4Adrian Pop- more comments. - better connection set printing.
6fbfef01a5Adrian Pop- use the new DAEDump module.
662a18303cAdrian Pop- use the new DAEDump module.
c7f74cf219Adrian Pop- do not store the instantiated class in the Interactive Symbol Table as it takes too much memory and is not very useful. - use the new DAEDump.dumpStr to dump the DAE.
e2ac65f156Adrian Pop- send in the instance hierarchy to Inst.getUsertypeDimensions as is now needed for prefixing.
a697c2d39fAdrian Pop- added more cases to Ceval.ceval to handle logical OR expressions.
ba1a74afa7Adrian Pop- changed the messaged for Error.MISSING_INNER_PREFIX to display more information. - also this error is now a warning instead of an error as we can use the outer object directly if no inner is present.
d0f07a39f1Adrian Pop- changed the inner outer implementation to handle all cases via the InnerOuter.mo instance hierarchy. - outer components are now *always* prefixed directly with the correct prefix of the inner using the information stored via InnerOuter.addOuterPrefixToIH into InnerOuter.TOP_INSTANCE.outerPrefixes - some of the code is now dead code, we leave it in the file for now.
a231670022Adrian Pop- changes due to move of dumping functions to DAEDump.mo
4699d57e29Adrian Pop- changes due to move of dumping functions to DAEDump.mo
2179b8c10fAdrian Pop- new module DAEDump.mo which contains the dumping functions for the DAE. these functions were moved from DAEUtil.mo. - corrected a bug which did not display the terminate statement in the flattened code.
9cc0cbb1d4Adrian Pop- dump functions moved to DAEDump.mo - function splitElements classifies elements into: variables, initial equations, initial algorithms, equations, algorithms, external objects. is it used in DAEDump.mo
e50579b9b9Adrian Pop- added modifierAsAbsynExp to DAE.EqMod in the DAE.TYPED record. is it used to not call unelabMod functions when not needed.
eaedc0784eAdrian Pop- partially implemented IO Streams. - right now only list stream is complete.
80392f988bOtto TronarpPreserve noEvent around event triggering functions.
b9b0b241c3Martin Sjölund- Added Unix make target "fix-svn-eol-style" - Fixed line ending for all .mo and .mos-files in Compiler/ and testsuite/
07764b48a3Otto TronarpFixed bug in trimChar for empty strings and strings containing only one char that isn't trimmed away.
74e5beb8e8Alexey LebedevImplemented translation to equations with if-expressions for if-equations which contain other if-equations in their branches (see bug 1229). Also implemented correct equation count for such if-equations.
c047eac2a1Martin Sjölund- Removed unused GCC -I directives from Compiler/runtime/Makefile
dc72d77284Martin Sjölund- Updated workplan
1f8e209b66Martin Sjölund- Compiler/Makefile now calls susan to generate simcode (if omc is already compiled)
29d327c381Martin Sjölund- Added code for generating time event hints in SimCodeC
cead45dd45Pavol Privitzer- polished Susan's operators precedence and associativity ... see SusanGrammar.txt (TplParser.mo) and .tpl files for changes - (generated) SimCode/SimCodeC.mo and SimCode/SimCodeCSharp.mo set svn:eol-style to LF
0603213216Peter Aronsson-Split System.userIsRoot to two separate implementations, one for windows and one for linux (not everyone is using the omc_msvc.h header)
d5cfd135cbMartin Sjölund- Template-based code generation mostly working again.
081fdcbbebMartin Sjölund- Fix for make -j2 in c_runtime/Makefile.common
7d101595c4Martin Sjölund- Fixed LF eol-style on Compiler/*.mo - Made C code generated by Susan use const char* instead of char*
26292774f3Martin Sjölund- Add System.userIsRoot() - If the user is root, omc prints an error message and exits.
e68edf4619Martin Sjölund- Updated code generation of external function libraries - Library="Lapack" on OMDev now outputs {-llapack,-lf2c,-lblas}
fbc95d6dfcMartin Sjölund- Fixed tolower/toupper malloc off-by-one error
536dff0136Adrian PopAbsyn.mo - proper formatting - changed != into Modelica <> so that omc can parse the file
ebb2860716Pavol Privitzer- Susan parser with the new syntax, together with transformed SimCodeC.tpl and SimCodeCSharp.tpl - produced SimCodeC.mo and SimCodeCSharp.mo are the same as before - the implementation is mostly on syntactical basis now, to be continued ... - see susan_codegen/SusanGrammar.txt and all .tpl files for the details
c72577ab57Per Östlund- Fixed bug #1215: http://openmodelica.ida.liu.se:8080/cb/issue/1215 (Records as input arguments to functions). - Added instantiateImplicitRecordConstructors to Static, to make sure that record constructors are instantiated when needed, even if they are not explicitly called. - Fixed code generation for record instances that are input arguments to functions. - Updated some testcases where record constructors where instantiated earlier than before. - Added testcases records/RecordFuncParam.mo and records/RecordFuncParam.mos to test the bugfix.
ba0252aa8eLennart Ochelcode for codegeneration of symbolic jacobian external functions and algorithm blocks are not implemented yet
58053fb972Martin Sjölund- make clean removes libinteractive.a
23f929a475Martin Sjölund- Fixed bug #1226 - Changed backend code generation of external functions - The in_ function is the same as for normal functions; it simply calls the other function - Fixed the normal function; the in_ function generated more correct code - Fixed size() expressions for F77 code
8c0474d853Martin Sjölund- Added -lpthread in omc_debug/Makefile.in
f2e9e45e23Martin Sjölund- Fixed System.toupper segfaults - Added System.tolower
d775b15036Martin Sjölund- Fix InstExtends when referring to an imported variable in an algorithm section.
3b286ebf94Parham VasaielyControl Client and Transfer Server will be initialized with default communication settings (IP, Port) if not set by user
d7a0e85918Martin Sjölund- Main.mo: +i flag will now generate code with the correct filename - Added code for scheduling sample() events before runtime. DASSL uses this code for a (really) small hint now (not taking too large steps). This improves event-heavy sims by around 10%, but can be a lot better if someone who knows the solvers has a look. - Simulation code now uses const char* instead of char*. This removes a LOT of warnings in the log files.
6712f35eaaJens Frenkel- bugfix calculateIndexes
4c020da997Otto TronarpAdded pathContainsString for use in MC's filterOutExamplePackages.
e5504c5fd4Martin Sjölund- Added the general utility function unique (removes duplicate elements from a sorted C array). - Added a stub for initSample with some code that could be used to generate all the times when a call to sample() generates an event.
ebc025d073Martin Sjölund- Make clean should also remove omcd.exe
7dfed50180Jens Frenkel- continue with derivatives of functions: bugfix, use to compare Types Types.equivtypes - be more informative in case of if-equations - add case for complex equations (Derived.differentiateEquationTime), fail because derivative of records not implemented jet
241e716ff8Pavol Privitzer- new Susan syntax for template header ... template templName(args,...) "comment" ::= body end templName;
b81097283aJens Frenkel- derivative annotation for functions: functions with record as output now works
779d570ecbJens Frenkel- continue with derivatives of functions: functions return records
74383f963bAlexey LebedevConstant evaluation for derived functions without modifications.
1559179980Per Östlund- Minor optimization of SimCodegen.generateOdeSystem.
8d5cd09327Per Östlund- Added extra checks in all HashTables, as was done for HashTable5 in revision 5498.
28228a8803Peter Aronsson-Added function System.windowsNewline for creating string constant '\r\n' since MetaModelica has a bug for that literal.
28fd48180aJens Frenkel- continue with derivatives of functions: noDerivative bugfix
f57506498dMartin Sjölund- Added omc_msvc.h: A compatibility header that adds inf,nan and round macros for MSVC.
41d728d972Per Östlund- Added extra check in HashTable5 to make sure that the right function is found.
f7683905f2Otto TronarpFixed compilation on Linux.
45cbdbf66fDaniel HedbergINFINITY and NAN are not defined in math.h on Windows (MSVC). Removed the code involving those definitions for MSVC.
ecfa67cdd2Pavol Privitzer- a small SimCode/SimCodeC.tpl bug fix ... '-L"<%modelInfo.directory%>"' was incorrectly given as constant in ""
e1d25f16deDaniel HedbergFixed order of includes to make things compile (in Visual C++) again.
82afb8f8b8Peter Aronsson- Added className to handleUnitChecking (for debugging purposes only) - Added MMath.rationalString - Fixed bug in unitparser. before adding baseunit, check if it already exists.
bc03247ff5Otto TronarpAdded appendFile to System.
1ae767699dAlexey LebedevA fix for the cache bug which was causing derived function lookup to fail ( http://openmodelica.ida.liu.se:8080/cb/issue/1198 )
369459d830Peter Aronsson-Fixed bug in DAEUtil.addEquationBoundString -Fixed bugs in Exp.typeof and Exp.simplifyAsub -Fixed bug with functions not picked up in if-equations (all multibody examples affected). -Added boolean to crefVectorize to decide if limits on dimensions should be checked against or not. -Changed so UnitAbsynBuilder.registerUnits only performs work if unitChecking flag is set. -Added Util.listPartition
4e0e2ac9c0Pavol Privitzer- TplParser.mo : - hole is delimited by <% %> instead of < > - %( )% syntax is removed - NO escape sequences inside of <<...>> and '...' are allowed, ... so, for example, <<\\>> and '\\' is really double back-slash now ... to achieve "<%" inside a template, use ' ... <% "<%" %> ...' or << ... <% "<%" %> ...>> ... to achieve ">>" inside <<.. >>, use << ... <% ">>" %> ... >>, or use ' ... ' as template delimiter if possible, then ' ... << ... ' ... to achieve "'" (single-quote) inside '...', use '...<%"'"%> ...', or (better) use << ... >> as template delimiter, then << ... ' ... >>
18c24f5562Martin Sjölund- Added Compiler/Makefile.compiler_subdirs.common - This is a file common for all of omc_release,debug and profiler - It is also common for proper Unix and OMDev - Fixed a bug where the absyn_builder,modpar or runtime folders could fail, but compilation would still continue
f6c0ac1a42Adrian Pop- generate DAE.ARRAY_EQUATION from the equalityConstraint function instead of DAE.EQUATION as otherwise the counting is wrong. - update to testsuite/libraries/multibody/loops/Fourbar1.mos due to the changes above.
55a6fbcd80Martin Sjölund- Removed Compiler/Makefile.common.omdev.mingw - It was identical to the Linux one with one difference - However, all files that include this file set USE_CORBA so the ifdef should result in the same Makefile as the old one
ad5bfb2a5eAdrian Pop- fix for bug: https://openmodelica.org:8443/cb/issue/1221?navigation=true now the equality constraint function call contains the correct inline annotation. - added Inline annotations to testsuite/libraries/multibody/loops/_LoopsTotal.mo to test the propagation of annotation into the flattened code (as a comment for the function) - update to the tests due to annotations
a666545e54Adrian Pop- add case if-expr = cref in Exp.solve as is a mirror of cref = if-expr.
4c25a040f7Adrian Pop- search for annotations also in the algorithm section. this is needed as Modelica 3.2 requires annotations to be present at the end of the class. - now annotations (Inline, etc) present in the algorithm section at the end of the class are detected correctly.
ad5352efccAdrian Pop- Linköping is now back to normal.
ca6f3d9374Martin Sjölund- Added fix for ptolemyio.cpp using atof (which has no exception handling for reading things that are not numbers) - We now use strtod instead, and return NaN for invalid strings (we also handle Inf for the Windows platform).
2cfc58b73aOtto TronarpRemoved all duplicates that had identical implementation on Windows/Linux.
74d6115e4ePer Östlund- Fix for bug #1216: http://openmodelica.ida.liu.se:8080/cb/issue/1216 + Inst.implicitFunctionInstatiation now sends the correct environment to getDeriveAnnotation.
6d16f8ff6dPavol Privitzer- C# templates before transformation into new syntax
f3009d4537Per Östlund- Merged testsuite/mathcore-mofiles with testsuite/mofiles. - Moved testsuite/mathcore-mofiles/drmodelica to testsuite/mofiles/drmodelica, and removed testcases from testsuite/mofiles that were already in drmodelica. - Added all missing test cases to testsuite/mofiles/Makefile. - Updated testsuite/Makefile to reflect these changes. - Added a case for the return statement in DAEUtil.ppStmt.
009db3903cAdrian Pop- the system call is the same for Windows/Linux, moved at the end. - also added tracing to the System__systemCall function.
dd92b623eaAdrian Pop- correctly set the return value from the execution of the generated executable sometimes the executable would return -1 instead of 0!
385a7f2a08Adrian Pop- added a Makefile for MinGW and Linux.
0dd18c2f9fAdrian Pop- wrong copy & paste position now fixed.
3fa4f1cb01Adrian Pop- an ANLTR3-based lexer/parser for Modelica 3.1 - see the README.txt
050faf9874Martin Sjölund- Adding some comments to Util.StatefulBoolean functions.
125a167eb9Peter Aronsson- Added some comments to functions in Exp.mo. - implemented Exp.applyExpSubscripts (subscripting arbitrary expresssions using ASUB) - implemented Exp.expand to expand products (a*(b+c) => a*b + a*c) - implemented liftArrayLeft (as complement to already existing function liftArrayRight)
3accbc43e4Adrian Pop- create the release directory
da96ef00adMartin Sjölund- Added configure option --with-sendData-Qt to disable sendData even if we have Qt installed. - QTHOME should no longer be used. - Disabling sendData reduces the time to run the (short) testsuite by around 14%; 1m32s down from 1m44s.
16dd3c81b0Parham VasaielySequence number added to server reply (e.g. start#SEQ#end, done#SEQ#end). For more detail see documentation.
5fa7692f81Parham Vasaielyinteractive components will now be compiled correctly in windows
4ed13a91ebRickard LindbergAdded comments to templates.
39a8ca1f44Per ÖstlundUpdated workplan
cc8b1bda9aMartin SjölundUpdated workplan status
b3e951c929Per Östlund- Fixed bug #1210: http://openmodelica.ida.liu.se:8080/cb/issue/1210 + Changed Static.elabBuiltinTranspose so that it sets the correct constness on the elaborated expression. + Added testcase mofiles/Transpose2 - Added missing RTOpts failtrace guard in Inst.instElement.
32b6ae1840Jens Frenkel- continue with derivatives of functions: remove debug print
bc97f7379cJens Frenkel- continue with derivative annotation for functions: functions with multiple outputs now works - implement replaceDummyDer for algorithms
9f0e3ae82aJens Frenkel- continue with derivatives of functions: outputs
27d0b05403Alexey LebedevAn unfinished attempt to fix the multiple class definition bug (http://openmodelica.ida.liu.se:8080/cb/issue/1182). I tried to improve the function Inst.checkMultiplyDeclared so that it could be used for class definitions, not only for component declarations. Unfortunately, trying to call this function from instElement (when a class definition is processed) makes some files from the testsuite to fail. So I have left the extended checkMultiplyDeclared and comparison functions it calls, but commented out the call in instElement. I.e., the functions are not called, so nothing gets broken, but they are there in case somebody wants to continue the work. It seems to me, though, that the problem is not in comparison functions but in the place they are called from (instElement). But I do not know what the correct place is.
5d4ebea61fMartin Sjölund- Fixed writePtolemyplotDataset/etc functions to use Print.mo instead of string concatenation. - We can now plot files with more than 200000 datapoints per variable without stack overflow.
952cce9631Per ÖstlundFixed bug #1212: http://openmodelica.ida.liu.se:8080/cb/issue/1212 - Disabled error message from Ceval when constant evaluating parameters in Mod.elabModValue. - Changed some tests that no longer gets these error messages.
ec52821d47Stefan Brus- Most of the partial function tests now work again
5601107793Per ÖstlundFix for bug #1208: http://openmodelica.ida.liu.se:8080/cb/issue/1208 - Disabled constant evaluation of parameters with fixed=false in Mod.elabModValue.
f681299ecbPer Östlund- Merged the interactive_simulation branch into trunk. - Removed check for QTHOME in systemimpl.c, since the QT libraries should be found anyway.
5770f8978bMartin Sjölund- Bugfix: https://openmodelica.org:8443/cb/issue/1209?navigation=true - Backend will now replace pre(a) with alias "a = -b" correctly: - Correct way is -pre(b); previously pre(-b) was used.
9227c0134dJens Frenkel- continue with derivative annotation for functions: check of inputs from derivative function works now
7c7e6eec87Adrian Pop- forgot some debug prints. now they are no more!
3f4b62cb7eAdrian Pop- forgot some debug prints. now they are no more!
a8cd3d9adcAdrian Pop- updates to READMEs
1e0a1a7f4aAdrian Pop- copy the OMShell.exe to build/bin after compilation
8247a52e00Adrian Pop- update of dummy_model.cpp
acfc886d17Adrian Pop- copy .xml files to build/share/omnotebook/ instead of build/bin/
0ce4b58f39Adrian Pop- add the equalityConstraint function to the DAE.
49021358e1Per Östlund- Fixed bug #1191: http://openmodelica.ida.liu.se:8080/cb/issue/1191 + Added function Inst.addEnumerationLiteralsToEnv that is used in Inst.getUsertypeDimensions to add enumeration literals to the environment when needed. + Added functions SCode.makeEnumType and SCode.isValidEnumLiteral, which are used by Inst.makeEnumComponent. Enumeration literals are now checked so that they are valid (i.e. you can no longer use reserved attribute names such as start as a enumeration literal). + Added an error message INVALID_ENUM_LITERAL to Error. + Replaced the unused function Error.infoStr with a more usable function. + Added testcases Enum10 and EnumInvalidLiteral.
dbd4671ad7Per Östlund- Fixed configure so that USE_CORBA is set correctly.
00eeef4c6aAdrian Pop- renamed ext to OMPlotWindow - renamed trunk.sln to OMNotebook.sln - renamed OMS.sln to OMShell.sln - got rid of some .suo as they are user specific.
2e2f1d10a9Adrian Pop- renamed ext to OMPlotWindow - renamed trunk.sln to OMNotebook.sln - renamed OMS.sln to OMShell.sln - got rid of some .suo as they are user specific.
5edb1dd3d2Martin Sjölund- Added new configure option --with-Coin (Coin disabled by default).
471d670dcaMartin Sjölund- Added new configure option --with-Coin (Coin disabled by default).
8b221f1953Martin Sjölund- Added new configure option --with-Coin (Coin disabled by default).
5fcde545a7Martin Sjölund- Adding -source flag to java_interface makefiles since eclipse javac default to version 4.
d6bed0f353Martin Sjölund- Added a configure option to (force) statically linked lpsolve55 even if dynamic libraries are present.
19e35d9a48Martin Sjölund- Remove OMPlotWindow on clean
050e994be3Martin Sjölund- Renamed ext OMPlotWindow
f5e60b4898Martin Sjölund- Renamed ext OMPlotWindow
c8c9755859Martin Sjölund- Renamed ext OMPlotWindow
222d03a08fAdrian Pop- added profiler target
51f338e4faMartin Sjölund- Don't rm -rf build/ on clean; only distclean
c5af20bf99Martin Sjölund- Fix broken OMShell build.
9f32ecb835Martin Sjölund- Install scripts in share/omc/scripts instead of bin
8b5b5061ecMartin Sjölund- Fix so the qtclients idl files aren't re-run every time they are built.
a3ad983f5bMartin Sjölund- Fixed https://openmodelica.org:8443/cb/issue/1200 - Search /lib/ instead of /lib in case lib is a symlink.
d37d25d46bMartin Sjölund- Use qtclean target to Makefile.common, so we actually clean up after the qtclients.
d9f79c1909Martin Sjölund- Move libQt*-mingw.a from build/ to c_runtime/omdev_qtdeps. - Delete build/ from svn.
f5033e11a0Martin Sjölund- Added antlr_license.txt. Missing from last commit.
1aa8bb86dbMartin Sjölund- Added trunk/Makefile.common, and restructured Makefile and Makefile.omdev.mingw - Fixed lots of weird install targets for files - Moved commands.xml, etc files from bin to share/omnotebook, share/omshell. - Moved ptplot.jar from bin to share/omc/java. - Moved ptplot_license.txt from bin to share/ - Moved omc_helptext.txt from bin to share/doc/omc - Added antlr_license.txt - Moved OPENMODELICA/include to OPENMODELICAHOME/omc/include - This way we won't override system libs/includes if we install to /usr - Did the same for /lib - Left to do: Move scripts from bin to usr/share/omc/scripts - Updated OMNotebook and OMShell to reflect new paths of xml files. - Updated doPlot commands to reflect the new location of ptplot.jar
86cb637b7aMartin Sjölund- Added trunk/Makefile.common, and restructured Makefile and Makefile.omdev.mingw - Fixed lots of weird install targets for files - Moved commands.xml, etc files from bin to share/omnotebook, share/omshell. - Moved ptplot.jar from bin to share/omc/java. - Moved ptplot_license.txt from bin to share/ - Moved omc_helptext.txt from bin to share/doc/omc - Added antlr_license.txt - Moved OPENMODELICA/include to OPENMODELICAHOME/omc/include - This way we won't override system libs/includes if we install to /usr - Did the same for /lib - Left to do: Move scripts from bin to usr/share/omc/scripts - Updated OMNotebook and OMShell to reflect new paths of xml files. - Updated doPlot commands to reflect the new location of ptplot.jar
2bc1dff70bMartin Sjölund- Added trunk/Makefile.common, and restructured Makefile and Makefile.omdev.mingw - Fixed lots of weird install targets for files - Moved commands.xml, etc files from bin to share/omnotebook, share/omshell. - Moved ptplot.jar from bin to share/omc/java. - Moved ptplot_license.txt from bin to share/ - Moved omc_helptext.txt from bin to share/doc/omc - Added antlr_license.txt - Moved OPENMODELICA/include to OPENMODELICAHOME/omc/include - This way we won't override system libs/includes if we install to /usr - Did the same for /lib - Left to do: Move scripts from bin to usr/share/omc/scripts - Updated OMNotebook and OMShell to reflect new paths of xml files. - Updated doPlot commands to reflect the new location of ptplot.jar
901913cfd7Martin Sjölund- Added trunk/Makefile.common, and restructured Makefile and Makefile.omdev.mingw - Fixed lots of weird install targets for files - Moved commands.xml, etc files from bin to share/omnotebook, share/omshell. - Moved ptplot.jar from bin to share/omc/java. - Moved ptplot_license.txt from bin to share/ - Moved omc_helptext.txt from bin to share/doc/omc - Added antlr_license.txt - Moved OPENMODELICA/include to OPENMODELICAHOME/omc/include - This way we won't override system libs/includes if we install to /usr - Did the same for /lib - Left to do: Move scripts from bin to usr/share/omc/scripts - Updated OMNotebook and OMShell to reflect new paths of xml files. - Updated doPlot commands to reflect the new location of ptplot.jar
836ed8eee2Martin Sjölund- Fix syntax error in OMShell.pro - Use ANTLRHOME paths properly in OMNotebook.pro if it is set
0b1764f337Martin Sjölund- Fix syntax error in OMShell.pro - Use ANTLRHOME paths properly in OMNotebook.pro if it is set
c80d284050Martin Sjölund- Updated c_runtime/Makefile.common for OSX (needs to run ranlib on .a-files).
baac3d9017Jens Frenkel- continue with derivatives of functions: start noDerivative, outputs
db6c52f3c4Martin Sjölund- Fix docdir for install script
7f64925080Per Östlund- New fix for --with-CORBA=DIR
8c1683fb98Martin Sjölund- Fix for mico-config --with-CORBA=XXX
0c8f954a57Jens Frenkel- continue with derivatives of functions: zeroDerivative now works
84734ff0b0Martin Sjölund- Changed systemimpl.c to not use OPENMODELICAHOME during the init call. - Instead, we use Main.main to check for OPENMODELICAHOME (and set mingw paths). - Updated System.setEnv to take a boolean as third argument instad of int.
c1ab7db505Martin Sjölund- Make omc exit if OPENMODELICAHOME is not set.
ef0326b40fMartin Sjölund- Don't copy .svn-files when doing make install.
c385bc08f2Jens Frenkel- continue with derivative annotation for functions: order > 1 works now
e301ae5d53Jens Frenkel- continue with derivatives of functions not Working: - output arguments - check derived function inputs and outputs (frontend) - order > 1 - zeroDerivative, noDerivative,
cef4376ec5Adrian Pop- updates to visual studio projects, makefiles, qt clients and pdbs
7df59a321fJens Frenkel- derivative annotation for functions: convey functions to differentiateExpTime
facdf281e9Martin Sjölund- Adding OMC_API-HowTo to install target for omc (only did omcd last commit).
021660c993Martin Sjölund- Adding OMC_API-HowTo to install target. - Updating java_interface makefiles (better clean-up and works without setting JAVA_HOME). - Removing temporary antlr grammar files when configure script fails. - Fixed doc install path for UNIX systems. - Remove generated code when doing make clean in Compiler/runtime, Compiler/absyn_builder. - Remove generated makefile in c_runtime/sendData.
3ea80f9c16Jens Frenkel- Bugfix, derivative annotation for functions, functions with annotation(derivative=foo1) wasn't found
e4c8c8f324Martin Sjölund- Added support for unset RMLHOME when doing ./configure - More removal of files when doing make clean or make distclean
4a5e03ba89Martin Sjölund- Updating linux makefiles (and rmldep-new.sh) to work without RMLHOME set (it is set by ./configure!)
b6a6e35924Martin Sjölund- Added support for omniORB in qtclients. + We can now remove the dependency on mico for Linux systems.
bdba43d6e1Martin Sjölund- Added support for omniORB in qtclients. + We can now remove the dependency on mico for Linux systems.
91feb6780cMartin Sjölund- Added support for omniORB in qtclients. + We can now remove the dependency on mico for Linux systems.
46a7725c58Peter FritzsonAdded Juhas fixes from 100421 and added items function returning records and function derivative annotation in the backend sheet.
d6b93a8b40Jens Frenkel- update Workplan
3af9dfd0fbMartin Sjölund- Updated configure script to configure lpsolve55 properly (some systems require -ldl -lcolamd, others don't).
cf1a053a23Martin Sjölund- We now handle redeclare modifications in extends in InstExtends instead of passing back the modification and handling it later. + This added support for the record constructor function when redeclaring records.
9be5da6923Martin Sjölund- elabCallArgs now guards the general case from accepting record constructors.
0f9f541459Per Östlund- Fixed detection of nested when-statements [bug 1189: http://openmodelica.ida.liu.se:8080/cb/issue/1189]
957f7127daPeter FritzsonUpdated entry text for refactoring - added 80% and 100% explanations and 100% entry
fddbe90c95Adrian Pop- updated.
3bdbf77d2aPer ÖstlundUpdated workplan
7b16d114bdPer ÖstlundUpdated status for finished bugs and fixed some rows that had not been correctly added.
abf169a719Niklas Worschechupdate status for cpp code generation
eaeb5a21bbPeter FritzsonFixed summation errors and conditional errors in excel sheet
1be141116bPeter FritzsonInserted some development items for Jens Frenkel, Lennart Ochel, Willi Braun, Peter Fritzson. However, time estimates and measured time still needs to be intered.
c446b8f23fAlexey LebedevUpdated workplan
cea230f2d3Per Östlund- Fixed code generation for min and max (bug #1196: http://openmodelica.ida.liu.se:8080/cb/issue/1196).
2d98f62672Per Östlund- Fixed bug #1194: http://openmodelica.ida.liu.se:8080/cb/issue/1194 by adding a case for arrays in Types.getFixedVarAttribute. - Added testcase mofiles/FixedFinalParameter.mo to test the fix.
9b34ee9631Martin Sjölund- Added support for "record ABC = DEF;", and calling the record constructor ABC. - Added testcase records/Derived1.
aaca4bf7e6Per ÖstlundUpdated workplan
5b76eaa805Martin Sjölund- Fix for getNthComponent (partialInstClass wouldn't work on certain scopes that extend with modifications).
7ad9d8548cMartin Sjölund- update of the work-status
c31e7145efAdrian Pop- update of the work-status
6e84bdae96Martin Sjölund- Updated layout of Workplan-status-estimates
bbd366a923Martin Sjölund- Remove failtrace for lookupVarInPackages.
8aaa495781Martin Sjölund- Fixed lookupVarInPackages to store previous environment frames when doing lookup in the parent scope. + This prevents infinite recursion if you want to lookup A.B.C.myConst in scope A.B.C.MyFunction.
8b99fbf424Per Östlund- Implemented the possibility of specifying multiple .mo(f)-files on the command line, and which class to instantiate. + Combined the cases for single .mo-file and for .mo-file with libraries in Main.translateFile. + Added a case in Main.loadLibs for loading .mo(f)-files. + Added flag +i in RTOpts, which is used to specify the class to instantiate. + Moved the instantiation to it's own function Main.instantiate, which checks the flag +i to determine which instantiation function to call. + Added the function Absyn.stringPath, that converts a String to a qualified Absyn.Path. + Rewrote parts of Inst.instClassInProgram to report an error if the class specified with the +i flag was not found. + Updated the help message to reflect these changes. - Fixed spelling in SimCodeC.tpl.
968abd0ce7Adrian Pop- fixed bug [1185] https://openmodelica.org:8443/cb/issue/1185 Error: Variable stateGraphRoot in package Modelica.StateGraph.Examples.Utilities.CompositeStep2 is not constant Error: Variable stateGraphRoot in package Modelica.StateGraph.Examples.Utilities.MakeProduct is not constant The problem was the that the lookup in in InnerOuter.lookupVarInnerOuterAttr can fail so I added error checkpoint/rollback.
69c6485440Martin Sjölund- Removed "Lookup of enumeration variables" from lookupVarInPackages, since the general case also handles enumerations (less code to maintain).
59b2b5b0b5Martin Sjölund- Simplified the code for lookupUnqualifiedImportedVarInFrame so it's easier to maintain.
dea22dde2dMartin Sjölund- Simplified the code for lookupQualifiedImportedVarInFrame so it's easier to maintain.
b22956fde6Per Östlund- Fixed bug #1193: http://openmodelica.ida.liu.se:8080/cb/issue/1193 + Changed Mod.lookupIdxModification so that it can merge a final variables EqMod with it's other modifications. + Added testcase mofiles/FinalParameterModification.mo.
a8c0e54324Peter FritzsonUpdate to having 2 separate sheets for frontand and backend + other things. Tried to delete irrelevant issues for front resp backend.
a5c5731232Per Östlund- Fixed bug #1190: http://openmodelica.ida.liu.se:8080/cb/issue/1190?navigation=true + Added the function Inst.isFunctionInput that checks if a component is a function input argument or not. + Ignore modifiers on function input arguments in elabArraydim, since the size of input arguments should not be determined there. + Added testcase mofiles/FunctionDefaultArgs.mo to test the fix.
1672c17bfdMartin Sjölund- Adding testcase Extends8.mo - This tests that all inherited class definitions are actually put in the environment (this sometimes wouldn't work if you extended and extended class).
edb8d67248Adrian Pop- added operator record to the grammar / walker / Absyn.mo (from Modelica 3.2).
a611bef985Adrian Pop- overconstrained connection graph improvements and fixes. + the graph changes generated by disabled components ( Type comp if false ) should be discarded (created problems for ForceAndTorque.mos) + delete the branch edges, roots and connects from the connection graph when they lead to a disabled component.
9291bcb334Jens Frenkel- readable DivisionbyZero ErrorMsg - test only divisor part of parameter Equation if zero
ff0a8e9d30Martin Sjölund- Do updateCompeltsMods also when doing a partial instantiation (this solves some issues in Modelica.Media; some others remain though).
234d69e47aMartin Sjölund- Removed lookupVar failed failtrace (I re-added it by accident after debugging). - Added printing of scope used when instantiateDaeFunction fails.
999aaf6453Jens Frenkel- finish relaxation algorithm works also for template codegen, - use "+d=relaxation" to solve linear systems with relaxation algorithm (gaus ellemination without pivoting)
4cd0f18f08Jens Frenkel- continue with relaxation algorithm
0301cc37eeJens Frenkel- start implementation relaxation algorithm
8f5cebccceJens Frenkel- implement pow operator for matrix
0d5d932408Martin Sjölund- Fix order of cases in updateComponentInEnv in order to fix libraries testcases. - Also updated Multibody testcases due to Adrian's previous changes. - Fix testsuite/rtest to print time spent when it gets equation mismatch. - Refactoring Lookup.mo (Derived classes are no more).
9aef184cacPer Östlund- Fix for bug #1186: http://openmodelica.ida.liu.se:8080/cb/issue/1186?navigation=true + Added function Exp.arrayContainWholeDimension that checks if a list of dimensions contain a wholedim. + Added a check in Static.cevalIfConstant so that only functions with return types of unknown dimensions are constant evaluated to determine the dimensions. + Modified some testcases to reflect the changes made.
fe3d614bbcAdrian Pop- fixes for bug [#1188] https://openmodelica.org:8443/cb/issue/1188 Connections.isRoot evaluates to wrong value in Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody - the problem was a typo in ConnectionGraph.addBranchesToTable generated a wrong hash table. - moved public functions in the beginning of ConnectionGraph.mo - make all functions not accessed from outside be protected in ConnectionGraph.mo - more testsuite/libraries/multibody/ need updating (will do that with a later commit).
fdbf4b8c23Jens Frenkel- CMakeFiles now work on win32 and linux to generate omc executable. - Linux define RLMHOME, point to your rml install path - win: define OMDEV environment variable, point to your OMDev installation - Attention: because function rml_user_gc is defined at rml.lib you can - at force flag to TARGET_LINK_LIBRARIES(omc rml) (for win32 -> TARGET_LINK_LIBRARIES(omc -FORCE:MULTIPLE rml)) or - rebuild rml lib without function rml_user_gc
2d5dd111fcMartin Sjölund- Updated configure script to be a lot faster when searching for ANTLR headers (look in ANTLRHOME/include and ANTLRHOME/lib instead of searching all of /usr). - Fixed an issue where ANTLRHOME can be set to /home/user/src/ but the script finds the headers in /usr/local and Makefiles then fail. - You may now have ANTLRHOME unset when doing ./configure. - The default ANTLRHOME is /usr. - Readme file updated to reflect these changes.
c7babf5b27Jens Frenkel- implement elsewhen part of whenequations for tplmode
bf298affa5Rickard LindbergFixed incorrect generation of makefiles.
1a08cf87d6Jens Frenkel- implement elsewhen part of whenequations
abf20b1369Rickard LindbergUpdated some comments.
87488ed1c4Rickard LindbergAdded more documentation to SimCode and did some refactoring.
aa6e243ba4Martin Sjölund- Fixed some gcc warnings in Compiler/runtime on Unix.
1c5d87c9b0Jens Frenkel- division by zero problem, test parameter expressions only once
752953f0e5Jens Frenkel- continue with division by zero problem, attend mode (ALL,ONLY_VARIABLES), removed unused functions
76bd57746fAdrian Pop- moved getTotalProgram from Interactive.mo to a new package Dependency.mo so that it can be shared between OpenModelica and other tools (MathModelica).
e4b9519712Martin Sjölund- Updated configure script for better performance and stability when installing rml and setting RMLHOME to a too common directory (sources in /usr/local/src and binaries in /usr/local - the old script would find both include directories)
a64ceaf86aMartin Sjölund- Fixed testsuite/mofiles/ConstructParameters1.mo (printing parser error is the expected result). - Added a guard to instBasictypeBaseclass - if a primary type is extended with a new component, we should not try the next case, but rather print an error. - Updated testsuite/mofiles/SimpleTypeExtend.mo (it is supposed to fail according to the line above).
658739cd7dMartin Sjölund- Fix for mofiles/Array13.mo - Handle instModEquation when the dimension of the MOD is 0 as a special case (there is no equation). - Added testcases Array14,Array15 that are the same as Array13, but test it for constants and variables instead of parameters.
3a20c8450eOtto TronarpMake it possible to setup a different default compiler through environment variables.
852f5d5063Martin Sjölund- Adding testcase Extends7.mo, based on bug #1184. - Adding builtin function classDirectory()->String to the initial environment. - It is a non-standardized function does not have an implementation in OpenModelica.
71de94c92fMartin Sjölund- Updated the generation of Makefile header so you don't have to specify SENDDATALIBS if you run it manually.
6b21019aaeJens Frenkel- update CMakeFiles for linux
992b28e68dMartin Sjölund- Fixed a slight bug in Compiler/InnerOuter.mo (was printing error trace when it shouldn't). - Updated mathcore-mofiles for new rtest script. - Updated testsuite/Makefile to use parallel make for all tests.
d3f08b32edJens Frenkel- update CMakeFiles, start with testsuite
1d602c52aePer ÖstlundFix for bug #1187: http://openmodelica.ida.liu.se:8080/cb/issue/1187?navigation=true - The checkModel flag is now set in CevalScript when checkModel is run. - Static.elabSubscriptsDims2 now avoids printing error messages for out of bounds indices when checking a model. - DAELow.checkAssertCondition now skips checking assertions when checking models.
deff1a39bdRickard Lindberg- Generated outvar init code before memory management - Implemented generation of: - MUL_MATRIX_PRODUCT - UMINUS_ARR - Updated so subscripts work for CREF_QUAL as well - Fixed some other small issues to make multibody tests pass
5aed0dfa57Martin Sjölund- Re-added the changes (r5194) reverted in (r5215) - With some additional changes that fixes problems with it (regarding changing modifiers to NOMOD in updateComponentInEnv). We now do that as before, but only for variability VAR or DISCRETE. - Fixed more issues with filenames being absolute paths when running the testsuite (and removed +d=rtest flag; we simply always make the substitution so it's easier to do development). - Added testcases invertedPendulum, nonConstantParam (from MathCore). - Also removed Env.BCEnv (baseclasses in Env), since the list was always empty now. - Fixed the testsuite/libraries/Makefile (hopefully for the last time).
5cebd9f6fbJens Frenkel- CMakeFiles: install omc, libs, docs, testmodels, includes
036e41c393Jens Frenkel- CMakeFiles: install omc, libs, docs, testmodels, includes
7fdfdabd48Jens Frenkel- CMakeFiles work with VisualStudio but generated omc.exe wound work because of qt problems
7d31d76a5cJens Frenkel- continue with CMakeFiles
74c8e90e59Per Östlund- Added an error message in the backend when trying to lower the constrain function, since this previously failed silently. - Implemented support for functions without return values (since they were already mostly implemented anyway).
7f3cf54b27Martin Sjölund- Added System.stringFindString (same as System.findString, but returns the found String instead of an index). - Modified Error.mo to look for the +d=rtest flag. - If the flag is present, you look for "/testsuite/" in the filename string, and print the path relative to /testsuite/. - Updated the msl221 and biochem rtest files to use this flag. - Updated the PID_Controller.mos testcase so you don't have to run the testsuite from c:/petar/dev/... in order to get the same error messages.
24b928b84aJens Frenkel- update CMake Files, now only the linker fails because of runtime.lib(systemimpl.obj) : error LNK2005: _rml_user_gc ist bereits in librml.lib(p-usergc.obj) definiert. >msvcprt.lib, MSVCRT.lib, error LNK2005: __errno ist bereits in LIBCMT.lib(dosmap.obj) definiert. ...
233041f010Martin Sjölund- Print a message about what port is being opened if omc is started with +d=interactive (socket interface)
1fcc180d26Rickard LindbergRefactored templates.
bc0bce83eaPeter Aronsson- Reverted (constrain is used in the old multibody library and MathCore uses it.) Testcase will be added later today.
7dac18644cJens Frenkel- update CMake Files, now only the linker fails
64220111aePeter AronssonFixed two bugs that affect the code generation in MathCore backend: -Fixed a bug in Exp.stringifyComponentRef (last type should be picked up, but it wasn't). -Fixed a bug in vectorize call (giving wrong type to component refererences.
9e8a425aedPeter AronssonReverted -r 5194 as it destroyed a lot of testcases at MathCore. I will add these as instantiation tests in OpenModelica later today.
562109bf42Per Östlund- Removed the non-standard constrain function from the initial environment, since it's not handled in the compiler and caused the compiler to fail without a proper error message when constrain was used.
7b5013ab79Jens Frenkel- continue with CMakeFiles
9dbd9c1dacPer Östlund- Fixed testcase #1179 [http://openmodelica.ida.liu.se:8080/cb/issue/1179] + Changed Inst.getUsertypeDimensions so that it also returns any modifiers from user defined types, which are then sent on to instVar2 from instVar_dispatch when instantiating user defined types. + Changed some testcases to reflect that modifiers are now propagated correctly. + Added testcase UsertypeModifications to explicitly test this fix.
36a7506316Jens Frenkel- update CMake Files
a44025e555Rickard LindbergRefactored and documented C code generator template code.
ac698813e5Jens Frenkel- add CMakeFiles to build omc with CMake (not yet finished)
99f4a4df3eJens Frenkel- missing file for division zero problem implementation
58d75a68bdMartin Sjölund- Fix for failtrace of the new InstExtends when extending components with IMPORT elements. - Only traverse elemets that have not been traversed already (no significant speed improvement).
f88b5cdb55Jens Frenkel- first implementation of division by zero problem (only for template part)
4d83e40e68Alexey LebedevFix for the multiple declaration bug: http://openmodelica.ida.liu.se:8080/cb/issue/1071?navigation=true
64ecd443c9Martin Sjölund- Added new module InstExtends.mo - Removed SCode.BaseClassPath from the SCode module - InstExtends will now traverse the inherited elements and replace referenced crefs with fully-qualified paths instead of the old baseclass concept. + This is closer to what the specification says about how to handle extends and might work better when trying to implement Modelica.Media.
7e00010d0bRickard Lindberg- Extracted extra record declarations from uniontypes - Extracted libraries (arrays of libraries) from annotations - Generated external type for meta types
c3d58ee9e8Martin Sjölund- Added a makefile target for building omc with RML profiling information
bae366c7b6Peter Aronsson-Another fix for variability of for iterators. It now has a ceiling of PARAM variability, since cevalIfConstant otherwise fails. This needs to be refactored when cevalIfConstant is removed in the future. Added another testcase to make sure this is covered (AIMC_DOL.mos) -Minor fix in errorext.cpp
2cf0113cfcRickard Lindberg- Extracted record constructors as functions and generated code for them - Generate complex constant expressions in daeExpMetaHelperConstant - Generate type descriptions for meta types
4d9d78d8cbPeter FritzsonIntroduced change date column with dummy contents
e4a44574a1Peter FritzsonMade the upper part of the table more compact
547392dd9fPeter Aronsson-Implemented sorting of functions when printing DAE as preparation to make testsuite more robust. (All multibody tests updated because of this too) -Changed how variability of for iterators are handled. They must be correct after the iterators have been elaborated to prevent false error messages later on. But this affects how e.g. indices are elaborated. Earlier they were always constant evaluated for const and param variability, but this is not the case when inside a for iterator scope, since the iterators do not have a value. Therefore added special scope name for for iterator scopes, and treat them separately, see Env.forIterScopeName and Static.elabSubscriptsDims2.
656c479a56Rickard Lindberg- Generated code for STMT_TRY - Generated code for STMT_CATCH
3ca7676241Rickard Lindberg- Added special write_noretcall when called function has no output variables - Generated code for STMT_NORETCALL - Don't generate ending comma for METARECORDCALL if no arguments
08a2843459Rickard Lindberg- Implemented generation of expression CONS - Implemented generation of expression METARECORDCALL
9f02d82a9ePeter Aronsson-Fixed bug in array reductions. The variability of for iterators were always added as C_VAR, even if they had constant or parameter variability). This resulted in ceval error messages. Testcase in TransformerYY.mos
62e1d70231Björn Zachrissonsome comments added
e8155de7a3Martin Sjölund- Fix for Lookup.lookupVar: Check for valueBlockScopeName in addition to forScopeName. - Fixes MetaModelica and ForIterator test cases.
99be13c6d7Peter Aronsson-Fixed bug in lookupVarInternal, returning empty frame as scope of variables. -Fixed bug with lookup of variables performed in parent scopes (now limited to for loop scopes and top scope for builtin variable time) NOTE: This destoys a lot of meta-modelica tests, probably since there it is okay to look in parent scope, e.g. for matchcontinue, etc. Someone else has to fix this, as I am not familiar with the code.
e6fbe8b532Per Östlund- Fixed Lookup.expandWholeDimSubScript so that it doesn't drop for-iterators from the subscripts, which caused the testcase mofiles/VectorTest to fail. - Changed the testcase mofiles/VectorTest, since it previously expected the wrong result.
2b4d698497Martin Sjölund- Added HashTableStringToPath.mo (first HashTable module with a name you can actually guess what key-value pair it uses?). - Updated the other HashTable files (some of the functions that take a Key don't have input Key). - Added pathReplaceFirstIdent and crefReplaceFirstIdent to Absyn.mo. - These functions will be used in later commits. - These functions allow you to change the first part of a path: (a.b.c, d.e) => d.e.b.c - Part of their purpose is to remove the need of the base class concept in Inst (let extends lookup imports, etc instead of adding base classes).
5e47787df1Martin Sjölund- Fix for errorext.cpp on Linux (missing string.h for strcmp; OSX and Win32 doesn't require it).
347a43cb06Jens Frenkel- do a bit more simplification for matrix addition: example m[3,3] = a[3,3]+b[3,3] works but m[3]=A[3]+(B[3,3]+C[3,3]*C[3,3])*D[3] worked also before but generades bad code. testcase mofiles/VectorTest and mosfiles/APIClass failed also before this change
c73689577dMartin Sjölund- Fix for errorext.cpp (use strcmp instead of pointer comparison).
81e29fb02bDaniel HedbergAdded a few utility functions: - crefPrefixOf - isNone - isSome
744279279aMartin Sjölund- Fix for errorext.cpp (was missing include stdlib.h).
808ffb4cf5Peter Aronsson-Changed implmentation of ErrorExt: setCheckpoint,delCheckpoint and rollBack. They now take unique indentifiers. If rollback and delCheckpoint passes identifier that doesn't match what is on the top of the stack, the application exits. This is to make absolutely sure that error message checkpoints are handled correctly. -Also fixed bugs to make sure that above is fullfilled. -Fixed bug with wrong type inside crefs -Removed Static.generateCompiledFunction since it is not used.
f27bf7cc1cPer Östlund- Fixed testcase Lookup10, which together with other recent fixes fixed bug #1151: [http://openmodelica.ida.liu.se:8080/cb/issue/1151?navigation=true]. - Added RTOpts failtrace guard in Inst.partialInstClassIn.
b413d1a0a3Adrian Pop- Updated parser/lexer to support 'operator' and 'operator function'. The keyword 'operator' can also be used as an identifier in several places so we can parse the OpenModelica compiler sources. We can change the sources and replace 'operator' with 'op' or something similar later. - RollingWheelSetPulling.mos now flattens without error.
001cae3409Per ÖstlundFixed for loops in class algorithm sections: [https://openmodelica.org:8443/cb/issue/1180] - Static no longer tries to constant evaluate iterators, which earlier caused Ceval to print an error message. - Fixed the broken counting of equations in for loops. - Fixed the C name generation for variables in for loops that used iterators as subscripts. - The testcase AlgorithmForInClass now works again.
24356b45dfMartin Sjölund- Fixed error messages from Static.instantiateDaeFunction when trying to instantiate from the top scope.
7ac6c747fbMartin Sjölund- Replaced Static.calculateConstantness with listFold.
9ff466833aRickard LindbergImplemented generation of expression LIST, META_TUPLE, and META_OPTION.
a1c2e00febMartin Sjölund- Added support for enumerations in external C functions. + This causes RollingWheelSetPulling.mos to print some extra warnings (because the annotations for external C functions are missing in the multibody testsuite).
4059df1ad5Martin Sjölund- listFold instead of listReduce when simplifying calls. + Works when using an empty list of arguments.
6f7745c5b3Rickard LindbergImplemented generation of STMT_THROW.
a5ba5c356aRickard Lindberg- Implemented STMT_MATCHCASES - Implemented STMT_BREAK - Added missing record STMT_RETURN in the typeview (solving the problem described in the removed comment)
4a45461106Peter Aronsson-Fixed some bugs with wrong type in component references
58b2938988Martin Sjölund- Modified the ModelicaUtilities testcase to use save() and pre() on strings during simulation runtime. + Updated the generation of simulation makefiles to link libraries in the correct order.
6904a3b9ecRickard Lindberg- Fixed readInVar template to work for nested records - Refactored code for writeOutVar template
257ad39772Adrian Pop- replaced Linköping with Linköping
bb4ecf5121Adrian Pop- replaced Linköping with Linköping
a6f84c5472Adrian Pop- replaced Linköping with Linköping
f651d38de6Adrian Pop- flush the stderr in ModelicaFormatError (otherwise the stderr is printed at the end in Windows) - do not delete ModelicaUtilities_*.dll as you cannot do that in Windows when is loaded in the omc process!
25fdad4029Martin Sjölund- Updated simulation runtime to support pre() and save() on strings.
5eb5545d97Rickard Lindberg- Generate record declarations in correct order - Generate correct type descriptions for nested records
cca934e475Rickard Lindberg- Generate correct external type for records - Only declare init variable if it does not already exist in return struct - Extract record declarations from external functions in addition to just regular Modelica functions - Fixed bug in writeOutVar: a comma too much if external function had no input arguments
757135339cMartin Sjölund- Added test mosfiles/FinalTests, from MathCore - Added the ModelicaUtilities.h header (Utility functions for external C function) - Changed the generation of makesfiles to make it possible to reference these functions. - Added a simple implementation of these functions. - Added test mosfiles/ModelicaUtilities - Fixed a bug in SimCodegen where solved string would not be escaped before printed as C-code.
67fe5497f1Martin Sjölund- Added c_runtime/Makefile.common. - You now only need to change one file when you add headers.
1cee911ae4Adrian Pop- some fixes to plotting while simulating - disable some logging. - updates to ext and OMNotebook
af09153702Adrian Pop- added the constantness of the for loop range as an option in DAE.TYPES_VAR for a variable in the environment to be able to detect if the variable is a for index. - Lookup.lookupVar* will now return also the constantness of the range of the variable (if is a for index, otherwise NONE()). - if a variable is a for index *do not* prefix it in PrefixUtil.mo - unroll for loop statements that contain when statements and report an error if the range is not constant or parameter. - functionality to unroll all for loops with constant range but is not activated right now (we want to move towards non expanded arrays).
442c6ba667Adrian Pop- use the actual QTHOME in Linux if is set and replaced tab with two spaces (systemimpl.c) - generate an unique log filename for each external viewer (sendData.cpp)
9f121f134bAdrian Pop- detect header changes in c_runtime (Makefile*) - assert should be based on SIZE_ELEMENTS in size_alloc (memory_pool.c) - more index elements (memory_pool.h) - get rid of unused variable warning (real_array.c)
3fe65159bdMartin Sjölund- Added fixes for new testcase mosfiles/EnzMM.mos, provided by MathCore + We now check all frames in the current scope before looking in the baseclasses.
7f0edc4984Rickard LindbergFixed testcase ExternalFunctionResultOrder.mos.
dda76d6f04Per ÖstlundDisabled earlier changes in Env.cacheGetEnv2, since these caused problems in Multibody.
9acd6c2074Peter Aronsson-Fixed bug with incorrect types in DAE.CREF_IDENT and DAE.CREF_QUAL. The types should be that of the identifier -without- subscripts. This also required that this type information is returned from lookupVar, which resulted in the splicedExp changed to a SplicedExpData which contains the optional spliced expression and the type of (the last) ident. (See Lookup.mo) This will probably not affect OpenModelica backend, since it only uses the type from DAE.CREF, but MathCore backend uses these types, so they must be correct. -Fixed bug with functions not picked up to dae in lookupFunctionsInEnv -Fixed bug with simpliciation of scalar products (required by MultiBody simulations, testcase at MathCore).
9bb3962049Björn ZachrissonAdded a back patch for Qualified instantiation
e01b561eefMartin Sjölund- Removed some of the ErrorExt.rollback and setCheckpoint I added for pointless error messages. - We now check if the modifications could possibly generate basic types (only start,nominal,etc NAMEMOD's allowed). + This also removes the old error messages.
dab774d24cPer Östlund- Fixed Env.cacheGetEnv2 so that it searches all branches of the CacheTree when looking up qualified names, and not just the first one. This was needed for bug #1151. - Added testcase Lookup10 that tests the fix in Env.cacheGetEnv2. - Commented out some debug-related lines in Inst.
fe850cb5caBjörn Zachrisson* Fixed initial array equations * Activated back patching of initial if equations with Connection.isRoot() as statements.
5b6f8ef9c3Martin Sjölund- Added support for external function annotation Library={"lib1","lib2"}, as per the 3.1 specification. + Updated MetaModelicaDev testsuite to use this functionality.
7732cc983aRickard LindbergGenerate correct read/write in 'in_' functions for complex types.
01b6408936Rickard LindbergGenerate code for STMT_RETURN.
a3b052db08Rickard LindbergGenerate correct C type for external string array arguments.
9453132a17Martin Sjölund- Fixing another bug where error messages are sometimes printed out even though they shouldn't. + This occured in instBasictypeBaseclass because errors from elabMod were only rolled back if the class was builtin. + Added a testcase for this.
484b849bdeMartin Sjölund- Fixed OMC parsing issues in Inst.mo. RML didn't complain even though the syntax was clearly incorrect.
c28f2cbd8aMartin Sjölund- Removed directory Compiler/template_precompile which was part of the old template code generator prototype. + This directory made MDT not work correctly (multiple copies of Util.mo for example).
e576202179Martin Sjölund- Fixed a MetaModelica bug where matchcase expressions with 0 input variables were disallowed.
8f0ca7e3caMartin Sjölund- Fixing a bug where error messages are sometimes printed out even though they shouldn't. + This occured in instBasictypeBaseclass2 because noone made an ErrorExt checkpoint before trying to roll back the message.
a74698e334Rickard LindbergAdded special case when cref is of enum type.
bf539eb619Rickard LindbergGenerate 'in_' function for external functions.
edf4128310Rickard Lindberg- Added support for generating single functions using Susan - Added case to STMT_ASSIGN_ARR to handle slices on the left hand side
fd31d00578Per ÖstlundUnified handling of Icon and Diagram annotation, since getDiagramAnnotation didn't work in all cases. Both Icon and Diagram annotation are now handled in the same way.
33aa739882Martin Sjölund- Changed Env.BCFrames to list instead of list. - Updated Inst.getDerivedEnv and Lookup.lookup{Class,Var} to reflect these changes.
7ca7a826b9Per ÖstlundFix for bug #1146: + Fixed elaboration of fill (such as zeros and ones) on arrays of unknown dimensions. + Added testcase FillSize in mofiles
33d41497bbRickard Lindberg- Fixed when_sorting test case by extracting a new set of equations including when equations (used in functionUpdateDepend template) - Generated functionCheckForDiscreteChanges function correctly
dbf1b8745bStefan Brus- C_runtime .c files now have updated license headers
6101653a59Stefan Brus- C_runtime .h files now have updated license headers
c91b93bdadStefan Brus- Rest of .mo files
3ea3af849cStefan Brus- First batch of updated license headers
a16418cb52Jens Frenkel- bugfix CombiTable2D
6440d842ffJens Frenkel- implement CompiTables2D, not testet yet
4c1bf45db0Per ÖstlundImplemented support for initial array equations (DAE.INITIAL_ARRAY_EQUATION). Not properly tested yet, but shouldn't break anything.
2889f767daMartin Sjölund- Changed the base class in SCode elements to a list instead of option.
1fff03f80dMartin Sjölund- Changed instElement to get the class and component modifications before updating them. - This solves issues when you try to update modifications that are discarded anyway.
d09df64a59Rickard LindbergImplemented generation of delayed expressions.
c9a3785951Martin Sjölund- Fixed r5075 (which changed encoding of Swedish letters into ???)
c19d7ea5a0Per ÖstlundUpdated workplan.
b625b007ffRickard Lindberg- Implemented generation of reductions - Fixed incorrect name in print string - Added empty function checkForDiscreteChanges (to make it compile)
2c53374e8eAnton SodjaAdded a field `aliasVars' to structure DAELow, where replacement transformations for alias variables (originating from trivial equations) are stored. Currently, this field is ignored everywhere -- it will be only used in code generation in my own branch `omprof'.
a15d95b0d5Martin Sjölund- Updated URLs in README-OMDev-MINGW.txt
d73a1807d2Jens Frenkel- reimplement Exp.solve for ifexp because use solvenonlinsys is very slow(with solvenonlinsys: 5sec. without 0sec) The testcase IfEquation2 works now because there is no division by zero (a*x/y,y==0 all the time) anymore. It does not fail with solvenonlinsys because solvenonlinsys returns 0 for this special case.
32450ecf45Martin Sjölund- Removed trailing whitespace from Compiler/*.mo
07ba55561aMartin Sjölund- Added Env.BCEnv for the type used by base classes (currently aliased to Env.Env)
dc1700679bMartin Sjölund- Updated Inst.getDerivedEnv - it no longer needs to check for possible infinite recursion since lookupClass does that for us.
69c7b3f605Jens Frenkelbugfix for removeSimpleEquations
1424f5484eMartin Sjölund- Don't use Inst.updateCompeltsMods on DAE.NOMOD. This reduces failtrace logs. - Updated multibody testcases. * Changed eol-style to native. * updateCompeltsMods caused changes in the order in which functions in the DAE were generated.
0f8cb8bfb0Martin Sjölund- Added the correct modification in Inst.updateCompeltsMods, instead of DAE.NOMOD. - This mainly removes errors and failtraces that would later be patched in anyway. - It should now be easier to debug large models since most of the failtrace should be relevant again.
79efed329fPer ÖstlundUpdated workplan.
7e28e4be0cWilli BraunUpdate event handling for euler. Add two testcases: one for event iteration and one for when sorting cleanup Codegen.mo.
66ce6db4d9Adrian Pop- updates to estimates
79cbbb78b1Peter FritzsonUpdate 2010-02-26, moving relevant bug work to MultiBody, formating to 1 decimal, etc.
19a91a56dbMartin Sjölund- Added lookup of partial packages that have modifications (needed for base classes). - Changed lookup of imports to use previous frames and the new constructs for only looking up in the current scope.
fd1a8d4d2ePer ÖstlundFixed bug #1170, which included: + Fixing elaboration of vector function. + Enabling Inst to determine the size of an unknown dimension (WHOLEDIM) from a variables modifier. + Fixing the c_runtime to handle assignment to column slices of matrices correctly (or at least more correctly than before...). + Adding a test case VectorTest.mo.
c4c9d16968Martin Sjölund- Dynamically loaded functions are now compiled using g++ instead of gcc. They are still exported using extern C.
913c2eed9eMartin Sjölund- Removed some cp -u lines from Makefiles. They don't work in OSX (GNU extension). - Added x86_64-OSX version of liblpsolve55.dylib. - Most regular Modelica testcases work in 64-bit OSX. MetaModelica testcases seem to fail, however (probably due to not using the 64-bit datatypes in the headers).
23e20ec2fcPer ÖstlundAdded time estimates to workplan.
c45bb8c8e8Adrian Pop- ValuesUtil.unparsePtolemySet2 was failing due to some problems with dimensions of Values.ARRAY; because of this plotting was failing, now it works again.
e8c9c986d0Jens Frenkel- continue with division by zero implementation
f0a7fad6aaAlexey LebedevUpdated workplan
01248b8b3cPer ÖstlundUpdated workplan
61b4c21552Martin Sjölund- updates of the Workplan-status-estimates.xls
babb97a08aAdrian Pop- updates of the Workplan-status-estimates.xls
ed8745e7f6Martin Sjölund- Added baseclass paths to the elements of class definition in addInheritScope - Added ceval for DAE.SLICE - Added testsuite/mofiles/Extends6.mo to test these things
e942573401Jens Frenkel- continue with division by zero implementation
ec7fd3b1d6Martin Sjölund- Updated Lookup.lookupClass - Instead of removing prefixes from the path we are trying to look up, we now store previous frames. - So if we are in scope A.B.C.D and don't find C.E in either D or C, we lookup C.E in A.B with the previosuly stored frames {C,D}. We then rebuild A.B.C and lookup E with previously stored frame {D}. - We also send a stateful Boolean around in lookupClass. - If we ever find a matching name, this boolean is set to true. - If the boolean is true, we can no longer go up a level in the scope. - So if you have a class A.B.C.B and try to lookup B.C, it will now correctly only look for C in the scope A.B.C.B (and not A.B as it would previosuly do). - Note: This still doesn't solve all issues because the compiler stores UNTYPED mods sometimes, and this could potentially be elaborated in the scope A. - Added testcase mofiles/Constant11.mo for one of the issues now solved.
369ce9c190Martin Sjölund- Added a stateful Boolean to Util.mo - It's really a Real[:], but the abstraction makes it look like a single value. - Useful if you need to set a flag to stop a recursive operation (stop continue on fails).
78823db89bPeter AronssonQuite big check-in: DAE.mo: - added some comments to operators DAEUtil.mo : -added some utility functions. Exp.mo: -implemented simplification of cross - fixed some bugs in simplification - added some utility functions Inst.mo: - bindings on parameters and constants are now also created using makeVariableBinding, as for variables. This makes them also type converted properly as for variabeles. (This affected many flat models). - Fixed bug in setFunctionInputIndex (used for derivative information on functions) Lookup.mo : - fixed bug in makeExpIntegerArray with wrong value on the scalar attribute. Static.mo : - made elabBuiltinCross2 public (used by Exp.simplify1)
934f9e0068Björn ZachrissonSome minor renaming of functions to be more correct according to rest of project.
ad3d230f2cAdrian Pop- Exp.mo Handle also WHOLEDIM in Exp.replaceSliceSub. WHOLEDIM is *also* a special case of SLICE that contains the all subscripts, so we need to handle that too! This will get rid of errors like: The generated equations: controller.observer.y[:,1] = controller.L.u[:,1]; controller.observer.y[:,2] = controller.L.u[:,2]; should be instead; controller.observer.y[1] = controller.L.u[1]; controller.observer.y[2] = controller.L.u[2];
65b7bf363fJens Frenkel- start implementation of check division by zero
fdec6091cbJens Frenkel- undo more simplification (Rev 5008) because speedup is less than 1%, so numerical stability will be preferred
a401034406Martin Sjölund- Merged cases in lookupClass2 to make it easier to follow
c38023872fBjörn ZachrissonAdded a Absyn function to strip last cref of a qualified cref
118e69387dJens Frenkel- Bugfix: there was an error in daelow for bind expressions. The error occurred because in Exp.replaceExp has been traversed a component refs but this is wrong because m2.a will be replaced to m2.%$a for {{a,%&a},{m2.a,%&m2$Pa}}.
1e41eb2cd6Jens Frenkel- do a bit more simplification
43e852c8e6Rickard LindbergFixed failing test case mosfiles/BooleanArray.mos.
491ebe5260Martin Sjölund- Refactoring of code; no changes made to the DAE AST + Constructors of builtin types, such as (DAE.T_INTEGER({}),NONE) are now made through a constant DAE.T_INTEGER_DEFAULT + This refactoring will make it easier to change the representation of the DAE.Type
672fc711bfJens Frenkel- add missing built in math function return types
a19b7ef519Adrian Pop- fixed for bug [#1175] (https://openmodelica.org:8443/cb/issue/1175?navigation=true) instantiateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum); wrongly gives errors: Error: Variable body.sequence_start[1] not found in scope Error: No constant value for variable body.sequence_start[1] in scope . Error: Variable body.sequence_angleStates[1] not found in scope Error: No constant value for variable body.sequence_angleStates[1] in scope .
c37a5cfc7eBjörn ZachrissonSome minor changes to inst->deriveing function and Exp functions.
fff335ccfaAdrian Pop*BEWARE*, quite BIG changes, MathCore will need to update their files! - new implementation for inner outer to get the Elementary ThreeSprings working + inner components are put first in the list returned by Inst.splitElems to be instantiated first + when instantiated the inner component environment and the dae is saved into InnerOuter.InstHierarchy + when instantiated the outer component the inner component is looked up into InnerOuter.InstHierarchy and the returned environment and dae are processed to make it usable for outer: * components in the environment are switched from INNER to OUTER * components in the dae are switched from INNER to OUTER and prefixed with the prefix of outer - tons of other fixes
1e58316a14Adrian Pop- added a new function - use dummyInfo constant rather than construct it on the fly
64555747aaAdrian Pop- updates so it compiles
3248d3e0baMartin Sjölund- Updated get_array_sizes in dynload.c to use existing dimension information from the Values.ARRAY
a0776c543eMartin Sjölund- Added list dimLst to Values.ARRAY * This means we can ceval {} and still know it has dimensions [0,3,2,5] * Updated C runtime * Updated elabBuiltinXXX to return correct type * Rewrote parts of vectorizeCall * Rewrote ValuesUtil and Ceval to set the correct dimensions of its calculated results * Didn't optimize all parts that use listLength on the valueLst. This could be improved also in in runtime
aea77c6fceMartin SjölundTypes.vectorizableType: - Changed it so that the expected type is lifted instead of the expression type unlifted - This means {{1,2,3}} with expected type Real[1,3] now becomes {{1.0,2.0,3.0}} with type Real[1,3] instead of CAST({{1,2,3}}) with type Real[3] as it previously returned. + The added dimensions are returned like before, no other changes were required.
e014cd823aBjörn Zachrissonminor changes in front-end, * some new functions * cleaning of code and complement to existing functions
a85f09cc28Jens Frenkel- update CMake files, now it is possible to at external c sources
229b9df2fcPer ÖstlundAdded a variant of buildModel that takes a stepSize instead of startTime, stopTime and numberOfIntervals. This is used by Parham Vaseles OpenModelica Interactive implementation.
ba7081a4abMartin Sjölund- Balanced the ptolemyio.cpp indentation.
72f31febfbMartin Sjölund- Removed tab characters from ptolemyio.cpp
6d37331b9dMartin Sjölund- Added MetaModelica builtin function print(String) as a Modelica builtin function instead (by request from Adrian)
a824e50eefJens Frenkel- Bugfix: XMLDump, replace all "<" and ">" with W3C standart "<" and ">", not the best implementation but i thing we should use susan for XMLDump.mo - implement Tearing in susan codegen (also use DAELow.STATE_DER for state derivative) - start with division by zero problem - added a few more simplify to Exp.mo
696ab5acd4Martin Sjölund- DAEUtil: Added some printing of MetaModelica statements (to see more structure of functions when printing flattened models)
c534959990Per Östlund- Fixed elaboration of the builtin vector function (should now give correct result and type). - Added test case VectorBuiltin to test the fix.
c2f643cef0Martin Sjölund- Static.mo: Improved readability of logic in edge,change and cevalIfConstant
9eed6156c5Jens Frenkel- add Flag "-mt" to measure simulation run time
d69f1e6177Jens Frenkel- added CMake files to generate for example Visual Studio project to debug generated simulation executables
08a53fa447Martin Sjölund- Exp.printExp: + Added WILD + Added VALUEBLOCK
a83238e51aMartin Sjölund- Added better _init.txt trace messages during verbose simulation
38b82ed853Martin Sjölund- Fixes for code generation of scalar arrays (now works for boolean arrays in simulation context)
6da3c54d7bPavol Privitzer- QHP/TestRedCellsTotal.mo ... another model to be translated to C#
8c37dd3207Pavol Privitzer- C# codegen update for OM Workshop - C# functional code in RightHeartStarling.cs
44586a3881Jens Frenkel- Bugfix: tearing algorithm - add new variable kind STATE_DER in DAELow to differentiate between State and der(State)
fb7ef482c9Björn ZachrissonAdded some functions used by MC back end
8634e48a5aMartin Sjölund- Fix for sample(startTime,i). Now doesn't generate events unless time >= startTime, as expected.
d3b57e14aePer ÖstlundFixed elaboration of built-in function 'integer' when the argument is an Integer.
a449c966a1Per Östlund- Fixed vectorization of types extended from base types to also work for matrices of any dimensions (bug #1119). - Extended the VectorizeExtendedType test case to also test this fix.
685cda8de7Adrian Pop- fixes for 3.x annotations - added getNthInheritedClassIconMapAnnotation and getNthInheritedClassDiagramMapAnnotation for retrieving annotations placed on extends.
a9540c8b4bAdrian Pop- hopefully faster/better Util.listReduce
08ddf56023Adrian Pop- fixes for enableSendData
8fdc9e199bAdrian Pop- fixes for enableSendData
5e00c55eb7Martin Sjölund- Fix for instantiateDaeFunction when the input is fully qualified and the function exists within a model, not a package. + Use the non-fully qualified name - the same we used to get the function type.
e769ade035Per ÖstlundFixed bug #1161, where 3*(2^p) was 'simplified' to 3*(p^2.0).
7c7db5fab6Per ÖstlundAdded dereferencing of the the filename string pointer in read_input, so that you get a meaningful error message if it fails to open the input data file.
159bb32195Martin Sjölund- Added c_runtime/fortran_types.h + Contains only fortran_integer - the same size integer as the ones used by the DASSL solver. - Updated solver_dasrt.h to use fortran_integer instead of long. + Fixes some of the new 64-bit issues. + Also updated functions that were used by this function. + Updated code generation for the new function defintions. - The testsuite now runs on 64-bit machines (except some MetaModelica tests)
8312a2ab83Jens Frenkel- tearing implenetation: check if tearing succeed, make negative entries from IncidenceMatrix positiv to get a working matchingAlgorithm
8a291c9f82Adrian Pop- more info on how to generate .project in README-OMDev-MINGW.txt
315ef962d8Jens Frenkel- tearing implenetation: first codegeneration version works
a3c36dca9fPeter Aronsson-Small bugfix for instantiation of derivative functions.
b3ca929a25Rickard Lindberg- Moved generation of makefile to templates - Added skeleton for new function needed by simulation library
472c3db441Martin Sjölund- Added scope name for valueblock scopes + Used to be NONE(), but that causes Env.getEnvPath to fail
a8e27f48f0Peter Aronsson-Fixed bug with infinite recursion of derivative functions (found throught the derivative annotation) -Removed "koning lookup" functions that hasn't been used for years.
0cd7fe726cPeter Aronsson-Partly fixed instantiation of recursive functions (need to check in so others can continue working on MultiBody). Still some problem left with invalid cache.
2c0a4210f3Björn ZachrissonAdded some functions to Exp.mo
acad427023Rickard LindbergCleaned up template code and fixed incorrect name for some structs.
da1f06649aRickard LindbergChanged C# template to reflect string-to-Path data structure change.
6bd879f931Martin Sjölund- Added failtrace when Env.getEnvName fails (related to MetaModelica problems in the testsuite)
c791e318c3Reino RuusuA basic implementation of the built-in function delay(). Lacking features: * Handling of delayed events * delayMax is ignored * Checks for some improper usage
2c0af657c7Martin Sjölund- Added better unparsing of valueblocks for debugging purposes.
a5def2cfafReino RuusuBugfix: DDASRT sometimes jumps to a root at t > tout when INFO(3) = 1. Affects cases where outputSteps < 0.
ffda0c5c9aReino RuusuFixed a bug in DAEUtil.traverseDAE2 that prevented changes to component contents being returned.
c2ccd28fafBjörn ZachrissonRemoved debug prints from operators
9345201627Jens Frenkel- Bugfix: tearing selection algorithm: array variables
23ea833703Martin Sjölund- Fixes bug in codegen of record constructors after PA's changes.
48ca649ba3Peter Aronsson-Fixed a couple of the failing tests from earlier checkins. Testsuite closer to 100%
73787f4772Björn Zachrissonminor changes how functions and records are treated. Added some functions.
b52ccc41cfJens Frenkel- mistake in writing
6addc17cf4Björn Zachrissonadded a crefAppend function for Exp.mo
df3697fcc8Jens Frenkel- Bugfix: tearing selection algorithm, replace tearing variable also in scalar part of equation - print more information with tearingdump
f91ad1ba16Peter Aronsson-Updated backend after changes to ClassInf.State.
8e242dd093Peter Aronsson-Fixed bug introduced in -r4876 (size({{1,2},{3,4}})) stopped working. Testcase for this exists in backend at MathCore.
1b9246414bPeter Aronsson-Added instantantiation of functions in Static. All used functions (inluding derivative annoation functions) are now instantiated and added to the DAE. The code generation will now (TODO in OpenModelica backend) be generated only from the DAE, and not Absyn. - Changed ClassInf.State to contain Absyn.Path instead of string - Added option envCache, to turn on and off cache during runtime (used in cevalfunc) -Changed DAE.ET_COMPLEX to contain Absyn.Path instead of string
2997533f78Martin SjölundJava Interface: - Fixed CLASS_EXTENDS typo for AstAsCorbaString - Added better error messages for ModelicaRecord.java
e4cd64999bPer Östlund- Fixed cevalBuiltinSizeMatrix to work on non-constant matrices. - Fixed elaboration of non-constant for-loop range limits. - Added testcase DiagonalBlock for bug #1149.
09d0305b7dAdrian Pop- updates to testsuite/libraries/multibody/* models as now we don't have the (s) modifier not found in Real error. - updates to Makefile.common.w32
ffc7b11ba4Adrian PopCodegen.mo - got rid of unused import Inst;
7a31d5d0b4Jens Frenkel- implemented first tearing selection algorithm
a245334e2eMartin SjölundJava Interface: - Optionally send types when creating records from Map (required for uniontypes to work correctly)
0b7986a40aPer ÖstlundFixed bug #1153, sum of arbitrarily sized vector.
297d567804Martin Sjölund- Codegen.mo, for external functions: + Previosuly, if the order of outputs are different from the one in the call mapping, it would write the results in the incorrect order. + Added testcase for external C functions, where 4 outputs are mapped in different orders. + External Java functions use the same mapping as C functions, and do not need testing. + Test cases were also added for external FORTRAN 77 functions since the code path for code generation of F77 functions is different. However, the code actually calls the same function as in the C example (the function prototype is identical).
43d95e967bMartin Sjölund- getAstAsCorbaString now clears the buffer before traversing the AST. + For example, loadModel would store some old messages in the buffer even after the call was completed.
214e8bdae4Per Östlund- Added case for empty vector range expression in reductions. - Added missing changes to testsuite makefile for Reductions testcase.
58068227e9Per ÖstlundImplemented code generation of reductions to fix bug 1136, which involved: - Extending Exp.expContains to handle reductions. - Fixing elaboration of reductions in Static.elabReduction. - Adding code generation for reductions to Codegen. - Adding testcase 'Reductions' in mosfiles.
8ee35c6c30Peter Aronsson-Huge change of DAE.DAElist. It now contains a list of elements and an avltree for functions. Almost all inst functions and static.elab functions now return DAE.DAElist, so all functions used by a model gets picked up and added to the DAE. (The next step, which is not implemented yet, is to populate the avltree with all function instances used by the model) -Removed dead (commented) code in several places. If you miss this code, you will have to go back in the svn log an search for it! - removed Inst.initVarsModelicaOutput since we now keep modifier bindings as modifiers and not generate equation for them.
2229069f29Adrian Pop- updated Copyright (c) text to 2010
dfbf818c96Adrian Pop- updated Copyright (c) text to 2010
498fe68a1eAdrian Pop- updated Copyright (c) text to 2010
79297638f3Adrian Pop- updated Copyright (c) text to 2010
4da9611598Adrian Pop- updated Copyright (c) text to 2010
9631a8d4ecAdrian Pop- updated Copyright (c) text to 2010 - replaced some of the leftover BSD licenses.
47ee4772f0Adrian Pop- updated Copyright (c) text to 2010
6e792bae6aAdrian Pop- updated Copyright (c) text to 2010
346787ca98Martin SjölundBugfix for ticket #1154 - Add Inst.addComponentsToEnv to all components before elaborating any mods in records. + We now use instClassExtendsAndExtendsList instead of record-specific code for handling SCode.EXTENDS. + Added testsuite/record/RecordModifications.mo to test this. - Removed Lookup.buildRecordConstructorVarLst. + Lookup.buildRecordConstructorClass does almost the same thing. + Added Lookup.buildRecordType, a helper function for the functions that previously fetched varLst and created type based on that. - Inst.splitElts and Inst.instClassExtendsAndExtendsList were made public so they could be seen from Lookup.
bd4af310f1Per Östlund- Fixed reductions so that they are constant evaluated in classes when possible. - Added testcase to test constant evaluation of reductions (ConstantReductions.mo). - Added missing reduction function 'product'.
ea7dce6048Rickard LindbergRemoved dependency on Codegen module.
0da6b88e8bRickard LindbergRemoved dependency on SimCodegen module.
46be79ea6eRickard LindbergRemoved createContext functions in favour of constants.
ff40e66d0dAdrian Pop- add a space between the comment and the variable
e641ff1681Per ÖstlundTuple-tuple assignments are now broken up into separate equations in DAELow, so that the number of equations get counted correctly.
3ffb189dacMartin Sjölund- SCode.printClassStr: Added restriction to the generated string (useful when debugging)
ff64c66590Rickard LindbergCleanup.
8f3ee28a3bPer ÖstlundAdded case for Real iterators in elabCallReduction2.
392e0193acPer ÖstlundChanged how elaboration of multiple iterators in array constructors are handled (multiple iterators give multi-dimensional arrays, not a flattened one-dimensional array).
c59eb1ddf3Per ÖstlundChanged some function prototypes to be partial (ReductionOperator in Ceval).
427befcecaAdrian Pop- implemented instance hierarchy during instantiation Inst.updateInstanceHierarchy is called during Inst.addComponentsToEnv2 to build the hierarchy. - Inst.handleOuterWithModificationOnInner is called in Inst.instElement to lookup the modification from the inner element in the instance hierarchy. - adapted Inst.checkMultipleElementsIdentical to remove the inner modification when checking if the element is outer (not really 100% correct but for example Dym doesn't complain about modifications on outer components). - adapted Inst.modificationOnOuter to complain only if the modification on outer is NOT the same as the modification on inner. - used System.getHasInnerOuterDefinitions() to guard expensive functions in Inst. - replaced InstanceHierarchy.emptyInstanceHierarchy with InstanceHierarchy.emptyInstHierarchy everywhere
1151b6d8a5Adrian Pop- display the annoying DAELow.lower2 errors only when given the +d=failtrace flag.
cbf845cbb0Adrian Pop- functionality to strip the last prefix implemented in Prefix.prefixStripLast. - this function is used during instance hierarchy lookup by peeling of the furthest rhs prefix and appending the component name when searching for the inner component in the instance hierarchy.
56a70f387eAdrian Pop- fixes to DAEUtil.selectBranches to select until a non-constant boolean is found.
4d6479e97bAdrian Pop- moved Static import to the protected section
499892d632Adrian Pop- added HashTable to hold the instance hierarchy (IH) used during Inst. The new IH is called InstHierarchy.
b7d88e1222Adrian Pop- minor text editing, updating 2009->2010
3d81a4e90aAdrian Pop- set the external flag that signals the presence of inner/outer definitions in the translated model.
4dd5824c17Adrian Pop- print inner/outer prefix in SCode.unparseElementStr as it gives more information during displaying of error messages.
ce19563682Adrian Pop- implemented side effects to set/get the information that a model contains or not inner/outer definitions. - using this functionality we can speed up some of the Inst functions as we skip doing them.
2811891494Adrian Pop- added isInner and isOuter functions
e3e23f759fAdrian Pop- fixes for ticket #1155: http://openmodelica.ida.liu.se:8080/cb/issue/1155 final parameter Real eAxis_ia[3](each final unit="1") = {1,2,3}; wrongly gives: Error: Variable eAxis_ia: trying to override final variable - added tests for this fix: testsuite/mofiles/OverrideFinalTest.mo
c0a271756bRickard LindbergGot rid of listLength* since listLength is now supported in Susan.
844de37ea9Rickard LindbergRemoved unused code.
41cf9f6d43Rickard LindbergChanged the way numOutVars and numInVars are calculated.
e25503c81cRickard LindbergRemoved unused methods.
67ec71ac6eMartin Sjölund- Static.mo: Fixed parsing problem (RML accepted it, but the OpenModelica parser gave a proper error).
d22a55a77bRickard LindbergFail if inverse algorithm for single variable.
0dcb4f718ePer ÖstlundImplemented constant evaluation of reduction functions max, min and sum.
4c5f13257eMartin SjölundJava Interface: - When handling uniontypes, we now add the _UT suffix so we can compile e.g. Absyn.mo definitions to a jar-file on the Windows platform. - Removed the dependency on Sun JreSocketFactory (we won't need long CORBA timeouts if we send long strings through files anyway).
cf9af6b762Stefan Brus-fixed a bug with inlining of array functions
f3d2f59c8bStefan Brus-fixed a bug with inlining of array functions
1684f11b9dStefan Brus-fixed a bug with inlining of array functions
32c26a853cMartin SjölundJava Interface: - JarCreator: Check if file already exists, and throw exception. + This happens on Windows systems if uniontypes and records have the same case-insensitive name. - DefinitionsCreator: Fix for when OPENMODELICA environment-variable doesn't contain a trailing directory-separator. - The Java testsuite now generates files in the proper order, but doesn't work on Windows due to case-insensitivity issues.
e4a2a8db14Martin SjölundJava Interface - Added parse(Reader) to ModelicaOption + Fixed the Java testsuite - Added testcase for getAstAsCorbaString(filename) + Uses TankPID.mo, and a very short Java function. + Could also use CORBA to get the string, but that requires a little bit more code. It's better to pass the string using filename anyway, since 32-bit architectures are limited to 16MB strings in OpenModelica.
e961ada050Martin Sjölund- Added Dump.mo changes missing from r4793
94d5c2f52fAdrian Pop- changed DAE.convertInlineTypeToBool to DAEUtil.convertInlineTypeToBool as there are no functions in DAE.mo!
a484f686aaMartin SjölundChanges to the OMC-Java interface (Java code) - Added OMCStringParser.parse(File f) functions. - Made parse functions for Record, Array, Tuple public. - Fixed ComplexTypeDefinitions for generic types.
08650f45a1Martin Sjölund- Added getAstAsCorbaString(filename) API call. + It prints the string to file and returns a boolean instead of a really long string.
8e6439d5aaBjörn ZachrissonSome restructure of code, moved functions from DAE to DAEUtil (inline functions)
9862bdcd8aPeter Aronsson-Added boolean to DAEUtil.transformIfEqToExpr to only "constant evaluate" if-equations and not rewrite to if-expr. That way MathCore can use the functionality too. -Fixed bug with for iterator over complex subscripted componentrefs, see testcase ForIterator2.mo
7eb1e7fda2Per ÖstlundCleaned up the handling of for loop iterators in Cevalfunc, Inst and Static a bit.
88b81f3947Björn ZachrissonFixed "bug" from #4760, #4760. Connect.mo; statement: "source := Util.listReduce(Util.listMap(cs, Util.tuple33), DAEUtil.mergeSources);" caused the kernel to run out of memory in large models.
e20b3621c4Björn ZachrissonSome code cleanups.
4476d2035fRickard LindbergFixed bug in generation of init_fixed array: some variables should be marked as not fixed if they have initial equations.
5238747a59Pavol Privitzer- Susan can import listLenght() function; ... generally any one-ret-value function with variable types can be imported - C# codegen stub added ... +d=tplmode,CSharp switch must be set to invoke the generator via translateModel() script function - a new test model - RightHeartStarling.mo - the first candidate from our lab to be in-browser running model that is fully automatically translated from Modelica source - complete error reporting in parser, including type-views
5515343dfdPer ÖstlundFixed vectorization of types extended from base types.
7795faafd1Rickard Lindberg- Generate record declarations - Generate CREF_QUAL - Fixed bug in type generation: generate struct instead of modelica_struct
90d237521bRickard Lindberg- Implemented external objects (constructor, destructor, alias) - Changed typesExpType (deprecated) to Types.elabType - Added defines for string alg. vars. - Fixed incorrect extern function name - Added templates for ET_COMPLEX type
c53074d4b4Adrian Pop- update the readmes to point to the new location of ModelicaLib.tar.gz https://openmodelica.ida.liu.se/svn/OpenModelica/installers/windows/VC7/Setup/zips/ModelicaLib.tar.gz
9d06bfc6d3Per ÖstlundImplemented support for multiple iterators in array constructors.
30d21f6f2cPer ÖstlundFixed Exp.makeSum so that it works correctly if the second expression is zero.
44b7e3cb54Martin Sjölund- Changes to the OMC-Java interface (Java code) - Replaced the ANTLR grammar for parsing the CORBA communication + Max heap size reduced by 66% (down to 1GB from 3GB on 64-bit platforms) + Time to parse reduced to 33-50% of the original time taken (depending on typed or untyped parsing) + Added proper typed parsing also for list,tuple and Option - Added the TypeSpec.java class to represent complex types fully - Added missing JreSocketFactory - Parsing an AST with type information is no longer done in two phases - Updated the templated to generate jar files to reflect the changes above - MSL 3.1 can now be parsed fully, with full type information + Typecasting needs to be done for tuples due to Java weaknesses, but no longer using ModelicaAny.cast - standard (T)myTuple.get(0) should work. + The string is possibly too large for 32-bit OpenModelica to handle. However, it is no longer manipulated within OpenModelica, so it might accept it. Needs to be tested.
54f13f76bdMartin Sjölund- Fix Dump.mo asCorbaString for FOR_ITER_FARG, SUBSCRIPT and CREF_QUAL.
721bdef0abRickard Lindberg- Implemented value blocks - Fixed bug in wild assign - Added special case for builtin max
687d2e225aMartin Sjölund- Changed to the OMC-Java interface (Java code) + Added printToBuffer to all ModelicaObjects so toString() is almost instant even for large strings + Changed the interface of ModelicaRecord slightly - We now cache field names and types in order to reduce the memory consumption of an AST by ~75% - All records now need to have all fieldnames and types set when created + OMCorba.g now generates line and column numbers for all errors
22d1238f5cRickard Lindberg- Extracted algorithm and equation asserts - Ignored (in some cases) discrete equations that also appears in zero crossings - Fixed incorrect component ref for a SES_NONLINEAR - Fixed incorrect expression for a SES_RESIDUAL - Implemented STMT_TUPLE_ASSIGN - Added more special built-ins: abs, String
6fc9d70a4aMartin Sjölund- Dump.mo: Fixed asCorbaString output for Absyn.ANNOTATION and Absyn.SUB.
c4b84a40eeMartin Sjölund- Util.mo: Added missing replaceable type X subtypeof Any where missing.
cb615466a5Rickard LindbergAdded genDiscrete to context and used it (set to false) in one place.
e8d8848ebfMartin Sjölund- Main.makeDebugResult: Rewrote this with a proper guard, so it doesn't try to append large strings several times in a row if we are going to discard the result anyway. + This makes it possible to send large strings over 64-bit CORBA (even though it times out right now).
eb715d74e9Per ÖstlundImplemented built-in functions div, mod and rem. rem might not be correct yet though.
854515c41dAdrian PopConnect.mo - added origin information to connections sets - got rid of some extra listMap by writing specialized functions so it should be a bit faster now.
f7c14b928aPer ÖstlundFixed expansion of array constructors on the form 'r[i] for i in 1:n'.
cbb570c831Adrian Pop- added DAE.ElementSource to all records in DAE.Element. - changed all the models accordingly.
890fa49c49Adrian Pop- fixes for additional equations generated from a conditional component which has condition false and contains a connector which has a flow component. - now the MultiBody elementary models DoublePendulum and Pendulum are balanced!
a53758e3caRickard LindbergFixed so a few more external functions can be generated.
0afa3305ddMartin Sjölund- SCode.restrString: Added metarecord and uniontype restrictions.
638cab1165Björn Zachrissonadded rollback on error messages generated inside cevalfunc function.
8ca01ec315Rickard LindbergRefactored templates: moved things around and renamed some templates.
78619b9c5cRickard Lindberg- Added new function function_updateDepend needed by runtime - Just a copy of function_updateDependents (for now) - Implemented basic infrastructure for external functions
9014d4f022Peter Aronsson-Fixed bug (really fixed this time ;) on trimChar. Moved it to platform independent impl. first in file.
8b25b38299Peter Aronsson-Forgot to change linux implemenation for trimChar bugfix.
afebc0d4ddMartin Sjölund- Absyn.mo: Changed some componentReg to componentRef. - Dump.mo: Uses the more proper NONE() instead of NONE when dumping AST. - Dump.mo: Added a new way to dump a program (AsCorbaString suffix), which prints it like Values.Value is printed. This way, we can parse the AST in Java. + Note: This could not be fully tested since there seems to be complications with large strings even on 64-bit machines (segfaults for big strings sent over CORBA).
3e0153cc1aPeter Aronsson-Disabled balancedChecking since it depends on backend.
22d8090a49Adrian Pop- added debug printing of model balancing activated with +d=checkModel added function Inst.checkModelBalancing similar to checkModel. If it doesn't work for MathCore we can comment it out. - send the connection graph to functions (also return a new one): + Inst.changeOuterReferences (also faster implementation by sending in sources/targets) down to Inst.changeOuterReferences2/3/4 + Inst.handleInnerOuterEquations + Inst.instConditionalDeclaration - updates due to Connect.INNER replaced by Connect.INSIDE Connect.OUTER replaced by Connect.OUTSIDE - for now disable the generation of equation from overconstrained connectors - some comments added/updated.
f7f72f9688Adrian Pop- added a multiplication function for a list of optional integers.
9f3acb3ef1Adrian Pop- added commented-out debug_show_depth(2); for faster debugging due to only 2 level display for variables.
5ae4d2a1a0Adrian Pop- minor comment in elabModValue
580ca1982dAdrian Pop- handle also stringfied component refs in crefHaveSubs. - added sizeOf(expType) that returns the size of an ET_ARRAY or ET_COMPLEX the size is the number of the *scalar* components in the array or complex (record).
29b087252eAdrian Pop- update the complex equation counting for now just multiplying the same equation as many times as the size of the record (in lowerComplexEqn) - more debugging added - more compact display of DAELow
b89e6e1e8dAdrian Pop- renamed DAEUtil.removeEquations to DAEUtil.splitDAEIntoVarsAndEquations as is a better name. Better use of the local variables in this function.
7ebe70406bAdrian Pop- minor text alignment
d970a19b9bAdrian Pop- dump more information during connection graph collection and braking. - disable the connection braking for now.
1f3f5580deAdrian Pop- minor changes and the possibility to dump the DAELow representation during checkModel
6f8e08912dAdrian Pop- use failure(cevalIsExternalObjectConstructor(cache,funcpath,env)) instead of (cache,false) = Static.isExternalObjectFunction(cache,env,funcpath); to guard against ceval of external functions.
832fd1b99bAdrian Pop- replace Face.INNER/OUTER with INSIDE and OUTSIDE to not create confusion - renamed function getInner* -> getInside* and getOuter* -> getOutside* - rewrote some of the comments.
75bc477a0fMartin Sjölund- Fixed Print.printBuf scaling issues (it saved the length of the buffer, but did strlen(buf) regardless; major issues when reaching strings as short as 5MB).
0566cbb6dcMartin Sjölund- Added systemimplmisc.cpp to Linux makefiles. - Fixed the testcases in the testsuite that assumed floor() returns an integer.
57ef3e1d8aWilli Braunfixed some bugs, so that all tests from test-suite should pass.
3196f8e44aPeter Aronsson-Fixed memory access violation bug in System.trimChar -Changed floor to follow specification (Real->Real, NOT Real -> Integer) -Changed System.stringReplace implementation to c++ (in systemimplmisc.cpp) (This was probably not necessary since bug was in trimChar, but impl. is now much more readable ;)
9c7c2f095dBjörn ZachrissonAdded a strip subs function for crefs.
0b40f58881Rickard LindbergImplemented more non-linear equations.
660cc45adbWilli Braun- DAELow.mo: + add Expressions of when condition to IncidenceMatrix to sort them in right order.
0b28521bebRickard LindbergGenerate mixed systems.
99d36edceaMartin Sjölund- partialInstExtendsList is now used (copy/paste made partialInstClass use the regular instExtendsList instead; it was probably just a little bit slower). - Inst.classdefElts2 now returns 2 lists. One with only constants so these can be explicitly instantiated (this was commented out due to breaking ClassExtends3.mo). - Inst.instElement now tries to update the mod one last time before instVar (this is because the mod that comes from the baseclass was untyped).
9444fdfb69Martin Sjölund- Removed unused input from Mod.lookupIdxModification2
b092bd977cMartin Sjölund- Mod.elabModValue now won't try to ceval expression dependent on variables (they should always fail). - This makes debugging easier since expressions that aren't meant to be ceval'ed won't appear in failtraces. - Static.elabExp now generates C_CONST for MetaModelica NONE, NONE() and {}. - Static.elabExp will generate correct const-ness for SOME(exp) and list(e1,..,,en).
5c5c6ffc22Björn ZachrissonSome updates for Cevalfunc, it works better but still not perfect.
6c701bd306Adrian Pop- implemented DAEUtil.selectBranches that is used to select the if equation branches if the conditions are Boolean literals (true/false). This is needed because Connections.isRoot is replaced with true/false at the end of instantiation.
74a0a89ad9Adrian Pop- ConnectionGraph.mo: + faster handling of overconstrained connections when the connection graph is empty: no DAE walk! + handle expression: (NOT Connections.isRoot(A)) + gather operations into one new function: ConnectionGraph.handleOverconstrainedConnections which is called from Inst module when we reach the instantiation of the top level class
0e115b4b51Rickard Lindberg- Implemented extraction and generation of linear-systems and nonlinear equations
2e1b940247Martin Sjölund- Changed SCode Option baseClassPath to Option>. - When extending a class, we also add the SCode.Mod to the baseclass, so we instantiate the correct class later on. - Added a testcase that sets the dimensions of a matrix in the extends modifications.
b146db63fcRickard Lindberg- Extracted more algorithm equations - Made debug message easier to notice in compiler error message output
e1748f51b6Rickard Lindberg- Fixed spelling error in ZEROCROSSING generation - Updated template scalarLhsCref - Fixed type bug in range-for generation - Added template daeExpCrefRhs - Added support for binary operations: ADD_ARR, SUB_ARR, and DIV_ARRAY_SCALAR - Changed ASUB template case to match how Codegen works - Changed the way relations are generated: non-simulation specific relations are now generated in simulation context
451b84e171Martin Sjölund- When instantating a partial package, force partial instantation instead. - When partially instantiating a partial class, strip out all non-package elements.
585900a397Martin Sjölund- Moved around in Ceval.mo to only generate a failtrace if all ways to call a function fail (that is, after we try the interactive ones)
d62f92a93cPer ÖstlundAdded warning when trying to apply non-array modification to array component without 'each'.
da92dc0715Per ÖstlundReplaced error message with fail trace.
2cfd380e58Alexey LebedevFix for the bug: http://openmodelica.ida.liu.se:8080/cb/issue/1074?navigation=true
b3cf9a00adMartin Sjölund- Fixed Static.elabBuiltinDiagonal - real arrays will now generate RCONST(0) instead of ICONST(0)
8fcbe1f77dRickard Lindberg- Changed DAE.ComponentRef to SimVar in zeroCrossingsNeedSave
fa6edcf253Rickard Lindberg- Refactored how types are generated - Updated template for CAST
3d2f535767Rickard Lindberg- Fixed a bug (hopefully correctly) where too many AddEvents were generated - Implemented STMT_WHILE - Implemented STMT_ASSERT - Implemented STMT_WHEN - Implemented LUNARY - Implemented MATRIX - Implemented special build-in functions promote and transpose
800f6d6f95Martin Sjölund- Fixed testcases ClassExtends{1,2,3}.mo
95fc799a03Björn ZachrissonChanged deriving function to be fullyQualified.
89f8150652Adrian Pop- removed the not needed extra parentheses (these only parse in mmc but not in omc).
5bf1a887e2Adrian Pop- updated OpenModelica back-end to agree with the new DAE.FUNCTION definition. - 3 tests (testsuite/mofiles/ClassExtends*) fail due to changes in Inst.partialInstClassdef
ba91508216Björn ZachrissonChanged DAE.FUNCTION to a more generic structure for external and normal function as well as derivatives of functions. Construct in front end derivative information for functions.
7f64269edaPer ÖstlundAdded initialization of record members by rewriting generateAllocOutvar, adding generateAllocRecord and modifying generateAllocOutvars and generateAllocOutvarsExt in Codegen.
5efac63411Rickard Lindberg- Changed array lists: stateEquations became the two lists allEquations and stateContEquations - Ignored when equations in equation lists - Changed to simulation context in a few places - Used context in more places - Generate for loops - Added templates typeStrFromExp and typeStrFromOp - Generate some asubs
ecf703f1d4Martin Sjölund- Added boolean inline to DAE.T_FUNCTION. - Changed elabCallArgs to use this flag instead of doing an extra lookupClass (which causes infinite recursion in Modelica.Media models). - Removed instElementList from partialInstClassdef (the classdefs are added to the environment and may be looked up anyway). - Added testcase ClassExtends3.mo.
3af905c1b4Jens Frenkel- enumerations works now - ToDo: replaceable enumerations in models with equations/algorithms containig explicit enumeration literals does not work because the componentRef have to be replaced and the numbers of enumeration litterals from both enumerations should be equal - ToDo: do not replace enumeration litteral with it value inside loops - update workplan-status
e841f6e2ecJens Frenkel- enumerations works now - ToDo: replaceable enumerations in models with equations/algorithms containig explicit enumeration literals does not work because the componentRef have to be replaced and the numbers of enumeration litterals from both enumerations should be equal - ToDo: do not replace enumeration litteral with it value inside loops - update workplan-status
98253ef349Björn ZachrissonAdded System.addToRoots to SCode.translateAbsyn2SCode. Also corrected crefEqual from commit #4678. Now it also works on DAE.CREF_IDENT()
f91a132851Jens Frenkel- enumeration as loop var work now in algorithm sections - ToDo do not replace the enumeration literals with it integer value - start work on replaceable enumeration
83c48e67f7Rickard Lindberg- Extracted algorithm equations to templates - Added context to templates
5c27955114Rickard Lindberg- Changed variable name type from String to DAE.ComponentRef - Handle array variables - Added arrayCref to SIMVAR to support #defines of arrays - Extended algStatement template to handle some array operations - Implemented daeExpSize template - Temporarily disabled generation of function record declarations - Cleaned up some code
8b5f207ad4Martin Sjölund- Merged instClass partial function case with the generic case.
26dbb0f37aMartin Sjölund- Added missing operators to Exp.typeofOp
fead9d61e2Peter FritzsonUpdate of Adrians, Martins, Pers time log until moring 091214. Fix of summation error for MultiBody spent days. Other minor edits.
ef16eafc32Adrian Pop- calling an function via an instance (world.gravityAcceleration) now WORKS! - Static.elabCallArgs intercepts the world.gravityAcceleration, and then copies the function (World.gravityAcceleration) and dependencies (World.gravityAccelerationTypes) from World into the current scope with new name that prefixed by the instance name: "world.gravityAcceleration" and "world.gravityAccelerationTypes"
8b65b69e5cAdrian Pop- Inst.addCachedEnv moved to Env.addCachedEnv (is more natural to be in Env) - Static.transformModificationsToNamedArguments (does what the long name say) - Lookup.lookupType2 reordered cases - Codegen - generate modelica_integer and integer for enumeration type. testsuite/mosfiles/Enum8.mos will fail because of this. To be fixed later. - more comments in Inst - Exp.crefEqual was checking for equality: + by comparing idents/subscripts by using equality(n1, n2) instead of true = stringEqual(n1, n2) + as a last resort (last case) by *converting* the crefs into strings and doing string comparison on them??!! + I changed all equality(n1, n2) into true = stringEqual(n1, n2) and improved the last case to handle stringified crefs better: CREF_QUAL(x, CREF_IDENT(y)) will be equal to CREF_IDENT(x.y).
61a43304afAdrian Pop- added DAEUtil.findAllMatchingElements to split DAE into inner/outer variables in ONE walk.
6c982deb3dAdrian Pop- added DAELow.COMPLEX_EQUATION which is populated from DAE.COMPLEX_EQUATION and DAE.INITIAL_COMPLEX_EQUATION - no handling of DAELow.COMPLEX_EQUATION yet.
5a842502f9Adrian Pop- added unsafe external functions in System.mo: + System.listAppendUnsafe (not used) + System.addToRoots and System.getFromRoots to implement global variables.
ae0951dd01Adrian Pop- replaced tabs with 2 spaces to correctly display code in any editor.
5804453e77Adrian Pop- handle DAE.COMPLEX_EQUATION and DAE.INITIAL_COMPLEX_EQUATION in VarTransform.applyReplacementsDAE - if no case in VarTransform.applyReplacementsDAE matched just move to next, DO NOT FAIL. Modelica.Mechanics.MultiBody.Elementary.DoublePendulum did not flatten because VarTransform.applyReplacementsDAE failed. - Use DAE.ET_OTHER instead of DAE.ET_REAL in VarTransform.applyReplacementsDAE as otherwise the correct type is not copied from the replaced expression.
885a53fa73Jens Frenkel- work on enumerations for loops in algorithm sections - DoTo: for e in Enum.e1 : Enum.en - bufgix SimCodegen: print enumeration as integer for T_Complex ComponentRefs - use modifiers like start, fixed, ... for enumerations and derived enumerations
fad1534489Jens Frenkel- fix a bug in Inst.instBooleanClass - redisign of enumeration instantiation
0a047f2675Adrian Pop- faster Exp.crefEqual
1c951528cbAlexey LebedevUpdated status
695ee1306bPer ÖstlundAdded status estimate for DLL/SO-generation.
5c14b324b4Martin Sjölund- updated workplan status
649398c71fAdrian Pop- updated status since 2009-11-06
bf401eab23Martin Sjölund- Add Makefile dependencies to Compiler/runtime/dynload.o
f8629e2f83Martin Sjölund- Disable failtraces that are not useful.
c3f3c64f49Martin Sjölund- Updated partialInstExetendsList to do the same thing as instExtendsList. - Changed splitElts, listSelect in those functions to use a new splitClassExtendsElts instead (for performance).
0cdf524759Adrian Pop- implemented SCodeUtil.translateSCodeModToNArgs which translates *derived* class modifications into named function arguments and also prefixes only the CREF_IDENTs from the binding expressions with the given prefix.
7c2f4edf4eAdrian Pop- small code formatting and a bit more explaining
88338397cbAdrian Pop- fixed a typo.
9481e5ac53Adrian Pop- use $OPENMODELICAHOME/bin/Compile all the time and if it fails, just report the error. - this will get rid of g++: No Input Files errors
48a8c6e0c4Adrian Pop- added Absyn.joinPathsOpt function
edad6ce536Rickard Lindberg- Generate _functions.cpp file from root template - Added TODO comments - Added some notes
6b6602ecf7Martin Sjölund- Rename namemods when renaming classes due to CLASS_EXTENDS. - Fix so that you may extend from classes that use CLASS_EXTENDS nodes. - Added testcase for this.
0f714d853fPeter Aronsson-Added function Error.getNumErrorMessages that returns number of messages in queue with severity 'Error'.
e5d74c784fMartin Sjölund- Fixed class extends by renaming the extended class and creating a new one extending from the old in the same scope. - We can now put proper modifications in the class extends node (they get elaboated in the correct scope). - Only the toplevel class extends are expanded (not inherited). This bug will be fixed in a later commit. - If the modifications on the extends node in the base class modifies the class we extend using class extends, those modifications will have higher priority. This is bug will be fixed in a later commit.
e581e161f6Rickard Lindberg- Added dummy SimEqArray record for debugging purposes - Extract array equations - Generate DAE.Exp.ARRAY - Added listLengthExp function
43823efb11Adrian Pop- regenerated SimCodeC.mo and SimCode/SimCodeC.mo to make everything compile
fbee632419Per ÖstlundImplemented unary subtraction for real arrays.
6debd503c8Peter Aronsson-Fixed bug in getMessagesStr in errorext.cpp
ee75cbf60dPer ÖstlundChanged scalar types to array types where suitable in Static.operators, and changed Codegen to reflect these changes. This was done to fix vector operations that didn't work.
e0d6dfb4c0Rickard Lindberg- Generate empty functions file so that compilation will succeed (generation of function code failed for one test case) - Replaced DAELow.Equation with SimEqSystem as a step to support array eqs
cc65c694eePer ÖstlundAdded RTOpts.debugFlag guards to lessen overhead when debug output isn't used.
7282df0489Per ÖstlundAdded RTOpts.debugFlag guards to lessen overhead when debug output isn't used.
7ba64e97e1Rickard Lindberg- Fixed incorrect array name - Fixed incorrect switch variable name - Added support for constant subscripts - Generate removed equations in output functions - Added (temporary) generation of makefile to be able to run testsuit - Removed print statements since they interfered with rtest in testsuit - Fixed order of equation lists (they were reversed) - Fixed order of variables (now sorted by index) - Fixed indents to match << (and >>) in templates
dcb4936240Pavol Privitzer- a first complete Susan lexer/parser error reporting implementation it is usable primarily with MDT in Eclipse ... reported errors are marked directly in code editor when the .tpl file is opened
b02679ac07Martin Sjölund- Static.operators was speeded up by a factor of 4. We now save a lot of the lists generated as constants. - Fixed compiler warning in meta_modelica.c - Fixed the BuiltinArray.mos testcase on 64-bit Linux
2d7ef26879Peter Aronsson-Added HashTable6.mo : (cr,cr) -> exp -Fixed bug in Errorext.cpp: getMessagesStr (no comma's between messages) -Added some functions to Util -Added VarTransform.replaceExpRepeated that iterates replacement rules until it converges.
fe23f73912Rickard LindbergRefactored.
9a521d4f07Rickard LindbergChanged vim mode line.
fe0dd266f8Rickard LindbergRestructured templates so there is one template per function.
492071837eRickard Lindberg- Added function function_onlyZeroCrossing - Worked on function call template
262b17aa6fPer ÖstlundFixed bug in runtime system that caused result data for some points in time to be written twice. Fixed test case BouncingBall2, because it depended on the above bug.
bac1ba587dMartin Sjölund- Added MetaModelica arrayLength, arrayGet, arrayCreate, arrayList, listArray, arrayUpdate, arrayCopy, arrayAdd. All use arrays as the underlying datatype. The array type should be considered mutable.
0dcfbbbfeePer ÖstlundCleaned up Debug.mo a bit.
5be57311d9Per ÖstlundRemoved Exp.subscriptToInts, a duplicate of Exp.subscriptsInt.
5f7b4cc7bfMartin Sjölund- Added initial support for MetaModelica array, including initial versions of arrayCreate, arrayGet and arrayLength (based on a list implementation which needs to be replaced).
c95b664058Per ÖstlundFixed license in Algorithm.mo, which had been the victim of a runaway search-and-replace.
d99bda16fcPer ÖstlundAdded initial support for while- and for-loops in class algorithm sections.
9060853629Per ÖstlundAdded expInt function.
fe9751f69dRickard LindbergImplemented function checkForDiscreteVarChanges.
da1f466dd4Martin Sjölund- Ceval: asin, acos, atan, atan2, cross and log10 implemented and enabled
9ecbc5cc6fRickard Lindberg- Implemented function_updateDependents - Implemented function_when - Handle logical binary operations - Added template daeExpCall
e6f391d48cMartin Sjölund- Add an implementation and testcase for a (very) simple redeclare replaceable model extends (used in Media).
e456b276c8Adrian Pop- use fill(...) instead of listFill + listArray
781e0e2d12Stefan Brus- atan2 added to modelica built in functions
ef57c6c2b6Stefan Brus- PartialFn13 now works with if expressions again - Fixed some type conversions - Added function unboxExpType to Exp
974b09dbb4Stefan Brus- Changed PartialFn13 to use an if statement for now
7740f670d5Stefan Brus- Changed PartialFn13 to use an if statement for now
22527c8bedRickard Lindberg- Implemented function bound_parameters - Refactored expression templates - Fixed incorrect names for derivatives - Fixed incorrect names for some equations - Implemented function function_zeroCrossing - Implemented function handleZeroCrossing
deffc89711Martin Sjölund- More RTOpts guards for MetaModelica cases
b6d2f33895Martin Sjölund- Renamed C runtime metamodelica_type to modelica_metatype, to fit with Codegen standards. - DAE.IFEXP now generates a temporary so it can be used with array functions. - Disabled PartialFn13.mos since the DAE.CALL of those functions have incorrect return-type, and correct code isn't generated.
92530c823dMartin Sjölund- Disable printing "Types.matchProp debug: match prop.". Saves about 1m (20% total time) when trying to flatten double pendulum.
0a57d39b93Adrian Pop- guard the MetaModelica lookupType in Static.elabCallArgs with true = RTOpts.acceptMetaModelicaGrammar(); as lookup is rather expensive. - in Static.elabBuiltinSmooth when smooth(0, expr) just return expr.
d6a8386e20Pavol Privitzer- Susan indentation with '<<' is now determined by indentation of the line where is the '<<' that is, in examples: << text >> << text >> case PATTRN then << text >>
ccc48e383dMartin Sjölund- Fixed code generation of _ := exp (was limited to valueblocks, but MetaModelica allows any expression there). - Added 08_pam to the testsuite
2b925f8222Martin Sjölund- Also look for zero-crossings in DAELow.ARRAY_EQUATION.
fcdba014fbRickard LindbergUpdated script that generates code for code generation test.
aba721c7acRickard LindbergAdded Influenza model for testing code generation.
d7fd083e7fRickard LindbergCleaned up TrapezTest.
e577d204fdMartin Sjölund- Refactoring: DAE.VALUEBLOCK(body) changed from DAE.Element to list.
e878da3e60Martin Sjölund- Reverted the re-addition of the outdated configure script for Java.
250a7532e8Adrian Pop- merged the template code generation from OpenModelica/branches/TemplateCodeGen into OpenModelica/trunk - below is the history from the branch
9b3fe6db5bMartin Sjölund- Moved record constructor-specific code from Static.elabCall to Static.elabCallArgs for efficiency.
6f68028035Martin Sjölund- Fix code generation for cross.
de00dbf2aeBjörn ZachrissonFixed weird Lookup "bug".
51e93afe3bMartin Sjölund- Prevent generating a TYPE_SPEC_REAL_ARRAY_ARRAY; generate TYPE_SPEC_REAL_ARRAY instead
7ab9693ba2Adrian Pop- record construction vectorization in Static.elabCallArgs + testsuite/mofiles/RecordConstructorVectorization.mo + this is used in Modelica.Media for FluidConstants. - disabled stdout printing Type mismatch in equation and changed testsuite/mosfiles/ArrayDivError.mos to match - check the +s and +showErrorMessages command line parameters and display an error if they are wrong - display the error message for the flags just once in Main.mo - added Debug.trace[ln] to print the errors unguarded by debug flags and used this functionality to print some of the failtrace guarded by true = RTOpts.debugFlag("failtrace"); This way is faster as no more building of strings happen. - beautified code and added some comments; got rid of some really old commented out RML code - added check for setDebugFlags in CevalScript.mo
0275b46dd0Martin Sjölund- Added runtime functions for identity matrix - Added codegen and runtime code to cast int/real matrix to the opposite kind
165423e6e3Peter Aronsson-added ModUtil.makeSubscript to create a subscript from an exp.
56590bf11dPeter Aronsson-Reset the modelicafilename string when failing to parse
36c766473fMartin Sjölund- Removed useless messages when typechecking overloaded operators. - Added support for code generation of complex types extending basic types.
3e703b688aStefan Brus- Cleaned up some code, partially evaluated functions should work 100% now!
db722f8c54Björn ZachrissonUpdated makefiles for vs
8a55fef07bMartin Sjölund- Changed Types.match{Type,Prop} to also take a boolean that controls the output of error messages. It should now be possible to ensure that errors are only printed if both "match(lhs,rhs)" and "match(rhs,lhs)" fails.
ee7fee16b5Stefan Brus- Function pointers and partially evaluated functions are now a default feature of Modelica (you no longer need the +d=fnptr flag or meta modelica grammar)
3d6fea6268Willi BraunRevision of the euler and the event handling for the euler until now only work with "if" equations.
dc2bb27fc3Stefan Brus- Partially evaluated functions now work with recursive functions - Added a test case for this - Cleaned up old test cases
6b1d5dbe3fAdrian Pop- set all Compiler/*.mo files to have (LF) Linux line endings, otherwise the debugger will display wrong lines.
45f2dc971dAdrian Pop- made Connection.isRoot function non-constant in Stati.elabBuiltinIsRoot as otherwise it expects constant input arguments and generates errors of kind: "Error: No constant value for variable frame_a.R in scope Modelica.Mechanics.MultiBody.Parts.Body" - added ceval handler for rooted operator (non-existent in Modelica Specification but used in MSL) see more here: https://trac.modelica.org/Modelica/ticket/95 - more informative fail traces in Mod.mo, Types.mo, ValuesUtil.mo - speed up the fail traces from Types.mo (type checking should be faster now). - the fail traces from Types are now guided by "types" not by "failtrace" as they generate way too many messages that are not of interest. just add +d=types to bring the messages back. - more informative printing of enumerations in ValuesUtil.mo
ba2cea45ccJens Frenkel- enumeration: remove old code
da68fe5c92Stefan Brus- Fixed type checking and boxing of simple types in partially evaluated functions
c00cf80cfaStefan Brus- Fixed type checking and boxing of simple types in partially evaluated functions
849f0f6813Stefan Brus- Fixed type checking and boxing of simple types in partially evaluated functions
55011e0fa6Adrian Pop- g++ is now set as compileCommand in Compiler/runtime/settingsimpl.c Compiler/CevalScript.mo CevalScript.compileModel now matches for "g++" instead of "" - Lookup.buildRecordConstructorElts now selects the full modifier only if the component modifier is empty.
bb750a5fa7Adrian Pop- make sure .depend is created for all targets as otherwise you get an include error (and we would need to have .depend in Subversion).
f608fff150Adrian Pop- beautification of dumped code in Dump.mo. + no more space before ";" in Real x ; + print the comment of the partial derivative definition: x = der(func, b, c) comment;
5c49332651Adrian Pop- fixes for array modifications given on builtin attributes in functions input parameters. This component defined in a function now instantiates: input Integer sequence[3](min = {1,1,1}, max = {3,3,3}) = {1,2,3}; See testsuite/mofiles/Sequence.mo
eaeff48d4cAdrian Pop- reverted 2 changes from revision 4547 as otherwise ALL of the (simulation) tests fail + settingsimpl.c -> compileCommand set to "" + Lookup.mo -> modifications on record components All tests go now. We'll discuss these changes and see what we can do about them.
d3aef01f00Björn Zachrissonminor changes for windows make files.
caf5f21856Stefan Brus- Fixed compiler error in cruntime
16e196b2c8Björn ZachrissonSome changes for merging with MathCore
bbe6461255Stefan Brus- Fixed use of partially evaulated functions in functions - Added a test case for this
dedf4aa948Stefan Brus- Partially evaluated functions now works in algorithms (see PartialFn8 testcase for example)
549a40ff9fMartin Sjölund- Don't recompile the walker unless something changed.
aabc3bdb5fMartin Sjölund- Removed the need to set CLASSPATH when building under Linux. - Updated configure script to not check for CLASSPATH (it only checks that Java exists and can load the provided antlr). - Updated the lexer/parser makefiles to run with parallel jobs. - Warning: Due to RML creating and using .srz-files from all imported packages, parallel execution of make may in some rare cases fail. Running make again will work because the other process will have cached the srz-files. It is possible to generate all srz-files in advance at the cost of efficiency (you may not do this is parallel, and it's not necessary if the number of jobs=1). - Warning: RML drains a lot of RAM. Running "make -j" launches an unlimited number of jobs. This will eat about 20GB of RAM and possibly crash the system, so don't do this. Max 1 job per GB of RAM is recommended.
ef75d8fbd2Martin Sjölund- Removed the need to set CLASSPATH when building under Linux. - Updated configure script to not check for CLASSPATH (it only checks that Java exists and can load the provided antlr). - Updated the lexer/parser makefiles to run with parallel jobs. - Warning: Due to RML creating and using .srz-files from all imported packages, parallel execution of make may in some rare cases fail. Running make again will work because the other process will have cached the srz-files. It is possible to generate all srz-files in advance at the cost of efficiency (you may not do this is parallel, and it's not necessary if the number of jobs=1). - Warning: RML drains a lot of RAM. Running "make -j" launches an unlimited number of jobs. This will eat about 20GB of RAM and possibly crash the system, so don't do this. Max 1 job per GB of RAM is recommended.
787ea3535aMartin Sjölund- Removed the need to set CLASSPATH when building under Linux. - Updated configure script to not check for CLASSPATH (it only checks that Java exists and can load the provided antlr). - Updated the lexer/parser makefiles to run with parallel jobs. - Warning: Due to RML creating and using .srz-files from all imported packages, parallel execution of make may in some rare cases fail. Running make again will work because the other process will have cached the srz-files. It is possible to generate all srz-files in advance at the cost of efficiency (you may not do this is parallel, and it's not necessary if the number of jobs=1). - Warning: RML drains a lot of RAM. Running "make -j" launches an unlimited number of jobs. This will eat about 20GB of RAM and possibly crash the system, so don't do this. Max 1 job per GB of RAM is recommended.
b6fed0411cMartin Sjölund- Updated Compiler and c_runtime Makefiles to support make -j (for parallel execution of jobs). absyn_builder is forced to use max 1 job since those Makefiles haven't been updated yet. - omc_release and omc_debug now first create mo-files and signatures before reloading the Makefile in order to ensure that all dependencies are updated. - Removed unused imports.
74d548b03aStefan Brus- Fixed a bug that prevented use of function references outside functions - If you want to use function references or partially evaluated functions, compile with +d=fnptr
cce8dabff0Stefan Brus- Fixed a bug that prevented use of function references outside functions - If you want to use function references or partially evaluated functions, compile with +d=fnptr
508d2a9070Stefan Brus- Fixed a bug that prevented use of function references outside functions - If you want to use function references or partially evaluated functions, compile with +d=fnptr
7a44414cb9Adrian Pop- added operator (function)? to lexer/parser/walker but is commented out. we will uncomment it when is needed. - added operator (function)? to Absyn and SCode (not used as it doesn't come from the lexer/parser/walker)
30ba5e9f9eMartin Sjölund- Removed public import {Exp,Types,Algorithm} so compilation of OMC is faster
f8003469a5Martin Sjölund- Refactoring: Moved Exp.*** datatypes into DAE.mo - Removed Convert.mo workaround (at least the duplicated datatypes; DAE.VALUEBLOCK needs cleaning up) - Fixed bug in previous commit (PartFn stuff)
617d5d6978Peter Aronsson-Finally (puhh) fixed bug with forgetting to reset modelicafilename when parse error occurs.
4e13901518Stefan Brus- Function pointers now work in both Modelica and MetaModelica - Partially evaluated functions now partially works!
69dbeea0e6Stefan Brus- Function pointers now work in both Modelica and MetaModelica - Partially evaluated functions now partially works!
af02c758f3Stefan Brus- Function pointers now work in both Modelica and MetaModelica - Partially evaluated functions now partially works!
59f2f41ea8Adrian Pop- the new MetaModelica compiler discovered this type error: DAE.T_COMPLEX -> Exp.ET_COMPLEX
ee86faa166Jens Frenkelenumeration function Integer, works only for Enumeration types not for variables
f4f0918452Martin Sjölund- Refactoring. Exp.Type -> Exp.ExpType (and all types in ExpType are prefixed ET_ to make it possible to put the type in DAE.mo).
6937e31520Martin Sjölund- Refactoring the Types.mo types into DAE.mo
8e0bfda42bMartin Sjölund- Added ValuesUtil.mo
6631e6468bMartin Sjölund- Added missing file Compiler/runtime/SimulationResults.c. - Fixed dynload.c from the Values.mo update (forgot to make clean).
2392e33d5aMartin Sjölund- Refactoring Values.mo into Values.mo (AST with minimal dependencies) and ValuesUtil.mo - Removed Exp.Value and part of the workaround in Convert.mo
2bf8021859Martin Sjölund- The System.readPtolemy* functions now exist in SimulationResults.mo (and System.mo no longer depends on Values.mo).
a7f27afd3eAdrian Pop- Fixes for extends of type which is an alias of array type. The problem was that the case in Inst.mo at line 6695 didn't match because of the annotation list! Example: type Alias = Real[3]; type Orientation extends Alias; end Orientation;
d0a117d340Eric MeyersOn OS X only look for IOR in /tmp folder
8eca17dee2Eric MeyersUpdated OS X to use Qt frameworks
7e2b270ea0Jens FrenkelBugfix stringnames in getName function
bf92899bb6Jens Frenkelenumeration string(enum.e1) = e1
c43b3a4dcaMartin Sjölund- Refactoring of Algorithm.mo (the datatypes moved to DAE.mo, to simplify the other refactorings later on)
8a1ebd70b6Jens Frenkel- enumerations in packages can be found, typo corrected
29cb7600f1Adrian PopMerged revision 4500
ab325893f8Martin Sjölund- Fixed Types.elabType for empty records.
fe8cf758c0Martin Sjölund- Refactoring of DAE.Type - Removed DAE.Type (DAE.VAR already has a Types.Type since it's required for connectors and MetaModelica stuff). - Added DAELow.Type - a type that has truly been lowered (only INT,REAL,STRING,BOOL,ENUMERATION are allowed in DAELow).
66c3202cf3Martin Sjölund- Do not add equations if we bind a record variable using a ceval'ed record constructor. - Do not change variability of record fields from const to param if the parent is declared param.
eb964f10cfAdrian Pop- update the READMEs to document the /trunk/Compiler/VC7 move to /installers/windows/VC7
450277a04cAdrian Pop- updates for Visual Studio projects - transform if equations after we print the DAE.
bb3620988cAdrian Pop- make the c_runtime compile with Visual Studio
59f2594c48Martin Sjölund- Refactored DAE.mo to DAE.mo (AST) and DAEUtil.mo (functions) - Fixed bug that r4481 introduced (mosfiles/simulation3.mos failed)
b2fe2b861cJens Frenkel- Bugfix replace "<" and "y" with W3C standard "<" and ">"
eaceb5d434Jens Frenkel- Bugfix index from input_names was for all zero
3e17f7f4d2Martin Sjölund- Split lookupType into 2 functions in order to call lookupClass2 only once.
ca39fb6000Adrian Pop- parse equality(x := y) as is used in Main.mo
90c054d4b8Jens Frenkel- enumerations part 2, new c-code generation, testcases
20c43af293Adrian Pop- fixes the last commit to compile on windows - include windows.h in systemimpl.h - moved dynload.o before libc_runtime.a in Makefile.common.omdev.mingw as otherwise you get undefined symbols
25ef9e8425Martin Sjölund- Refactoring of System.executeFunction. Moved to DynLoad.mo. The implementation has a stub for those who wish to compile OpenModelica without support for dynamic loading and execution of functions. - No Makefile was update to use the stub.
8580ae4d19Martin Sjölund- Removed the algorithms and mods on the result element in the record constructor (they didn't work if the field was parameter or constant). - Added a new kind of function in the DAE, DAE.RECORD_CONSTRUCTOR, so we can handle records that contain parameters or constants. - Fixed a bug that caused Values.RECORD to have ClassInf.RECORD("package.name") instead of ClassInf.RECORD("name"), which is in use elsewhere.
c91fbdbd99Adrian Pop- correctly build the expandable connector restriction - moved expandable to class restriction rule
3f94773a25Adrian Pop- got rid of the compiler warning
ddcdd1df40Jens Frenkelenumerations part 1 - what does not work - redeclaration - Integer(Enumeration) - String(Enumeration) - ... (perhaps more i have not yet finished all enumeration testcases)
3521ba1b13Adrian Pop- estimates updates for Adrian
4716949247Peter Aronsson-Added listMap5
2da7c91cd7Peter FritzsonRemoved the Bootstrapping branch merging row for the Fluid library
871909b5deAdrian Pop- added the Workplan-status-estimates and WhatDoesNotWork documents.
e9380c1645Stefan Brus- Absyn.PARTEVALFUNCTION is now turned into Exp.PARTEVALFUNCTION by static
3d566d12daStefan Brus- Inlining of functions now fully functional!
3f3299581aMartin Sjölund- Fixed Algorithm.makeIf to type-convert expression to Boolean (so it works for boxed Boolean values, e.g. when calling function references). - 06_advanced added to the default testsuite. Tests polymorphic functions, e.g. listMap0, listMap1.
bd76da3465Martin Sjölund- Convert all expressions when boxing a regular record (fixes nested records) - Fix mmc_unbox_record (off-by-one error)
3548bd97bbMartin Sjölund- DAE.makeEquationsFromIf: Bugfix for if equations with several elseif clauses.
55f96dc831Martin Sjölund- Exp.T_FUNCTION_REFERENCE is now divided into _VAR and _FUNC (because the C-code generated from the CREF needs to be different). - With +g=MetaModelica, we now also generate a function with only boxed in- and output (which is used by all function references for simplicity). - Boxing of records is now performed (although it sadly fails for nested records due to ClassInf.RECORD/etc only containing a String, not a Path). - Unboxing of records works fine. Couldn't be tested on nested, boxed records.
16bf93617fStefan Brus- Inlining of functions now works for functions called from within other functions - Inlining is performed on functions that fill these requirements: - One algorithm statement, which assigns values to its output - Contains annotation(Inline = true) somewhere
71131e8490Martin Sjölund- Convert.typeConvert support for DAE.FUNCTION_REFERENCE. - Added Types.POLYMORPHIC to the list of boxed datatypes. - Fixed a problem where code generation didn't filter function reference variables if they were duplicated. - It is now possible to use some higher-order polymorphic functions. The problem is functions that have in- or output non-boxed (Modelica) types. Integers work "best", since they are simply shifted 1 bit to the right in its unboxed state (compareInt still works, as does addInt, multInt returns a value 2x too high, etc).
6196edd7cbStefan Brus- Annotations in between equation items are now preserved in SCode.
39812863c3Martin Sjölund- Force UNIX line endings in the Eclipse editor
5a665dc60dStefan Brus- Comments and annotations on components are now preserved in SCode format
55a9d42ae6Martin Sjölund- Fixed declaring constants like list in packages using implicit instantiation
d36d7fd0e6Martin Sjölund- Fixed Types.matchSuperType for METARECORD/UNIONTYPE (was moved from Types.subtype to typeConvert) - Added Uniontype14.mos to check for this bug - Added 03_symbolicderivative to the default testsuite since it now works in OpenModelica
217c9ee4c6Stefan Brus- Annotations are now preserved in SCode format in extends clauses
e6df086fbcMartin Sjölund- mmc_unbox as macros. - Changed in cevalScript/SimCodegen generation of functions. - We now generate all metarecords of referenced uniontypes instead of only the ones created by a METARECORDCALL. This is necessary due to the possibility of external functions (lexers/parsers) generating these structures. It kinda worked before, but was a bit of a hack. - Codegen.getFunctionCalls(exps), etc renamed to getMatchingExps(exps, matchCalls).
304946a5beStefan Brus- Missing file from previous commit
5b30565b07Stefan Brus- Comments and annotations in equations are now preserved in SCode format.
a71ed1b05fJens Frenkel- improve comments in DALow.
63c2dd0c4cJens Frenkel- rewrite sign function as macro, add testcase Sign in mosfiles
b633a62d28Jens Frenkel- move sign into utility.c
14a438acafStefan Brus- inline annotations are now preserved as a flag in Exp.CALL
3acf26824dAdrian Pop- reverted the changes from revision r4419 as some of the models in the testsuite fail. - disabled Java testing for now as there are still some problems with it.
6885dd26abJens Frenkel- implement sign function (maybe another place is better?)
1f072ef1cdPeter Aronsson-Merged -r 4222 from MathCoreOSMC branch (connect two-dimensional array of components)
33cc1a0073Martin Sjölund- Changed CevalScript to generate C code that looks more like the simulation code. We now put all the headers before the bodies so we can have cycles in call graphs.
41eb0ed676Stefan Brus- Equation annotations are now preserved
9acf9641e1Stefan Brus- Fixed encoding issues
599ba40979Martin Sjölund- Hopefully fixes strcmp not returning only {-1,0,1} on some platforms (it messes with the testsuite)
48d4dd46a0Adrian Pop- due to changes by Martin S. to Compile.bat copying of MinGW to build directory is no longer required!
74237d3757Martin Sjölund- Spelling error
be197f442bMartin Sjölund- Adding modelica_java.jar to the repository (so JDK isn't required to compile OpenModelica) - Adding c_runtime/java_interface to the default make system. (If no JDK is installed, modelica_java.jar is simply copied to /build/...)
5b84a6be1eStefan Brus- Annotations are now preserved in SCode format - make clean now removes .sigx files
7ff50569bbStefan Brus- Annotations are now preserved in SCode format - make clean now removes .sigx files
5c0ab04010Stefan Brus- Annotations are now preserved in SCode format - make clean now removes .sigx files
50f7aa6451Martin Sjölund- Fixed f2c.h (2006 release of f2c fixed a 64-bit bug) and matrix.h (used long int* instead of integer* defined in f2c.h) - 64-bit Linux can now be used to pass all testcases
984737a2b4Martin Sjölund- JarCreator: Transforms backslashes of paths in zip-files to frontslashes. That way both javac.exe and java.exe work properly in Windows. - testsuite/java/JavaExt.java: Escape the string so backslashes are parsed by OpenModelica. - testsuite/{java,records}/rtest: Changed to an rtest that is not parallelized since Windows dll's hate that. (Also updated the mos-files since the old one requires // endResult - testsuite/java/Makefile: Better Windows-support using JAVA_HOME - c_runtime/java_interface/Makefile*: Better Windows-support using JAVA_HOME
eb6bf4b9e3Adrian Pop- made parser/walker/Absyn.mo/Dump.mo to handle failure and equality in the algorithm section - do not dive into DERIVED classes when querying internal classes in Interactive.mo; is not correct to dive into derived classes and if we do then we run into stack overflow; Example: lookup of Env.Env in Env.Env.
2915535437Adrian Pop- merged revision 4399 from branches/MathCoreOSMC
755aaf5d47Jens Frenkel- sort non scalar variables and known variables befor indexcalculation; aim: code generation write all elements from the non scalar variable in one memory block
0c02ce1836Martin Sjölund- Fixed the testsuite Makefile (missed a backslash at the end) - Merged getDefinitions Interactive API function from the Bootstrapping branch - Fixed some of the Java-related issues OMC has in Windows (don't try to fprintf to stderr before calling abort() - in Windows the string will not get printed) - It will be necessary to set JAVA_HOME to a JDK if you want to run the java testsuite in Windows. If you call "java" directly, it will load Java from system32, which is a JRE and not a JDK (which means you can't call javac from it). Why Sun decided to install both JRE and JDK by default when downloading a JDK, I do not know.
31de232ed6Martin Sjölund- Using Ceval.cevalCallFunction record constructor instead of cevalFunction - Enabled testsuite/records as a default test to run as it now works
a0b6f70afcAdrian Pop- merged latest modifications from branches/MathCoreOSMC
125f8d4207Jens Frenkel- Bugfix Build with MSVC
533986e1ebMartin Sjölund- Updated the Makefiles to only run rml2sig/rmldep-new.sh if the file changes (the .sig-file does not always update in order to avoid re-compiling all files depending on the source unless the interface changes). We now also generate a dummy .sigx file which only tells us when rmldep was last run. If you change a lot of files (over time, lots of re-compilations), but never change the function interfaces, this can reduce the compile time by over a minute.
dc62174b58Martin Sjölund- Enabled the MetaModelica testsuite by default since the tests now work (even in Windows) - Merged Bootstrapping branch Revision: 4372 "Some changes for polymorphic function references" - Inst.addComponentsToEnv: Re-added capability for TCOMPLEX types to be instantiated - Inst.instEquation2: Added capability for equation-matching of MetaModelica types (needed because record modifications bind the result using equations) - Types.valuesToMods: Uses typeofValue and valueExp when converting records (they handle metarecords as well) - Added instructions for the MetaModelica Course
414b3ff0bcMartin Sjölund- Fixed MetaModelica crefs to function names containing underscores
c515ae9142Martin Sjölund- Merged revisions 3852-4247 of the Bootstrapping branch - Support for external Java functions - Typed Java interface to OpenModelica functions using CORBA - Improved MetaModelica list,tuple,option,uniontype implementations - MetaModelica matchcontinue expressions - MetaModelica function references - Partially evaluated functions - Improved Record handling - Improved handling of NORETCALL functions (mainly used in MetaModelica) - Note that the MetaModelica, Java and Records testcases are not fully working after the merge
6e592ada45Jens Frenkel- Bugfix Bug 1110
018192a627Martin Sjölund- Merged c_runtime from Bootstrapping - Fixed simulation_result.cpp performance issues (<< endl flushes the buffer, \n does not) - Added the Java-specific runtimes (C and Java) - Changes to read_write.{c,h} for record-in-record, NORETCALL and MetaModelica types
378b124bbeAdrian Pop- renamed OpenModelica1.5.0 to trunk
9ab276dfbeAdrian Pop- renamed OpenModelica1.5.0 to trunk
18567b8359Adrian Pop- renamed OpenModelica1.5.0 to trunk
ea53af4147Adrian Pop- renamed OpenModelica1.5.0 to trunk
db1701a714Adrian Pop- renamed OpenModelica1.5.0 to trunk
538b765dbfAdrian Pop- yacclib.h SHOULD not be included anywhere and yacclib.c should NOT be used as these functions are now part of rml.h and librml*.a. Get a new RML/MMC from Subversion or from OMDev. - i renamed yacclib.c and yacclib.h to .txt to make sure this never happens again.
763b6e4db6Stefan Brus- Fixed linking of the lpsolve library and added instructions to the linux readme file
2b51288454Adrian Pop- fixed the problem that two or more plot commands end up plotting the same plot file by generating a unique tmpPlot_NN.plt file name for each plot[X], plotParametric[X] command.
04860073edAdrian Pop- fixed the problem that two or more plot commands end up plotting the same plot file by generating a unique tmpPlot_NN.plt file name for each plot[X], plotParametric[X] command. - gcc4 seems to have a problem with include directories that contain / at the end so i removed the trailing slash from includes.
e7272b41d8Adrian Pop- escape string literals when generating C code as they might have \n in them which will fail to compile with a syntactic error. - added Util.escapeModelicaStringToCString to Util.mo
ae99f504dcAdrian Pop- support for Modelica 3.x graphical annotations.
93b8dd81e0Adrian Pop- fixes to XMLDump.mo
8d349dbdceAdrian Pop- latest modifications from MathCoreOSMC branch
41f29df806Adrian Pop- latest modifications from MathCoreOSMC branch
4aaf6b1aa3Adrian Pop- changes by Alexey Lebedev [alexey dot lebedev at equa dot se] to support implicit range in for loops - more tests for loops
7ae9668efdAdrian Pop- Merged revisions 4270 and 4269 from MathCoreOSMC branch:
7cfdabc4aaAdrian Pop- more fixes so it compiles.
aaf8dcde8bAdrian Pop- fixes so it compiles.
275ea73351Adrian Pop- merged revisions 4262, 4264, 4265 from MathCoreOSMC branch!
5cac623716Adrian PopA lot of modifications: + release 1.5.0 + merged all other changes from trunk/* that happen in the meantime! + now omc can load libraries when called from command line directly. ./omc file lib1 lib2 ... libN + merged changes in the MathCoreOSMC branch + updated the Setup project, included a link to SimForge, added omc-mingw.exe to be used on Vista if needed. + updated DAEQuery.mo, XMLDump.mo + added more help text when running omc from command line.
aba7c1f65eAdrian Pop- merged from trunk/tools Revision: 3981 Author: adrpo Date: 01:50:27, den 29 mars 2009 Message: - small updates to the RML to MetaModelica tool ---- Modified : /trunk/tools/rml2mod/absyn.rml
34269d7810Adrian Pop- a first script for compilation using MSVC.
cfd4a45a43Stefan Brus- new .onb files
9e4cbd266cAdrian Pop- fixed the getIconAnnotation! In Static.mo I added a SPECIAL case in elabCallArgs to deal with graphical annotations The code doesn't go via Lookup.lookupType as the Line record has [:,2] unknown sizes and when trying to instantiate it it fails! - changed in Static.elabNamedInputArgs in the second case the flag (checkTypes as true) to just checkTypes. - do error check pointing when dealing with annotations! - added more tests in testsuite/mosfiles/interactive_api_classes.mos as the previous file was WRONG!! - added noevalfunc flag to disable the Cevalfunc module - added usedep flag to enable the Interactive.getTotalProgram (we disable it for now until replaceable packages are OK). - corrected some errors in Constants.mo and added a "uniquely" named package so that we know when we are elaborating a graphical program! - added cases for ENUM and ARRAY in Types.valuesToMods - added ENUM case in Exp.typeString - fixed a bug in Lookup.buildRecordConstructorElts ( which wrongly got rid of component modifications) - put back the strip in the omc_release/Makefile.omdev.mingw - minor code beautification
47fbaa055bStefan Brus- More Linux fixes
1a757bd3e9Stefan Brus- Now compiles in Linux
61a4d8d2f6Stefan Brus- added some forgotten files to the makefile to make compilation work
c836f4303eAdrian Pop-forgot this file.
9c03fd4520Adrian Pop- fixes for dynamic loading.
942fbdbc85Adrian PopA branch for OpenModelica 1.5.0 release Some tests still fail, is going to be fixed soon.
ef98c4c332Adrian Pop- added the missing change_rettype
f44bc872dbPeter Aronsson-Improved efficiency of cache by a dirty hack: making cache an array of one element which is set as side effect, so cache is updated even if function fails.
990c218dcdPeter Aronsson-Fixed compile error for visual (round undeclared)
adffa72cbePeter Aronsson-Fixed bug in Env.Cache (looked up wrong class in cache)
c2b727e582Peter Aronsson-Fixed memory consumption problem in unit checking code.
6430db584dPeter Aronsson-Added defineunit language extension to flat_modelica_parser too so flat parsing works. -Fixed rounding error in rationalizing reals.
44b6662644Otto TronarpCopy the reply msg before releasing the clientlock.
3685564e9dOtto TronarpIntroduced a clientlock on Linux / OS X, as we have on windows.
9da573026bOtto TronarpFixed upper/lower case error.
1be2b6544cPeter Aronsson-Added register of unit weights for unit parsing to handle individual weight settings for each component.
ad4fc72f3eDavid BromanAdded accumulateWeight and made "adding two units" working.
e24a618c68Peter Aronsson-Major work on unit checking with pretty printed units. Not complete yet.
6d93f29be3David BromanAdded commit to unit parser.
ac374458ddPeter Aronsson-Fixed bug when building unit terms with empty store (disabled checking).
f14f22b812Peter Aronsson-Implemented support for linspace() function in frontend. -Fixed bug with slicing in modifiers in several sub-component modifiers, e.g. PositivePin p[2](i(start={1,2})); -Fixed bug in prefixExp on general ASUB expressions
5f53d7f350Björn ZachrissonUpdated text for error messages
3aa7d54539Björn ZachrissonDocumentation updates
9a3623d7cdPeter Aronsson-Added error messages for if-equations.
d4132221f6Björn Zachrisson* miner updates for pretty printing of modifers * removal of dead code
8ceeaeb252Peter Aronsson-Fixed bug in ceval of div() and rem() -Added realCeil to System.mo
36cba37416Peter Aronsson-hanged package name Math to MMath to avoid conflicts with std include header math.h
a9c7a262abBjörn ZachrissonSmall fixes for last commit. Changed where double-modification control is triggered(from SCode to Inst.instelementlist)
bd83821954Otto TronarpUpdated makefiles for osx/linux.
aa18de7212Peter Aronsson-Added rest of implementation for unit checking, including pretty printing of units using Mixed Integer Programming based on lpsolve. Unitchecking is deactivated by default. To activate set option "unitChecking" in OptManager to true.
206ddd47b3Björn Zachrisson* Changed ErrorExt to rollback from bottom instead of top(removed earliest msg before) * Implemented constraining class (for redeclaration) * Pretty print functions for Modifers * Redeclare checking, modifiers. * Check for multiple modifiers in same scope on same component * Improved order of variables for UpdateComponentsinEnv/UpdateCompeltsMods
3572dac3feDavid BromanFixed problems regarding unit vector length (they had different sizes) and added the member function isBaseUnit().
888174007bBjörn ZachrissonFixed bug with pre(variable with type extending base type), this should work now. Added a function for instantiating a partial class in inst module.
937d394556Björn ZachrissonAdd free(printbuffer) to Print module. Previous printBuffer=NULL, never freed the memory allocated.
0fcf03a2bdBjörn ZachrissonFixed the print buffer function 'int increase_buffer_fixed(int increase)' Now it actually increases the buffer, previous implementation did only allocate 'increase' amount of space.
acc05607f6Björn ZachrissonSome changes for Mathmodelica communication with kernel.
ee69dce1a6Hannu Niemistöadded exception for equalityConstraint in dependency analysis
bf8cb72b35Peter Aronsson-Fixed so MISSING_INNER_MESSAGE error is not produced if option "checkModel" is true. This option should preferably be set when instantiating class for checkModel.
76545d0ee4Peter Aronsson-Added preventing reporting error for parameter without binding when it is declared with outer.
d58761f026Adrian Pop- updated parser/AST to handle the annotation at the end of the extends clause: extends name [class_name] [annotation]
68b1203937Adrian Pop- fixes for doubling the dimension of alias to array type
b7b7aecbbfAlexey LebedevAnother attempt to fix the bug http://openmodelica.ida.liu.se:8080/cb/issue/1098 -- this time, without adding extra equations, only modifying parameter bindings.
90e5afd29ePeter Aronsson-Fixed small bug in simplification of if-expressions.
879bb910f3Adrian Pop- fixes for aliases to array types: type Alias = Real[6]; Alias x; // this variable had [6,6] dimension instead of correct [6].
dfb92aac12David BromanAdded the code for handling unit checking. The code for parsing unit strings is implemented in C++ and is located under directory "runtime". The actual checking (including unit inference) is implemented in file UnitChecker.mo.
a5467e7ec7Filippo DonidaThe duplication of the dumpEquation method into dumpResidual equation method was necessary to prevent errors caused by the usage of the DAELow.equationToResidualForm call. The problem was that equations having non-scalar right hand side where not correctly translated into residuals. To make an example, the residual of the equation: x = y - z where not correctly calculated, thus obtaining x - y - z (instead of x - (y -z)). More investigation is necessary to understand if the DAELow.equationToResidualForm method makes the hypothesis of having scalar right hand side equations or not (comments of the method are generic).
a4e775727aBjörn ZachrissonFixed connection of complex array types ; connect( arr1[1].conectorVar, arr2[7].secondConnectorVar)
aac2cc7871Björn Zachrissonminor changed for MC backend.
7aa38dc208Hannu NiemistöAdded comments to all functions in ConnectionGraph package.
d6006aa8b9Adrian Pop- fixes for type alias on an array type. The declaration/usage of the form below now works: type Arr = Real[3](each min=0); Arr x = {1,2,3}; - constant evaluation of enumerations values in relations - small beautification of the code
4f2051f3d4Björn ZachrissonFixed error messages and error reporting with partial classes and dangeling modifiers.
e31ba5fa68Peter Aronsson-Added a function to print Types.EqMod -Added better failtrace print of elabArrayDim
fc4c837b23Otto TronarpFixed crash on OS X with omniORB.
d3c4037fb6Peter Aronsson-Added error message for circular equations (typically x=x) and logging of selected states (both used by MathModelica backend). -Inserted option to OptManager "logSelectedStates" which is by default turned off. -Implemented getNumMessages that returns the number of messages in the message queue.
b900647856Björn ZachrissonFixed built in function sum([:]). Now also works for complex types.
c96599b829Björn ZachrissonImplemented support for detecting dangeling modifiers(modifers on components that does not exist)
22a76d3252Björn ZachrissonUndid the last commit #4021 since it will make several models in the standard library to fail. This because there will be more equations then variables generated. (see Note: 4021 in Inst.mo)
7305aadfaeAlexey LebedevFix for the bug http://openmodelica.ida.liu.se:8080/cb/issue/1098
7b9a75c9abAdrian Pop- first implementation of further enumeration support: + comparison of enumerations + array declaration using enumerations + array indexing using enumerations + for equations using enumerations - changes to Values.ENUM - all flattening tests go
7b063695e0Hannu NiemistöAdded support for Connections.isRoot. - All calls to isRoot are replaced by true or false in its own phase after instantiation (Ceval was too early). This phase is implemented in ConnectionGraph and called from Inst.instProgram. - Some special case handling is needed in Static and Lookup, because all builtins have been so far in root environment and there were no support for builtins in virtual packages like Connections. - Bug fix in ConnectionGraph related to potentialRoots
d18bf5805fHannu Niemistöadded dummy implementation for isRoot builtin
e4932237c8Filippo DonidaFunctions were missing when printing the xml representation of the model with the dumpXMLDAE method. Fixed.
0289c348edBjörn Zachrisson- Inst.mo: small fixes to instantiation of a single constant in a package - Util.mo: added listFindWithCompareFunc, selectAndRemoveNth, listMap8 - VarTransform.mo: added dumping functionality for variable replacements - optmanager.cpp: small changes to some flags
36a3f622c1Hannu Niemistöremoved some debug prints
18480ba08bHannu Niemistöcreates a zero array with a correct dimension for equalityConstraints
8db8fb3771Hannu Niemistöfixed incorrect usage of hash table in ConnectionGraph
9a44af28e8Peter Aronsson-Fixed bug in unconnected flow equations not begin prefixed.
2e8d85357fPeter Aronsson-Added System.removeFile() that uses remove() from stdio.h
acb4f6ad48Peter Aronsson-Added error message for matching in initialization problem. (Currently used in MathModelica but is probably required in OpenModelica as well).
fa8f3e1e45Alexey LebedevFixed the function Static.elabBuiltinTranspose2.
b66d08b521Alexey LebedevFixed the function Static.elabBuiltinTranspose2. This function looks the same in MathCoreOSMC branch, but the errors with transposition do not appear there. I don't know why.
4edcf8c939Björn Zachrissonmissed closing ');' on last commit.
f6e4d72570Björn Zachrisson* Implemented support for instantiate a single constant in a package
75d2645bc2Filippo DonidaWhen dumping array, vector or matrix variables the index of the variable was not printed. Fixed.
416d039305Adrian Pop- small updates to the RML to MetaModelica tool
84b019decfBjörn ZachrissonRemoved debug printing from commit #3974
ab01fe3927Björn ZachrissonChanged name from Absyn.componentRefStr to Absyn.printComponentRefStr to co-exist with Exp.printComponentRefStr
f431067364Hannu NiemistöConnection graph population and breaking algorithm. Current version doesn't work probably because equalityConstraints are lost in elaboration. Modification: - Refactored many instantiation methods to have ConnectionGraph.ConnectionGraph as input and output parameter. - Added Types.EqualityConstraint into T_COMPLEX - Inst.connectComponents contains special case for connections between components having equalityConstraints - Inst.instEquationCommon contains special cases for Connections.branch, Connections.root and Connections.potentialRoot - ConnectionGraph.mo contains the loop breaking algorithm
a20f1e2722Peter Aronsson-Added function DAE.getProtectedAttr. -Added function Util.listMap4
7015599ed6Björn ZachrissonForgot to remove debug line. #3963
ec116d9c50Björn ZachrissonUpdate for last check in, file comparison
d21cde74eaBjörn ZachrissonImproved file comparison on windows.
a9691770bdPeter Aronsson-removed debug-print in valueString.
8dd4945475Peter Aronsson-Added enumeration to valueString function.
a18c0f9b95Erik FriskFixed bug with {} in the exportDAEtoMatlab function
30af5d3e1bPeter Aronsson-Fixed bug in System.trim
d73218ed03Peter Aronsson- In DAE:mo made ppStatementStr public. - In Env.mo made avlTreeAdd public (avlTreeGet was already public). - Added compiler option "noCse" to OptionManager (Specific option for MathCore backend, but other backends that in the future implement CSE (Common Subexpression Elimination) might also want to turn it off (similar as to turning tearing off).
7ccaad0223Adrian Pop- somehow I deleted the name of elabBuiltinDer and I put it back now.
968380df0eAdrian Pop- fixed indexing of matrices with dimensions more than 20 by handling the code generation for simple Exp.ASUB expressions
d88e3e109cAdrian Pop- fixed vectorization of: matrix = pre(matrix); - Now flattening of the model below using ModelicaAdditions.MultiBody works. Thanks to Joerg.Wangemann eads net for reporting the bug and providing the model! model TestBodyFreeFall import ModelicaAdditions.MultiBody; MultiBody.Parts.InertialSystem inertialSystem; MultiBody.Joints.FreeMotion freemotion; MultiBody.Parts.Body acstructure(m=1, I11=0.1,I22=0.1,I33=0.1); equation connect(inertialSystem.frame_b, freemotion.frame_a); connect(acstructure.frame_a, freemotion.frame_b); end TestBodyFreeFall;
af63d534c1Björn ZachrissonMinor cosmetic details of output for error handling on derivate function, der(...)
945d80b4f5Björn ZachrissonFixed error messages (rollback/deleteCheckpoint) Both in ErrorExt.cpp(bug) and in Inst.mo(structural error).
e4f19c6259Otto TronarpIt doesn't work to compile with debug_print in release on win32.
8b6cc5e113Adrian Pop- fixed an error when counting variables in DAELow.mo (excluded RECORD) - fixed vectorization of reinit(arr1, arr2) - fixed vectorization of matrix = pre(matrix)
bed21c0b91Björn ZachrissonRe added code that was removed in commit(#3905) for some reason.
a1dfceb0e0Björn ZachrissonRemoved a debug line from last commit(#3907)
053de6c3dfBjörn ZachrissonImplemented a getPackageFileNames, which finds packages located in OPENMODELICALIBRARY path.
b53e94f14dPeter Aronsson-Added constrain() with vector arguments - Added simplification to propagate noEvent operator on expressions down to relation subexpressions -Added symbolic expansion of skew function
aeb5542aa4Adrian Pop- small changes to DAE.mo so that will parse using OMC.
91eef4a776Adrian Pop- got rid of not needed import Print from Inst.mo - added cases for handling Absyn.CLASS_EXTENDS where there are also cases for Absyn.PARTS
3b60acce02Adrian Pop- expose more of the c_runtime array interface - fixes for array iterators which stopped working after the merge - got rid of $$$ in the generated code (SimCodegen.mo) - Util. modelicaStringToCStr2 searches for "der(" instead of "DER(" - Handling some of the Exp.ASUB cases in Codegen.mo - Exp.ASSIGN now as an exp LHS instead of a component reference LHS - small fix in VarTransform.mo to be able to parse it with OMC - changes to some of the testsuite/mosfiles due to compiler changes.
78dbc02967Adrian Pop- fixes to Interactive.traverseClasses + now -traverse_classes2 failed for some of the tests is gone - updated OpenModelica tests and enabled them
85bfdbb12cBjörn ZachrissonImplemented support for checkExamplePackages(function for checking any Example dir in a package )
aa211028abPeter Aronsson-Minor change to Makefile.vc
b9fa51d6ffAdrian Pop- changed default dassl tolerance from 1e-10 to 1e-4
142952fe12Adrian Pop- changed default dassl tolerance from 1e-10 to 1e-4
9330c62affPeter Aronsson-Added Makefile.vc files that is used by MathCore to compile frontend related stuff. - Updated some tests
a50ecbc185Adrian Pop- continue when dasrt returns idid==-1.
dc4fd98c37Björn ZachrissonFixed reinits of arrays, now vectorizing is working.
aabaf8ad86Otto TronarpMakefile fixes for osx.
4a70374d0cOtto TronarpUpdated configure
e01ffd08e8Otto TronarpFixes for osx
68974769c5Adrian Pop- fixed an OMC crash on Vista (sendData.cpp) - added icons for Plot Window (ext.exe) and OMC (omc.exe) - display the Plot Window (ext.exe) on the taskbar - updated copyright in OMShell - added .pdb files for releases: ext.exe, OMShell.exe, omc.exe to make it easier to debug crashes - fixed the last date in OpenModelica System Guide - fixed 3D_Bouncinball3D.onb - fixed OMShell runtime error at start
2d72701df9Adrian Pop- fixed an OMC crash on Vista (sendData.cpp) - added icons for Plot Window (ext.exe) and OMC (omc.exe) - display the Plot Window (ext.exe) on the taskbar - updated copyright in OMShell - added .pdb files for releases: ext.exe, OMShell.exe, omc.exe to make it easier to debug crashes - fixed the last date in OpenModelica System Guide - fixed 3D_Bouncinball3D.onb - fixed OMShell runtime error at start
c22a4552e5Adrian Pop- fixed an OMC crash on Vista (sendData.cpp) - added icons for Plot Window (ext.exe) and OMC (omc.exe) - display the Plot Window (ext.exe) on the taskbar - updated copyright in OMShell - added .pdb files for releases: ext.exe, OMShell.exe, omc.exe to make it easier to debug crashes - fixed the last date in OpenModelica System Guide - fixed 3D_Bouncinball3D.onb - fixed OMShell runtime error at start
9714db8823Filippo DonidaAdded (to the dumpXMLDAE method) the possibility to print equations as residuals, using the input parameter "dumpResiduals". Default value is false.
5d5d214c84Filippo DonidaAdded the possibility to print the incidence matrix of the DAE system. The incidence matrix refers to the original problem, before running the matching and the BLT. The choice has been implemented using a boolean input (addOriginalIncidenceMatrix). By default is false.
7f5e76b08aBjörn ZachrissonChanges on OM’s frontend to support Mathmodelica functionality
090d9e91d4Filippo DonidaImplemented a new functionality to dumpXMLDAE functional to output additional information for solving the DAE system: - matching algorithm output and - BLT representation information.
1b53ba4a6dFilippo DonidaFixed a bug concerning the reference index of algorithms within the XML file. Algorithms index starts from 0 while equations index starts from 1. Fixed.
bd30c7d92cEric Meyersdon't do SoQt::init for OS X for now
8263b5a0deEric Meyersdon't do any delete's in destructor in VisualizationWidget on OS X (3D stuff doesnt work yet)
93cde0726eOtto TronarpFixed makefiles for linux
38be98db35Björn Zachrisson* Implemented support, in frontend, for mod/div/rem * Readded Adrians code for handeling zero flow equations of arrays(Connect.mo) * Change/fixed the "current variable" in error message functionality * Added support for having "der(x) := x" in algorithm section. * function/operator skew() in Static.mo * Updated rtest to current Mathcore rtest version.
81d39ee436Adrian Pop- merged the Array branch revisions 3782-3789 (see the revision comments below) - 13 tests are failing due to: + -traverse_classes2 failed + constant function evaluation seems not to work
15d69525c8Adrian Pop- fixed getIconAnnotation and getDiagramAnnotation to get rid of the empty component: before: {x1,y1,x2,y2,,{graphics_elements}} after: {x1,y1,x2,y2,{graphics_elements}}
ac4190d145Adrian Pop- fixes for getIconAnnotation setting the error string.
912c1cc1fbAdrian Pop- issue a warning if integers are more than could be represented on 30 bits plus sign - update 3D examples - small changes in error messages - ClassLoader will display parse information only if +d=ClassLoader
31e7fd440cAdrian Pop- emit an error when trying to simulate a model that doesn't exist - fixed bug with min/max code generation: http://openmodelica.ida.liu.se:8080/cb/issue/1032
6cf994c040Adrian Pop- updated Qt libs/dlls to 4.4.3 - made the plot size smaller - made the lines have 2 pixes width - fixed a crash when deleting a curve from the plot
a4732e2626Adrian Pop- static objects are deallocated when the application exits. - delete in OmcInteractiveEnvironment::OMCVersion() removed. - commented out the code in the destructor.
ecb352ed55Adrian Pop- added "Export to Image" command and "Export to Clipboard Ctrl+C" command to the plot widget - fixed the default showing of existing plot
e9b8db2d02Björn ZachrissonFixed constant evaluation of REDUCTION for simple case (only one iterator)
64dc403683Peter Aronsson-Added explanation to REDUCTION
bde1eea266Peter Aronsson-Removed printing to stdout that messes up MathCore:s testsuite
cc0659662dPeter Aronsson-Changed error reporting to always prefix message with the severity string (Error, Warning or Notification) -Added dependencies to some makefiles - Removed DAE.RECORD, instead use DAE.COMPLEX
22d6852ecfAdrian Pop- on Linux waitForStarted(-1)!
b26d220975Adrian Pop- fixes to OMNotebook cell evaluation order. - replace the old copyright with the new one. - include OMNotebook.pdb in the release to have more info from people's crashes if they happen.
40a21d9c19Adrian Pop- fixes to OMNotebook cell evaluation order. - replace the old copyright with the new one. - include OMNotebook.pdb in the release to have more info from people's crashes if they happen.
0eaa5e6527Filippo DonidaAdded a parameter (addMathMLCode=true/false) to select if adding the MathMLCode to the XML dumped fileor no (default is false).
78277fa14eAdrian Pop- fixes for some OMNotebook crashes - updates of some .onb files
9427ba29daAdrian Pop- fixes for some OMNotebook crashes - updates of some .onb files
6a21624f2fPeter Aronsson-Major commit. Includes merges from revision when Adrian did the merge up to today. (MathCores r3273 to r3313)
4b3620eb91Adrian Pop- handle simple range i.e. 1:4 in Codegen.mo - fixed OMNotebook saving problem - updated for 1.4.5 release: + settingsimpl.c (getVersion) + Setup.vdproj and Uninstall.bat (new product code) + some of the DrModelica Files + the onb examples
3a0e856286Adrian Pop- handle simple range i.e. 1:4 in Codegen.mo - fixed OMNotebook saving problem - updated for 1.4.5 release: + settingsimpl.c (getVersion) + Setup.vdproj and Uninstall.bat (new product code) + some of the DrModelica Files + the onb examples
2ff18dca65Adrian Pop- handle simple range i.e. 1:4 in Codegen.mo - fixed OMNotebook saving problem - updated for 1.4.5 release: + settingsimpl.c (getVersion) + Setup.vdproj and Uninstall.bat (new product code) + some of the DrModelica Files + the onb examples
ad1a927ec8Adrian Pop- got rid of all the not-needed files for the front-end: I added not a Main_stub.mo which only does translateFile. I splited Derive.mo into 2. I also took out from the compilation: DAELow.mo, Codegen.mo, SimCodegen.mo, TaskGraph.mo, TaskGraphExt.mo DAEExt.mo. See omc_frontend/Makefile.omdev.mingw Unfortunately I had to fix the dependencies manually in the makefile, but we can fix that later.
992d112e5aAdrian Pop- stubs CevalScript_stub.mo and BackendVarTransform_stub.mo - makefile entry for frontend, write frontend in the Eclipse window - this will create omcf.exe in omc_frontend and then copy it as build/bin/omc.exe - it will also create a frontend.a with all the objects.
bfdee5dafbAdrian Pop- added the complete getTotalProgram in Interactive.mo - commented out the .mos files from testsuite/mathcore-mofiles/drmodelica/Makefile
383302c99cAdrian Pop- splitting of Ceval into Ceval and CevalScript - splitting of VarTransform into VarTransform and BackendVarTransform - modified all the needed files for the new changes - added the new .mo files to the Compiler/Makefiles.common.*
a690e2fcfbAdrian Pop- added flag +showErrorMessages to show error messages while they happen. + the flag is used in Print.printErrorBuf - disable the ClassLoader.loadCompletePackageFromMp failure message as it might happen because of directories with no .mo files. - return the entire program in Interactive.getTotalModel as we have missing functionality right now.
5b8bf5716fAdrian Pop- these changes fixes a bug with simplify and failure of Prefix.prefixExp + thanks to [Jens dot Frenkel AT mailbox dot tu-dresden dot de] for providing a test model that reproduced the bug. - added +noSimplify flag and setNoSimplify(bool)/getNoSimplify() API for models that have huge expressions in them. - simplify2 is applied only if this flag is set to false (the default). - when there is no prefix is Prefix.prefixExp just return the expression, do not fail. - get rid of -Wall flag for simulation code compilation as it takes longer to compile with it.
5e72615950Adrian Pop- first compilable version! - testsuite will have to wait a bit :) right now most of the tests fail.
6c0135977cAdrian Pop- updated to parse Modelica 3.0
a3474b0c17Adrian Pop- update of ModelicaXML and FlatModelicaXML to parse Modelica 2.2.2 library - moved to Visual Studio 2008 - updated the .dtd and the parsers/lexers/walkers - moved to xerces-c 3.0
0262b874e0Adrian Pop- increase the memory_pool for real numbers from 10000 to 1000000. - added the new element wise operators ./,.*,.+,.^ to the modelica/flat_modelica parsers, walker, lexers, Absyn.mo and Dump.mo - handling no return equations and algorithms in Dump.mo. - beautifying the output of the flat Modelica. - beautifying the generated code. - added a no return equation and algorithm in FlatParse.mof
08da014141Adrian Pop- intermediate merging of OSMC with MathCore front-end - not compilable yet - added the new packages
1d3bc6d1c8Adrian Pop- fixed a mistake in Absyn.EQ/ALG_FAILURE/EQUALITY, they should contain EquationItem and AlgorithmItem as built by the parser - got rid of function removal on loading as we can do it based on build time: Ceval, ClassLoader, Interactive, Inst, Static - beautifying dumping of MetaModelica code and handle also the equality and failure equations. - remove the .sig and .srz files on clean - fixed a bug with modifications merging (see Modification6.mo) - System__hash improved plus now considering the entire string + RefinedSimpleCircuitValid.mo changes due to different hashing. - more homogeneous function documentation strings here and there - small changes to sendData, OMNotebook and ext(ernal plotter).
e6a40d4a65Adrian Pop- fixed a mistake in Absyn.EQ/ALG_FAILURE/EQUALITY, they should contain EquationItem and AlgorithmItem as built by the parser - got rid of function removal on loading as we can do it based on build time: Ceval, ClassLoader, Interactive, Inst, Static - beautifying dumping of MetaModelica code and handle also the equality and failure equations. - remove the .sig and .srz files on clean - fixed a bug with modifications merging (see Modification6.mo) - System__hash improved plus now considering the entire string + RefinedSimpleCircuitValid.mo changes due to different hashing. - more homogeneous function documentation strings here and there - small changes to sendData, OMNotebook and ext(ernal plotter).
cee80c0e8fAdrian Pop- fixed a small mistake in setAnnotationVersion
b61faaec43Adrian Pop- added better annotation handling: + annotationVersion flag to the compiler: * omc +annotationVersion=1.x|2.x|3.x + setAnnotationVersion/getAnnotationVersion API + see Constants.mo, RTOpts.mo, rtopts.c + more implementation is needed for Modelica 3.0 annotations.
16cd56e483Adrian Pop- added -fPIC to the C flags for x86_64
c6c0f85cc7Adrian Pop- fflush the standard error stream as it may display differently on Windows vs. Linux. - change the CyclicPerm.mos test to sync with the new changes.
115a32066cAdrian Pop- got rid of -ltermcap as is not needed
ec3db34014Adrian PopQUITE BIG CHANGES TO SUPPORT THE STREAM CONNECTORS
35f4ca9439Adrian Pop- small copyright update
4e3430b86bAdrian Pop- fixed a small typo
5d7faec7c8Adrian Pop- on openSuse 11, gcc 4.3 includes of string.h are needed - re-link omc if when there are changes in sendData files
b9f883f596Adrian Pop- Linux fixes for new plotting functionality
22eef9725eDietmar WinklerFormal clean up of all code files:
6e72648058Dietmar WinklerFormal clean up of all code files:
2f4a21b50cDietmar WinklerFormal clean up of all code files:
147193e9d5Dietmar WinklerFormal clean up of all code files:
173b3106fcDietmar WinklerFormal clean up of all code files:
7f8e5ddccfAdrian Pop- rml2sig is not needed!
6e3e12935fAdrian Pop- renamed OMNotebook/OMNotebookQT4/trunk.pro to OMNotebook.pro - more modifications to Qt projects to get rid of hardcoded paths
86ce085a55Adrian Pop- renamed OMNotebook/OMNotebookQT4/trunk.pro to OMNotebook.pro - more modifications to Qt projects to get rid of hardcoded paths
c3474c85f8Adrian Pop- had to rename build/lib/libQt[NAME].a to build/lib/libQt[NAME]-mingw.a so that they don't interfere with Linux Qt libs. - changed ext.vcproj and trunk.vcproj to copy the executables and *.xml to build/bin - new OMNotebook.exe and ext.exe
b374450cc0Adrian Pop- had to rename build/lib/libQt[NAME].a to build/lib/libQt[NAME]-mingw.a so that they don't interfere with Linux Qt libs. - changed ext.vcproj and trunk.vcproj to copy the executables and *.xml to build/bin - new OMNotebook.exe and ext.exe
226cf7a39bAdrian Pop- added target qtclients to build OMNotebook/OMShell/ext in Makefile.in (Makefile) - fixed a warning in mosh/src/mosh.cpp - added more documentation on how to compile the new Qt plotting and 3D functionality in README.Cygwin.or.Linux.txt
96403c5c56Adrian Pop- added target qtclients to build OMNotebook/OMShell/ext in Makefile.in (Makefile) - fixed a warning in mosh/src/mosh.cpp - added more documentation on how to compile the new Qt plotting and 3D functionality in README.Cygwin.or.Linux.txt
b197416142Adrian Pop- added target qtclients to build OMNotebook/OMShell/ext in Makefile.in (Makefile) - fixed a warning in mosh/src/mosh.cpp - added more documentation on how to compile the new Qt plotting and 3D functionality in README.Cygwin.or.Linux.txt
1acbf666a8Adrian Pop- fixes of OMShell, ext and OMNotebook for Linux (Ubuntu 8.10) + a lot of #include were needed + updates in *.pro on how coin-config and soqt-config are used
617015a6cbAdrian Pop- fixes of OMShell, ext and OMNotebook for Linux (Ubuntu 8.10) + a lot of #include were needed + updates in *.pro on how coin-config and soqt-config are used
48da66f327Adrian Pop- add the Linux Makefile for ext (the external Qt plot window)
aa591561dfAdrian Pop- use `mico-config --libs` instead of directly specifying the libs
b6790dcc21Adrian Pop- due to a cleanup of the C headers in various GCC compilers we need more includes - #include added - thanks go to Dietmar Winkler for reporting this.
f4dbafc7e3Adrian Pop- small change in the data sending.
1946565a0bAdrian Pop- the damn Qt doesn't have the same behavior on Linux vs. Windows! - added include for QTemporaryFile - changed the waitForConnected(-1) to waitForConnected(5000)
6ca169bc7fAdrian Pop- Linux modifications to sendData & Qt plotting
bfa1a62e85Adrian Pop- Linux modifications to sendData & Qt plotting
0d48a0b58eAdrian Pop- Linux modifications to sendData & Qt plotting
b4a6766c4cAdrian Pop- added some visualization scripts
4c73b7bd46Adrian Pop- got rid of -D DEBUG flag from the Linux Makefiles of parsers.
6613a4d126Adrian Pop- update to Linux makefiles -O3 instead of -g for parsing and omc runtime.
aff434281fAdrian Pop- update to makefiles + got rid of $OSTYPE (as we already have different makefiles for MinGW and Linux) + added -ftrace for Linux for easier testing + updated the Qt libs for Linux
5941a3172aAdrian Pop- fixes for sendData.* on Linux
d2ce51611aAdrian Pop- added "test" and "testmos" targets to the Linux Makefile.in. it was present in the windows mingw makefiles since some years now.
7261987466Adrian Pop- seems that on some Linux distros (Fedora, Debian, ??) there was a problem with malloc not being defined. i added now stdlib include to the needed files.
ef8cfde329Adrian Pop- modification of sendData library to: + make it work better for Linux & MacOS + improve the stability of starting the external plot viewer
cf5011971cAdrian Pop- fixed the broken +d=failtrace debugging facility - fixed bug http://openmodelica.ida.liu.se:8080/cb/issue/1022 pointed out by Alexander.Roehnsch dlr de. Thanks! External function with no input parameters do not typecheck!
11f38e09a3Eric Meyers- find readline on OS X (configure) - added VisualizationWidget to the ext project pro file - neutered the SoQt stuff on OSX until we get it working - added -framework Carbon and -lz to systemimpl for OS X compatibilty with Qt
a9bd2a78fdEric Meyers- find readline on OS X (configure) - added VisualizationWidget to the ext project pro file - neutered the SoQt stuff on OSX until we get it working - added -framework Carbon and -lz to systemimpl for OS X compatibilty with Qt
a67e34af15Adrian Pop- switched all plot<->plot2 - switched all plotParameteric<->plotParametric2 - now val(var, integer) works!
2031b7fae6Adrian Pop- switched all plot<->plot2 - switched all plotParameteric<->plotParametric2 - now val(var, integer) works!
8295181afeAdrian Pop- workaround for the crash on exit when running on Windows Vista
8f6a762799Adrian Pop- minor correction to DAEQuery.mo (missed a ";") in when equations.
b30afe4bf4Adrian Pop- fixed the problem with the order of equations in DAEQuery.mo
356b32cf95Adrian Pop- just dummy model code to be able to compile c_runtime.lib with Visual Studio
aacffe365fFilippo DonidaRefactoring of the dumpXMLDAE method in Ceval.mo and Static.mo
471777b7d8Filippo DonidaInitiailization of the OSTYP and OS_MSYS variables was not done. Fixed.
7c6b916ba1Adrian Pop- Linux fixes for OMNotebook to include the new 3D visualization package based on SoQt and Coin3D.
91450374d6Adrian Pop- Linux fixes for SimulationData.h (wrong case in imports!)
cc3f760741Adrian Popmoved to the old repository: https://openmodelica.ida.liu.se/svn/OpenModelica/old/pde
1aafb0d7a0Adrian Pop- Linux fixes to detect MICO Corba libraries automatically using mico-config --libs - Updated README.Cygwin.or.Linux.txt and explain that MICO executables need to be in the PATH
706096c1c9Adrian Pop- fixes in the Linux/Mac/Solaris/*nix part
0b0be784a2Adrian Pop- updated the READMEs due to changes to: + upgrades of all solutions and projects to MSVC 2008 + upgrades of OMDev package to GCC 3.4.5 and MICO Corba 2.3.13 - got rid of some deprecated compiler/linker flags in Makefile.w32 due to MSVC 2008 upgrade - added package documentation as comment to XMLDump.mo
b29c2d4b5dAdrian Pop- the new MICO Corba 2.3.13 generates includes like instead of "omc_communication.h", that's why I updated the includes in the Makefiles
c8fb92d0c9Adrian Pop- updated the PATH setting in Compile.bat to the new GCC 3.4.5 as is needed by Windows Vista
69fb8b96a4Adrian Pop- copied options.cpp, options.h from OpenModelica/mosh to here to get rid of the dependency - small update to read_write.c
d44e65e587Adrian Pop- added the new functionality that supports the 3D visualization in OMNotebook + new sendData functions in c_runtime + visualization API in Ceval.mo, Static.mo, Interactive.mo, Values.mo + new external functions in Compiler/runtime/, files ptolemyio.cpp and systemimpl.c
facfdd3decAdrian Pop- updated OMSNotebook solution to MSVC 2008 - added the new 3D package based on Coin3D - added and updated the Corba generated files to version MICO 2.3.13 - updated the readmes - fixed a problem with URL links not being valid in the new Qt 4.4.2 - fixed a bunch of bugs - moved the Qt 4.4.2, SoQt and Coin3D DLLs to OpenModelica\Compiler\VC7\Setup\bin
b2e20fcec8Adrian Pop- updated OMShell project to MSVC 2008 - updated Corba generated files to version MICO 2.3.13 - updated the readmes
a4b3f11f2bEric Meyersfixed gcc dynamic library compiler flags for OS X
a7d141a0b8Filippo DonidaThe ö char was not correctly saved from Eclipse. Fixed.
70268b96d2Filippo DonidaThe header of the XMLDump.mo file has been changed according to the OSMC Public License.
502d29129bAdrian Pop- replaced the incorrect CloseHandle with correct FindClose - no more asserts when build with Visual Studio in debug mode.
0677da568aAdrian Pop- add -fPIC to the link flags for x86_64 bit architectures in systemimpl.c - updated Ceval.mo and DAEQuery.mo with the newest MATLAB export facility
c6f76224aaFilippo DonidaAdded package XMLDump and API function dumpXMLDAE to obtain flattened, index-reduced models in XML format
0f42c0c944Filippo DonidaCorrected error in getBindingsStr (returned a '-' when field empty)
f67f47ef19Adrian PopHUGE CHANGES THAT FIX A MEMORY LEAK AND REQUIRE A NEW OMDev: [http://www.ida.liu.se/~adrpo/omc/omdev/mingw/] or a new MMC/RML Compiler: [do an svn update]
cbec6e8485Adrian PopHUGE CHANGES THAT FIX A MEMORY LEAK AND REQUIRE A NEW OMDev: [http://www.ida.liu.se/~adrpo/omc/omdev/mingw/] or a new MMC/RML Compiler: [do an svn update]
84908b672aAdrian Pop- changed the tolerance default from 1e-10 to 1e-6
0140066c0dAdrian PopBug reported by Federico Zenith (Thanks!) ----------------------------------------- In SVN trunk, revision 3623, in OMNotebook/OMNotebookQT4/treeview.h, there is a redundant specification (TreeView::) on line 80. This is generally overlooked by some compilers (VS2005 is one, IIRC), but recent versions of GCC consider that an error.
e5b3c8f7a5Adrian Pop- Fixed a funny typo discovered by H. Dieter Wilhelm. Thanks!
e9b77aeddeAdrian Pop- more meaningful names for components into Env.FRAME record - gain a bit more speed by replacing Env.myhash with System.hash - some code and comment formatting and beautification - compile for tracing in debug mode in omc_debug/Makefile.omdev.mingw
ca5131db79Adrian Pop- small update of RML to MetaModelica tool.
2fa0ca43f1Adrian Pop- fixes for bug: http://openmodelica.ida.liu.se:8080/cb/issue/1012 Solving of linear system of equations generates incorrect results. - the problem was the fact that continuous equations were classified as discrete and ended up in functionDAE_output2 which is never called during the continuous integration but only at events.
450e1910e5Adrian Pop- fixes for Linux compilation of OMNotebook - fixes to the project files - fixes for resource files - do not ask to convert files - look for the omc_tmp_plot.png image both in $OPENMODELICAHOME/tmp and in the current directory. - new OMNotebook & ext window
3af18601e4Adrian Pop- fixes for Linux compilation of OMShell - fixes to the project - fixes for resource files - updated copyright year - new OMShell
ea630615cbAdrian Pop- fixes for Visual Studio compilation add also gcc flags: -msse2 -mfpmath=sse when compiling with VS. - add base_array* to the c_runtime.vcproj - small changes to Setup.vdproj
4f7c6db838Adrian Pop- bug fix for some crashes on Linux from Kim & Joel
6b8f3c4275Adrian Pop- fixes for Linux
ce4c19e3aeAdrian Pop- fixes for Linux
a01f1e10c8Adrian Pop- fixes for Linux
c64657a28fAdrian Pop- support for arrays of records and strings - records are now supported in the DAE representation - started support for semiLinear and delay in Builtin.mo and Ceval.mo - a bit more information on failures - removed unused imports from DFA.mo - small changes to beautify the environment printing in Env.mo - beautify the documentation for functions in Interactive.mo - got rid of unused imports in MetaUtil.mo - if trace is enabled show more info in printimpl.c - different gcc flags for different platforms in systemimpl.c - beautify the dumping of components in SCode.mo - in SimCodegen.mo changed $point to $p and $leftBrace to $lB and $rightBrace to $rB in generated C variable names to save on string memory. - small beautifying of Static.mo, Types.mo and Values.mo
82c6e31fa9Adrian Pop- fixes for bugs: http://openmodelica.ida.liu.se:8080/cb/issue/1008 Matrix equations in connections not flattened properly. http://openmodelica.ida.liu.se:8080/cb/issue/1009 Equations for setting vector-valued flow variables to zero in externally unconnected connectors are not flattened.
c46c7c3c6eAdrian Pop- fixes for bug: http://openmodelica.ida.liu.se:8080/cb/issue/144 sample, pulse, trapezoid events where not handled correctly on x86 and x86_64 don't use the old FPU, use the SSE instructions to avoid problems with double in registers of 80 bit vs. 64 bit memory doubles.
5500a9725fAdrian PopThe compiler should report more errors when running in the command line: - report parsing errors when parsing .mos files!
6c76aec661Adrian PopThe compiler should report more errors when running in the command line: - if the file given as argument does not exist report error - report errors in the parsing - fixes for bug: http://openmodelica.ida.liu.se:8080/cb/issue/1010
3b2ef0c6cdHenrik Eriksson*More missing files added..
a6caf88b93Adrian Pop- fixes for bug: http://openmodelica.ida.liu.se:8080/cb/issue/111 "Too many points Error, could not save data. Not enought space." - now the simulationResultData is reallocated with a bigger size when needed.
7626b4801dHenrik Eriksson*More filename changes
323228c4ebHenrik Eriksson*Added some missing files *Prevented overwriting of files in some cases *Fixed some filenames
63cd17fe86Filippo DonidaA brief report for the APIs of the OpenModelica compiler has been added. It inclueds some usage examples.
9218576068Kristian StavåkerImproved handling of MetaModelica high-level data structures
2e03f6f3aeAdrian Pop- in Linux you get sometime linker duplicate errors for function "errmsg". changed the "errmsg" name to "_errmesg"
7f7a1eab45Adrian Pop- Modelica 3.0 grammar updates! + added constrainedby to the grammar + now the entire Modelica Standard Library 3.0 can be parsed.
55caca39ceAdrian Pop- finally fixed the getErrorString() does not exist problem!
421ebaab43Adrian Pop- the latest updates for DAEQuery.mo [exportDAEtoMatlab API] used by Olof Bäck [ISY] and Daniel Gunnarsson [IEI].
4f4792111cHenrik Eriksson*Added plotAll() and plotAll(model) commands *Changed default value of "points" to false
345890a488Henrik Eriksson*Now possible to save images from external plot windows *Added support for the plotAll() command *Data points are now not enabled by default *Improved stability
8cb7506121Adrian Pop- fixed a BAD typo :)
21fc15e0b9Adrian PopHuge update =========== 1. Updated version to 1.4.4 in: ------------------------------- - Examples/*.onb - Setup.vdproj - settingsimpl.c - updated the new product code in Uninstall.bat
a6313414e3Henrik Eriksson*Added external graphics window to setup project
50284b8a5cHenrik Eriksson*Changed some library paths
96322a6e75Henrik Eriksson*Added a toolbar in OMNotebook *Added an external graphics window *Misc. improvements to the plotting functionality
6c5b6ffdaeHåkan LundvallFixed better support for if-equations. 1) Now, it also works inside when-clauses 2) if the branches have the same left hand side of the equations then equations of the form "lhs = if (cond) then tb else fb;" is generated instead of "0 = if (cond) then lhs - tb else lhs-fb;" 3) in code generation if the variable to solve for in an equation can be solved in both branches then the solved variable is extracted so that we no longer need to treat it as a nonlinear equation.
af12bf791aAdrian PopFixes for bugs: Instantiation of partial models should fail: http://openmodelica.ida.liu.se/bugzilla/show_bug.cgi?id=174 Qualified Self reference should not give stack overflow: http://openmodelica.ida.liu.se/bugzilla/show_bug.cgi?id=179
0580e19e78Adrian Pop- fixes bug: Incomplete generation of output array variable in external function call wrapper http://openmodelica.ida.liu.se/bugzilla/show_bug.cgi?id=180 Many thanks to Constantin Belyaev [cbelyaev !!at!! gmail] for providing a patch.
51c96bbf0fAdrian Pop- fixes for bug: pre(var) where var has (start = value) should give value. http://openmodelica.ida.liu.se/bugzilla/show_bug.cgi?id=181
5edbe7b4f0Adrian Pop- added some missing spaces.
29bcb6efe1Adrian Pop- give more info when running the simulation code with -v.
e9974afde4Adrian Pop- updated readme
b8fa75a7fdAdrian Pop- more info on flags
7cb568ba23Kristian Stavåker- Improvements of MetaModelica constructs handling
779b57a9dbAdrian Popadded buildModel command to the commands.xml
e4421f3f40Adrian PopFixed bug: http://openmodelica.ida.liu.se/bugzilla/show_bug.cgi?id=177 buildModel failed to work since we added the tolerance as a parameter to the simulation. Credits go to Constantin Belyaev cbelyaev/AT/gmail for providing the patch. Thanks!
6ffaebed17Adrian Pop- fixed the Linux part for the case there is no QTHOME defined
22e671d86eAdrian Pop- updated the emulateStreamData prototype to the last version.
eaefd6eda3Adrian PopRML_IMMEDIATE(RML_TAGFIXNUM(integer)) is used to transform an integer to a pointer. Here we actually want the inverse of that, we want to transform a pointer into an integer. Removed RML_IMMEDIATE(...).
fdae7de43eHenrik ErikssonRemoved an unused variable
240ba75930Henrik ErikssonFixed some signed/unsigned warnings
f9478a6a52Adrian Pop- fixes in the Linux part
019060487fAdrian Pop- ANTLR on Linux has problems with Linköping, changed it to Linkoping.
e159d61b26Adrian Pop- ANTLR on Linux has problems with Linköping, changed it to Linkoping.
bca7071272Adrian Pop- Static::enabled is a method, changed to actually calling it Static::enabled()
f92a7de359Adrian Pop- changed the License to OSMC License - added Static::enabled() implementation to sendData.cpp
20c7c4dbc1Adrian PopNot Needed as we have OSMC-License.txt in the root directory.
08abbd6307Henrik ErikssonAdded some features to the new plotting package
1abe8cab50Adrian Pop- updated the license with the entire text.
79428dd76eAdrian Pop- fixed bug 170: http://openmodelica.ida.liu.se/bugzilla/show_bug.cgi?id=170 - transpose now works even if the first matrix dimension is bigger than the second matrix dimension - added Transpose.mo to the testsuite so we don't run into this error again
ab5503edd7Adrian Pop- added Open Source Modelica Consortium (OSMC) License to the trunk
af1d412e9aAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
dcfd580dbeAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
04a51fad38Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
0d21404e49Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
c262d7c4dcAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
9430760fedAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
7d870af5daAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
7bcff04090Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
2521c54e36Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
31ffb87fd8Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
1520cd58d9Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
2c858d08c4Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
fb60ee6736Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
6e4b1511a3Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
9679a890e8Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
f845738b17Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
97f1a5d9abAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
8cae7cb309Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
31827262a7Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
4c999615d6Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
4a81609f67Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
019b8e6621Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
846ac3fce5Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
10127be844Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
32cc52027dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
87c6596d7dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
30cef26d26Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
31e6a98a94Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
a6d9687703Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
fb7c9c1b48Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
fa2355ff84Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
ea4867ce70Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
1bc66bdb0eAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
89789c1880Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
a328282096Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
93d00ea6efAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
9686637ba9Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
39c0487ff4Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
f22af6cd52Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
3eb35741b1Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
63452fd062Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
60483da743Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
39f3b3956fAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
cd5099b01bAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
8fb5aba901Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
ce4757a06eAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
54c8d7de47Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
f8f23ba1d0Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
11f4f2369eAdrian Pop- changing to OSMC License
3a73dc6a99Adrian Pop- changing to OSMC License
726e5f63cfAdrian Pop- changing to OSMC License
096a8f14b9Adrian Pop- changing to OSMC License
ce204c9990Adrian Pop- small changes to DAEQuery.mo, Ceval.mo, Static.mo and Exp.mo - changed the way if-expressions are output to the Matlab file - changed getIncidenceMatrix to exportDAEtoMatlab - made some Exp functions needed in DAEQuery public
e531f82922Adrian Pop- added arctan_rettype and defined arctan as atan.
5c3f5fcdd4Adrian Pop- updates to OMShell project to base it on OMDev
4d3ac8d2ddAdrian Pop- small cosmetic change
53b01e2a45Håkan LundvallIf the desired output interval was smaller than 0.001 not output was given except for at events. Now fixed.
569dda6059Henrik Eriksson*Added some features, e.g. a line counter, error links *Saved files now correctly set antialiasing mode when opened *Updated Qt dll files
137a8939bbKristian Stavåker* Minor Changes in MetaModelica list handling
5f0b83cce0Kristian Stavåker* Minor change in meta_modelica.h
2a316a2f25Adrian Pop- do not delete the sendData/Makefile*
0597644403Adrian Pop- changes to commands.xml to support the new <> parameter in the simulate(...) commands
d54ed9736bAdrian Pop- fixes to windows makefiles - changes to DAELow.lower to not simplify the DAE before dumping the incidence matrix from DAEQuery.mo - Changes to Ceval, Static, Main to write <> to Model_init.txt now tolerance can be specified when calling simulate: simulate(Model, tolerance=1e-5)
d3a66dcafbAdrian Pop- fixes to Makefiles to compile *.o when *.c* change - made simulation_input.cpp read the <> from the Model_init.txt
cbf2166362Adrian Popcosmetic change
80db30afe9Adrian Pop- better checks and error messages for flags.
74328dbdfaAdrian Pop- added usage info when omc is invoked without flags
15eaa8ae12Kristian Stavåker- Some updates to the pattern match algorithm, etc.
e77e12a23aHenrik Eriksson*Updated to make compatible with omc changes
17f25d9577Henrik Eriksson*Removed some debug library dependencies *Removed some unused function arguments
52c74ab1cfPeter AronssonFixed bug with parameter values not added to unknown vector before initialization starts.
8c7805c7c4Henrik ErikssonRenamed some functions to avoid name conflicts on Mac
3a635c952eAdrian Pop- fixed small Linux part typo
4e6ab8ce0bHenrik Eriksson*Removed print statements *Reintroduced option to build without Qt *Changed some rml calls *Added sendData.vcproj
ab51bddf0aHenrik Eriksson*Added range options to graphcells *Added "save parameters" command *Fixed minor bugs
d8f64dc773Henrik Eriksson*Added static Qt libraries for MinGW *The MinGW version of Omc is now built with static Qt libraries *Added some Qt header files *Added range options to plot2/plotParametric2 *Removed some unnecessary files.
390b0b7c9bAdrian Pop- Windows Vista instructions
e89fc5315aAdrian Pop- finally found the problem with weird simulation runtime errors. - memset the damn malloc-ed region.
b4fdfc75feAdrian PopAdded new API functionality: - refactorIconAnnotation - refactorDiagramAnnotation implemented by Filipo Donida [donida@elet.polimi.it] (thanks)
57b8649b79Adrian Pop- updated ReadMe.txt with the latest developments
442b17c205Adrian Pop- got rid of ANTLR project (not needed as is already in OMDev) - updated walker.g to work with antlr 2.7.7 - regenerated the NotebookParser antlr files with antlr-2.7.7 - make the .pdb even for Release version - updated projects to be able to build also a debug version. - made the projects dependent on OMDev so peole don't have to compile antlr and mico
e203175285Adrian Pop- fixes a crash when OPENMODELICAHOME is set to the empty string.
8efe319dd4Adrian Pop- - updated README-BUILD-RELEASE.txt with the new changes
b096d8e6e0Adrian Pop- added -ftrace option to Makefile.w32 - used -trace option in corbaimpl.cpp - updated Compile.bat to work on Vista - updated c_runtime.vcproj, added meta_modelica.c and meta_modelica.h - update omc.vcproj - updated VC7/rmlRuntime/runtime/common/main.c to take in -trace option - updated VC7/c_runtime.vcproj to take the OMNotebook and OMShell from trunk instead of M:\
86fdd99600Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
b25d73a797Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
d88e418837Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
2a145305c1Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
a92bd85618Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
126e20702dAdrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
5385fb231eAdrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
0b6962edbfAdrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
492242a002Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
bc6c505e59Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
622c8856f8Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
db17eafe84Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
4d2eacaa14Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
bffb0199dbAdrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
2f39f70c47Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
a486504a91Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
57f85ba9f4Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
25ee2390d5Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
31186a29a5Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
4bdbf360c4Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
e326611751Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package - added RCS $Id$ to the files who were missing these
332838887fAdrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package
f0b46556caAdrian Pop- cosmetic changes
cc1196d3b2Adrian Pop- cosmetic changes
cbcdd393fdAdrian Pop- cosmetic changes
d53b019ef0Adrian Popgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2891 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a8da39cebeAdrian Pop- cosmetic changes
904a28ce2dAdrian Pop- cosmetic changes
8479f5e7c3Adrian Pop- cosmetic changes
f442e5b80eAdrian Pop- cosmetic changes
8b90db4643Adrian Pop- fixed a small typo
9d32576a55Adrian Pop- cosmetic changes - added Absyn.getClassName
ed2dede31eHenrik ErikssonRemoved annoying messagebox
e7e0e103fbHenrik ErikssonFixes the crash when OPENMODELICAHOME is undefined. Displays the main window even if files given as command line parameters are not found. Updated copyright information. Now correctly shows the application icon.
de32c2c334Adrian PopSeems this file is no longer required.
6a034ada55Henrik ErikssonMinor tweaks
b38323a3c1Henrik ErikssonRemoved scrollbars from graphics area (not required with Qt 4.3.1)
40c3787604Henrik ErikssonUpgraded to Qt 4.3.1
4640ec8ecaHenrik ErikssonFix for the "empty coordinate system" problem
630d6b5cd3Adrian Pop- generate .depend all the time in Linux too - thanks to Simon Björklén [simon@at@bjorklen.com] for tripping into this
a7cee196ecKristian StavåkerModified the handling of array for constructors.
e3622b7b64Kristian StavåkerAdded run-time handling of (MetaModelica) lists to the C runtime. Two new files.
489e7ccbb3Kristian StavåkerUpdated MetaModelica pattern match algorithm and list handling (builtin functions for list handling, etc.). Merged the Matrix module with the DFA module.
8dda771510Adrian Pop- got rid of quotes (") from model_dir - added $MODELICAUSERLFLAGS in the second case of System.generateMakefile - removed the .NET Framework dependency from Setup.vdproj - cosmetic change in Makefile.common.w32
36dbfc4d41Kristian StavåkerModified the pattern match algorithm.
540d4668c9Adrian Pop- added ${MODELICAUSERLFLAGS} to the end of the g++ command in the generated Model.makefile as Hong Duan (hduan [at] ucdavis [dot] edu) suggested
26594b7a2eAdrian Pop- if they not exist create .sig files first - this seems to fix the dependencies problems we had before - compilation for small changes is now faster
5688ae4e72Adrian Pop- cleaning up makefiles - using rmldep-new.sh in Linux makefiles also
01920f5dbcAdrian Pop- linux fixes for the new libsendData.a from c_runtime
e76c1708a3Kristian StavåkerMade some improvements and fixed some bugs in the valueblock and for iterator constructs.
4e50cdb9a3Henrik ErikssonCompiled OMNotebook with the improvements added by Adrian
0662428ac7Adrian Pop- VC7 Setup fixes for new stuff in OMNotebook - Parser fixes to handle multiple for iterators, both in array iterators and in for loops, Have a look at Absyn.ForIterators - Small changes in makefiles - Fixed stringEqual in external-rml.c - ptplot.jar dumps the plot image in $OPENMODELICAHOME/tmp/ - OMNotebook and OMShell in windows now starts in $OPENMODELICAHOME/tmp/
d7274dd2e0Adrian Pop- VC7 Setup fixes for new stuff in OMNotebook - Parser fixes to handle multiple for iterators, both in array iterators and in for loops, Have a look at Absyn.ForIterators - Small changes in makefiles - Fixed stringEqual in external-rml.c - ptplot.jar dumps the plot image in $OPENMODELICAHOME/tmp/ - OMNotebook and OMShell in windows now starts in $OPENMODELICAHOME/tmp/
2e4dc29981Henrik ErikssonAdded support for the new plotting features of OMNotebook. Set the variable QTHOME to a MinGW version of Qt 4.3 to enable these extensions.
ec3510f2c6Henrik ErikssonMinor improvements, now DrModelica should open if DRMODELICAHOME is set.
3009848bd4Henrik ErikssonMinor improvements
2b64d6b919Kristian StavåkerUncommented the code for the un-nested for constructor iterators. The following cases should work: x := {EXP for VAR in EXP}; x := FuncCall(EXP for VAR in EXP); x = {EXP for VAR in EXP}; Added some comments to DFA, Matrix and Patternm.
579c108d66Kristian StavåkerAdded support for MetaModelica lists to the matchcontinue expression. Mostly altered DFA, Convert, Patternm and MetaUtil.
27516089beKristian StavåkerMade some improvements to the valueblock expression implementation in Codegen and Static. Made some changes in MetaUtil.mo. Added code for for-iterator constructors to Inst (they will be uncommented later on).
78950cf40dHenrik ErikssonAdded the Graph cell style.
3ae648bdb9Peter FritzsonUppdaterat OpenModelicaSystem.doc and .pdf and OpenModelicaUsersGuide.doc and .pdf for release 1.4.3 with updated author list and release notes. OpenModelicaSystem also updated the module interaction figures and added 3 short module descriptions for the patternmatch compilation.
186edb393bHenrik ErikssonAdded a missing .h-file.
bc71be1f95x05andfefixed copy/paste problem (if complex cell structure)
7529f104e8x05andfefixed treeview lines
06ca1bce69Peter FritzsonChanged date in DrModelica main file to 2007-06-20
157479bcf0Kristian StavåkerAdded support for nested MetaModelica lists + some minor improvements.
0178ddf983Henrik ErikssonRemoved some old file dependencies.
36fb88f0e4Kristian StavåkerAdded compiling of MetaModelica lists. Added the list type to the type system files: Types.mo, Values.mo. List constructs in Exp.mo. Handling of lists in Inst.mo, Codegen.mo, Prefix.mo and Static.mo. Minor changes in Absyn.mo and DAE.mo. Also added a new file, MetaUtil, that contains several functions for handling MetaModelica extensions. All the testcases succeded (remember to make clean).
306a4f1f65Peter AronssonChanged getClassInformation and getComponents to also return array dimensions of classes and components.
5131edfe71Kristian Stavåker- reverted the last Inst.mo changes
f262dd8d61Adrian Pop- reverted changes by krsta as the testsuite doesn't work. - small changes in Main.mo
78568a1dfcKristian StavåkerInst.mo: Added support for list type in instElement, instVar, etc.. The list complex type is picked up in instElement. An extra boolean flag has been added to instVar, instVar2, daeDeclare, etc.. This flag (if true) indicates that a list type should be created in daeDeclare4.
616aa2b1a2Kristian StavåkerAdded List type to type system files. More to come ...
7b04343b5fAdrian Pop- updates to makefiles for Linux - makefiles for Cygwin - readme on how to build ModelicaXml on Linux and Cygwin
aececcca23Adrian Pop- added new flag +g: omc [+g=Modelica|MetaModelica], default to 'Modelica' - added function RTOpts.acceptMetaModelicaGrammar() that returns true if omc is called with omc +g=MetaModelica ...
968d72b9feKristian StavåkerSome minor changes to the valueblock expression and patternmatch algorithhm.
d8b74949bfKristian StavåkerAdded string comparison, ==, to generateRelation in Codegen.mo. The C strcmp operation is generated.
6a0707eef9Kristian StavåkerConstant comparison of strings added in cevalRelation. The MetaModelica ==& operator is used, perhaps == should be used instead (if it is working?). Very easy to change. Non-constant comparison of strings will be added to the OMC shortly ...
05b6072d6bg-pavgrFixed reading of break/return from .mof files
21ff4f50dcg-pavgrSupport for brake and return: fixed getAllExpsStmt; added test cases.
bd410724b3Henrik ErikssonFixes broken text links, the style bug, copy/paste bugs and problems introduced by Qt 4.3
099d936289Henrik ErikssonMinor improvements of the new plotting package
2b44d98cceKristian StavåkerA few minor improvements of the patternmatch algorithm.
6039cea13eAdrian Pop- mosh.cpp changes + wait for some time when we wait for omc to start + wait for some time when we wait for omc to quit
26676a06ebAdrian Pop- Linux fixes
0fcb531409Adrian Pop- small fixes for Corba implementation for making mosh.cpp compile - moved char* omc_cmd_message = ""; char* omc_reply_message = ""; to omc_communication_impl.cpp and made them external in corbaimpl.cpp. this way they don't need to be defined in mosh.cpp - removed char* omc_message from mosh.cpp as is not needed anymore
9f7183356fAdrian Pop- small fixes for Corba implementation for making mosh.cpp compile - moved char* omc_cmd_message = ""; char* omc_reply_message = ""; to omc_communication_impl.cpp and made them external in corbaimpl.cpp. this way they don't need to be defined in mosh.cpp - removed char* omc_message from mosh.cpp as is not needed anymore
f84b9213f1Kristian StavåkerFirst commited version of MetaModelica matchcontinue. One entry point in Inst.instStatement, the rest of the code in the new files Matrix.mo, DFA.mo and Patternm.mo. Matching of uniontypes and list constructs will be supported later on. A few testcase .mo files added to testsuite/mofiles (match1.mo, match2.mo, ...).
510421bc05Kristian StavåkerAdded two new builtin functions. stringCmp compares two strings and returns 0 if unequal. getTag fetches the type name of an ojbect reference, using the c++ typeid(ref).name().
3f087a3407Adrian Pop- a lot of fixes to external functions. + RML_IMMEDIATE(RML_UNTAGFIXNUM(x)) is an ERROR, so i replaced it with RML_UNTAGFIXNUM(x) + fixed types using RML types as on 64bit architecture instead of integer we use long. - got rid of GCC_EXEC_PREFIX in Linux/Mac part
f58c9fb285Adrian Pop- included MacOS changes from Eric Meyers (erictmeyers@gmail.com)
98ab230723Adrian Pop- included MacOS changes from Eric Meyers (erictmeyers@gmail.com)
6c7dbe30cdAdrian Pop- added DAEQuery.mo to the compilation - DAEQuery.mo has functionality for dumping the incidence matrix: + getIncidenceMatrix(ClassName) will dump a file called ClassName_imatrix.m containing the incidence matrix in some sort of Mathlab format.
a8adeacebbx06klasjchanged the return value for the val function from boolean to real.
6c21a399b1Peter Aronsson-Assertions are checked in DAElow.lower if they are always false. In that case error message is given and lowering fails. (to test this instantiate a CombiTable component and run checkModel, without giving any table data). -Assertions only output if accepting a step (see acceptedStep variable). -Fixed minor typos in comments.
7b12d72c9aKristian Stavåker* Absyn.mo: Added valueblock record to Exp uniontype. Added uniontype ValueblockBody. * Static.mo: Added two new cases to the elabExp function, evaluation of valueblock expression (one for valueblocks containing algorithm statements and one for valueblocks containing equations). Added a new function for converting valueblock equations into algorithm assignments. * Inst.mo: Had to change the accesibility of some functions from protected to public. * Exp.mo: Added (duplicated) uniontypes and records from DAE.mo, Algorithm.mo, Types.mo and Values.mo. Part of a work-around since the MetaModelica compiler can't handle circular dependencies. * Convert.mo: Functions that converts the duplicated data structures from Exp.mo into original form and vise versa. These functions are called in Static.elabExp and Codegen.generateExpression. * Prefix.mo: Added functions for prefixing algorithm statements since an expression now may contain algorithm statements. * Codegen.mo: Added a new case-clause in generateExpression for generating code for valueblock expressions.
84ebb4440fPeter Aronsson- Clearing errormessages before executing checkModel and buildModel to prevent error messages from earlier evaluations. - Added error message for declaration modifiers. - Better error message for type checking of functions.
f1347a8e86Peter AronssonFixed bug with type extending basic type using long class definition in several levels, and having modifiers on builtin attributes. See Type10.mo
a263c7522eAdrian Pop- fixes for Corba connection (mostly for Windows 2000) it seems that CORBA::ORB_init(argc, dummyArgv, "mico-local-orb"); ignores totally the first argument
e49971277bAdrian Pop- added stringFind implementation for Linux too
2e42104e62Peter AronssonFixed compile bug in older versions of metamodelicacompiler.
018a4e9234Peter Aronsson- getDefaultComponentName and getDefaultComponentPrefixes API functions, see DefaultComponentName.mos - der(expr), see dertest.mos
c70b03c731Peter AronssonFixed bug in setComponentModifierValue, testcase: interactive_api_param.mos
22fd2af8cdPeter AronssonImproved solving of nonlinear systems. Now tries both extrapolation and using old values. Extrapolation might end up in going into forbidden region, whereas using old values as starting point might have problems during initialization. Pendulum.mos requires extrapolation and dae2 in NonLinSys.mo requires old values.
5cfacd7b8cPeter AronssonFixed bug with event handling. When dassl returns at an event it is not certain that the event condition becomes "true", i.e. passing the event. It may be a epsilon before the event. To prevent this, the code now (again;) takes a tiny step passed the event to make sure that all events are true. Added bouncingball example in BouncingBallExamples.mos to test this. Fixed so mixed systems (ideal_diode, etc) now becomes a linear system if if-expressions are present. This requires differentiation of if-expression to determine jacobian of linear system, i.e the A matrix. Changed Derive.differentiateExp to take boolean if differentiation of if-expressions should be done.
e89ca64b05Henrik Erikssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2785 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
5b5e46eb15Henrik Erikssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2784 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1bebf35ccdHenrik Erikssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2783 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
9e88d5f0e3Peter AronssonChanged small step taken when event has occured and Dassl should be reinitialized to continue integration. Step previously was 1e-13, now it is defined in terms of machine precision, a bit larger than HMIN. This will prevent dassl from reporting that step (tout-t) is less than HMIN, since HMIN is also is defined in terms of machine precision.
fe20c671bdPeter AronssonFixes to be able to compile using Visual Studio. Added some comments to System.mo Added GENERIC_ERROR to Error.mo.
abd304f64eAdrian Pop- Makefile updates for Linux to mirror Makefile.omdev.mingw
95d5aba38cPeter AronssonRemoved need for fortran compiler by translating fortran files to c using f2c. Replaced nelmead.f with version that can be translated. Moved fortran files to folder named fortran. Several testcases updated due to small numerical differences between c and fortran.
51608e2bd7Peter AronssonSpeeded up instantiation by writing special instantiation code for builtin classes (Real, Integer,String,Boolean).
c34eda22a2Peter AronssonFixed bug with "Automatic" output intervals and latest newTime implementation.
38c7640468g-bjozaSome cleanups from last commit. Bug 849, some simplification errors with vector and matrix operations.
04efa3002cPeter AronssonFixed bug with calculating nextTime when step is calculated from numberOfIntervals, giving numbers like 0.01111111111111111111111 due to inprecise floating point precision.
e895feceb8g-bjozaBug fix 849 Some minor fixes overall. Matrix simplification, builtin function pre.
176fc2eb86Peter Aronsson-Fixed bug with DASSL failing for large simulation times with few output steps. Solver now calls DASSL with largest step size=0.001, and then keeps track of when to output to result file separately. See LargeSteps.mo in simulation2.mos.
3e44821bceHåkan LundvallFixed sample-bug
4567033810Peter AronssonAdded integer_rettype to modelica.h.
19e6b0f383Peter AronssonSplit functionDAE_output into functionDAE_output and functionDAE_output2. The first contains only continuous parts and the second discrete parts. This makes discrete variables emit value both before and after event possible. See blocksources.mos (PulseTest).
3b4be3e2adAdrian Pop- more Linux fixes
342fd13186Adrian Pop- Linux fixes to Peter A. changes
7ad7c51961Adrian Pop- tail recursive implementations of some Util functions - cosmetic changes - increased the young generation size in rml.h and stack size in p-gccore.c - added ongoing support for dumping the incidence matrix - added partial-s-1.mo to failing tests because with the new tail recursive implementations the compiler goes into an infinite loop
068b37adf2Peter AronssonAdded "smart setting of fixed attribute". If initial equations are present in a model and no state has fixed=false, all states that occur in the initial equation section is set to fixed=false, and a warning is issued. This makes most "simple models" work as they would if we followed the standard and setting states fixed=false by default. (OMC instead has fixed=true as default for states due to allowing overdetermined initial equation systems).
686bd1fe1ePeter AronssonChanged representation of builtin attributes in DAE.VariableAttributes (start,min,max, etc) to Exp.Exp (was previously Real, String, etc).
1928d059eaAdrian Pop- small performance improvements - cosmetic changes
163ad9edfePeter FritzsonOpenModelicaMetaProgramming.doc and .pdf Moved all exercises to a separate appendix
dd5110bcedPeter FritzsonOpenModelicaMetaProgramming.doc and .pdf Moved all exercises to a separate appendix
ea7746470bAdrian Pop- cosmetic changes for the upcoming MDT that folds away the LICENSE at the start of the file. - changed svn:eol-style to "LF" instead of "native" as a workaround for the debugger execution point positions, which are wrong if we have CRLF line endings.
33faaace1eAdrian Pop- reverting the bad commit by krsta
2f26ce6d7bKristian Stavåkergit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2756 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
40c43e7359Adrian Pop- fixes for the upcoming mmc compiler; - corrections to input variables and variables from matchcontinue
dd039f4b5eAdrian Pop- warning removal, printing long instead of integer.
2f7fd381ffAdrian Popdelete .srz also
b70f7e24feAdrian Popdelete .srz also
8586ac3e46Adrian Pop- small fixes to errors in .mo files discovered by the new MDT
e619c3b7a0Håkan LundvallFixed so that exceptions work when fortran functions are involved in Linux
70d9df0e93Håkan LundvallFixed Timetable-bug
ab19942c47Peter AronssonFixed compile error due to changes in DAE.ASSERT
bb3206edadPeter Aronsson- Added String() functions (String(1.0), String(100), String(true) ) to both Ceval and Codegen testcase: StringTest.mos - Implemented terminate and assert in equations - Added TerminateSimulationException that is thrown when simulation fails (e.g. numerical failure, assert, terminate, etc.)
6e13ad6f73Adrian Pop- more notes on possible problems with Eclipse and OMDev.
10bd3937d5Peter Aronsson-Added printout of "protected" in DAE, protected variables are now prefixed with protected when printing flat class. - Added cast to and from modelica_integer when storing integers in double vector (in Simulation code), to get rid of warnings during compilation of model code. - Removed dymTableTimeIni function in Static, was a unfinished hack to make MSL 1.6 work.
4aaf6a1e9cHåkan LundvallTestsuite now passes in Linux
e4d903ed66Peter AronssonAdded protected/public flag to DAE.
23ec061170Peter AronssonFixed bug in solving linear system of equations (DAEexample.mo).
83934c04c1Peter Aronsson- Cleaned up some comments - Removed SCode.STRUCTPARAM, since it is no longer used. The compiler does currently not care if a parameter is structural. - Fixed bug with function variables making equation in dae instead of creating binding expression, which does not make sense. This also created bug setting default inititial values for function inputs in read_call_write code. This has also been fixed.
4e9de131c6Adrian Pop- cosmetic changes of Absyn.mo + qualified names in error messages + updates of function documentation - Setup.vdproj changes + replaced "This program is protected by copyright laws..." with "This package contains OpenModelica, a modeling and simulation environment based on free software".
047ef6c4ddAdrian Pop- Fixes for BUG: http://bug.modelicacommunity.org/show_bug.cgi?id=144 The numbering of temporary variables was wrong in Codegen.generateElse
cc73f78682Peter AronssonFixed bug in prefixing of variables in algorithm sections, which was not performed at all.
22e7e1b22bPeter AronssonAdded model_dir string as global variable to model code. Needed when loading e.g. associated table files.
4e3a74066fPeter Aronsson- Changed Types.printType to Types.printTypeStr - Fixed bug with attribute modifiers on types not propagated to variable instances (testsuite/mofiles/Type9.mo) - added option -b to rtest which can be used to set expected result: rtest -b test.mo translates test.mo and updates the expected result last in file. - Fixed bug in merging of modifiers in DERIVED classes.
36cec87ac1Peter Aronsson-Implemented rudimentary support for tables. (Modelica.Blocks.Sources.CombiTimeTable now works for parameter data or textual data on file, see CombiTimeTableTest.mos.) Implementation in C++ in tables.cpp. Modelica standard library must be changed to use different external function names (e.g. omcTableTimeIni instead of dymTableTimeIni2) - Redirected stdout and stderr to compilelog.txt when compiling functions in Ceval (System.compileCFile). -Added support for parameter and variable strings in init file.
a79ff6b7abPeter AronssonFixed small bug in codegen (statements in wrong order). Added whitespace when unparsing modifier list (nicer layout when printing large annotations) dummy equation der(dummy) = 0 changed to der(dummy) = sin(time*628.56....), to better cope with automatic step size when no states present in model.)
89ab88d772Peter AronssonAdded translateGraphics function that uses Refactor.mo to translate graphical annotations.
ba3d243f49Håkan LundvallFixed bug #133 and a missing endResult in simulation3.mos
817c38ca24Håkan LundvallFixed bug #131 output variables involved in zero crossings were not evaluated.
0358522cd8Håkan LundvallMerged from when-statements branch * when and elsewhen in algorithms now supported * correct sorting of equations in when clauses * events no longer takes an extra tiny step to make > and < work. Instead the relation takes into account the direction in which the relation expression is passed.
18e85c183dAdrian Pop- added Refactor.mo to Makefile.common, Makefile.common.w32 - fixed dependencies in .depend Makefile.w32, Makefile.debug.w32
2612e4c53fKristoffer NorlingRefactoring thesis
f6c5d12017Peter AronssonCompile error due to name change in util.
cc06c58a9ePeter AronssonFixed bug with creating empty arrays with fill and using size on them, see mofiles/Array13.mo.
56c34d0f3fAdrian Pop- cosmetic changes to Absyn.mo, Algorithm.mo, Builtin.mo, Ceval.mo, Util.mo + replaced old names in comments and error messages with new ones. + a bit more uniform error reporting; the errors include fully qualified function names. + replaced Absyn.expEqual with structural equality. + better names for some functions in Ceval
f32c8d0dabHenrik ErikssonThis makes Qt 4.2+ required for OMNotebook. Unfortunately this (Qt) breaks some features, e.g. text links
144bf6cb41Adrian Pop- cosmetic changes to Util.mo + got rid of some already existing functionality + renamed some of the Util.mo functions + rewrote some Util.mo functions to make them a bit faster
2c760c1db7Peter Aronsson- Fixed bug in Exp.simplify (certain divisions lead to incorrect simplifications). - Fixed bus in printing of expressions (Exp.printExpStr) leaving out parentheses in some cases. This also required changes in testcases.
63cf8317acPeter FritzsonUppdatering av datum i startfilen DrModelica.onb till 2007-02-16
f9d8c9c581Adrian Pop- fixes for corbaSessionName not defined when NOT compiling with Corba
4bbabd51f1Peter FritzsonUpdated DrModelica since Circuits/Acausal.onb SimpleCircuit now works without error messages,
220343b78cAdrian Pop- small update for the upcoming version of MMC/RML & OMDev - variable name changes to differentiate them from function names
f3963abd1fPeter AronssonChanged code generation of tuples (returning several values from functions). Previously a struct was generated that contained names taken from the output arguments of a function. For instance, function foo ... output Real x; outpur Real y; ... end foo; resulted in a struct foo_rettype { modelica_real x; modelica_real y; }; But these names are not available in a call (i.e. in Algorithm.TUPLE_ASSIGN). Also this makes sense, since a tuple has only an oredered set of values -without- names.
31892c8394Peter FritzsonA few small updates to 4 modules DrModelica. Now more testcases work than previously.
cedceafee1Peter Aronsson- Fixed bug in state selection. If StateSelect.always is set but variable does not appears differentiated among equations, it was previously not selected as state. - Fixed bug in printing error message for non-linear system solving.
67b5bc2f13Peter AronssonFixed bug 95. Testcase in simulation3.mos and avg.mo.
caec13eb55Peter AronssonA small error in the compiler.bat file.
44416bbacaPeter AronssonFixed bug 51, testcase mofiles/reinit.mo
eaf2f053d7Peter AronssonFixed bug with Modelica.Blocks.Discrete.Sampler connected with e.g. VoltageSource (reported at Modelica Design list)
21b715c6bbPeter AronssonFixed bug with compiling when e.g. LIBRARY_PATH is defined.
2d66b1d66ePeter AronssonAdded description of missing fortran files in c_runtime/README
d8bc854eb8Anders Sandholmgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/doc@2696 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
f4f6c2d885Adrian Pop- Now OMC will now REFUSE to start on Windows if another one is running! An error message will be displayed. - Added +target=gcc|msvc flag in rtopts.c and RTOpts.mo to be used later when we generate different code and Makefiles targeted to GCC or MSVC. The flag can be retrieved using RTOpts.simulationCodeTarget()
713cb1d4d6Adrian Pop- I have updated the README-WIN32.txt document - I tested the compilation on Visual Studio .NET + 2003 Pro + 2005 Express (Free, but it cannot build the Setup project) + 2005 Pro
f3c4cdb6a4Adrian Pop- included for std::numeric_limits required by VC++
16703d780bAnders Sandholmfixed so val can handle arrays, val(x[n],x.y)
ecc71a2846Adrian Pop- Linux typo fixed
5d481d2a01Adrian Pop- fixes for Linux part
7f89670de9Adrian Pop- fixes for Visual Studio to get rid of link errors
0aa207e119Adrian Pop- added +c=corbaSessionName to the Compiler/runtime/rtopts.c - fixed Compiler/runtime/corbaimpl.cpp to generate: + the Corba Object ID depending the corbaSessionName + the file dumped depending the corbaSessionName + the events and mutexes names depending the corbaSessionName - moved clientlock from omc_communication_impl.cpp to corbaimpl.cpp
0676961199g-pavgrLoopContext; check that *break* is inside a loop
37b08492eePeter AronssonFixed bug with start value of parameters not translated to DAE.
4827547b2ePeter FritzsonMinor update of OpenModelicaUsersGuide - authors list OpenMOdelicaSystem - added test case building chapter and updated authors list ModelicaMetaProgramming - added introduction about modeling too extensibility and a chapter (unfinished) at the end about metaprogramming and code quoting.
6118ccf4bbAdrian Pop- changed "inital" with "initial" in Builtin.mo - replaced return with returnType in Codegen.mo and DAE.mo as "return" is a keyword now!
3dec01448fAdrian Pop- added break and return statements to flat_modelica_lexer.g and flat_modelica_parser.g due to changes to modelica_lexer.g and modelica_parser.g - without this the FlatParse.mof test fails.
c7c5a54519g-pavgrSupport for *break* and *return* Missing: (a) checking that used inside for/while and (for *return*) in function body (b) reading from flat Modelica (for/while if flat Modelica not yet supported)
96610eec48Peter AronssonImplemented inner/outer for components (inner/outer classes not impl. yet) testcases InnerOuter1.mo InnerOuter2.mo
abd5bd51c5Peter FritzsonImplemented the builtin function: product. Works on a testcase with vectors. Has not yet been tested on matrices.
176382c82ePeter FritzsonAdded ModelicaTutorialFritzson.pdf containing the tutorial given at the Modelica conference and other places
76ccbcab14Adrian Pop- Lookup.mo does not use Util - cosmetic changes to Absyn.mo by Peter F.
762d90aa7bPeter AronssonAdded instantiation of reinit in algorithms. Now flattens, and produces error message that when algorithms not supported yet.
ac7f11118bPeter AronssonAdded to the state select heuristic: A priority based on the number of selectable states with the same name (last identifier of a qualified name).
f5d033a561Anders Sandholmremoved some debug information that were commited in the last version
ff11ff62a6Anders Sandholmfix string support in external functions
c2e2576649Peter AronssonAdded support for automatic number of output steps by using intermediate-output model in DASSL. This can be used by setting a negative value on output step size.
6376a7fb6dAdrian Pop- fixes to make the testsuite run on Linux - for some very obscure reasons in simulation_result.cpp, function: int deinitializeResult(const char * filename) code: ofstream f(filename) reset the filename to "" and the creation of the file failed. - fixed it in solver_dasrt.cpp and solver_euler.cpp - thanks to William Spinelli for providing a virtual machine where I could reproduce this error.
cf157b742aPeter AronssonImplemented a better state selection mechanism. State selection is now base on 1. The stateSelect attribute 2. A heuristic. The heuristic looks at both the equations of state variables to find constaint equations and tries to put dummy state variables in the same component.
721ae868a5Peter AronssonFixed bug with instantiation of Modelica.Blocks.Discrete.TriggeredSampler, causing infinite recursion (prevented by only instantiating partially)
07ca683bd1Adrian Pop- doPlot renamed to doPlot.Cygwin and doPlot.Linux renamed to doPlot - changed Compiler/Makefile.in and Compiler/Makefile.omdev.mingw to mirror the changes
1802f39dceAdrian Pop- doPlot renamed to doPlot.Cygwin - doPlot.Linux renamed to doPlot as Linux installation is far more spread than Cygwin! + this will get rid of an installation step on Linux and adds an installation step for Cygwin - changed README.Cygwin.or.Linux.txt to mirror the changes
0edcac2c07Adrian Pop- all the latest OMNotebook changes to enable compilation on Linux were made in cooperation with William Spinelli [wspinell@elet.polimi.it] - a typo fix in cellapplication.cpp
b4aed9c55aAdrian PopOMNotebook changes: - searches for images in the current directory + in Linux the bin directory can be read only - searches for DrModelica using DRMODELICAHOME environment variable. + in Linux DrModelica should be placed in a write possible location as it contains exercises which should be possible to save
e2545be029Peter AronssonFixed bug with fully qualified names (which are created during instantiation) not possible to look up over encapsulated boundaries: Introduced new record FULLYQUALIFIED in Absyn.Path for this.
398ba23cdaAdrian Pop- fixes to compile OMNotebook on Linux! - this is quite intermediate right now, we'll test it more
9e4e4b25a3Adrian Popdouble should not be float as we might loose precision
b9c50e2fffPeter AronssonFixed bug in lookup of functions through unqualified imports.
d8020d59eePeter AronssonFixed bug with e.g. Modelica.Electrical.Analog.Sources.TrapezoidVoltage giving error message even if it is correct.
7e56d9b271Peter AronssoncheckModel now uses DAELow.lower without generating "dummy state", i.e. counts correct number of variables and equations.
4fddc6fe14Peter AronssonAdded error message for not-yet-supported features in algorithms (when clause, while-clause, etc)
0d60cfda7cPeter AronssonFixed bug with generation of zero-equations for unconnected flow variables.
880891b40fPeter FritzsonAdded OpenModelicaMetaProgramming.doc and .pdf containing documentation of MetaModelica programming. (previously sometimes called MetaModelica users guide) Exercises added to this MetaProgrammingGuide. 061026
ae0ba14149Peter FritzsonBeta 1.4.3 versions 061214 of UsersGuide and SystemDoc UsersGuide includes more Eclipse MDT plugin installation screendumps. Exercises added to SystemsDoc, and MetaProgrammingGuide.
4b9cc2ab3dPeter AronssonFixed bug with simplify of 1/(a/b)^2 causing infinite recursion.
d04a0b7da6Adrian Pop- new line at the end of file.
193d1c807fAdrian Popreplaced ModelicaXml.h with ModelicaXML.h
0315c1349dAdrian Popremoved to be replaced by ModelicaXML.h
ba8fe31a60Adrian Pop- fixes to make modelicaxml work on Linux.
bbeecf99baAdrian Pop- fixed bug: http://bug.modelicacommunity.org/show_bug.cgi?id=30 - the precision problem when dealing with reals in OMC - MMC/RML uses double and because in read_write.c and systemimpl.c this was converted to float and back to double it was a precision loss. - replaced all float with modelica_real in read_write.c - replaced all float with double in systemimpl.c
37be61e12aPeter AronssonImproved instantiation speed. (checkModel(CauerFilter) now takes about 10 seconds instead of > 500 seconds). Fixed memory leak in solving linear systems.
8d646ae1b6David BromanInitial code to support inner and outer semantics. Now, the inner and outer attributes are part of SCode.COMPONENT. Further, the outer elements are removed from DAE output. However, correct lookup rule of inner components are not implemented yet. Only components are considered in SCode. The other elements (functions, inner classes etc.) are not yet implemented. No considerations to type checking has been done yet.
9c1b0c847fAdrian PopNot needed since we moved to .mo files.
00354a3ac8Peter AronssonMoved some comments to better place
c3c4f23f41Peter AronssonFixed bug with premature exit when event at stop time.
c24bf7cdb2Peter AronssonSplit up large string constant so VC compiler does not complain.
280a1c0ef8Adrian Popimport Interactive is not used in Mod.mo.
5db84ace60Adrian PopLinux update.
a4a361efdbPeter AronssonFixed bugs in simulation_runtime (initialization of data, stop exactly at stop-time, etc). Fixed bug with recursive modifiers (A a(x=a.y))
d89ff08deePeter FritzsonRemoved faulty parameter time in class DoubleWhen Sequential
62914e4e40Peter FritzsonUpdated text around the ErrorNestedWhen example
bba486e8bbAdrian Popgenerate logs also on Linux.
52493481a8Peter AronssonChanged builtin functions asin,acos and atan to arcsin, arccos and arctan (same as in Dymola). Added eliminationLevel = 3 for removing only equations on the form a=constant. Added der(arccos),der(arcsin) and der(arctan) to Derive.mo Fixed performance problem with Exp.simplify. Fixed bug with matrix operation a*[1,2;3,4] in Exp.simplify. Fixed bug in tranforming a flat-parsed Absyn to normal Absyn (Interactive.mo).
5b2ad2a5e4Adrian Pop- added testmos to Makefile.omdev.mingw to test just tests from testsuite/mosfiles - fixed the compilation problem on Linux. GNU GCC has more involved "inline". Just disable inline for now. - initialization of malloc-ed structures within simulation_events.cpp fixes the different result we got on Linux for IdealDiode.mos + i wonder if there may be some other initialization problems like this. - IdealDiode.mos changes due to different result.
94ffb7d129Adrian Popsimulation instead of simualtion.
22dae9f191Peter AronssonRedesigned simulation_runtime. Divided into several files and made more modular. Removed method from command argument and added to init file instead. Remade several testcases to use val function instead.
ddb2c96de2Peter AronssonImplemented flags for controlling simulation error messages (log) Fixed bugs (chaanged getExtendsModifierValues, setExtendsModifierValues)
1fe2455272Adrian Pop- merged in the ndims(A) code from Stefan Vorkoetter in Static.mo + many thanks to Stefan for his first contribution! - merged in the ndims(A) test from Stefan Vorkoetter in matrices.mos - added another ndims(A) test based on flattening within matrices.mos - fixed bug http://bug.modelicacommunity.org/show_bug.cgi?id=80 by casting the pow(x, y) arguments to modelica_real within Codegen.mo - wrote more about testing in README-OMDev-MINGW.txt and README.Cygwin.or.Linux.txt - added some missing information in README-BUILD-RELEASE.txt - added OPENMODELICALIBRARY environment variable to OMDev-MINGW-OpenModelicaBuilder.launch-sample as is not really true that everybody has a OpenModelica release available (take Linux for example) and an OPENMODELICALIBRARY=/path/to/ModelicaLibrary environment variable set. - added a space in SimCodegen.mo :)
650224ef2bPeter AronssonrenameClass does not visit read-only classes.
fab913a393Peter AronssonFixed bug in renameComponent. Now used partialInstClassIn, which is much faster.
ac2082253aAdrian Popfixes for BUG 115: http://bug.modelicacommunity.org/show_bug.cgi?id=115 model X end Y; now reports a parse error!
d5ad55ddefAdrian Popfixes for BUG 115: http://bug.modelicacommunity.org/show_bug.cgi?id=115 model X end Y; now reports a parse error!
0bfea108f0Adrian PopI did some changes to the OpenModelica SVN in order to speed up MDT a bit. Interactive.mo: --------------- - Changed SYMBOLTABLE, added loadedFiles: Fixed all the sources that used SYMBOLTABLE: Ceval.mo, Main.mo
812ed43961Adrian Pop- Linux part fixes for corbaimpl.cpp
490ed213eaAdrian Pop- fixes for daeext.cpp (VC2005 compiled version doesn't crash anymore) i went for the longer version with push_back(0) as resize(nvars) could interfere with mmc backtracking. - made it clear in the Corba part what message is sent and what message is received. This seems to fix crash problems with VC2005 compiled omc IF we move to mico2.3.12. With mico2.3.11 it still crashes. I believe the problem is in mico2.3.11. - added ==& MetaModelica operator to the grammar
78243c6580Peter AronssonRemoved old printing functions.
f4d2d10120Peter AronssonAdded better errormessage to checkModel
fc30e712cdPeter AronssonAdded setEliminationLevel, to control degree of alg. var elimination interactively.
22301f5dfbPeter AronssonAdded error message for no function found. Added EXTRA_SIMOBJS to Makefile.omdev.mingw
67d98dfb87Adrian Pop- allowed a normal Modelica comment after the case. Example: case (z,y) "Some comment here"
453ba5902aAdrian Pop- Absyn.CLASS.restricion -> Absyn.CLASS.restriction - fixed more of MetaModelica parsing: x::y = expression; should be allowed. - fixed flat parsing by returning std::string instead of void* from flat_subscript - fixed ExternalLibraries.mos from testsuite by returning quoting the result of getErrorString with " when is called in Interactive.mo.
465c732086Adrian Pop+& added to PLUS, needed as MetaModelica stringAppend operator
5033135125Adrian Pop- cases can have empty patterns - fixes DAELow.mo so empty pattern () was replaced by _
eb09eb8ac8Adrian Pop- replaceable type Type_x; is now replaceable type Type_x subtypeof Any; - The ALG_ASSIGN_TUPLE is gone! use ALG_ASSIGN(exp, exp) instead and check if first exp is Absyn.TUPLE - MetaModelica parsing now works. - all the tests (except those already failing) are working. - a new OMDev is required to be able to compile this: http://www.ida.liu.se/~adrpo/omc/omdev/mingw - in order to get the compiler out of infinite loop some changes were made to SCode.mo - changes to modelica and flat_modelica parser and lexer were made. - imports were changed, I removed to OpenModelica.Compiler from them to make MDT completion work.
4905100c6ePeter AronssonRedesigned vectorization of variables. Now has extra argument to elabExp to control this. See instEquation on EQ_EQUALS. (affects array equations)
34ae2b03fcPeter AronssonFixed bug in index reduction (states for state selection only considered states in current differentiated equations, not all marked equations)
d6fb48c013Peter AronssonLarge integer literals (> 31 bits) are converted to Real literals. Added testcase for flat parsing (more needed later on).
8c092d8b8bPeter AronssonFixed bug in traverseExp.
8e9fc2b696Peter AronssonAdded compiler option +e=level where level is 0,1 or 2, indicating the degree of elimination of algebraic equations (0 -none, 1 -partial, 2-full)
152b87be47Peter AronssonAdded extrapolation of variable trajectories as starting values for nonlinear equation systems. Required for solving nonlinear systems with multiple solutions, such as x^2-c =0 (Need to extrapolate to go from positive to negative solution)
ef883927d4Adrian Poppetfr's changes to Absyn.mo
efb579bf2cAdrian PopCosmetic changes to .mo files. - changed all .rml to .mo - changed all RML to MMC - got rid of spaces between imports.
0aaa9dc43aAdrian Pop- more MetaModelica additions + added more expressions to handle MetaModelica code in Absyn.mo + unified EQ_NORETCALL with ALG_NORETCALL and fixed the walker.g, Absyn.mo, Debug.mo, Interactive.mo, SCode.mo to handle this change. Now it EQ_NORETCALL looks like this: record EQ_NORETCALL ComponentRef functionName "functionName" ; FunctionArgs functionArgs "functionArgs; fcalls without return value" ; end EQ_NORETCALL; Before it was Ident functionName; + added more debugging within parse.cpp - all tests go
25b1add4d3Adrian Pop- fixed VC7 Debug configuration (needs new OMDev which contains mico2311 debug libs) + wrote some debug makefiles for VC7 + i think is a good idea to run a debugging omc.exe sometimes to figure out random crashes.
e2ec917bedAdrian Pop- fixed a small warning
d10adfcbd5Adrian Pop- changed Makefiles to actually stop when an error happens - added copyright to printimpl.c - added some more includes for strlen, strcpy and malloc - changed version number to 1.4.3 in settingsimpl.c - changed version number, product code in Setup.vdproj - changed the way MinGW and ModelicaLibrary are handled in the .msi release now, they are packed like normal directories and files not exploded at installation from mingw.tar.gz and ModelicaLib.tar.gz I think this will fix some problems with the installation - changed 1.4.2 to 1.4.3 into all .onb files - wrote a small README-BUILD-RELEASE.txt on how to build a OpenModelica release
98a3eb3478Adrian Pop- changed Makefiles to actually stop when an error happens - added copyright to printimpl.c - added some more includes for strlen, strcpy and malloc - changed version number to 1.4.3 in settingsimpl.c - changed version number, product code in Setup.vdproj - changed the way MinGW and ModelicaLibrary are handled in the .msi release now, they are packed like normal directories and files not exploded at installation from mingw.tar.gz and ModelicaLib.tar.gz I think this will fix some problems with the installation - changed 1.4.2 to 1.4.3 into all .onb files - wrote a small README-BUILD-RELEASE.txt on how to build a OpenModelica release
34de655c99Adrian Popreplaced // with /* */ as some compilers crap on this
3306b57c3bAdrian Pop- got rid of winruntime, now everything resides in runtime and the implementation is different via compiler and OS flags - changed so that System.writeFile uses fwrite insead of fprintf as is way faster and better. - updated copyright to year 2006 and added it to most of the files. - updated SG so that it doesn't talk on winruntime anymore - updated the omc.snl project and runtime.vcproj to take files from runtime instead of winruntime. - changed winruntime to runtime anywhere I could find it. - got rid of some warnings by casting the values to the needed type.
6abd6748d0Adrian Pop- got rid of winruntime, now everything resides in runtime and the implementation is different via compiler and OS flags - changed so that System.writeFile uses fwrite insead of fprintf as is way faster and better. - updated copyright to year 2006 and added it to most of the files. - updated SG so that it doesn't talk on winruntime anymore - updated the omc.snl project and runtime.vcproj to take files from runtime instead of winruntime. - changed winruntime to runtime anywhere I could find it. - got rid of some warnings by casting the values to the needed type.
9c3fe3d0dcPeter AronssonFixed bug with pendulum example (see Pendulum.mo) (linear equation system rhs was wrong due to not sufficient Exp.terms implementation. Now uses Exp.allTerms instead)
8f8a242c42Peter AronssonForgot to remove temporary code before checkin.
bf5bb20890Peter AronssonFixed bug in cross. Added testexample in matrices.mos
36560073e8Peter AronssonAdded builtin cross function (elabBuiltinCross)
b4a3068363Adrian Pop- Changes to AST to handle MetaModelica. - Added TypeSpec with: + TPATH (path, Oprion) + TCOMPLEX(path, list, Option) - Only TPATH is used by the Modelica parser right now - fixed the ANTLR warning about string_comment returning a value
58e1b193a5Peter AronssonFixed bug in initialization. initial_residual only contains equations that solves for continuous time variables.
447fae774bPeter AronssonFixed bug with Initialization, see simualtion3.mos (InitTest.mo) and Test3PhaseSystemTotal.mo
a3dd5811d0Peter AronssonFixed bug with cardinality, See Gear.mo. Now Gear and Gear2 in TestModels.mo works, see rotationalgears.mos
cb5d5185e9Peter AronssonFixed bug with start value for arrays in DAELow
f487f5e417Peter AronssonFlat Modelica parser now allows crap at the end of file which is produced by some Modelica tools.
4bb6f1bd6fPeter AronssonFixed bug with input variables on top level, see InputOutput.mo tested in simulation3.mos
f56192ab80Peter AronssonAdded transforming equations in Absyn to use flat CREFs as in Flat Modelica parser. Fixed bug in flatparsing in walker.g for windows (missing strdup)
336c3359e9Peter AronssonFixed bug with flat modelica parsing. Now parses Real x.y=1.0;
785154e182Peter AronssonRemoved commented code.
66cd146a7cPeter AronssonAdded extra argument to buildModel and simulate: storeInTemp=false. To store all files in Settings.getTempDirectoryPath(), set this variable to true.
01246e41b4Peter AronssonFixed bugs in mixed system. LossyGearDemo1 now working, see simulation3.mos
c7cdc84603Peter AronssonFixed flat_modelica_parser which didn't work at all. It now works partly. Still problem with modificiation in tree walker.
3528e30ad9Peter AronssonAdded rudimentary boolean functions to c_runtime.
2e821319dbPeter AronssonFixed bug with default values for funcion calls. They are now added to the expression argument list so correct C-code can be generated.
73175f512cPeter AronssonFixed bugs with wrong Exp.Type in Exp.CAST expressions.
e85dc73556Adrian Pop- reverted the changes
8e1dbf0f8dAdrian Popupdate of dependencies
4843a21aa3Adrian PopMakefile changes to mirror the changes made by Peter A to Makefile.omdev.mingw
4aed02e4b5Peter AronssonEquations containing function calls returning vectors are now handled as array equations. sum(v) and sum(A) are now symbolically expanded. WhatDoesNotWork.html is updated with missing operators in 3.4.3.
33347a5921Peter AronssonAdded more type information to Exp.Exp, required to be able to generate correct code. Added some missing impl. in c_runtime. Still much to do here. Fixed bug with BouncingBallExamples.mos Fixed bug with eliminating top level input and output variables. RO attribute to Absyn.INFO now read from status of file. renameComponent now skips RO classes. Temporary fixed Test3PhaseSystem initialization. Still bugs with propagation of fixed attribute. Fixed several bugs with simplify returning expressions with wrong operators e.g. scalar ADD_ARR scalar.
94328d0bffAdrian Pop- fixed step numbering in the README-WIN32.txt
983fae96b6Adrian Pop- fixed the MSVC projects and makefiles to use OMDev binaries compiled with MSVC - updated the win32 readme: README-WIN32.txt
501a5b16fbAdrian Pop- small update to the README-WIN32.txt. - released rml-mmc-2.3.6 to make VC7 work
767a31de4aPeter AronssonImproved solving nonlinear systems. Now tries with several different factors and retries with different starting points if not successful.
c1f1ccf3c0Peter AronssonImplemented simple checkModel, returns string with number of variables and number of equations.
d36b059fcaPeter AronssonFixed bug with initialization (alg. vars fixed) Fixed bug with simplification of arrays resulting in wrong operators.
d765be7ec9Peter AronssonFixed bug with differentiating exp (HelloWorld).
08d3ee85a3Peter AronssonAdded RO flag in INFO attribute.
af81815e32Peter AronssonFixed bug in promote_integer_array(done by Kaj)
795c2f92b6Adrian Pop- fixes by Peter F. to UG, DrModelica, omc_helptext.txt - fixes by Anders Sandholm to val(name, time) - addition of the BouncingBallExamples.mo/mos to the testsuite so that this example is sure not to fail in the future (now fails)
588567e6c7Adrian Pop- fixes by Peter F. to UG, DrModelica, omc_helptext.txt - fixes by Anders Sandholm to val(name, time) - addition of the BouncingBallExamples.mo/mos to the testsuite so that this example is sure not to fail in the future (now fails)
910a260449Adrian Popfixes parts of bug 99: http://bug.modelicacommunity.org/show_bug.cgi?id=99 I added to modelica.h: typedef modelica_real sample_rettype;
92ddcaf31dAdrian Popfixed bug 97 http://bug.modelicacommunity.org/show_bug.cgi?id=97 implemented elseif within if expression by constructing IFEXPs within else part.
30565081a1Adrian Popfixed bug 86: http://bug.modelicacommunity.org/show_bug.cgi?id=86 by creating the error file in the tmp directory.
d0834b098aAdrian PopFixed bug 72: http://bug.modelicacommunity.org/show_bug.cgi?id=72 within_clause did not check for null name_path in walker.g.
c5175a994bx05andfefixed bug in paste cell command. // Anders Fernström
097dbbefcaAdrian Pop- last 1.4.2 commit + DrModelica, UG, ModelQueryAPIexamples.onb updates + val(var_name, time) implementation from Anders Sandholm
a699b6b024Adrian Popfixes for OMShell/oms.cpp to compile on Linux.
1bdf5501d3Peter AronssonFixed bug in event handling (edge used for checking changes in event. This was changed to 'change') Removed check of final in modifier since it gave errors even though correct Modelica code.
67f585b0bdPeter AronssonFixed bugs in mixed systems. It is now a quick fix.
2ede31746cx02danheFixed a bug with unparsing of logical binary operators. Parenthesis are no longer lost around expressions with operators of lower precedence.
6b7ede752fPeter Fritzsontest by petfr
f10070269aPeter AronssonFixed bug in splitting a mixed system into its discrete and continuous part.
7015578107Peter AronssonAdded comment why derivative of if expression must be allowed even though it is non-existent.
13b8be179dPeter AronssonFixed bugs in mixed system of equations (see simulation3.mos and BearingFrictionTest.mo) Fixed bug with missing events at initialization (see also BearingFrictionTest.mo)
ca4be897beAdrian Pop- updates to DrModelica by Peter F.
562bc4e4f6Adrian Pop- new stuff val(variable, time) - which is not implemented yet - new SG and UG - new file ModelQueryAPIexamples.onb - new UsersGuideExamples.onb
73f9344f51Adrian Pop- more fixing
b7fdaf7905Adrian Pop- fixed a small mistake
79de7eab99Adrian Pop- updated runtime and winruntime to be a bit closer
85d73635e7Adrian Pop- fixed some Linux stuff - fixed the API to return Modelica compatible syntax - fixed the API testsuite/mosfiles/loadFileInteractiveQualified.mos - added stdlib.h include to ExtObj.c - removed more unnecesarry files within mosfiles/ExtObj.mos
5be5cb99ccPeter AronssonFixed bug with overwriting of equations. Changed testcases Shadow1.mo and Overwriting2.mo.
23925b9fc5Peter AronssonFixed bug with connect(a.b[1],c.d), i.e. using arrays in connectors. See mofiles/Connect15.mo
122558eb1fPeter AronssonFixed bug in event handling for e.g. initial(). See BooleanModel.mo Fixed bug with discrete equations not having zero crossings not being calculated. Fixed bug with getNthConnection on connector on form a.b[1], see mosfiles/interactive_api_classes.mos.
7831d96b5ex05andfeAdded find and replace function to OMNotebook, resulted in same small changes in other files. // Anders F
ea3c988887Adrian PopChanged everywhere i could find MODELICAPATH to OPENMODELICALIBRARY!
ba7ec9b32eAdrian PopChanged everywhere i could find MODELICAPATH to OPENMODELICALIBRARY!
c67a3f7f6bAdrian PopChanged everywhere i could find MODELICAPATH to OPENMODELICALIBRARY!
9e49dc276aPeter AronssonFixed bug with missing delete for A and b arrays for linear equation systems.
b93a43f9a5David BromanAdded support for for-statements in the interactive environment.
e40c62cce1Peter AronssonFixed bugs with Test3PhaseSystem and initialization of this model. See mofiles/Test3PhaseSystems.mo
9932e8caafKaj Nyströmgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2476 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
5d6b8f9809David BromanSolved the problem with integer overflows. Now, a value is converted to a real dynamically in the interactive environment, if integer operations overflows. This is not the ideal solution. A much better solution would be to have BIG-INTEGERS. However, this is not part of the Modelica specification (2.2) and requires much more work.
c1cd99018ePeter AronssonFixed bug with trapezoid voltage source (used in e.g. NandGate). See simulation3.mos.
16e767d6c9Peter AronssonMinor changes.
967903525fPeter AronssonFixed bug with whitespace in OPENMODELICAHOME path in compileModel.
dc47506c7ePeter AronssonFixed small index bug in building string MODELICAPATH=dir
d6206d1204Peter AronssonChanged compile script to take OPENMODELICAHOME as argument. Needed for applications where OPENMODELICAHOME is not set.
0261fe9eefPeter AronssonFixed bugs with the OPENMODELICAHOME variable. MathModelica now works without having this variable and OpenModelica works with it. This means that it is now possible to have both installed.
e705b7f2ebx05andfeadded functionality so OMNotebook and OMShell check version from OMC. //Anders Fernström
f9e52cf47fx05andfeadded functionality so OMNotebook and OMShell check version from OMC. //Anders Fernström
259de82eb2Kaj NyströmFixed bug 671
7af46bd976Peter AronssonNew implementation of removeSimpleEquations2. Now handles a=-b and a=constant equations. Also redesigned to reduce code size. Added some verbose information to simulation_runtime.cpp (printed when using -v)
a07171e978Adrian Popmoving towards 1.4.2 - updated Uninstall.bat - updated the product code, product name, etc - made getVersionNr return 1.4.2
1b881032f2Peter AronssonRedesigned VarTransform to allow replacement of variables with expressions, i.e. a -> b+c. This allows elimination of more equations, like a = -b (which also has been added to DAELow)
d00f675cb7Adrian Pop- Linux has no "_putenv", changed to putenv in settingsimpl.c
ef105a830cPeter AronssonFixed bug with multile declarations, see testsuite/mofiles/MultipleDeclarations2.mo (mc bug 655)
cb5f12f134Peter AronssonFixed bug with evaluating e.g. cos(0)/2 (due to Exp.simplify (MC bug 656)
ce2d8ad0fdx02lucpocommented some code
c24aae50fcx02lucpomade the function Setting.setInstallationDirectoryPath to use putenv("OPENMODELICAHOME="
a126f52d71x02lucpoadded getTempDirectoryPath to interactive functions
d686febdc7Peter AronssonFixed bug in simplify of cos(0) * cos(0) (MC bug 654)
baaa784b68Peter AronssonChanged modelica_string_t from struct to char* to make more similar to other builtin types. Added alias variables of external objects. Array equations now supported in non-linear systems. sign is now rewritten to if-expression.
28a1895011Peter AronssonFixed bug in listUnion. Now makes union in both sub-lists as well.
4904496bf2x02lucpoadded DATA_STRING stringVaribles to handle the stringvaribles for generated code
0e78723068Peter AronssonFixed bug with subscripts, see mofiles/SubScript2.mo. Fixed bug in Exp.simplify for vector op scalar expressions.
cc5a6a85d6Peter AronssonFixed better error message when failing to connect variables of inconsistent types.
b8cf2271fcPeter AronssonFixed bug with connectors extending basictype and matrix concatenation (MC bug #643). See mosfiles/Extends4.mo
3305ab6400Peter AronssonFixed bug with connectors extending basictype and matrix multiplication (MC bug #643).
6385b7ad77x02lucpomoved getVersion from interactive to ceval
3424a43089Peter AronssonFixed bug with Strings, Integers and Booleans in connectors. (MC bug 499) mofiles/Connect14.mo Also added Connect13.mo for connectors containing arrays.
cd4c59c089Peter AronssonFixed stack overflow bug in mofiles/DependsRecursive.mo
27385ecd7cPeter AronssonFixed bug with lookup of constants in packages (infinite recursion, mofiles/Constant10.mo) Fixed bug which allows to write parameters or variables in packages (mofiles/Constan09.mo) Fixed bug with floor and ceil. (Should return Integer not Real, mofiles/Constant3.mo)
cb80de6b1fx02lucpocorrected diagonal_real_array and diagonal_integer_array
1d22022beex02lucpoadded EXTRA_SIMOBJ to compilation
693922f2ffPeter AronssonFixed bug with function argument having same name as function. See testcase mofiles/Function10.mo
bf014d5165Peter AronssonFixed bug with multiple declarations, see testsuite/mofiles/MultipleDeclarations.mo
5c9298357dPeter AronssonFixed bug with infinite recursion in lookup. See packages2.mo in testsuite. Cleaned up lookup code a bit.
a4539e4deePeter Aronssonpartly fixed bug #105 (1 and 2). Fixed bug with looking up external object. Fixed bug with sign bultin function.
5c8b937da9Peter AronssonChanged interactive commands such as simulate, buildModel, etc, evaluated in Ceval to use automatic quoting (changed to Code AST construct).
0c7ba6184aPeter AronssonFixed bugs with external object and new impl. on strings.
dcdb4c31eax02lucpopartial implemented parameters and algebraic string handling
303029fe70x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2429 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
3944c4b3a1Peter AronssonFixed bug in lookup of constants in packages throuh inherited classes. Partly fixed bug in array equations.
dd08d14b71x02lucpoimplemented -s settings.mos
b68dd149c9Peter AronssonMoved getVersionNr function to Settings.mo Fixed ExtObj.mos testcase (added missing file)
98ae67f316Peter AronssonFixed bug with algorithm sections (algorithm.mos) Fixed bug with non-linear equations (simulation2.mos) Implemented getVersion() interactive call. Implemented omc.exe ++version or ++v returns version number.
83d3601449x02lucpomade things compile
66be264a2cPeter AronssonAdded cache to almost all functions that has something to do with lookup and instantiation. Packages with constants now translates much faster.
5eb8e60b14x02lucpochanged implementation of Static.elabBuiltinSum to handle also sum(3.0) this generates an warning
ae53bfeaedx02lucpoadded public function dumpDAELowEqnList
b6d8ee2ac6x02lucpoadded so that subscripts with param are evaluated to value
25d0c02c61x02lucpocorrected an error in symplify: x+x+x+x+x (integers) became 5.0*x which made subscripts with exp not working. now it returns 5*x
34a0616238Peter AronssonExternal declaration annotation can now be given with semicolon between the annotation and the declaration.
a7a90ef48cPeter AronssonFixed more bugs with set/getExtendsModifierValue and getExtendsModifierNames.
61fd0dcc1dPeter AronssonFixed bug with get/setExtendsModifierValue (MC bug 598)
6dbe0070a7Adrian Pop- fixed: SimCodegen.c(15717) : fatal error C1061: compiler limit : blocks nested too deeply - the function: generateInitializeDeinitializationDataStruc was SF, common!
6aeb384322x05andferemoved auto-generated files from OMNotebook. // Anders F.
997dec6d6aPeter AronssonImplemented External Objects, testcase mosfiles/ExtObj.mos.
93053ff739x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2396 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a4ed1ad433x02lucpoadded isRealParam and isNonRealParam
956fbdb8eax02lucpocorrected an error on ASUB simplify
9ab5b25798x02lucpocorrected a bug that made compilation fail
79d6e05e8bx02lucpocorrected a bug concerning the " constant Real Coeff[3]={-5,-5,-5};" this could not be instatiated because Coeff[2] could not be found
9161d47792x05andfeUpdated some part of the code to make it work on unix/linux. * changed from 'exception' to 'runtime_error' * fixed search path for omc
0c13278948Peter AronssonFixed additional bugs for get and setModifierValue (MC bug #592)
ac72319040Peter AronssonFixed MC bug #592: setComponentModifierValue, Removing "outer" modifiers messes up modification. Fixed bug in Derive (implemented differentiation of sin and cos in differentiateExpTime.
347da0dc08Adrian Pop- small README-UNIX.txt for OMShell.
7d57dc9947Adrian Pop- fixed a bug in systemimpl.c that caused an endless loop in System.stringReplace - fixed the OMShell code to compile on Unix (added OMShell.pro)
cbe0b20cdbAdrian Pop- fixed a bug in systemimpl.c that caused an endless loop in System.stringReplace - fixed the OMShell code to compile on Unix (added OMShell.pro)
e886df8f7aAdrian Pop- free() in the Linux version.
24575b502bAdrian PopUpdated the XML part with the latest version of ModelicaXML and FlatModelicaXML
a4ac4c3d71Adrian Popremoved this old ModelicaXML version
2b5cce6b8aAdrian PopFixes due to refactoring of component names in Exp.mo records
3ef8adb014Adrian PopFixed these bugs: http://bug.modelicacommunity.org/show_bug.cgi?id=91 => the expression was not printed right: UMINUS(_, (n-1)) was printed (-n-1) instead of -(n-1) http://bug.modelicacommunity.org/show_bug.cgi?id=92 => 1+(1/y)^2 put the compiler in infinite loop These triggered modifications of 2 models from testsuite as the simplification is not the same now: => testsuite/mofiles/drmodelica/VanDerPol.mo => testsuite/mofiles/msl/Gear.mo
c041dbf69ePeter AronssonFixed so PATH is extended, not reset by Compile.bat
db398d4e21Peter AronssonFixed bug in getExtendsModifierNames. Added testcase NamedArguments.mo
175e934505Adrian Pop- fixed plotParametric(x, y) instead of plotParametric({x, y})
5423acfc15Adrian Pop- erased omc_interactive_api.txt text and replaced with a reference to the Users Guide - fixed a small mistake in the debug/Makefile.in - replaced the OpenModelicaSystem.* files with the new versions from Peter F. hacked a little by me
257625340fAdrian Pop- got rid of .nb files from windows Setup.vdproj - added Switch.mo to the Setup.vdproj - moved all non-overlapping models from testmodels/*.mo to Examples/*.mo + preparing to delete Setup/testmodels/ - moved UsersGuideExamples.onb from testmodels/ to Examples/
8f1f15b690x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2366 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a46c6e45e4x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2365 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
2d4c3704c3Peter AronssonFixed MC bug #590
38c7c4fe31Peter AronssonFixed MC bug #589
72a449e7c5Peter AronssonFixed MC bug #588
6be39ae47aPeter AronssonFixed bug with unconnected flow variables. Fixed MC bug #572.
5a323da0b0x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/OMNotebook/DrModelica@2359 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
feb2f49f62x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2359 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
aa933ea0c4Adrian Pop- fixed for Linux!
43889112d5Adrian Pop- fixes for Linux! - please don't use makefile.mingw in the Makefile as it breaks on Linux, instead, used make -f Makefile.omdev.mingw - changed also in build_mingw_libs.bat to use Makefile.omdev.mingw!
55c6fd670cx02lucpoadded double vector with residuals in the DATA struc
4fb215d1e0x02lucpocommented some code
f57765f410x02lucpochange the generated code to use one structure for simulation data
18266c691bPeter AronssonFixed bug with arrays in flow variables in connectors.
9fe15f2555x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/OMNotebook/DrModelica@2351 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
546a6c4b61x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2351 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
f6bc54654aPeter AronssonPartly implemented support for ExternalObject.
7eec580619x02lucpoadded a rawStringToInputstring for changing from \\ to \ and \" to "
6602570112x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2348 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
9c7355a9bbx05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2348 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
b6b34115f4Peter AronssonFixed bug in lookup of classes from inside functions. Cleaned up some comments.
fbb56453a4x05andferemoved log/error area from omshell
53544943d6Adrian Pop- fixed some 'end ident' that did not match 'function ident' - there is not testsuite/mosfiles/Constant7.mo so I changed Constant7.mo to Constant6.mo in testsuite/mofiles/Makefile
0b51b0bfc9Peter AronssonSpeeded up instantiation by changing implicit instantiation of functions. Before it instantiated whole function, now when performing lookup, only class definition of function is added to environment. Also fixed minor bug with echo.
4b4c358c00Peter AronssonImplemented getDocumentationAnnotation.
99ef263591Adrian Pop- apparently plotParametric( {x, y} ) is wrong. should be plotParametric(x, y)
a886acd053x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2336 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
b12b42f1edx02lucpoChanged build_mingw_libs.bat to use omdev-mingw Ceval are using Settings.mo setEcho to use echo removed some prints in ClassLoader.mo Interactive.mo are using Settings.mo for echo System has how strncmp to optimize things
5a6fc7cbabAdrian Pop- corrected to: end varDiscreteAttrInt; to get rid of the warning.
f6c8a52980x02lucpoChange to compiling with mingw
ae7544c857Peter AronssonMinor fixes. Moved list function to interactive to speed up model editor.
f0f5a3559eAdrian Pop- conform to Modelica grammar unary operators has to be enclosed in ( -x ) if they appear in the right side of an binary operator
f5bdf7d433Adrian Pop- optimizations and update of product code in Uninstall.bat
fad4176161Adrian Pop- updates so no OMC_BUILD_FROM is used. Also got rid of all the .rml compilation section. - small updates to readmes
445c6f5aeax05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2323 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a540fb536ex05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2322 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
19defb1da0x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/OMNotebook/DrModelica@2322 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
b1f1415a3fx05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2322 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
07abe6d2ccAdrian Popfixed a small mistake.
12f5b4506fAdrian Popgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2320 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
002e728172Adrian Popfixed plotParametric({x, y}) instead of plotParametric( x, y ). now it works
ffe0f3c993x05andfeupdated OMNotebook and OMShell, also updated three files in DrModelica. // Anders Fernström
f21c55d5b9x05andfeupdated OMNotebook and OMShell, also updated three files in DrModelica. // Anders Fernström
3f72a8e962x05andfeupdated OMNotebook and OMShell, also updated three files in DrModelica. // Anders Fernström
cc94a26b22Peter AronssonTranslated all RML files to MetaModelica.
c524bd8d42Peter AronssonDeleted since autogenerated.
33991003f9Adrian Pop- changed in Derive.rml: SimCodeGen.rml -> SimCodegen.rml otherwise the compilation on Linux fails.
a2be60e3feAdrian Pop- better instructions on how you can run the testsuite from Eclipse or MSYS terminal
a669d1d684Adrian Pop- added instructions on MDT installation.
929cdb0bd6Adrian Popupdated instructions for compilation using OMDev-mingw package.
1a5a9578caAdrian Pop- new project sample that has no modelica syntax checker builder.
c3c21207c4Adrian Pop.project and .cdtproject samples to work with C/C++ perspective.
bacb4bb7adPeter AronssonRemoved print message in get_pathed_class_in_program
79dc92c28aAdrian Pop- fixed so that pattern = arrayNth(arr, index); is dumped as: pattern = arr[index + 1];
9480558208Adrian Pop- added more stack to the translator
65e70b1c71Adrian Pop- fixed the (x => y) option problem in the translator - fixed better escaping of rml comments to MetaModelica strings.
1db0c7e2efPeter AronssonFixed bug in functionDAE_res. Now old values of derivatives are used as "guess" values.
3a67029aadAdrian PopSmall .rc modification. Added some optimization flags to the compiler.
e3a8d5aa02Peter AronssonAdded special case for pre in nonlinear residuals. The variable in pre should not be replaced in this case.
4cfc5d3687x02lucpofixed a bug in load_file. Under windows the loading of packages could not handle filenames with "/" only with "\"
b38a5bee3dx02lucpochange the name of some dummy-var from der_a.b.c to a.b.der(c)
4e3d86d058Peter AronssonFixed bug when giving integer values to startTime and stopTime.
4e668759f1x02lucpofixed an error in generate_makefile
a30e1ac22dx02lucpochanged the makefile to contain the path to dir of mo-file in include and libs
66be270d80Peter AronssonFixed minor bugs for codegen of tempInterpol function.
cc8cae62a6Peter AronssonRemoved some print statements. Reverted luc change of der_x to der(x) in Variable name. Now uses der_x again. It did not work with defines to have parentheses.
f22b6e76c6x02lucpochanged the name of dummyder from der_a.b.c to a.b.der(c)
36ff1af21bPeter AronssonImpl. support for Modelica.Math.tempInterpol1, including improved handling of arrays in simulation code.
a08e39e804x02lucpocorrected an error in rename_class
5f71a63008x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2284 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
c69794a7b3Adrian Popfixes local declaration when variables are actual val declarations
4ff7f09e53Adrian Popadded OMCMonitor to trunk/tools
60b94be997Adrian PopNot needed, I will generate it again when we move to VC2005. Adrian/
6bc8492594Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-03-25 Quite some modifications to the setup project, the testsuite and RML to MetaModelica translator. OMC Stuff: ========== - taken out WinMosh from the modeq.sln (not needed). - fixed a new Uninstall.ico, i hated the one before. - added a link to OpenModelica website in the user menu, an icon for the url, etc. - added the converted DrModelica onb files to the Setup.vdproj. - made all .mo and .mos files have LF ending, otherwise Perl does not do well when checking the test results.
739e04ac63Adrian Popa link to OpenModelica Website to be used in the OpenModelica Menu Options
908f26692aAdrian PopI fixed Codegen.generate_buitin_function to always use 'fabs' instead of 'abs', no matter what type the argument has. I did some tests and it seems to work on any compiler. All the tests go.
17aeedca67x05andfe* fixed some small bugs in OMNotebook * updated Mathematica parser in OMNotebook * updated the OMNotebookHelp.onb documentation * converted DrModelica to OMNotebook // Anders Fernström
968d4b964cx05andfe* fixed some small bugs in OMNotebook * updated Mathematica parser in OMNotebook * updated the OMNotebookHelp.onb documentation * converted DrModelica to OMNotebook // Anders Fernström
471a0af01fPeter AronssonAdded testcases from MathCore testsuite.
af61583108Adrian PopFixed the imports as there are intermediate results from function calls that require additional module imports. Please DO NOT TAKE THEM OUT.
13ea30956dPeter AronssonAdded better error messages when building. etc.
9da670ca15Adrian PopAs you can see here: http://packages.ubuntulinux.org/cgi-bin/search_contents.pl?searchmode=filelist&word=libantlr-dev&version=breezy&arch=i386 on Ubuntu Linux the antlr is placed in: /usr/include/antlr /usr/lib I added those in the search for ANTLR includes and libs. I found this out while I was helping Dietmar Winkler from TU-Berlin to install RML and OpenModelica on Ubuntu Linux.
82f11e26bePeter AronssonReverted errormessages in parse. Did not work in interactive.
459cdb2a0fPeter AronssonAdded floor_rettype
4ec3b9cdf2Peter AronssonFixed bug in generating zero equations for unconnected connectors. Fixed so parsestring and parseexpstr now also use new error message impl.
ad3e89a1fdx02lucpoadded executable file name to generate_init_data
d08deade69Adrian Poprenamed to just have it as a guide
7cb6beb6b6Adrian Pop- edited the README-OMDev-MINGW.txt to change the way we handle .project and .externalToolBuilder/*.launch
8a63b4d9fcx02lucpooptimized rename_class
ebfd2c97a5Peter AronssonFixed bug in intialization.
6db790fc96Peter AronssonAdded function bound_parameters to codegen to be used together with new initialization routines.
dc55b61636Adrian Popsmall change
6d316f2f2fx02lucpoadded some extra macros for facilitating adding new source-files and flags automatically
94d37a2ae6Adrian Popsmall fixes to vc7 setup and winruntime
d3bbcb5702Adrian Popundated to Java names all the names of the external relations! please, if you add some other external relations do not use "_" in it at least until we move to MetaModelica.
7a8e3d99d9Adrian Popcreated new project conform to MDT 0.6.0 and OMDev.
91a1fb6a29Adrian Popsmall timing modifications
0c5afe7281Adrian Pop- reverted the getClassInformation(name) API to NOT return the class name
20b14ee69aAdrian Pop- fixed Interactive.rml - get_class_information, missing a \" before class name in the returned string. - fixed omc_interactive_api.txt to agree with latest changes - fixed interactive_api_attributes.mos to agree with latest changes - fixed loadFileInteractiveQualified.mos to agree with latest changes - small modification to OMDev related Makefile.omdev.mingw and rml2sig/rmldep-new.sh
d1b5a5d3e4x05andfeUsing qt to start OMC in both OMNotebook and OMShell. No console window is now neccessary for OMC. // Anders Fernström
9b27ec12a8x05andfeUsing qt to start OMC in both OMNotebook and OMShell. No console window is now neccessary for OMC. // Anders Fernström
317532e185x02lucpochanged get_class_information to return the name as second arg
107cfed195x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2212 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
791ef35b01Adrian Popchanges to: - .project (removed the MDT builder) (uses OpenModelica as project root) - builder OMDev-MINGW-OpenModelicaBuilder.launch (now builds from mo directly and has as OMDev path /c/OMdev) - Makefile.omdev.mingw (don't copy serialization files are they are not generated, print the dependency generation time) - rml2sig/rmldep-new.sh give some messages and generation time
9b0cb2fa52Adrian Pop- removed unused imports from .rml files - fixed rml2sig/rmldep-new.sh to dump .sig instead of .rsig - fixed Makefile.omdev.mingw to not copy *.sig only *.srz to omc_debug and omc_release
69c5f153fcAdrian PopAdded VC8 for compiling OpenModelica with VC2005
b9d3341ca6Adrian PopRemoved after it was copied to trunk/tools/rml2mod
ed0ddc888bAdrian Poprelocated to trunk/tools/rml2mod
25b6787669Adrian PopAdrian Pop: - relocate "xml" directory to "tools"
8326457d4dAdrian PopAdrian Pop, adrpo@ida.liu.se, 2006-03-10 - updated RML->MetaModelica translator to latest version!
9c7ddd9ed2Peter Aronssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2199 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
8784e1c231Adrian PopAdrian Pop, - Added DAEEXT__clearDiferentiated to the ExternalRMLDefines.h
710df77cf8Peter AronssonFixed bug in getClassInformation. Seems unneccessary to return class name since that is was is passed to function.
885d12d3c8Peter AronssonFixed bug with clearing differntiated equations marks when running interactive.
d44dd5dc2aPeter AronssonThe fixed attribute of a dummy derivative is now propagated (trough the constraint equation) to the state.
8b16e4f231Peter AronssonImlemented prototype initialization scheme using optimization.(Bernhard Bachmann).
0e8069c9a0Peter AronssonImlemented prototype initialization scheme using optimization.(Bernhard Bachmann).
d50425adc6x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2192 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a1578ea9d2Adrian Popnot needed, copied on compile from Compiler/
a94d53877fAdrian Popnot needed, copied on compile from Compiler/
3429718946Adrian PopOMDev fixes
cb18bd9bf5Adrian PopFixed an error that prevented generation of the .mo again when .rml are newer.
c8ab6af145x02lucpocorrected some errors for the new setup
f761ff9b34x02lucpocorrected the return value from renameClass
919bc4e8c4x02lucpomade renameClass to return a string-list with the path of the changed classes
7da42ef6b7Adrian PopJust text changes
673590fe17x05andfefixed some small bugs in OMNotebook and added automatic chapter numbering to the stylesheet. // Anders Fernström
5cab5d8accPeter AronssonImplemented residual function for intitial calculation.
55cfc9402dPeter AronssonImplemented remove of simple equations after matching. Implemented propagation of initial values on dummy states onto proper states.
f50fb51c65Adrian PopAdrian Pop, 2006-03-01 Updated OMDev makefiles
e256fc8e84Adrian PopAdrian Pop, - small changes to make runtime and winruntime more uniform.
1128b33535x05andfeadded backwards compatible to the search for DrModelica and OMC in OMNotebook and OMShell // Anders Fernström
992ae37e11x05andfeadded backwards compatible to the search for DrModelica and OMC in OMNotebook and OMShell // Anders Fernström
4d6cf184fdx05andfeupdated OMNotebook and OMShell so the applications uses the OPENMODELICAPATH to find DrModelica and omc.exe during start up. // Anders Fernström
3c60578847x05andfeupdated OMNotebook and OMShell so the applications uses the OPENMODELICAPATH to find DrModelica and omc.exe during start up. // Anders Fernström
79afa70bcdAdrian PopAdded script to plot from Linux.
f6f430cdd0Adrian PopRemoved file/folder as they were moved to doc/omc_helptext.txt doc/omc_interactive_api.txt
4e29f9c3ddAdrian PopAdrian Pop, 2006-02-26 - compilation on Linux, Cygwin, MSVC works now from SVN. All tests are OK. - big changes to compilation result structure: The compilation result has now the following structure: build/bin (omc, OMShell, OMNotebook, ptplot.jar, Compile.bat, Compile, doPlot.bat, doPlot, omc_helptext.txt) build/include (all the .h files from c_runtime) build/lib (all the lib* and libf2c/lib* files from c_runtime) build/doc (trunk/doc and Compiler/doc) build/doc/testmodels (all the trunk/Examples/*.* files) --------------------------------------------- - the makefiles now copy the needed files to the above structure after compilation - changed the rml files to use this structure when compiling, or plotting. - changed the rtest files to use the build structure when running tests - changed the VC7 setup to use this structure when deploying - changed mosh (changed its name to OMShell) to use this structure when running omc - added an install to the root Makefile that installs in what was give to configure --prefix=path or just ./install if none given.
4340d8936cAdrian PopAdrian Pop, 2006-02-26 - compilation on Linux, Cygwin, MSVC works now from SVN. All tests are OK. - big changes to compilation result structure: The compilation result has now the following structure: build/bin (omc, OMShell, OMNotebook, ptplot.jar, Compile.bat, Compile, doPlot.bat, doPlot, omc_helptext.txt) build/include (all the .h files from c_runtime) build/lib (all the lib* and libf2c/lib* files from c_runtime) build/doc (trunk/doc and Compiler/doc) build/doc/testmodels (all the trunk/Examples/*.* files) --------------------------------------------- - the makefiles now copy the needed files to the above structure after compilation - changed the rml files to use this structure when compiling, or plotting. - changed the rtest files to use the build structure when running tests - changed the VC7 setup to use this structure when deploying - changed mosh (changed its name to OMShell) to use this structure when running omc - added an install to the root Makefile that installs in what was give to configure --prefix=path or just ./install if none given.
e5d7609194Adrian PopAdrian Pop, 2006-02-26 -added trunk/build with bin, include and lib directories. -modified makefiles to use these directories
b1d7f5f8cdAdrian PopAdrian Pop, 2006-02-26 -added trunk/build with bin, include and lib directories. -modified makefiles to use these directories
a0e2db1ceaAdrian PopAdrian Pop, 2005-02-26 Changed some Makefile.in to copy executables directly into trunk/. not Compiler/. Also now it uses EXEEXT in all the needed Makefiles. This change is to allow mosh to find the omc compiler in the OPENMODELICAHOME not in OPENMODELICAHOME/Compiler and to move forward to a structure like: trunk/build |-bin |-lib \-include meaning that all the needed files should be in the trunk/build directory after compilation.
79063e3d6dAdrian PopAdrian Pop, 2005-02-26 Changed some Makefile.in to copy executables directly into trunk/. not Compiler/. Also now it uses EXEEXT in all the needed Makefiles. This change is to allow mosh to find the omc compiler in the OPENMODELICAHOME not in OPENMODELICAHOME/Compiler and to move forward to a structure like: trunk/build |-bin |-lib \-include meaning that all the needed files should be in the trunk/build directory after compilation.
3203576c84Adrian PopRemoved file/folder
cab31514b6Adrian PopAdrian Pop, 2006-02-25 - fixed Linux compilation issues - fixed testsuite/mosfiles/rtest to call egrep without path. (you can't assume egrep is where you expect it to be) - fixed testsuite/mofiles/drmodelica/Makefile: InValid -> Invalid (Linux case issue) - fixed Compiler/absyn_builder/walker.g set k=1; (antlr-2.7.6) anyway we don't use any lookahead in the tree parser - fixed Compiler/Ceval.rml to use the .exe on Linux also, because it does not find the file to simulate otherwise
0abdf226e3Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-24 - changed/added API functions + have a look at Compiler/interactive_api.txt or: - testsuite/mosfiles/interactive_api_attributes.mos - testsuite/mosfiles/loadFileInteractiveQualified.mos + changed getClassInformation API in Compiler/Interactive.rml + added getClassAttributes API in Compiler/Interactive.rml
b36552f3f4Andreas Remar* fix include path when building with mico 2.3.12
b645b35f27Peter AronssonFixed bug in initialization. Now handles initial equation better.
cc48704c44Peter AronssonPartly implemented support for Modelica.Math.tempInterpol2 function.
2694ab8bc3Peter AronssonFixed bug with type conversion (Integer->Real) in arrays. (MC bug 396)
4f6b136fa2Peter AronssonFixed bug (MC 461)
cbd2040f07Peter AronssonFixed bug (MC 411)
9073c3d40dx05andfeSmall fix to OMNotebook and changed the folder name OMS to OMShell. //Anders Fernström
10ce57f8e2x05andfeSmall fix to OMNotebook and changed the folder name OMS to OMShell. //Anders Fernström
3fbd001fcaPeter AronssonSee previous log.
5842ab0958Peter AronssonFixed bug (MC 382)
d4864b693ex05andfechanged same small thing in OMShell and OMNotebook. Both applications are using Qt 4.1, Open Source license now. // Anders Fernström
8bb0610097x05andfechanged same small thing in OMShell and OMNotebook. Both applications are using Qt 4.1, Open Source license now. // Anders Fernström
18ab58aad1x02lucpochanged the generate_init_data to use tolerance and output-steps
6795522493Peter AronssonOne more bugfix for (MC bug 443).
4c43de17b3Peter AronssonAdded error message for wrong type in modifiers.(MC bug 443) Fixed bug when turning of error messages in Inst.
5d56f87c3bx02lucpomade loadFileInteractiveQualified work lazy
fc99aeca1dPeter AronssonFixed bug with initialization and added some predefined types.
17baf44c07x02lucpoadded a settings-module for different global settings
dc6f9c72d9x02lucpooptimize extract all components
8cc469c07fx05andfeupdated OMNotebook updated // Anders Fernström
7c77b83a08Peter AronssonAdded abs_rettype
a73761c788x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2140 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
aca248073fAdrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-17 I hope this is the final version of the getCrefInfo! Changed: Compiler/Interactive.rml and testsuite/mosfiles/loadFileInteractiveQualified.mos There are no class* position info now. Instead they replaced the element* position info.
a06b483cb0Peter AronssonFixed bug in generate_mixed_discrete_combination_values.
9ceda5adcfPeter AronssonPartly implemented mixed system of equations. The solver now takes a tiny step beyond events such that mixed systems can be solved. Perhaps this can be done smarter in the future.
f1c71410bdx02lucpodo not remove /B from exit
819821a8eax02lucpoimplemented rename_class to change the class-name in all the program
4938bf2c40x05andfeupdated version om OMNotebook. // Anders Fernström
8533b6a1a6David BromanAdded support for interactive versions of the "if" and "while" statement. Further, functions added in the interactive environment will now be type checked directly (not waiting until the function is called). Test cases are added to check the new functionality.
8ead64927cx02lucpoadded load_file(string) => Absyn.Program in ClassLoader.rml. this loads the file or whole package
d209d29c74x02lucpoadded Rename-component test to test-suite
f1737cc576Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-14. I put back the position information of a class that is part of an element, because the element could be created, not parsed and has no position then.
8e5a9bb97dx02lucpoadded Rename-component test to test-suite
18f94dd1f9Peter AronssonFixes to luc checkin. Removed trailing '&'.
2f177521dbAdrian PopSeems this file is really needed.
194c880801Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-14
323407e705x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2109 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
31441bd4ddPeter AronssonrReverted if-equations.
a1382cb5fbx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2106 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
572b06beb0x02lucpocorrected a mul-array bug
90e14e218bx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2104 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
c9cfc28cefAdrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-09 Fixed getElementsInfo interactive API. Fixed the testsuite/mosfiles/loadFileInteractiveQualified.mos Fixed the interactive_api.txt to follow the latest changed
6049ac3b38Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-09 Fixed so a trailing \" after an integer is not shown. changed Interactive.rml:getElementsInfo
313739db08x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2100 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a465b92ec4x05andfemade a small change to how omshell handles connection loss to OMC. Also added a question box that asks if it is ok to quit OMC when omshell quits. // Anders Fernström
26bd418d32Andreas Remar* added PANIC MODE error recovery to the parser. This breaks two tests (ParseError1 and 2) so those are temporarily fixed.
a6afc9e484x02lucpocorrected a div_array error
d6f2da79f0Andreas Remar* make sure generated file is called 'a.exe' so you can compile in GNU/Linux (and other OS'es)
f2a5bf67a0Peter AronssonImplemented support for structural if expressions. See mosfiles/structural_if.mo. The matching algrithm and strong components algorithm are are affected by this.
c34dc8876bAdrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-08 Fixed winruntime/Error* to agree with the new ErrorExt.rml and new Absyn.INFO
149e4c2264Adrian Popnew externals in DAEEXT.rml
651f1b688aAdrian Popnew externals in DAEEXT.rml
784d6e4926Adrian Popnew externals in DAEEXT.rml
9cb1bce5d6Peter AronssonFixed bug (infinite loop) in building when equations.
992c674ba4Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-06 - changed Absyn.INFO(file, isReadOnly, startline, startcolumn, endline, endcolumn) - the endline/endcolumn is not very easy to get from ANTLR, so I just used the same values as startline, startcolumn for now.
f0d1633a17Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-04 This file is really not needed as is generated by ANTLR.
ba0b214ed1x05andfefixed some bugs in omnotebook, // Anders Fernström
9479615544Peter AronssonFixed bug in Bouncingball. Added n_bounce variable that counts number of bounces so testsuite is more robust
b748d9e954x05andfeupdated OMS, changed name from OMS to OMShell // Anders Fernström
8dbb93a654Peter AronssonFixed bug with index reduction: already differntiated equations should not be differentiated again. Fixed bugs with event handling. Changed interactive api for comments.
7c32f993d8x05andfemade some updates on OMS communication with OMC. // Anders Fernström
abc7c1586eAdrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-02 - fixed so that Makefile.omdev.mingw use rml2sig/rmldep-new.sh instead of rmldep.sh - fixed some text messages in the Makefile.omdev.mingw Makefiles that appear when variables are not set
794e64d1b2x05andfeadded OMNotebook source code. // Anders Fernström
2d46ccfd9fAdrian PopWill be replaced by rmldep-new.sh which should be called by the Makefile.omdev.mingw Makefiles
e996e5ca3fPeter AronssonRemoved adrians changes!
f4d988e3b0Kaj Nyströmupdated mostly comments and whitespace in order to simplify translation to MetaModelica
c8caef3825Adrian PopAdrian Pop, adrpo@ida.liu.se, 206-02-01 Fixed the rmldep.sh script. It had a little problem.
f6d9460d6fAdrian PopNot needed anymore as they were replaced by Makefile.omdev.mingw all over the place
dc3f43e892Adrian PopAdrian Pop, 2006-02-01 Added for JavaNames fixing in RML files
92cc092f3aAdrian PopAdrian Pop, 2006-02-01 - based on a define I fix the java name for VALUES__reverseMatrix or VALUES__reverse_5fmatrix
2aede2b78eAdrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-01 ----------------------------------------- -systemimpl.c modified to fix java names. -the modification is based on a define, so it will work ok in the normal case
9412a57013Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-01 - rmldep.sh changed so it is based on rml - rmldep-old.sh is present also there if you need it.
3f362aef94Adrian PopOMDev compilation files + Eclipse project + eclipse builder. ---- Adrian Pop, adrpo@ida.liu.se, 2006-02-01 ----
435bab355dPeter Aronsson-Major rework in SimCodegen. Most parts now uses Codegen.generate_expression as they should. -Implemented assert and iniitial in codegen. - Event handling does no longer generate event code for discrete expressions, eg. pre(v) == 4. - Implemented special rule for differentiating a DUMMY_STATE variable. - Fixed bug with cardinality (covered in testsuite/mofiles/msl/Gear.mo) - Renamed mofiles/msl_1_5 to mofiles/msl as it now contains models from MSL v 2.2 as well. -Changed boolean represenation in c_runtime to be double so a boolean variable can be treated as an algebraic var.
1fe3c6fbfax05andfeupdated WinMosh to OMS and made some small changes... // Anders Fernström
12aecc3218Adrian PopAdrian Pop, 2006-01-28 - mingw compilation issues fixes - cygwin/msvc still work
b5cac9361aAdrian PopAdrian Pop, 2006-01-28 - fixes the compilation with mingw - cygwin/msvc still works normally
9c6a908dd7Adrian PopAdrian Pop, 2006-01-28 - fixes the compilation of libruntime on MINGW32 - now it compiles using mingw make
c4f3dd76f0Adrian Pop2006-01-28 - Adrian Pop, adrpo@ida.liu.se - added trunk/c_runtime/libf2c/makefile.mingw - the trunk/c_rutime/Makefile can call mingw32-make -u makefile.mingw in the libf2c directory in order to compile libf2c.a using msys+mingw
d9def15df6Peter AronssonFixed bug instantiating Gear. Inherited elements where looked up from current env which could be encapsulated. Instead it should be looked up from top scope since baseclass annotation already was fully qualified.
9289feac1ex02lucporemoved a error in nestled DIVISION macros
15ec2df351Peter AronssonImplemented getClassInformation(classname) => {restriction, comment, sourcefile} setClassComment(classname,comment) setComponentComment(class,comp,comment) setConnectionComment(class,c1,c2,comment)
b6f627fd7dPeter AronssonRemoved luc_pop last checkin since he removed a lot of my stuff from previous version. Also fixed bug with Gear model.
365914714bAdrian Pop2006-01-24 adrpo@ida - changes to comments only - moved comments arround so they apper in the generated .mo files
e46af105a4David BromanUpdated the help text, so that no line consist of more than 80 characters.
fedfecf09ex02lucporemoved an error from getDiagramAnnotation and getConnectionCount on derived classes
6b7cf090dex02lucpomade the inst_element_list to continue even if inst_element failed.
63551f3eeePeter AronssonFixed bug with bindings not getting automatic type converts in make_binding.
73138e3ecePeter AronssonFixed bug with setComponentModifierValue. fixed bug with instantiating partial classes in inst_class_basictype.
856cedbb80x02lucpochanged the generated code so that now it have instead of x[1] $a$pointb$pointd. (a.b.d) corrected a bug in System.string_replace
1edd1e9de9Peter AronssonAdded symbolic simplification of matrix and vector operations (addition, multiplication, etc) in Exp.simplify Added symbolic simpl. in elab_builtin_diagonal Added elab_builtin_scalar.
179e030ec0Adrian Pop2006-01-16 - adrpo@ida.liu.se - refactorings of .rml files to make translation easier + comment handling + types + imports
9f96ed0727Peter AronssonImplemented connectors extending from basictypes (Modelica v2.2) for instance connector RealInput2 extends Real[2]; end RealInput2;
94b253826ex02lucpochanged void to int in checkForDiscreteVarChanges(double *t); changed the position of using namespace std; in simulation_runtime.h made global relation c_add_cleanups : (CFunction, CleanupStatement list) => CFunction corrected the generation of code and added return statetements to all c-functions
6dadc56346Peter AronssonImplemented partial support for array equations on form v = foo(...). Other array equations should be flattened into scalar equations. Testcase: ArrayEquation.mos.
0f715fdf8fPeter AronssonPartly implemented array equations. Fixed testsuite. Apparently someone has missunderstood the meaning of failingtests. Now all tests go through again....
d615de78c6x02lucpocorrected a bug in division macro
80f48a17a6x02lucpocorrected a bug in division macro
437e8dbe21x02lucpoadded DIVISION by zero check
c896288926x02lucporemove rem from "rem exit %ERROR%"
c377381eeex02lucpoadded getName(double* ptr) to be generated in the c-code. This will be used for DIVISION macros. Redirected both stderr and stdout in the compile command to log-file
7e97d5dd12x02lucpoadded getName(double* ptr) to be generated in the c-code. This will be used for DIVISION macros. Redirected both stderr and stdout in the compile command to log-file
192bc54d49Peter AronssonChanged errorhandling to use the new Error module with separate error messages in large table and unique error codes. Client tools should use getMessagesString or getMessagesStringInternal.
d0ddda6ca1Adrian Pop2005-12-16 adrpo@ida.liu.se - added loadFileInteractiveQualfied to the Compiler/interactive_api
50d6368473Adrian Pop2005-12-16 adrpo@ida.liu.se - added "loadFileInteractiveQualified" API + this returns the top names quafified with the path from within statement. - added loadFileInteractiveQualfied.mos and loadFile*.mo in the testsuite.
dcff6bfa96Adrian Pop2005-12-14 adrpo@ida.liu.se
6b6a8ef7d4Peter AronssonFixed bug in connecting arrays of components. Added testcase FlexibleShaft.
cfc6b31169Levon SaldamliFixed nicer plotting. Fixed missing term for neumann/robin boundary conditions in Poisson2D, Diffusion2D in FEMForms Fixed implementation bug workaround for neumann/robin boundary conditions
ed2885e0dex02lucpomade calculate_param_sizes to use is_param. corrected the generation of variable names and comments
d3bb60816ePeter AronssonRemoved error message from simulation record. It should be in error buffer. Fixed dr_modelica testsuite. (bugs in .mo files, etc).
ea323f44e4Peter AronssonAdded bool value when lowering DAE. If true, add dummy variable to make sure at least one state is present. If false, no dummy state added.
54f670862cPeter AronssonFixed bug with vectorized der operatators giving unwanted errormessage.
a7363f87d6Peter AronssonImplemented promote in matrix constructors. (Testcase BC11.mo now works). Fixed bug in cat operator. cat(2,{{1},{2},{3},{{4},{5},6}}) now works. (matrices.mos)
d5fdea6dafx02lucpoimproved compile_model relation
eff29ced04x05andfeadded OMNotebook, the version uses QT3 and accompanied openmodelica release v1.3 and v1.3.1. //Anders Fernström
e2da957e58Kaj Nyströmupdated again withplotParametric
61620f3470Håkan LundvallNew examples and usersguide
e988a03c95Håkan LundvallChanged so that the names of the external libs are put in a file named .libs instead of on the command line to the compile script. Otherwise system() in win32 fail.
8b4a895b59Kaj NyströmRemoved plotParametric for now until further investigations are completed
29eb03acdbKaj NyströmBetter documentation and errorhandling in plotpparametric
3a8ee03c42x02lucpochanged the System.trimg in compile_model to System.string_replace
65484d69c9Kaj NyströmImplemented the command plotParametric
b5f6c2a700x02lucporedirected the stderr and stdout to .log
42dd8085cfx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1988 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
6ca6f99981Peter AronssonFixed bug in setComponentAttributes Added initialization of parameters depending on other parameters (expressions of).
fdbf49af20Adrian Pop2005-11-24 adrpo@ida - windows stdlib doesn't have setenv, changed systemimpl.c so it uses _putenv("var=value")
ded4be47f4Adrian Pop2005-11-24 adrpo@ida - added System.set_env(var:string, value:string, overwrite:int) - added systemimpl.c for System.set_env for both runtime and winruntime - added getEnvironmentVar("varname") and setEnvironmentVar("varname","varvalue") to the Interactive API in Interactive.rml - added help to those into interactive_api.txt
3ea048d5d9x02lucpoforgot to add "setCompileCommand" to Static.rml
7bb11d9807x02lucpoimplemented set_compile_command and get_compile_command reimplemented compile_model to use get_compile_command reimplemented Compile.bat and Compile to use the new way to call the compilation
ba3afc895fx02lucpocorrected the generation of code to put out the correct values for different arrays
395a40989aKaj Nyströmminor updates
2cb0ed6020Håkan LundvallFixed bug in transformation of if-equations
39ff25ae9aPeter AronssonFurther fixes to ASUB bug in Exp.simlify. Added dummy state always present to make dassl happy if run with model without states.
bf0032f367Peter AronssonFixed bug with simplifying ASUB. Fixed bug for small equation system (array expandsion with expandedsize=0) Fixed remove simple equation bug (removing parameter)
f7632b6e8dPeter AronssonPartly fixed MathCore bug no 345. (Constants in packages, etc.)
6d72b4b68aPeter AronssonStandard math functions in Modelica.Math are not evaluated instead of compiled and run in Ceval.rml
eedd717a05x02lucpocorrected generation of varnames and parameters
040c3d16b7Håkan LundvallTransformation of if-equations to expressions Updated helptext Updated setup-project
4c5a96c343Peter AronssonAdded better error messages to SimCodegen.rml
65508f46fbPeter AronssonFixed rounding in ExternalLibraries.mos using floor and echo.
a7a8e7c3bcPeter AronssonFixed bug with simulate, added extra parameter to fail cases as well.
3fb865b69cPeter AronssonFixed bugs with whitespace when calling plot, etc. in windows.
0b55befb3dx02lucpocorrected a bug in makefile: if a class where a.b.c then MinGW will compile the exe with the name a.b.c and NOT a.b.c.exe
187ed8f688x02lucpocorrected bug 337 mathcore
62877479fbPeter AronssonAdded initialization of matrix and vector declarations.
fce530cbd4Kaj NyströmField names for Modelica+ inserted in comments
b8381c07d1x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1961 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
710299817bx02lucpoadded to build_model a rule so that it changes the dir to the file where the class is.
10f37dca76Peter AronssonImplemented Each modifier, testcase Each1.mo
81ce0e08e2x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1958 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
37c6875cb5x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1957 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a728bbb0e4Adrian Pop2005-11-11 adrpo@ida - added several relations to Interactive.rml and an API function called: getElementsInfo - read more in interactive_api.txt
0d37d3174fAdrian Pop2005-11-11 adrpo@ida - added several relations to Interactive.rml and an API function called: getElementsInfo - read more in interactive_api.txt
5a2a929d92Peter AronssonFixed bugs with initial_function codegen.
2a1e499a08Peter AronssonFixed solving equation systems in output sections. fixed listVariables bug (not considering builtin variable $echo)
9a9053727dPeter AronssonFixed bug #41. start values that are expressions are now calculated in initial_function. NOTE: Those start values can therefore not be changed from init file.
c114487970Peter Aronssonfixed bug in updateComponent (final, repl, etc.) implemented echo. echo(true) turns on echo of result in mosh, echo(false) turns off echo. fixed bug with connections (msl_1_5/BC8.mo now works. Added msl files to testsuite in makefile.
57a898c493Peter Aronssonstring replace impl. in cygwinruntime now also in winruntime.
8a662e3f94x02lucpochanged Interactive.rml to compile with VC7.1
995d2b30d4Peter AronssonSplit evaluate_graphical_api into two relations so it compiles under Visual studio.
46d0e9ca2cAdrian Pop2005-11-04 adrpo@ida - added getCrefInfo(cref) to interactive_api.txt
5878923a73Peter AronssonImplemented getClassRestriction in Interactive.rml, returns a string with the class restriction.
bc5b1bdb1aPeter AronssonImplemented external function annotation Library and Include. Implemented setComponentAttributes. Cleaned up mosfiles testing by removing temporary files using system(rm -rf ...)
2d6a893302Adrian Pop2005-11-03 adrpo@ida - added get_cref_info relation - added API command getCrefInfo(cref) which returns the following format: filename,lineno,columno
681c797124Peter AronssonAdded annotation to external decl, needed for Library and Include annotation. Still need to do the implementation though.
d02a0193d1Adrian Pop2005-11-01 adrpo@ida - bug fixing of walker.g for parsing of Modelica 2.2 with position info
d93395e079Håkan Lundvall- Added test case for events - Updated winruntime after changes in runtime - Added missing return statement in printimpl.c
e5fa18c91cPeter AronssonImplemented constant evaluation of the following operators: vector cat transpose identity
a2c788fb9aAdrian Pop2005-10-31 adrpo@ida - added Info datatype INFO(filename, lineno, columnno) - changed so that CLASS and ELEMENT uses the Info datatype - fixed everything in the other rml files - tested on the standard tests and passed
9becb6527bAdrian Pop2005-10-31 adrpo@ida - added line/column info to CLASS and ELEMENT construction
7a6afdfe7fx02lucpoMerged R1903 BRANCH into trunk
a943e76d65Peter AronssonImplemented vectorized calls of functions. Removed temporary hack for der operator. Testcases: Vectorizable1.mo - Vectorizable5.mo.
2638100d66Håkan LundvallFixed core dump when closing with ctrl-D
dbaff7001dHåkan LundvallFixed core dump when closing with ctrl-D
ce1cb2c32fPeter AronssonFixed bug #2. Can not handle arrays of strings yet. Testexample mosfiles/strings.mos
422a4c1c7bPeter AronssonFixed bug #32
bb297a2357Peter AronssonFixed bug #9. Implemented cardinality.
7e7700c7f0x02lucposwitched back includes in c_runtime to make possible compilation gcc
62ff637a83Peter AronssonFixed bug #37, Testcase Array10.mo. Fixed bug #38, Testcase Array11.mo.
6861e2f233x02lucposwitched some includes in c_runtime to make possible compilation with VC 6.0
beef0c5b16Peter AronssonFixed two unparsebugs, tuple assignments and elseif branches in algorithm sections.
8a91282546Peter AronssonFixed bug #36: merging of modifiers in redeclare. Testcases: Redeclare4.mo Redeclare5.mo.
e89f83feaaHåkan LundvallFixed: Correct type on returned array from readSimulationResult Fixed: Prefix on crefs inside when-conditions
3cdcc14f68Peter AronssonAdded comment to constraining clause in Absyn. Relaxed Real literal construction in lexer, now accepts .1 and -.5. Fixed get_diagram_annotation bug in Interactive.rml
ac2140fb3cPeter AronssonFixed bug #13, #34. Fixed so loadModel and loadFile returns parse error messages, if any, to error buffer.
bae01284aePeter AronssonFixed bug in getComponentAnnotations in Modelica.Blocks.Math.Gain, wrong order of protected and public components.
4854a24bafHåkan Lundvall* fixed font in winmosh * plot with scalar argument * small changes i welcome text and about box
48c604fef2Håkan LundvallLast fixes before release of 1.3
62b192bd96Håkan LundvallLast fixes before release of 1.3
5ae2effa7aKaj NyströmMinor fix, including exit help
f07bbb07a6Kaj NyströmMajor updates with reorganization and examples
44f58e5401Kaj NyströmChanged license text
9f8bb8deeaKaj NyströmChanged license text
c5476bf438Håkan Lundvallupdated winruntime with changes made in runtime
4304a061a5Kaj NyströmFix for reading result sizes
060066a253Kaj NyströmImplemented readSimulationResultSize in the Interactive API
2d0a465abfKaj NyströmImplemented readSimulationResultSize in the Interactive API
14d6fbbee8Kaj NyströmImplemented readSimulationResultSize in the Interactive API
b773cc3349Håkan Lundvall* noEvent * sample * updates of installation project
971798d3dfPeter AronssonFixed bug in print_exp_cpp_str for EQUAL.
57932d2acfKaj NyströmAdded small help notice
94a003556ex02lucpoimplemented a buildModel function that only compiles the model without simulating it. added a setClassNamesForSimulation to use when to clients of omc collaborates
8d467e3b94Peter AronssonAdded check/error msg of lowering IF_EQUATIONS. Added noEvent as macro in modelica.h
9c4cf7f960David BromanAdded a textfile README-WIN32.txt, which explains step-by-step how to install and compile the OMC under Windows.
35c34218a5Peter AronssonAdded der(abs(x)) = der(x)*sign(x) Added Exp.traverse_exp (generic expression traversal)
cc385a47edHåkan LundvallFixed bug in generated code for interactive function calls.
305bcb45f0Håkan LundvallMerged event handling (only in dassl) Use omc +d=noevents to disable it.
43f7ed2cd0Peter AronssonImplemented POW using libmath pow. Fixed bug when translating dae having variable x[] or y[] or xd[] or p[] defined in the model.
60751c9e4cPeter AronssonFixed temporary hack for der(vector) and der(matrix) since vectorized calls not impl. yet. Fixed bug in builtin attributes, e.g. start, min, max, etc. Fixed bug in placement annotation in Interactive.
2c87c78919x02lucporemoved \bin from the path
9326663484x02lucpochanged the name of derivative from der(a.b.c) to a.b.der(c)
175032e93aPeter AronssonUpdated Upgraded parser and Absyn to Modelica v2.2
29bab25c28Peter AronssonFixed bugs with external functions in simulation code. Fixed underconstrained initial equations, etc.
8e347757d4Peter AronssonRemoved debug prints. Added initial_function call in solvers. Removed faulty impl. for functions returning one argument.
a7bfc7aa4aPeter AronssonAdded calculation of initial values from initial equations. For now, the initial equation system must be consistent. No additional equations are currently added, e.g. x=0 for some uninitialized state x.
70568d5266Peter AronssonFixed bug with citation quotes on simulate command. Improved code generation of functions for simulation code. Added calculation of simple equations in simulation code. Fixed comment bug in comments from variables in simulation code.
3cf7d77f81Peter AronssonFixed bug in not resetting class file string after parsing. Changed "NoFile" to empty string when no class file present.
1ca372c2fcx02lucpocommented an addition to traverse classes
fb39849524Peter AronssonFixed bug with tuple assign.
4bac2c3e77Peter AronssonFixed bug with unary array minus and plus.
3715032ecaPeter AronssonMerged 1875:1878 on petarstructparam. Structural parameters are now dealt with by giving modifiers both value and equal binding.
5751866033x02lucposimcode contains now also the comments of the daelow.var
cfe8fbdf24Peter AronssonFixed nicer printing of Env
2a9a46ec10x02lucpoimplemented translateModel
846eb9d7a5Peter AronssonFixed bug in Interactive getComponents function. Fixed bug with self referencing variables. Fixed DAE output bug.
41420fcfbfPeter AronssonChanged getComponents in interactive interface to return more information.
572b7a19abPeter AronssonAdded documentation to -all- relations. Improved documentation on some rules. Removed dead code.
fd95e791fdx02lucpoadded trim to System.rml
1ff50f6e1ax02lucpochanged dae.dump_type_str and exported Interactive.evaluate2 as public
3d6f0600a7Peter AronssonFixed bug in make_sum and make_product.
9a89b81468Peter AronssonFixed bug in differentiate. Fixed bug in simplify of IFEXP.
0ed581c7cdx02lucpoimproved is_non_state(VarKind)
ca6a1f5cf1Peter Aronssonmade var_equal public.
b9f678f83cPeter AronssonFixed bugs in simplify.
3e067b3acex02lucpoimplemented get_var_using_name for getting a DAELow by its old name "a.b.c" and not by indexed form
9d73825926Peter AronssonAdded set_varkind, fixed bug in derive.rml
54f85cc17ax02lucpoimproved the building procedure and added some useful relations
cd7cc3bec2Peter AronssonFixed more bugs in simplify.
30c2118514Peter AronssonFixed several bugs in simplify + minor enhancements to DAELow
f7343d98e7x02lucpoimproved the simulation command to output to output.log
9ce2383638x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1849 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a2f51e13cex02lucpoimproved the makefile.vc with clean and rebuild
13312e6bfdx02lucpoadded build_within to global space
5e92101c10x02lucporemoved a bug in remove_first_and_last_char
0501b7c794Peter AronssonFixed structural parameters for if-equations.
8f431bcc69Peter AronssonFixed several bugs in import, lookup, etc.
7ff2e5e4d6x02lucpoimproved some error-msg
9398cc07d2x02lucpoadded a function named write_file_or_error_msg
01c88855faPeter AronssonFixed import bug for constants. Fixed intial if equations.
baf381ddd7Levon SaldamliAdded matlab scripts for automatic femlab problem generation
6589afe73bPeter AronssonFixed bug when recursive use of component size as in Real x[:](min = fill(1.0,size(x,1))={1.0}; Added two testcases.
55de99a126Levon SaldamliAdded some parameters for PDE and for heat transfer. See MyGenericBoundaryDiffusionTest4
66138179efPeter AronssonFixed bug in elaboration of min and max. Implemented imports of constants/variables from packages. Fixed some error printing.
1b2f0271e0x02lucpoadded libf2c to compilation
0076e302acx02lucpoAdded libf2c for simple access from c to fortran solvers
68ada34a50Peter AronssonAdded special case for code generation with no parameters.
1a5a8fe32fPeter AronssonFixed bug in start_function
82f7613f41Peter AronssonFixed bug with input variables to models. Fixed segfault when writing open file in windows.
d85f508be4Levon SaldamliFixed neumann and robin boundary conditions. Fixed bug with extra blocked boundary values by patching the mesh so that it is consistent with rheolefs way of handling blocked edges. Rheolef blocked end points of edges that are blocked, if the end points themselves are not blocked. So we fix this in the mesh after reading the mesh, see PDEbhjl.FEMForms.Autonomous.Diffusion2D.
dd8eac4a55x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1827 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
4b4dc1beb3x02lucpoadded a function in the code-generation
2aa80aa787x02lucpomade is_non_state to return a bool
0a2fbb8f56Peter AronssonFixed bug in model inputs. They can not be removed in remove_simple_equations.
cb6040aacfx02lucpoadded a output function to generated code
871cd6c0d2Peter AronssonChanged so top level inputs are not part of model equations, but instead must be given as input "parameters" in input file. Also removed errobuf flag so error printing is allways done if main fails.
089d6f7f9dx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1820 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
50a9bf3795Peter AronssonAdded solution to nonlinear systems in explicit ode. Added testcases.
73ee857899x02lucpoadded -DCYGWIN to cflags
18e524564bx02lucpoimplemented in System.rml relation platform which returns either the string "CYGWIN", "WIN32" or "" depending on the platform.
15b5e1114ex02lucpoadded a relation for printing an exp option to string
65614e8d4ex02lucpoby including read_write.h after windows.h removed some kompiler errors.
a8360a2435Peter Aronssonforgot to add the file..
ad67160b80Peter AronssonLinear subsystem of equations now works. Also added explicit euler solver method, accessed using -m option to executable.
82b20200dfPeter AronssonLinear subsystem of equations now works. Also added explicit euler solver method, accessed using -m option to executable.
6eae7f06cbx02lucpoadded start_function to the sim-code generated that contain the equation for start-exp
393d481747x02lucpoadded start_function to the sim-code generated that contain the equation for start-exp
a741eb4e49Peter AronssonFixed bug in derive.rml. Worked on solving linear equations in SimCoden.rml.
3a58660b60Levon SaldamliUpdated some scripts and added Composite6. Added a test model (...3) for testing time dependent dirichlet bc. Added Readme.txt with installation instructions.
de3df4ce7dAdrian PopAdrian Pop, adrpo@ida.liu.se 2005-06-12 Fixed so that: - server_loop - server_loop_corba are completly deterministic. Please, if you add things to the first rule of these relation add it also to the second rule, otherwise the RML doesn't turn the two rules into a conditional.
72311942fdx02lucpoimproved the simulation code and added a check to remove_simple_equation2 to leave the equations that contain a variable that is on top-level an the direction is output
a4d3b3725cx02lucpoadded a check to variables of remove_simple_equations: if a variable to be removed is output then the equation is not removed
a103f3fcf5x02lucpomade some relations public
69fabd0104Levon SaldamliChanged modeq to omc everyhwere, updated source. Renamed build directories for modeq to omc. Updated VC7 projects and solution as well.
464c131bc8Levon SaldamliChanged modeq to omc everyhwere, updated source. Renamed build directories for modeq to omc. Updated VC7 projects and solution as well.
ece3a3ab35Peter AronssonAdded interactive function save, that saves a package structure or class given that it already has a filename associated with it. Also made some progress on explicit ode impl.
a48b0b3e08Peter AronssonFixed bug in DAELow.lower_varkind, etc.
311e765869Peter AronssonFixed bugs in Codegen for nonlinear systems.
0573579670Peter AronssonAdded StructualParam1.mo, removed print from Inst.
36f39ddf87Peter AronssonFixed bug in finding structural parameters. Started codegen of explicit ode in SimCodegen.rml
e95e464fb9Peter AronssonFixed bug in structural parameters. Added testcase StructuralParameter1.mo
eaf260d047Håkan LundvallSome steps towards finding zero crossings
972d98c5cePeter AronssonFixed bugs in setComponentModifierValue and getExtendsModifierNames.
6fcd5b7ca1Håkan LundvallMade DAELow and SimCodegen handle variables marked discrete
45e95660e5Håkan LundvallAdded when clauses to DAELow.DAELow
405579d66fHåkan LundvallA small step towards hybrid simulations
b9c80e6d35Peter AronssonFixed bug in make_fully_qualified.
4321eddf6aPeter AronssonFixed bugs in get/set XXX ModifierValue. Implemented get/setSourceFile.
1039852547Levon Saldamlimodeq directory path changed to Compiler
4df4e88b25Levon SaldamliMoved directory modeq to Compiler. Updated references to the modeq directory so that they refer to Compiler/ instead
78e7974475Levon SaldamliMoved directory modeq to Compiler. Updated references to the modeq directory so that they refer to Compiler/ instead
db5de8c849Peter AronssonFixed bug in setExtendsModifierValue and setComponentModifierValue
f099373507Peter AronssonAdded some rules to simplify.
42a053c960x02lucporemoved decrypt and encrypt
392e3415d9x02lucpounparse_class_list moved to global
aeaf5deec1x02lucpoadded add_to_public to global functions
4cded24f60x02lucpoadded remove_first_and_last_char(string) => string
c68f68bff9x02lucpoadded remove_first_and_last_char(string) => string
acf8f261d9x02lucpoadded remove_first_and_last_char(string) => string
a2cbc2cccdPeter AronssonFixed so that Code(()) clears modifiers in setXXXModifierValue.
01b3869957Peter AronssonFixed bug in Inst.make_fully_qualified
da673eda57Peter Aronssonsmall changes to Exp, added nominal getter in DAELow
dc49e2a831Kaj NyströmRemoved dead code
79ee82e454Håkan LundvallFixed with statements in Absyn.rml
4f2beb3974Peter AronssonChanged extracting and changing modifiers in Interactive
3f56c2829ax02lucporemoved an wrongfull check for file-existance
ed6867872bPeter AronssonRecursive functions no longer gives stack dump when entered interactively.
e19cd67c70x02lucpochanged an include from ../ast/yacclib.h to ../absyn_builder/yacclib.h
6c995002f3Kaj NyströmRemoved unused include
ee5f648206Levon SaldamliRemoved deleted directories from configure.in and regenerated configure
54e149b047Kaj NyströmRemoved stupid example
920d798804Kaj Nyströmkilled by death
eb4f975cc5Kaj NyströmKilled by death
b94ed79c92Kaj Nyströmkilled by death
2fad17eedcKaj Nyströmkilled by death
e9140748e2Kaj NyströmKilled by death
a09e815982Kaj NyströmKilled by death
f36510a112Kaj NyströmPIGS
722bf8b4a6Kaj Nyströmkilled by death
a4bc0d274dKaj Nyströmkilled by death
18bf102e70Kaj NyströmWay to out of date to be useful
e2de91aa4cPeter AronssonSome stuff in Codegen
a6d507e93cPeter AronssonFixed stuff for modpar
7ceb05f23fHåkan LundvallChanged names on rml-files
dc1ea922e8Peter AronssonFixed the stuff removed in luc's merge.... :(
fb2422cd42Peter AronssonChanged get_modification_names to new design of getting modifiers.
7ad74d9852Peter Aronssonremoved comment that messed up indentation...
602f823a46Peter AronssonAdded string separator relation in util. Added rule for printing x^2 as x*x
9351968541x02lucpomerged HEAD with 1723 from branches/x02lucpo. Fixed comments on flat modelica and loadFile + loadFileInteractive
0f226d95a0Håkan LundvallUpdated som version numbers and the setup project
6b7a01e643x02lucpobranches/x02lucpo and trunk are merged and tested
c25ee67c2cHåkan LundvallFixed bug in VC7 solution
e989555213Håkan LundvallChanged MOSHHOME to OPENMODELICAHOME which shuld point to what ${MOSHHOME}/.. used to be. Also deleted some more (hopefully all) of the tornado stuff Deleted the old modsim module. Fixed Ctrl-C and Ctrl-V in WinMosh.
debf1217bdHåkan LundvallChanged MOSHHOME to OPENMODELICAHOME which shuld point to what ${MOSHHOME}/.. used to be. Also deleted some more (hopefully all) of the tornado stuff Deleted the old modsim module. Fixed Ctrl-C and Ctrl-V in WinMosh.
f6dd7235e3Peter AronssonUpdated documentation.
076a035a1dPeter AronssonRemoved tornado specific code from trunk. Now only exist on branches/mathcore_tornado
eea8cd13ccPeter Aronssonmade a copy
6742470397Peter Aronssonmade a copy
6ec3e018faPeter Aronssonmade a copy
3d7d1c9efaPeter Aronssonmade a copy
2694320779Peter Aronssonmade a copy
87f9f7e8bePeter Aronssonmade a copy
76ef498fadPeter Aronssonmade a copy
483f4feb42Peter Aronssonmade a copy
46b9ffdc67Peter Aronssonmade a copy
e1f5650456Peter Aronssonmade a copy
8daa89aa3bPeter Aronssonmade a copy
6d9159c4cbPeter Aronssonmade a copy
43578155a7Peter Aronssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1692 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
64d2c3460cx02lucpoafter merging openmodelica/x02lucpo with trunk. Improved simplify and differentiate.
f097a83d60Peter Aronssondefined hybrd
3c626f0e76Peter Aronssonallmost finished with nonlinear systems in modpar
6f9a62abc8Peter AronssonAdded code for solving nonlinear systems.
a49075ddc7Peter AronssonAdded calculate_jacobian
be3efd3074x02lucpomaking derive work
3a28203031Peter Aronssonfixed bug in getComponentModifierNames
d76e26383dPeter AronssonPartly impl. nonlin eqns. in modpar
49b98e8520Peter AronssonFixed so getExtendsModifierXX uses FQ names.
aac3bdd5a3Peter AronssonAdded XXExtendsModifiers
d35e13752ePeter Aronssonunparse_mod...
ecc97790d7Peter Aronssonadded setComponentModifier
daf8c05343Håkan Lundvall*** empty log message ***
34796d0a82Levon SaldamliSmall fixes
da346cfb35Håkan Lundvall*** empty log message ***
9211123f49Levon SaldamliFixed Makefile in testsuite/mofiles and moved failing tests to a separate target
2c91bbaba5Levon SaldamliFunction call fixes. Tuples support added. Testsuite extension for c compiler flag support. External function tests ExternalFunction1.mo ExternalFunction2.mo ExternalFunction3.mo
d507d2d490Levon SaldamliSome function call tests added to testsuite
adaf3cb805Peter Aronssonadded
1901bb5f37Peter Aronssoncompile scripts now outputs to /dev/null
d2cc462f0ePeter AronssonRemoved extra newline in record output.
23d8e21ffaPeter AronssonAdded solving of linear systems in residual form.
5d0e1e3696Peter Aronssonimpl. getComponentModfifierNames
ef9d65e07cPeter AronssonFixed bug with constant
d9913857b2Peter AronssonAdded api for parameters
4e4b726fcdHåkan LundvallSimulation return now 1 if simulation is interupted before stopTime is reached.
11092774c6Håkan LundvallParanthesis around (a)?(b):(c) in code generation.
be3546f6cbHåkan LundvallQuich hack for allowing boolean parameters in the indata file for simulations
76edad741fHåkan LundvallFixed so that modeq returns status code != 0 when execution failes
4228a71fc6Peter AronssonRemoved print
b3f10073c5Håkan LundvallSplitted generation of sig files into seperate makefile
c4bc62ac18Peter AronssonFixed bug in elab_cref, equalbindings should not be constant.
c5f5f6e26cx02lucporemoved () from variables without start, unit and so on
02da6b6555x02lucpo*** empty log message ***
5290648cedPeter Aronssonadded include of parent directory, used by tornadoext.cpp
4205fb3da0Levon SaldamliFixed type error for ceval_if_constant generated values
cbb663d276x02lucpocorrected a submodelindex error
c3622cb9fex02lucporemoved a compile error
099d20021cx02lucpochanged ^ to accept reals
10752b69a6x02lucpoadded some print thingies
aa7ef0374bx02lucpoadded dae-attributes with extraction from variables
ea9a552c36x02lucpoadded relation get_option_with_concat_str: ('a option, 'a => string,string) => string
ae3b16625bx02lucpoadded attributes and dump- relations for them
36ad088921x02lucpomoved is_string_empty to util and added also some more function to Util.rml
53a198f5b8Levon SaldamliBugfixes. Cleaned up ceval_builtin.
a907482684Levon SaldamliFixed printing of #|Execution failed, which is needed for rtest
513888fbc0Håkan Lundvall*** empty log message ***
85c1ea9985Peter Aronsson fixed parse error message
dce4b06ed3Håkan LundvallFixed so that VC7 compiles without cygwin
5b2b6e878dx02lucpo*** empty log message ***
a8468dada4Håkan Lundvallremoved ^M from licence texts
2a4e80b1a3Håkan LundvallFixed doPlot.bat can run without PTII being set
0e6e3b66d8Håkan LundvallFixed so that instantiateModel of non existent model returns an error
829837012cx02lucporemoved a error print when models with start-attr
3b5e385b62Peter Aronssonfixed error messages when plotting.
e873d7909fLevon SaldamliCompile time function evaluation
5813ea9dc4Peter AronssonFixed plotting bugs
ce344f871aPeter Aronssonremoved define of time
2093c276b9Peter AronssonFixed icon annotaiton bug again...
a5a17717e9x02lucpocorrected error with enumation types
b9c2cc1e4eLevon SaldamliTODO-list. impl flag fixes and some comments.
20134ea6fbPeter AronssonFixed model editor interface bug, still need to clean up.
183ead9892x02lucpoimproved extracting of attributes (unit, start...)
5e4b35baa5x02lucpoadded debug information
03acc920b0Peter AronssonAdded by PA.
3a21bc26dax02lucporemoved a bug from extracting of var_attributes
8fe9f61411x02lucpoadded unit and type info to dae and daelow tested package support in tornado
42f267d6dbx02lucpotested package support
1f4a394046Levon SaldamliImpl flag bugfixes. Fixed elab_range_type. Fixed matching problem for Icon in get_annotation_string
a9b37b2058Peter AronssonPartly implemented constant evaluation of record constructors. Works for non-hierachical records.
ef6ffda894Peter Aronsson*** empty log message ***
c26f3b5b45x02lucpoadded package support
8cbee34b63x02lucpodivided the tornado-code-gen to two files. One that outputs the C++ code and one that extracts the data from dae and absyn.
300294d3cfx02lucpodivided the tornado-code-gen to two files. One that outputs the C++ code and one that extracts the data from dae and absyn.
8a982c53dcPeter AronssonFixed so math functions works.
6403b88ae4x02lucpoadded som comments and removed some dead code
f5dde261deHåkan Lundvall*** empty log message ***
f52a390507Håkan LundvallChanged Licence text
ae68aa574cHåkan Lundvall*** empty log message ***
bc671c086aLevon Saldamlierror message
49557435deLevon SaldamliSimulation working. Example: test_codegen/simtest.mo
8c206dbc63Levon SaldamliSimulation test
c7eda5971fLevon SaldamliMore tests
502977aaa7Levon SaldamliBuiltin function calls like sin, sqrt etc called correctly
2afe4a3c98Levon SaldamliCode generation for function calls in simulations
4ab0927c0ePeter AronssonFixed bug in POW
b95b3dcc4bPeter AronssonRemoved some comments by PR.
c795c169b9Peter Aronsson*** empty log message ***
6f0d78f4c7Peter Aronssonpartly implemented rename_class
a79eaf57f9Levon SaldamliFunction generation somewhat working
c5152790eeHåkan Lundvallfixed so that simulation works with mingw
d29a8c5a05Håkan Lundvallfixed so that simulation works with mingw
a76205392eHåkan LundvallUpdated to the new simulation scheme
02d1ad540fHåkan LundvallChanged name of mingw runtime lib
9f119446c0Peter AronssonFixed bug in calculation of alg. vars.
ac6e7469ecPeter AronssonFixed bug in simulate in interactive mode
1dbd3f0f31Kaj NyströmUpdated documentation only
6095deb61fx02lucpoAdded information for predefined types. Some implementation to extract the data from modification has been made but not called yet from a significant part of the program. (read it is not called at all from the main stream of the program!)
6c90aad06dPeter Aronssonfixed bug in varname generation
30fa7792cdPeter AronssonChanged error msg to error_buf. Plotting now working.
65ab5a237cPeter AronssonFixed bugs, added time to result, etc.
35a63f022dx02lucpoadded a check for tornado generation
22fbc707fbPeter AronssonSimple algorithms now works to simulate.
d5a2b019ebPeter Aronssonfixed bug in initial step.
2e6708e823x05simelAdded ptolemy plot output.
21e1e35717Levon SaldamliMinor fix
4ec8baa4a1Levon SaldamliInitial function code generation support for simulation code
d8335c98d3x02lucpomade all the equation of the form cref = constant to be outputed in ComputeInitial
d55959ee03Peter AronssonWorking simcodegen for DASSL
4cf99261fePeter AronssonAdded simulation runtime for DASSL
7c4338705bx02lucpoadded support for 1-dim arrays in code-gen
f11cf11aa3x02lucpoadded a exists_var: (Exp.ComponentRef, Variables) => bool
ebc3aa878cx02lucpomade print_component global
32be72c238Levon SaldamliThere is already one in modeq/TODO
3b77465899Levon SaldamliFunction generation and calling for constant functions during ceval
950857ba4bPeter Aronssonfixed bug in generate_init_data
0655a9ba5ex02lucporemoved a print
5099fa7d9cPeter AronssonTried to fix bug in remove_simple_equations
d2c094ce32x02lucpocorrected a bug in index for different var-types
eef408e557x02lucpocorrected a bug in index for different var-types
a7edf52c60x02lucpocorrected a bug in index for different var-types
62421e0ba8Levon SaldamliBugfixes. Top-level make modified for debug and release. Changed default to release.
f89d832f2dLevon Saldamlitemporary vctarget fix
8a0eb33aa0Levon SaldamliBugfix
b8bbae650aLevon Saldamlibugfixes
462ab13d53Levon Saldamlibugfix
198b53d138x02lucpoadded start-value on initial-vars
12ec39c820Levon SaldamliBuildfiles bugfixes
9e82f3dae1x02lucpoadded is_const and compute_initial_from_start_values
4a1f26ee7fLevon Saldamlidepend file generated by make depend
5ab75a2f42Peter AronssonFixed bug in remove_simple_equations.
ba46a49d9fLevon SaldamliAdded build directories modeq_debug och modeq_release under modeq. Default build target is debug. See all: in modeq/Makefile.in.
c95dc5acefPeter AronssonFixed bug in elaboration of POW
c5ea1c70b0x02lucpoadded pow
50db64d1b1Peter AronssonAdded documentation
751a8b1592Peter AronssonFixed asub simplification
8253cda007x02lucpoadded simulation_5fcg
a4fe01db98x02lucpoadded simulation_5fcg
73cd2084d8x02lucpoadded simulation_5fcg
e4295ee1e6x02lucpocorrected NoOutputVarValues error
848fcce5d3Peter AronssonAdded better documentation
0bdaf46519Kaj NyströmDocumented entire file
35314504cdKaj Nyströmremoved unused file
fdcab8e327Kaj NyströmAdded last parts of documentation
b6d8a03172x02lucpoadded get-functions to generate GetNoParams()
3381133ebaPeter AronssonAdded generation of initial values in simcodegen
6670b37e06x02lucpochanged from _t_ to time
e5dc19de2ex02lucpoadded startvalues to parameters
e903d40ab5Peter AronssonFixed generate_compute_output
53b890850bPeter AronssonReimplemented breaking of blocks into dynamic and accepted section, by reachability analysis on strong components graph
8142ea35c8x02lucpoCorrected a linkage bug
65de7fc19eLevon Saldamlichanged tail -1 to head -1. First found should be used for some stuff
0595567220Adrian Pop2004-02-07 Adrian Pop, adrpo@ida.liu.se added Makefile for building the yaccparser. change the RML path in the Makefile to make it work for you.
14e1d14501leistYacc parser grammar for Modelica+RML. First hopefully stable sketch. (Still a few FIXME:s left, though.)
c558e6f542leistUnified header file for the Modelica+RML yacc parser and its lexer.
ab27727e2bleistLexer for the Modelica+RML yacc parser.
9354f08efbAdrian PopStandard yacclib.h file for RML. 2005-02-04
705c75e8c5Adrian PopStandard yacclib.c file for RML. 2005-02-04
870c4a4608Adrian PopRML datatypes for abstract syntax tree, and related code. 2005-02-04
b5b6f3e900Adrian PopRML test program. 2005-02-04
65990896d9Adrian PopMain file for dumping/refactoring testing. 2005-02-04
1292c1d1b3Adrian PopLeif's RML dumper with changes by Adrian Pop. 2005-02-04
3aea687dbfAdrian PopRML refactoring. 2005-02-04
b45d5471b1Adrian PopGlue to call parser (and thus scanner) from RML 2005-02-04
7e158f6d5bAdrian PopScanparse module, for debugging. 2005-02-04
7dba72e888Adrian Pop2005-02-04 Adrian Pop, adrpo@ida.liu.se fixed so it compiles with new the new changes in modelica_parser
ebd6f26c4aAdrian Pop2005-02-04 Adrian Pop, adrpo@ida.liu.se Somebody added code for flat modelica and failed to add try{...} catch {...} statements. Also, some redundant code was removed H�kan pointed out this error!
be36ddf18cx02lucpo*** empty log message ***
f7948a66a0Håkan LundvallMade inst_element fail if lookup of the class failes
b4d544d01aHåkan LundvallRemoved print out of class origin in flat modelica
3184ebae98x02lucporedone generate_simple_equations_links2
89e90ba4e4x02lucporedone generate_links2
14819a004fHåkan LundvallImport bug fixed
85282dc207x02lucpocorrected some errors in code-gen for tornado
5019b4631dPeter AronssonFixed bug in vararray
6b618e71fdPeter AronssonMade variable array expandable as for equations
b734529b53Peter AronssonFixed bug with linking
4fb6b8fd0cx02lucpoimproved the design
22249b023dPeter Aronssonfixed bug with tornado blt
85094e953ax02lucporemoved prints
d2f66b7e4dPeter Aronssonintial equations added to daelow, fixed bug in tornado.
5fdb1f1b32Peter AronssonAdded rule for arrays of components
78ab97d0b8Peter AronssonAdded transformation of . to _ in identifiers
c702460790Peter Aronsson*** empty log message ***
09dcaa79dbx02lucporemoved prints
2051f0fa9aPeter AronssonFixed bugs when emtpy equation list
4a0f13940bHåkan LundvallLade till s� att flat_modelica_parser blir med i vctarget
a0210a9a45x02lucpocorrected is_no_param to is_param
b102d7a895x02lucpoadded added some checks for linkValue when removing simple equations
48adc6459fPeter AronssonFixed bug in remove_simple_equations and bug in reachable_nodes
bdac17de15Peter AronssonOptimized Equations in DAELOW. Fixed some stuff in Tornado. Added dymTableInit as builtinFunction.
a0270366bdx02lucpoadded added some checks for linkValue when removing simple equations
eab85914e3x02lucpoadded generation for TornadoDLL.cpp
ced107ee96x02lucpocorrected some minor bugs for Tornado
c609e9ffa7Peter AronssonFixed sed bug originating from several antlr paths
dc8a0ad2c0x02lucpoadded defines for subModels and link for star-variables.
dd7276a0e7Peter AronssonGenerated links for simple equations
451311d115Peter Aronssonfixed bug.
2bf79dfe4fx02lucpoadded hierarchical code generation
55875d1d4bPeter AronssonChanged implementation of DAELow.VARIABLES from bintree to hashtable
83e1bf3dfbKaj NyströmCleaned up debug printing
dea1207b14Kaj NyströmFixed nasty bug in ident recognition
51557f5602Kaj NyströmFixed ordering bug
dbc8c7bbf0Levon SaldamliRemoved boundary. Shouldn't be in main trunk. PDE stuff
ac32383fb0Kaj NyströmUpdated to reasoably working item
d5c8e8c74eKaj NyströmUpdated to reasoably working item
df51b07b43Peter Aronssonmoved code from tornado to simcodegen, new module for simulation code
fcbfa44781Peter AronssonAdded algorithms to DAELow
ae0f75187bKaj Nyströmflat modelica added
2cb8203b2aKaj Nyströmautomake ok
4b0793b4d4Kaj Nyströmnew flat modelica parser. Wohoo.
af1e7fda51Kaj NyströmRestructuring flat modelica parser
967a3b9b0ax02lucpoadded some relations as public
3bdc5142acx02lucpoadded more functionality to tornado. Generation of hierarhical models
6c603cd2c4Adrian Pop*** empty log message ***
1e1e684838x02lucpocorrected some bugs
f6134ccd82Håkan LundvallUpdated rml to 2.2.1 and made rml runtime part of the build
70b4032758Peter Aronssonupdated.
9152676ebdPeter AronssonSwitched to set implementation of vars/eqns in matching, etc.
160d979928Peter Aronssonupdated dependencies
8e78911427Håkan LundvallAdded instantiation of when equatons and if equations with non-constant condition.
7827b3c294x02lucpoadded some new relations
da26672402x02lucpoadded a comment... yay...
0bbb7fe11cHåkan LundvallAdded rule for when-equations.
ceb95ab98cHåkan LundvallAdded representation for if and when equations.
12c7b8ad5ePeter AronssonFixed bug in fix_direction
9d1e0b853cx02lucpoadded a check for how many generated var and made some changes to to model genration of variables
07634fdb80x02lucpoadded a check for how many generated var and made some changes to to model genration of variables
d9f9807408x02lucpoadded a check for how many generated input var and made some changes to to model genration of variables
f8ec58e4f1x02lucpoadded a check for how many generated input var and made some changes to to model genration of variables
e5f4e96883x02lucpoadded a check for how many generated input var
d352a24af4x02lucpoadded get_input_var_number and get_output_var_number
4badb0abdcx02lucpoadded tornadoext and corrected some bugs
6790ffe14dx02lucporml-file for the cpp-connection
e7ed95d833Peter AronssonFixed bug in generate_parameters
d6c7366052Peter AronssonAdded generation of parameters. Removed generation of simple equations.
d449c538a1Peter AronssonConstant evaluation of functions is now done if all arguments are constant
102b24b841Peter AronssonFixed elab_exp so that numerical constant values are calculated.
3750f1bf84Peter AronssonFixed bug in incidence matrix. It now contains state variables as well, but they have negative index.
9ec82391bcPeter AronssonFixed varDirection generation in generate_var_defines
856a02bf8fx02lucpopartial commit for Petar
47ff30c220x02lucpoadded some missing function and a check needed for tornado code generation
5c0b755c5dPeter AronssonAdded vartransform, for transforming variables in expressions
f558ba2c5bPeter AronssonImproved variable impl. in daelow. More efficient matching alg.
bd7c0d1463x02lucpoX-mas delivery
58f94bb871x02lucpoadded string_split_at_char
9cdece44c1x02lucpoadded sorting of equations and a check for switching the name of dummy der in case of tornado from "der_" to "_D_
1c8386e106Håkan LundvallFixed small bug regarding locks.
2d0d7073bcHåkan LundvallUpdated according to changes in runtime/systemimpl.c
00bd9112fePeter AronssonFixed DAELow.VAR bug
6cf8648204Peter AronssonFixed DAELow.VAR bug
2f17428de6x02lucpoadded a string_replace_char which replace a char with another in the string. Check comments for details.
44008f657bPeter AronssonAdded class attribute to DAE variable to determine origin.
4636b763dePeter AronssonOptimized impl. Added tree_delete, etc.
ca68eba5e8Peter AronssonChanged dae variable implementation from list to binary tree
892c6f77c4Peter AronssonAdded unparsing of 'encapsulated'.
85d84f65f2Peter AronssonAdded more doc.
7d8ee2d5c2Peter AronssonAdded better doc.
b8e3b08b21Adrian Pop2004-11-27 Adrian Pop, adrpo@ida.liu.se changed server_loop to make it completly deterministic
9e3f131e3dx02lucpoupdated to work with tornado
91fefcb1f3x02lucpothe equation generation is working for influenza.mo
ed12653f6ax02lucpoadded the rule in simpliry for (0.0 / x ) =>0.0 and (x/0.0)=>fail
42a3e9e89bx02lucporemoved some swearing
866f72a4c4Peter AronssonFixed bug in index reduction, did not increase no of variables when differentiated equation
902f10fc7dx02lucpoPetAr to check for optimization error
2a0b9f2f49Peter Aronssonoptimized index reduction so that incidence matrix is not rebuilt for each reduction.
d5ce6c40cax02lucpoadded som debug printouts
8a362bfc78x02lucporedone the If...then...else to ...?...:... (c++)
4974333238x02lucpoimplemented a relation that ouputs c++ code from an Exp.Exp
977e223af2x02lucpoimplemented a relation that ouputs c++ code from an Exp.Exp
2104f1803fPeter AronssonOptimized some code. Commented, etc.
c9ec81a414x02lucpoadded a relation that replace all the der(...) with _D_... in all the equations in DAE
0206e67566x02lucpoThe module tornado generate now ouput and state equations in c++ format
7a9e9f41f8x02lucporesolved a bug in generation of equations
ebe253f5b3x02lucpoto generate _all_ the equations a relation lower_with_simple_equations has been inserted in DAELow. Also generate_compute_state and generate_compute_output generates the needed c++ code
e1b317d25aPeter Aronssonadded doc
263e3f9e5bKaj Nyströmadded is primitive to interface
22c7430d11Peter AronssonMade daelow faster, especially replace_exp
ab9d66f071Kaj Nyströmalmost fixed working submodel declarations
eec7172dd0Kaj Nyströmalmost fixed working submodel declarations
eda432929aPeter Aronssonadded doc to about first half of the relations
7c0d84e5bdKaj NyströmMainly Hemmis-related MathCore stuff
877953dd8bAdrian PopAdrian Pop, adrpo@ida.liu.se 2004-11-05 Changed: systemimpl.c rml_prim_once(List__reverse) with TAILCALLQ(List__reverse).
cf947a74f0Adrian PopAdrian Pop, adrpo@ida.liu.se 2004-11-05 Makefile.in Added commented lines for creating debugging versions of modeq
fe1fc809baAdrian PopAdrian Pop, adrpo@ida.liu.se 2004-11-05 configure configure.in
38cc63c259x02lucpoCompleted the inst_start_binding for the case Integer T0[2](final start={5,6})={9,10};
789cdd337eKaj Nyströmfixed hemis soving eqns stuff
129aa76be6Kaj NyströmSome updates on tornado, will be continued by lucian
fb21137554Adrian PopAdrian Pop, adrpo@ida.liu.se 2004-10-29
02c8906f33Adrian PopAdrian Pop, adrpo@ida.liu.se 2004-10-29 --------------------------------------------------------------> /modelica/modeq/absyn_builder/parse.cpp --------------------------------------------------------------> - RML_BEGIN_LABEL(Parser__parse) + added delete parse; delete lex;
48015ab546Kaj NyströmSome updates on tornado, will be continued by lucian
7d8f61a53cPeter AronssonFixed bug, added doc.
4473c152baPeter AronssonAdded doc
d1cd62acb6Peter AronssonAdded Tornado code generator. MathCore project
9cd2fb9800Håkan LundvallAdded checks for MOSHHOME and MODELICAPATH
0afb478e95Kaj Nyströmmoved deprecated flat modelica parser here
b3c8421db2Håkan LundvallRemoved extra print "1" in translate_file
049a1fb96dHåkan Lundvallfclass instead of model when generating flat modelica
7775cda98dPeter Aronssonadded doc
a68730a274Peter AronssonFixed bug in priority order of incomming task graph edges
84dcd84ddfx02lucporemoved PIGS
3e567d5be6x02lucpoimplemented DIV_ARRAY_SCALAR
dadccc425ex02lucpocorrected bug for MUL_ARRAY_SCALAR
1a7491d324x02lucpocorrected the elab_builtin_diagonal to return an array of array. Added comments
60c70d2c37x02lucpocorrected a element place error
7163a4f439x02lucpocorrected a element place error
e0e9d565a1x02lucpoimproved diagonal function
dcf6b67371x02lucpoimplemented diagonal in staticexp and ceval
034238888bKaj NyströmFixed constant evaluation of abs operator
49a3b15e69Peter AronssonFixed so parameters are split in DAE x becomes {x[1],x[2],...} for an parameter array.
d4c64ad8f3Adrian Pop2004-10-05 adrpo moved initialization of "ast" to the begining of Parse.* functions
6e46caf739leistSome extra tokens to support RML syntax.
382b3e852fleistChanged a type to work with a modern ANTLR.
b79fe9ec21Kaj NyströmRemove cache.rml deps
834e2ddf4ax02lucpomade the relation merge work better with partial classes and the same modifiers
48e22f7220Peter Aronssonchanged licence file
15226cf5fePeter AronssonAdded doc.
24aba2795eLevon SaldamliInternal documentation partial
c75bf63b7fHåkan LundvallDokumenterings race
2bd995ca44Levon SaldamliInternal documentation partial
99f67847e9Levon SaldamliInternal documentation partial
fb96f1e638Levon SaldamliInternal documentation
c556e18f95Håkan LundvallFixed timing command so that the symbol table gets updated.
5c6cde952cPeter AronssonRemoved cacheimpl
a42b6bc1f2Peter AronssonAdded documentation to the beginning of file
369e088bfdLevon SaldamliOverview documentation
69fd87ab96Levon SaldamliOverview documentation
d2bb04fcd2Håkan LundvallDokumenterings race
0553529b08Håkan LundvallChanged test-f and test -d to stat
15657c9d72Levon SaldamliOverview documentation
fdfec44abcHåkan LundvallDokumenterings race
f220974fe3Levon SaldamliOverview documentation
36a9acccc8Peter AronssonAdded documentation to the beginning of file
1a291e1245Kaj NyströmDocumentation race again! Wohoo!
3f1c2240ffPeter AronssonAdded documentation to the beginning of file
f806123244Levon SaldamliOverview documentation
45aa9d8c33Levon SaldamliOverview documentation
00d4ab766bLevon Saldamlibugfix
774b91c9dbLevon Saldamlibugfix
e316abe751Peter AronssonDid stuff on codegen
9e4d226ecePeter Aronssonadded comments to beginning of file
46f6c2aac0Kaj NyströmDocumentation race again! Wohoo!
e78043caebLevon SaldamliOverview documentation
8714d33452Peter Aronssonadded comments to beginning of file
6c266eec27Levon SaldamliOverview documentation
a645dfd653Peter AronssonRemoved
dec538a492Peter AronssonAdded derivation of sin(x)
6090a7c26bPeter Aronssonadded comments to beginning of file
2b4f6fe322Peter AronssonAdded comments to beginning of file
22233fb2f8Kaj NyströmDocumentation race again! Wohoo!
a7985705d0Peter AronssonRemoved cache
9c4ae08720Peter AronssonAdded comments to beginning of file
8e6cfc9b59Kaj NyströmDocumentation race again! Wohoo!
94de2f0f3bKaj NyströmDocumentation race again! Wohoo!
a3f9cb75b7Peter Aronssonfixed compilation error.
4a5c675739Håkan LundvallRemoved: with "Algorithm.rml"
9383a868b1Kaj NyströmDocumentation race! Wohoo!
f4d35b34a0Peter Aronssonsome modpar bugs
6299810073Peter Aronsson*** empty log message ***
307db6b735Levon Saldamliform_bdr_on_bnd added. Unneeded arguments in poisson_rheolef.cc removed
59fa125bafLevon SaldamliWorking Poisson and Diffusion with Dirichlet boundary conditions
dbeb39d86aPeter AronssonAdded simple euler solver.
76317e335ePeter AronssonFixed bugs in codegen
32f0ec3ab6Levon SaldamliBugfix
cc24f494fcLevon Saldamli*** empty log message ***
3283def28cLevon SaldamliInitial
72b50be1f7Levon Saldamli*** empty log message ***
81a60817d8Levon SaldamliInitial
342e4d1e0fLevon Saldamli*** empty log message ***
d2c631a6beLevon SaldamliInitial
b60afa66e0Levon SaldamliInitial
7e787dad8ePeter AronssonFixed bugs with connect statements. Removed Simple equations before blt, etc.
203c6836baHåkan LundvallFixed bugg with plot
bc90cbb70fHåkan Lundvall*** empty log message ***
9965be6e35Håkan LundvallRemoved some debug printf
2bdf6c5b14Håkan LundvallCurrected bugg: generated fclass eventhough the modelica_outputflag was set in some cirumstances.
f7cab62cacHåkan LundvallIn translateModel and simulate the flat fail is generated with class insteead of fclass, otherwise ModSimPack won't work. Change back when ModSimPack understands fclass.
bcf1ddf562x02lucpoImplemented sqrt, div, mod, rem, ceil, floor, integer. Lucian Popescu
d71bbccce6Peter AronssonFixed bug in instantiation. Modifiers were not elabed in update_variable_in_env.
2a92c1cee8Kaj NyströmFixed error in comment line number recognition
924b1a2265Peter AronssonFixed connect in loops
407201308bKaj NyströmRemoved filename bug from dump
a8fbb705a6x02danhegetComponents() now returns declarations containing unresolvable types
0aa0541815x02danheImplemented deleteClass() for the interactive API
0f42a50f57x02danhe*** empty log message ***
75b2931cbfPeter Aronssonmerging outer loop now linear.
a880f9a2efPeter AronssonForgot paralleloptions..
b9f1e5170ePeter AronssonAdded modpar module. To enable, configure with --with-MODPAR and --with-BOOST=boostdir
96352d59a7Peter AronssonAdded modpar - automatic paralelization, configure with --with-MODPAR to enable
362cc725bbLevon SaldamliFixed priority bug in print_exp2 and print_exp2_str Added dump_exp_graphviz Added exp_contains (can check if a component reference occurs in an expression) Added solve (can solve linear equations Added get_terms_containing_x (not used anymore) Added rules to simplify to simplify expressions (0+a, 1*a, - - a etc)
e9185c9fa3Levon SaldamliReplaced differentiate_foo with differentiate_foo_time and added differentiate_foo which differentiates with respect to a given variable
4e4fe8033cLevon SaldamliReplaced differentiate_equation with differentiate_equation_time
513e8bf2aaLevon SaldamliInteractive test functions exp_contains and solve
f726d96234Levon SaldamliUpdated dependencies because new files added
f2fab7bdc8Peter AronssonImplemented BLT sorting using dummy derivative index reduction technique, accessed by giving the flag +d=blt and possibly bltdump.
ff3269734aLevon SaldamliMinor debug support
ccea0c7081Levon SaldamliFixed string_comment
777cd74baeLevon SaldamliBug fixes: was returning garbage when t==null
5ae6007008Levon SaldamliTurned off defaultErrorHandler
c9a3122319Levon SaldamliError handling
9b4757a9a8Levon SaldamliMoved -lcrypto and -lssl to CORBALIB
e25c74c04bLevon SaldamliMoved -lcrypto and -lssl to CORBALIB
87ab47e040Håkan Lundvallbugfix
6d5c654baeHåkan LundvallCORBA now listens on 127.0.0.1 and does not do reverse lookup before storing the adress in the the object id string.
4563d2c12cKaj NyströmAdded line and column info to ast
a6c4cc439aKaj NyströmAdded line and column info to ast
d532b6ff68Kaj NyströmAdded line and column info to AST
cfe1606f72Kaj NyströmAdded line and column info to AST
6a48dc1f22Håkan LundvallAdded quotes around filename in plot command to allow spaces in paths
a98b47a8f2Adrian Pop2004-05-14 a little txt file with the 2.1 Modelica grammar very useful for fast referencing
24d5c2abfdAdrian Pop2004-05-14
25dd20f107Adrian Popadrpo checking in version 2004-05-14
1a0e28532bLevon SaldamliAdded functions to dae and flatmodelica
b8171859c4Levon SaldamliSome Exp.REDUCTION stuff in ceval
7d94771b4bLevon SaldamliAdded more debug support (error message in parsestringexp)
504e1c2583Levon Saldamlihave run make depend
3ed386f5efLevon SaldamliFixed parser error in array constructor code in parser Added more debug support (error message in parsestringexp) Fixed some .cvsignore files
e6f2b05f8aLevon SaldamliAdded corba stuff to configure and made it an optional package
769acc7f4eLevon SaldamliAdded corba stuff to configure and made it an optional package
9c0dd4927fLevon SaldamliConstant checking of array constructor expressions containing iterators fixed.
2097c5872eLevon SaldamliArray constructor added as syntactic sugar. {expr for iter in range} is created as array(expr for iter in range) in Absyn. Implemented in walker.
f8ba2de282Levon SaldamliBugfix
0662b52f24Levon SaldamliInitial work for reduction expressions, e.g. parameter Real a[5]=array(2.*i for i in 1:5);
8c67c34b7eLevon Saldamliconst struct dirent
4f7ce8601aLevon SaldamliAdded "none" virtual flag. Debug.debug_flag("none") returns true when no +d-flags given.
03ffd9d322Levon SaldamliMinor
749bc9a67aLevon SaldamliFor iterators (reduction expressions 3.4.3.1) and array constructors with iterators (3.4.4.1)
f7731dde7dLevon SaldamliPROP_TUPLE?
31eb247ee9Levon SaldamliRemoved buffer clearing for easier debugging! Added "none" virtual flag calls and "flatmodelica" flag calls. "none" will return true when no +d-debug flags is given.
ba196ded6eLevon SaldamliRemoved forgotten debug printing.
77c5d1806bLevon SaldamliMerge mistake fix. FOR_ITER_EXP and FOR_ITER_FARG
3bbdefe2f8Levon SaldamliFOR_ITER_EXP and FOR_ITER_FARG
e6a5a13462Levon Saldamli28.
208a303405Levon SaldamliVirtual flag "none"
e6befc1080Levon SaldamliPoints 25-27
c25a7d4c7aLevon SaldamliFixed error in print_list_debug
81dc2bc8b5Levon SaldamliAdded fcallret
6f07f5eaacHåkan Lundvall*** empty log message ***
63bc9c351bLevon SaldamliMinor fixes
fca1d2aeb1Levon SaldamliFixed for antlr 2.7.2
b0acd94860x02danheUpdated testing script to handle parse error message tests. Added tests for for parse error messages.
c5c68ff23fx02danheImproved parsing errors.
767dfe6951x02danheImproved parsing error messages and propagated these to clients when using the interactive API.
4ed1b70754Håkan Lundvall*** empty log message ***
4615d2da27Håkan Lundvall*** empty log message ***
ecdb26adeeHåkan Lundvall*** empty log message ***
8a7f24c1ebAdrian Pop2004-02-26 Adrian Pop adrpo@ida.liu.se added cygwin and test directory
3e505495e5Adrian Pop2004-02-26 18:04 Adrian Pop adrpo@ida.liu.se added modelicaxml-v2.html
4063afb520Adrian Pop2004-02-26 18:02 Adrian Pop adrpo@ida.liu.se added ModelicaXML.snl and .vcproj
927cc64b09Adrian Pop2004-02-26 Adrian Pop adrpo@ida.liu.se Alpha Release of ModelicaXML
dc83df81edPeter AronssonMade modeq multiuser friendly when having corba comm.
9467fb91b8Peter AronssonMade modeq multiuser friendly when having corba comm.
ef2dd246f8Peter AronssonChanged lookup. Components from inherited classes are annotated with the baseclassname and this is later used when instantiating to find correct environment. The old lookup, with baseclasses annotated to environment does not work for all cases.
3da2c679acPeter AronssonChanged impl of hashtable to binary tree in environment. The lookup is still buggy. Solution needs big redesign.
66ea58c016Peter AronssonAdded todo list
b6292ed17cPeter AronssonFixed bug in inst. DAE can not be generated for builtin types, but it is needed for looking up unit, quantity, etc. Do not know how to solve...
64309f5de4Peter Aronssoncalling scripts from prompt now possible
d18d417b50Peter AronssonFixed small things, script callable from prompt using modeq scriptname.mos.
ef8ef0def1Kaj NyströmFixed error in corba build order
c10d086f89Peter Aronssonreimplemented overload.
14b6d1e0e1Peter Aronssonreinserted overload operator, fixed external bug.
7216bd6e81Peter AronssonFixed bug with Real[3] x; in unparsing.
ad9442af15Peter AronssonAdded overload operator, again! and fixed external function bug.
40d05885daPeter AronssonFixed two bugs in unparsing.
87defdbefdPeter AronssonFixed some bugs incl. getComponentAnnotations
e08930f23bPeter Aronssonimplemented getComponentAnnotations
16c66f5ef2x02danheAdded functionality for updating and removing protected components in a model. /Daniel
8520572618Peter AronssonFixed bug in getIconAnnotation and getDiagramAnnotation
b85d32aa8ePeter AronssonFixed bug in getNthComponent, etc.
5338095279x02danhedelete_connection now handles classes not definied at top level correctly. /Daniel
10ab07b6edPeter AronssonFixed update_component so that modification and annotate can be given separately without destroying existing data
db9c4c8c86Peter AronssonAdded partial_inst_class_in to speed up lookup of classes.
b94e46bcb6Peter AronssonFixed some bugs
35dfad43d1Peter AronssonIncreased performance, fixed some bugs.
b2db3e7887Peter AronssonFixed bug in Bitmap
d363e6addcPeter Aronssonfixed bitmap + update bug
329723d36fPeter Aronssonimplemented isProtected
1433ffc27dPeter AronssonImproved performance, fixed bugs.
d867b983f9Kaj NyströmUpdated README to reflect recent changes in OpenModelica
d769d0468dKaj NyströmUpdated documentation, bugfixing, link to rml, new todo-list
67780758e1Peter AronssonAdded split definitions, e.g. allowing 'package A' as input.
7cc3168b0fx02danhe*** empty log message ***
836ba26cdePeter AronssonSwitched from boa to poa impl.
34cc8bae20Peter AronssonSwitched from boa to poa impl.
8ec098c509Peter AronssonFixed some makefile issues.
2f3b1816f1Peter AronssonFixed some makefile issues.
81e2e199c9Peter AronssonAdded.
6a61bc5b7fPeter AronssonAdded corba implementation to modeq. Accessed with +d=interactiveCorba.
2348a54218Peter AronssonAdded corba implementation to modeq. accessed with ./modeq -corba
d220b8bb63Peter AronssonRemoved overload keyword, instead allowing multiple definitions of functions with same name in the same scope.
8d69922698Levon SaldamliDebug traces
79e94725c1Peter AronssonFixed bug in getNthComponentModification, not wrapping modifier in Code operator
9211d6893aPeter AronssonUpgraded parser to work with antlr-2.7.2, will probably not work with 2.7.1 anymore
15490e24e4Peter Aronssonadded getNthComponentModification, returning Code expression.
4a00a84313Peter AronssonAdded fsync to sendcall
6080683c63Peter AronssonFixed bug with duplicated class annotations when calling addClassAnnotation
f782de99cfPeter AronssonFixed bug in dynamic buffer
f1ec732c80Peter AronssonFixed bug with addClassAnnotation creating several annotations
c43b5e2cffPeter AronssonAdded locating protected annotations for icon and diagram
125e96fbbfPeter AronssonRemoved inst. in get_nth_component
3a7742c68bPeter AronssonaddComponent now takes Code modifier expression. ceval now evaluates Eval operator for most common cases.
b7edc1be43Levon SaldamliChanged default compiler to gcc (removed /usr/bin, not working on solaris)
927c308f20Levon SaldamliFixed scandir again
3973d33bdfLevon SaldamliUpdated
b1aa0de8a6Levon Saldamligethostbyname and libnsl check added
5f245849e5Levon Saldamlifixed scandir check on linux
3919247fbdPeter Aronssonfixed bug with faster icon annotation
a411c987dbPeter AronssonFixed bug in dynamic buffer
9fd8823e1bPeter Aronssonfixed bug with faster icon annotation
e628368767Peter Aronssonfixed a small bug in new dynamic buffer for socket impl. Also fixed faster icon annotation
a3b8b475c8Peter AronssonChanged lookup implementation. Now looks in inherited classes implicitly, throug an extra list of inherited classes in Env
40e33eca8eLevon SaldamliAdded c_runtime to modeq
791f24160dLevon SaldamliCodegen of Exp.SIZE fixed
c09b5d09e9Peter AronssonFixed bug with elab_arraydecl and size(x,1)
ca9a4f0002Peter AronssonFixed bug with modifiers on extends clauses: Typeinfo on modifiers where earlier lost when flattening. Now they are preserved. The solution is to collect them together with each element item in the list that inst_element_list acts upon. NOTE: To prevent circular dependencies Mod.Mod was moved to Types.Mod
6a56529cebPeter AronssonRedesigned implementation of builtin operators. elab only determines type and constant value properties. Ceval.ceval should be used to retrieve a value. The size operator has now been implemented using this new design. The other operators should also be implemented so. This code will probably destroy some parts of codegen, since size is not replace by functioncalls size_of_xxx_array, etc.
265daab437Peter AronssonFixed lookup bug for functions. Fixed doc.
45fcc875c2Levon SaldamliCorrected some of ALG_TUPLE_ASSIGN. Still not working
beeb19f149Peter AronssonFixed bug with 1.e-15 and protected after equations.\n
9431b14981Peter AronssonFixed plotting bugs, etc.
3fe3d7c26bLevon SaldamliCode generation seems working
bad05be902Levon Saldamlistring fixed stdio.h added (yacclib.h needs FILE)
ac639c6d01Peter AronssonFixed plotting function, using ptolemy. Export and import of simulation data according to ptolemy standard..
3291c0e102Levon SaldamliWorking code generation.
6bcb4a9211Peter AronssonChanged names of functions according to Peter F.s book.
e9ebf5c006Peter AronssonFixed so unconnected flow variables are set to zero, and fixed so parameters are not substituted for their value in equations.
d487847ff0Peter AronssonFixed bugs for osmme and for external functions.
80297718fbLevon SaldamliMerged and resolved conflicts but examples not working.
8fa5398357Levon SaldamliAdded matching_state
681b8070a4Levon Saldamliallow zero-length debugflag string
361470410eLevon Saldamliincluding string
186d2e9f6bLevon Saldamliinit_modelica_string added
0ff89ebedbLevon SaldamliConversion to and from Fortran 77 arrays (matrices)
5d1a2e9026Levon Saldamlisocket added to AC_CHECK_FUNCS
785360c99fPeter AronssonFixed several bugs with functions, e.g. Real X[:]=Y, etc.
ec4af22942Peter AronssonFixed bug with infinite recursion when instanitating Modelica.Blocks.
ac0f73e954Peter AronssonRedesigned Type to cope with all types for operator overloading and koening lookup
558a8eea23Peter AronssonAdded support for operator and function overloading.
323b44a697Peter AronssonAdded support for quoting using the Code keyword.
78eb02b929Peter AronssonAdded support for quoting using the Code keyword. Implemented a faster Env: is now a hashtable using RMLs vector datatype. This will prevent a linear search in each frame.
c3ba5aba93Peter AronssonFixed bug with Real x[:,size(x,1)] e.g. referencing its own definition but different dimension.
e635e60972Peter AronssonAdded author
e97da34b3ePeter AronssonFixed bug in unqualified imports.
2a5b249b5aPeter AronssonAdded manual written in LaTeX.
810dccafc3Levon SaldamliTest program for testing the parser. Uses parse_tree_dump to dump the parsed file
e0302771f2Levon SaldamliTarget test for the test program added
82c02c91cePeter AronssonloadClass now handles several paths (separated by colon) in MODELICAPATH
c82491ef98Peter AronssonCache now working, but speeds things down :(
39059ef1edPeter Aronssonadded clearCache function.
aa64674945Peter AronssonFixed two bugs with encapsulated. Removed old cache implementation. Made new external cacheimpl, not working yet (gc problems)
2e45a825f7x02kajnyInitial revision
d100b1bc11Peter AronssonAdded several operators and fixed several bugs. EvapIOTest example from Ruediger Franke now works (174 seconds)
da87e924d4Levon Saldamlidouble message
b278933a47Levon SaldamliMaking rml2sig before modeq
4be5fbdd24Levon Saldamliscandir check and socket+libsocket check added
c8d432979aLevon SaldamliFixed libsocket check in configure, removed arch check and ifs
bb5d4bb875Levon SaldamliRemoved example part
4c58dac2e1Levon Saldamliscandir check, fixed by configure
2ba5924e7bLevon SaldamliLEX for rml2sig
a8eafe1602Levon SaldamliSig file support fixed
587e738805Levon SaldamliInitial
81ac1173cfLevon SaldamliMerged back interfaces and implementations
fc3642c8ccPeter AronssonAdded array constructor. Made all fail printing visible throguh failtrace flag.
b58ebecc24Peter AronssonAdded optional modifier according to Modelica2.1
57080af5e1Peter AronssonAdded element support for builtin types, e.g. unit, quantity. Added getUnit, getQuantity,..., functions. Fixed optional modification in absyn and parser. Added support for structural parameters and partly implemented analysis to dectect those.
d2705ca6d0Peter Aronssonremoved tempfile, not platform independent.Added compilation check.
25fb8d46bdLevon SaldamliSeparated rml files into interface and implementation. Use myrmlc for compiling as before. Only one file at a time can be compiled
1a6366fcd1Levon SaldamliModelica String implementation, use with e.g. external functions
6544072aa8Levon Saldamlilocal (protected) variables in functions implemented. Started to implement strings in external function interface
8ef99559fdLevon Saldamlilocal (protected) variables in functions implemented. Started to implement strings in external function interface
5aa5eae37dPeter AronssonFixed bug in addConnection for classes in packages.
8331335153Peter Aronssonfixed small bug in text.
8f22429d59Peter AronssonAdded compile text, example.
91ea514671Peter AronssonAdded caching, assert, helptext and help command
71e7c67791Peter AronssonAdded time relation
75e97e6ee7Peter AronssonFixed bug in lookup of qualified imports
f045fd9472Peter AronssonFixed bugs in lookup inside packages. SignalVoltage now works for Modelica Stdlib v1.5.
62c390d68fPeter AronssonIncreased socket buffer to 4000 bytes.
2ff7ff5e09Levon SaldamliA simple scandir implementation for solaris, without sorting.
bd3045154dPeter AronssonFixed bug with extending functions not yet declared (use before declare)
ca31df7fd3Peter AronssonAdded binding and comment options to addComponent and updateComponent
b956c39a97Peter AronssonFixed attributes in derived classes.
82b77f411cPeter Aronssonfixed bug with type_prefix in derived classes.
f26420d9edPeter AronssonFixed bug in getNthComponent.
e6f0140228Peter AronssonFixed deleteConnection and updateConnection.
0f1f990cfcPeter AronssonFixed many bugs in flattening of inheritance structure. Now translates Modelica.Electrical.Analog.Sources.SineVoltage
522d4834a4Levon SaldamliFortran 77 support fixed
e93813bebcLevon SaldamliFortran 77 support
7aad0c41d6Peter AronssonFixed addClassAnnotation, to be used for adding Icon, Diagram and Documentation annotations to classes.
887591d4ddPeter Aronssonfixed bug in getNthConnectionAnnotation.
6b2bbf1da2Peter AronssonMoved many interactive functions to StaticExp, such that they can be evaluated in any sub-expression. Also fixed bug with getIconAnnotation, getDiagramAnnotation.
472f2e75d1Peter AronssonFixed several statements per input. Ouput if no semicolon.
496fc44742Peter AronssonAdded isClass
f1dccf88f9Peter AronssonFixed bugs in unparser, now unparses ThermoFluid correctly.
b663b5ed1aPeter AronssonRemoved relaxations. 1. and .12 and 1.e-4 etc SHOULD NOT be allowed (Many people in design group has this opinion)
7283134499Peter AronssonUnparser running. Accepting whole modelica standard library.
528a2ef870Levon SaldamliBugfix
b1332175d9Peter AronssonFixed bug with casts on arrays in graphic annotation expressions
6b2763b2b6Peter AronssonImplemented deleteComponent.
967fd04716Levon Saldamlihistory save and load
6dcbde2a7bPeter AronssonFixat bug i addComponent
b676ce05f7Peter AronssonFixed bug with Diagram in component annotations.
b715396bccLevon SaldamliPartial external function support (records missing)
9cb3e7af32Levon SaldamliPartial external function support (records missing)
aa9adb52c7Peter AronssonFixed bug in declare before use. Now have untyped modifier expressions temporarily when instantiating.
ad9bdd7c99Peter Aronssonfixed some bugs with redeclarations. Not quite bug-free yet
ba850895a6Peter Aronssonredeclare partly implemented (no subtype checking, final checking,etc yet)
eb7a4873c3Levon SaldamliExternal function support for builtin basic types
fe6946b007Peter AronssonFixed instantiation bug with extends.
dbfa87c805Peter AronssonAdded initial() expression.
93f29e63c1Peter AronssonAdded module classloader and function loadClass that loads a class from MODELICAPATH.
2f4ad24b1dLevon SaldamliTemporary fix for MAXPATHLEN define for unix
13f4b0efb1Peter AronssonAdded impl. for Integers.
024bbe0058Levon SaldamliBugfix for external nodes
e7a2d89daeLevon SaldamliDump of Initial sections and external declarations
31a8558c24Peter AronssonFixed bug with external decl.
417ac9c448Peter AronssonAdded each keyword to absyn
8cc0042f78Peter Aronssonfixed bug in initial equation
8b059de2edPeter AronssonAdded change of local directory for server
5f90beb2f8Levon SaldamliChanges due to additions for replaceable to SCode.COMPONENT
1a2a55bd07Levon SaldamliChanges due to additions to SCode.PARTS for initial equation/algoritm, and SCode.COMPONENT for replaceable.
de95bb058bLevon SaldamliInitial equation and initial algorithm translation added. inst_equation, inst_algoritm, etc.
a60bf15d69Levon SaldamliTranslation of INITIALEQUATIONS and INITIALALGORITMS from Absyn to SCode added. Replaceable flag added to SCode.COMPONENT.
d97f032daeLevon SaldamliDAE elements for initial equation and initial algorithm added
ef1f84140eLevon SaldamliAdapted due to additions of initial equations and algorithms in SCode.PARTS
cc29d87776Peter AronssonFixed C-d and empty line error
f1ab9dafc1Peter Aronssonlookup according to Modelica 2.0 (impl in vardnas workshop)
3a3a62e7cfVadim EngelsonEncapsulated messages added
c25c04146cPeter AronssonFixed bug in InteractiveStmt, changed due to updated Absyn.
ced2b89a87Peter AronssonFixed C-d to exit shell.
fdd90b7059Peter AronssonFixed bug wiht tail
19923d815dPeter AronssonFixed bug with setting of variable and having whitespace.
f7a19d3a38Peter AronssonRemoved unused files, fixed prevent lookup of protected elts
60d6b77cc5Peter AronssonRemoved all parser stuff from mosh
e7bf2e164cPeter AronssonAdded command line option -noserv to start without starting server (assumed to be already running)
49e5db5d66Peter AronssonFixed bug in Polygon annotation, arrows in line. Added methods existModel and existClass
32dd2a1031Peter AronssonFixed bug with subscripting of matrices in modification equations
94647c90afPeter Aronssonadded existClass, changed getModels and getPackages to getClassNames.
98da3fbbc4Peter Aronssonadded isPrimitive and other isXXX functions. Added getInheritanceCount, getNthInheritedClass
9338f7013fPeter AronssonFixed getNthComponentAnnotation
651568360bPeter AronssonFixed bug in function_arguments.
82319e8418Peter AronssonFixed bug in function_arguments when building ast
de8343eb6cPeter AronssonUpgraded to complete 2.0 in absyn (according to spec
622e28dbc5Peter AronssonUpgraded to complete 2.0 (according to spec
65774260e5Peter AronssonImproved some dumping. Some enum bugs. Added correct builtin attributes.
825d203464Peter AronssonAdded R_EXT_FUNCTION as restriction. Propagated external function info down to dae.
ea291cb3c8Peter AronssonFixed bug in external functions (parsing and absyn)
810cbb8568Peter AronssonFixed bug in getIconAnnotation
6643cc1012Peter AronssonFixed type conversion of unknown dimensions, fixed correct annotation building from named arguments
8ed036f4b0Peter AronssonFixed minor things. typeOf function implemented
9f8bb20336Peter AronssonFixed automatic code generation of functions. Fcn in packages does not work yet.
d867fa19bfPeter AronssonFixed InteractiveSymbolTable in elab_exp
caba88da1aPeter AronssonBroke circular dependency by moving stuff from Static to Types
d601503e72Peter AronssonNow compiling, added compiled functions to elab_exp and ceval.
de76ebb868Peter Aronsson*** empty log message ***
d756fd89caPeter Aronssonautomatic code generation almost complete.
b65f23d6c6Peter Aronsson*** empty log message ***
967e47689fPeter Aronssoncast of arrays, whitespace in parsing models, etc.
ccf28838c7Peter AronssonFixed instantiation of models inside packages. Fixed declare before use of functions (types in env).
eeff0e3654x02danheFixed a bug causing the makefile generation to fail if more than one path was returned when executing the find command.
7ed77a8efbx02danheFixed a bug causing the makefile generation to fail if more than one path was returned when executing the find command.
23948aa463Peter Aronssonadded errohandling in socketcomm.
f770acd652Peter Aronsson*** empty log message ***
8a72c23509Peter Aronsson*** empty log message ***
339947c2f6Peter Aronsson*** empty log message ***
18eb569ebePeter Aronsson*** empty log message ***
22ea4a3e6cPeter AronssonAdded external functions to Absyn. Added type convert of vector constructors (RANGE)
e252e7d4b1Peter AronssonCode generation of functions now working inside interactive env
9d82f576bcPeter AronssonRemoved includes of .c files.
1bfe9511bePeter AronssonAlmost finished codegen in interactive.
e0f0331dd8Peter Aronssonadded history
eb42f9f602Peter AronssonnewModel -> createModel
36b1b97789Peter AronssonAdded program to build initial env for expression evaluation
5e97e03a23Peter AronssonAdded evaluation of expressions and storing of variables in interactive through ceval
c2aa7003dcPeter AronssonAdded expression evaluation through staticexp
dcebc9c5faPeter AronssonChanged implementation to work with modeq in interactive mode
09d519a180Peter Aronssonadded encapsulated to Absyn and SCode.
3d5b15cc2cPeter AronssonAdded import statements to instantiation/lookup.
4d2f8482d4Peter Aronssonadded getPackages and getModels
d282476746Peter AronssongetDiagramAnnotation now working.
038ba085b8Peter AronssonFixed getIconAnnotation, incl elab_graphics_exp, MATRIX type conversions, etc.
1c68f70e20Peter Aronsson*** empty log message ***
c53bdd98c2Peter Aronsson*** empty log message ***
711c09b200Peter Aronsson*** empty log message ***
0a14853d6bPeter Aronsson*** empty log message ***
c0bf6c2a7fPeter Aronsson*** empty log message ***
682ef7786aPeter Aronsson*** empty log message ***
96ea66b7d3Peter AronssonFixed bug in lookup_class
5c07884c4aPeter AronssonFixed bug in inst_element_list (declare before use) of array dimensions
e55efa32d3Peter AronssonFixed bug in instantiation of variables (decl before use)
6d767ea253Peter AronssonFixed bug with value propagation into parameter values
d1c6b4a1faPeter AronssonFixed variable bindings when declared before use.
c992eaec04Peter Aronsson*** empty log message ***
f06c4b2355Peter Aronsson*** empty log message ***
73ec9c9d3aPeter Aronsson*** empty log message ***
02204da2ccPeter Aronssonworking on lookup & declare before use
c1ffb8e354Peter AronssongetIconAnnotation now works.
f6a2954b17Peter AronssonFixed bug in record constructor, now handles dimensions correct. Also moved som instantiation work from lookup to inst.
a813d70f41Peter Aronssonfixed bug with ordering of arguments to functions.
88f1676b02Peter AronssonFixed positional and named arguments to functions in staticexp.
86d4891099Peter Aronssonmoving to laptop.
9397f501b3Peter Aronssonfixed bug in component annotation
adb9135481Peter AronssonFixed function calls with no arguments
f64dafad18Peter Aronssonimplemented list of symboltable.
2cd3808336Peter Aronssonadded implicit lookup of record constructor functions
5b7f6ff4b7Peter Aronssonadded getIconAnnotation
e33aa74f52Peter AronssonAdded flat records for Graphical primitives.
568c6e5adbPeter AronssonAdded getNthConnector and getConnectorCount.
e73a33b6e8Peter AronssongetNthConnectionAnnotation almost work
cea4c43829Peter Aronsson*** empty log message ***
1a3e17f75ePeter AronssonAdded lookup rules for enumeration and completed other parts of enumeration
5d4e11013dPeter Aronsson*** empty log message ***
71b7d33286Peter AronssonFixed lookup of local classes, incl. packages.
5a759a0ff3Peter AronssonTemporary fix of lookup bug, Enumerations partly working
8064d931e8Peter Aronsson*** empty log message ***
159fe65d76Peter AronssonAdded enumerations to parser and Absyn.
c84690a92bPeter AronssonAdded enumeration type.
a8094ce384Peter AronssonAdded connection annotations to parser and absyn.
2a9b9bfb64Peter AronssongetNthConnection completed
f6257aaa43Peter AronssongetConnectionCount completed.
24facd4926Peter AronssongetNthComponentAnnotation completed.
5230e1f941Peter AronssonFixed bug that removed equations from components, in relation fix_direction.
433b79c0fbPeter Aronsson*** empty log message ***
eef8ffdd54Peter Aronsson*** empty log message ***
f74ebb222aPeter Aronssonallmost added getNthComponentAnnotation, migrating to laptop
09d8e0c6d4Peter AronssonAdded text file explaining interactive api
a7e49cce33Peter AronssonChanged api functions, strings -> componentrefs
2e549ee4c4Peter AronssonAdded translateClass function, and dumping of DAE to string
dfeb6223e3Peter AronssonAdded addComponent function.
cf46470884Peter AronssonAdded named arguments to functions.
cf725c768fPeter AronssonAdded named arguments in functions to parser and absyn
ce2aa29e9bPeter AronssonAdded newModel(foo) and newModel(bar,scope) to interactive env
4cc3f1ba26Peter AronssonAdded graphical annotations to absyn.rml
05b454ae28Peter AronssonFixed bugs in within.
f8ee5ada6cPeter AronssonWithin now works, i.e. local classes can interactively be inserted
ee9a893b55Peter AronssonAdded within to Absyn.Program
3136a93a57Peter AronssonAdded incremental adding of top level classes
4f69e1c2c5Peter Aronssonadded interactive symboltable
0a493a26f6Peter AronssonAdded expression parser in the interactive environment
617af49b39Peter AronssonAdded expression parser in the interactive environment
b02f830278Peter AronssonSmall bug in revision info
36f5a417eePeter AronssonAdded socket communication for an interactive mode compiler. Start modeq with +d=interactive,dump,interactivedump and then telnet to port 29500 to send models to the server. So far the models are not saved anywhere, they are only output if dump flag is set.
ea5743e79fPeter AronssonAdded inner/outer to absyn
c4c518e6faPeter AronssonTurned off ast debug print
59395c31d7Peter Aronssongethrtime returns zero until a platformindep solution is found.
e533a40925Peter AronssonAdded cleaning cpp and hpp files generated by antlr
66f9f7e0eePeter Aronssonadded extra check of rmlc
4621f493f3Peter AronssonRemoved linking with runtime, c files are included instead
6477f09e68Peter Aronssonadded ./ before executable, not certain that . is in PATH
62256199a6Peter Aronssonchanged /dev/null to empty tempfile
f6b82f6dc0Peter AronssonAdded antlr.Tool check in CP
f3f5360f45Peter AronssonFixed bug in rmlc
f4da1a45a8Peter Aronssonremoved c_runtime/Makefile from being generated
1df03d2253Peter Aronssonbash script bug
09032324cfPeter Aronssonsame bug again!
fab3dd9905Peter Aronssonbug in libreadline.a
d911c88c45Peter Aronssonadded Makefile.in, removed Makefile
a242b2a54bPeter Aronssonadded Makefile.in, removed Makefile
3e22cfb72aPeter AronssonAdded Makefile.in, removed Makefile
97b98ad558Peter AronssonAdded configure scripts
53bed2f4c9Peter AronssonAdded gethrtime and changed modelica_integer to long
c7ffa532fdPeter AronssonAdded check if MOSHHOME is set or not
e5d6ca76e3Peter AronssonAdded extra functions for array_addr_element with dimension 1 and 2
5e703f96faPeter Aronsson Removed warning flags, set optimizing flags
67bc0009baPeter AronssonFixed so modelica.h includes the c files, such that function inlining can occur
22156b7d1ahenjosimplex handles different sized array
7368c3fae6henjoAdded more copyright notices
8d3c7056c1henjoAdded more copyright notices
d4140ab64dhenjoAdded copyright notice
122acbc629henjoAdded README file
a90dbf6d22henjoAdded license file
1ec2a45dd0henjoAdded license file
1987ebb114ankarAdded #include to make it compile on Linux again.Fixed bug in operator+=.
bbdbcc2748henjoAdded copyright notices to files
41babbe28ahenjolast minute changes
8d9e5a44fdhenjolast minute changes
0bdf41fb95henjoAdded more functionality
3acd52a16dhenjoAdded more functionality
563b2d78e4ankarImplemented matrix multiplication (vector * vector,vector * matrix,matrix*vector,matrix*matrix).
3d5d12d9c2ankarMore work on array arithmetic.
79809dff72henjoSome changes made so that more things are working
a6555b21daankarImplemented unary minus. Nuked some compiler warnings.
5fd7b2b0d5ankarMore work on arrays.
41244189bdhenjoFixed checking of reading input paramters
bb630b3db3henjoFixed error in simplex
f82100c949henjoFixed indexing operations
0d8feb1467ankartest file.
318d934b49ankarreal_array and integer_array are now classes.
328bb146a2henjoFixed some things
c39a2a8356henjoAdded testscript
ca229119ebankarInitial commit.
16b15f3f5aankarInitial commit.
af48c1c3f6henjoIntroduced type information to input file
0861c21787henjoCan now generate code for functions with variable sized arrays
8b03153bd2henjoMoved compiled files to other dirs added .cvsignore file
51b24d318bhenjo*** empty log message ***
b26f324ff6henjoAdded integer read write routines
8933b4d89dhenjoFixed some operators
151b63c682henjoAdded testcases
39099f1441henjoRenamed file
61b045bec8henjoAdded more tests
1bb7ecd4dahenjoRemoved .main.c files
2e81a78201henjoAdded utlity functions
537cee5f88ankarChanged calc_index_va to one-based indexing.
bb21cbc0f9ankarpromote_real_array and promote_real_scalar now allocates dimension vector.
e9febf7875ankarAdded array_real_array, array_alloc_real_array.
61fd2d40cdankarAdded simple_index_alloc_real_array1.
b0dedd62d0henjoMore codegeneration done
0dd73a01d1ankarAdded calc_index functions.
6fe1c19d82ankarAdded range_alloc_real_array and range_real_array.
995e7a1000henjoadded newline to write
c3edb41f19ankarAdded mul_alloc_real_matrix_product_smart.
e596b8872chenjoFixed order of declarations in coden of read fn
afb8b5892ehenjoNow generates stub fn
1b30074800henjoadded read_write fns
98985f9309ankarAdded include to stdio.h
bf22380abfankarAdded prototype for real_array_nr_of_elements.
221facb96bhenjoAdded makefile to build lib
bdcc1206aehenjoCan generate c-code for array mults and assigns, added some testcases
f05ffa67f0ankarFixed some compiler errors.
7d40084c00ankarAdded main header.
d4c7518302ankarFirst revision of OpenModelica runtime. Just array implementation so far.
c65c928825henjoAdded new operators to handle matrix and vector operations
bde0bcfe97henjoFixed problem with empty argument list
e976d9e912henjoFixed indentation
f1a259b7fahenjoChanged parser to a 1.4 compliant antlr-based parser. made some updates to absyn to handle new 1.4 primitives. Fixed for-loop scooping in equations
0678dd1d4eankarChanged ModelicaTokenTypes to modelicaTokenTypes.
42833cf915ankarMoved rel_op to relation.
e935a9d443ankarInitial import of new modelica_parser.
760e4872b7Levon SaldamliDebug dump of env at class instantiation and equation elaboration (envgraph and expenvgraph)
729a27ef89Levon Saldamliprint_env_graphviz: Generate a graph representation of the environment using graphviz
dfd3d04fccLevon SaldamliGraphviz generation help relation build_gr_strlist
beb43a2163Levon SaldamliEnvironment dump flags
ce51989414Levon Saldamliget_matching for general lists
0a879b440aLevon SaldamliChanged first label of NODE so that it can contain spaces.
3435fc5d83Levon SaldamliMinor fix.
92c4012034Levon SaldamliGraphviz module.
f0bace95e8Levon SaldamliDump the AST in graphviz format, so that it can be visualized (using dot or dotty from graphviz package)
f18d9364a2Levon SaldamliCode generation. Mainly functions at the moment.
123d896bfbLevon SaldamliRemoved the pde-related flags.
8299c01441Levon Saldamlidebug flag support
85fea0dc5fLevon SaldamliMinor
0cbaf43315Levon Saldamlimake_function_type, creates a function type. relations to collect different kind of variables (get_vars, get_output_vars etc). get_type_name
5f3dfca48bLevon SaldamliUtility relations. elab_exp_list, elab_cref_list, get_properties etc.
1d4078ce86Levon Saldamlidebug flag support.
24e0f7e130Levon SaldamliUtility relations.
fe6a7408c3Levon SaldamliChanged REDECL to contain SCode.Element list, so that an elaborated classdef can be stored.
3a0c546d2cLevon SaldamliFlag directed execution. see DEBUG.TXT
3aa9acf73cLevon SaldamliDebug trace in many places. Cleanup. Layout fixes
c0febdc52dLevon SaldamliImplementation of redeclare. Working with functions at least.
477f567154Levon SaldamliSome cleanup. Absyn.ElementSpec in REDECL changed to Element list, which is the result of applying elab_elementspec to Absyn.ElementSpec
545b94a907Levon Saldamlicref_equal, compares whether two crefs are identical. Does NOT check subscripts (ignored).
32edfb21c0Levon Saldamliprint_env print_frame
b8816b507bLevon Saldamliprint_exp_str to print an expression into a string. print_component_ref_str. print_list_debug, tracks the caller. select_string get_string_list
bc1db425f0Levon SaldamliDebug.print bugfix.
e9987bf276Levon SaldamliAdded variable direction (for arguments of functions). (But isn't this info in the function type already, at least now?)
790aeb9265Levon Saldamliget_state_name added
2bace30b18Levon Saldamli*** empty log message ***
f3a614cd06Levon SaldamliUpdated rml path. graphviz rml files added.
9c64cebb98Levon SaldamliMinor cleanup. Restiction -> string
3a05884ec5Levon SaldamliMinor cleanup
e488528757Levon SaldamliRemoved double of "boolean_type" in the builtin environment
b98b49bc9aLevon Saldamli*** empty log message ***
8b7e39c815Levon SaldamliWorking at PELAB
5049e8904cLevon SaldamliRML path
662ce623aeLevon SaldamliLatest from x98petro not committed or added
a1071c86f7x98petroArray handling is probably broken in this version. Should be fixed in next version.
55298a3c9bx98petroArray handling is probably broken in this version. Should be fixed in next version.
0c96272ed4x98petroModifed the grammar to accept multiple return values from functions.
ef831309f7x97davkaPeters korrektur.
05af8d5a1dx97davkaChanged "rml"
d5c8cf695ex97davkaDoc fix
32eda87a99x97davkaPontus korrektur.
514d6d9b31x97davkaCompleted
ca173a3f38x97davkaDoc fix
dc5a327a40x97davkaTypo
32e2a155b8x97davkaFilled the last holes.
08fbe6bce0x97davkaAdded MOdelica 1f
002531bba1x97davkaOops! Fixed static scoping.
199979a9c0x97davkaNew file
0ba8c084bex97davkaMinor fixes.
06eb4365f7x97davkaAdded a lot of stuff.
007207babcx97davkaDoc fix
f9b73ece64x97davkaFixed the mess I caused with remove_set
c31f4a8975x97davkaUse module header
4a527d334ax97davkaFixes
17f5f7396bx97davkaSome additions
e8f4675148x97davkaAdded bibtex rule
0ac4484e7ex97davkaDoc fixes and some minor code cleanups.
5ff6e658c2x97davkaUgly DAE.VARVAL hack Some cleanups
ac7bf3fbefx97davkaCheck modelica_output
f8b141062ex97davkaIntroduced ugly VARVAL hack.
bbb46eb938x97davkaminor additions
1126aa58a3x97davkaMinor fixes
d56b33a399x97davkaBug and doc fixes
f0df895c78x97davkaAdded modelica_output
473624c8ecx97davkaFixed stuff
4d9529c2ffx97davkaFixed output
23001385f4x97davkaCleanup
2c5a19763bx97davkadoc fix
24024ac4e0x97davkaRemoved debug info
d324855b70x97davkaConvert illegal characters when modelica_output is true.
cf1be90974x97davkaAdded the possibility to output DEFINE as EQUATION
6aa3f44ea3x97davkaSmall change
3e87765705x97davkaMinor bugfixes
39fd319a8ax97davkaRemoved debug stuff
71d482b0d8x97davkaAdded more on Modelica
75d9cde84fx97davkaRemoved debug output
041a4cd3afx97davkaFixed stuff
1e087f3560x97davkaDoc fixes
900c0dcf3bx97davkaadded limitations
d22c2a0666x97davkacheck_subscript returns the new type also
bdb7b6bc3dx97davkaAdded ARRAY again
38874048adx97davkaAdded split_arrays
26683b2a66x97davka*** empty log message ***
d121c9ceb1x97davkaarrays only have one dimension now. Lookup start in builtins.
f5aa8fc791x97davkaFixed stuff
d5c4de5d07x97davkaNew option: split_arrays
3914c72be4x97davkaSplit array and composite equations. And stuff.
ba8b79161cx97davkaNew simplify rules
c3bc5b85f0x97davkaReinstated ARRAY
8f44291880x97davkaChanged EQUATION and added DEFINE
8208c62b35x97davkaDAE changes
b2d637226ex97davkaType conversions in assignments work again
ccd43ea440x97davkaReintroduced ARRAY
abdf668975x97davkaNew dependecy rules
43beccd611x97davkaadded stuff
b291b60f0dx97davkaRestructured and stuff
cda4b3dae7x97davka*** empty log message ***
932d549cb9x97davkaNew file
0182b83568x97davkaAdded translation figure and stuff
5119f6277fx97davkaAdded accessibility
31a5ee6ce1x97davkaFolllow DAE changes
0b0b0706e0x97davkaAdded accessibility field to the attributes.
d31da39618x97davkaClean up unecessary stuff and renamed some.
a879e9ff88x97davkaSet accessibility
4d3b86ef12x97davkaCheck if a variable being assigned is read-only
09be46e621x97davkaNew files
bb73d7b8b3x97davkaAbsyn.COMPONENT changed
caea12342bx97davkaNew file
9f5abd9478x97davkaAdded some stuff
fa270055b2x97davkaAdded algorithm.tex
5e8cbc26e6x97davkaUse rtopts
04a8df931ex97davkaDon't use Absyn.VarAttr. Instead use SCode.Attributes. Fixed functions.
b64fa03da4x97davkaDon't use Absyn.VarAttr. Instead use SCode.Attributes.
c59ceaddeax97davkaDon't use Absyn.VarAttr. Instead use Attributes.
6479de8cefx97davkaStarted to use runtime options to control output
720e48d793x97davkaARRAY no longer exists
00cf6badc1x97davkaUse SCode.Attributes
3690e2e3b8x97davkaMore docs.
c02d2d3e9dx97davkaReplaced VarAttr with ElementAttributes. More docs.
276de9948dx97davkaAdded runtime directory
4631e88db7x97davkaFixed stuff
d9093eafa5x97davkaReworked
33a7f59dfdx97davkaSpelling fixes
572682c3fax97davkanew files
78883c0547x97davkaadded stuff
003ae012e8x97davkaAdded stuff
f8591eb9f0x97davkaRestructured
4f95765fc5x97davkaMore text. New bibliography.
b0d02f0078x97davkaFixed stuff
2a68e940ebx97davkaNew file
3ba517af93x97davkawrote stuff
1c4562a461x97davkaChanged labels
e47ca4b6a1x97davkaMore stuff.
e841cdc844x97davkadocfix
2ab4c3895bx97davkaFixed doc
86c9edece6x97davkaAdded comments
5e9c224588x97davkaRemoved ARRAY
c63c73bf8ax97davkaAdded protected flag to Types.VAR. Added rules for implicit instantiation of packages and functions. Fixed elab_call.
66329735ccx97davkaUse Static.Properties, and Static.match_prop.
0c6fc4070dx97davkaRemoved some junk.
c0999fcc4cx97davkaStaticExp was renamed
a6a013e752x97davkaUse Static.Properties.
0e2fd96f39x97davkaWrote a subtype relation and an equivtypes relation based on it. same_type is now obsolete.
d347955c41x97davkaIntroduced the Properties datatype. Rewrote the type match and conversion stuff.
e8bd83d510x97davkaUse Static.Properties
901ff9cb1bx97davkaThe [1,2,3] syntax is now a 1x3 matrix instead of a vector.
d49b693266x97davkaUse CAST instead of CAST_TO_REAL
04224fb5ebx97davka# prettified
ce7565714fx97davkasnapshot
3ed2486006x97davka*** empty log message ***
ce88dbf427x97davkaDoc fix.
26475648d7x97davka*** empty log message ***
5e6653d5aex97davkaDoc fix.
4ee727d6b0x97davkaAdjust to new Operator datatype. Introduced relations to handle overloading and automatic type conversions.
5e9dce6e9bx97davkaAdded temporary kluge for slices.
166b35854cx97davkaRemoved bogus errors.
8eceb86b81x97davkaAdjust to new Operator type. Check flow attribute in connections, but not constant. Use the overloading relations from StaticExp in inst_eq_equation.
ca33a5e899x97davkaCombined all operators to the datatype Operator.
793c62c6e0x97davkaAdjust to new Operator type.
f8e9e86c1ex97davkaDoc fixes.
e997257616x97davkaUnified all operators to an Operator datatype. Doc fixes.
fc82346b04x97davkasnapshot
a769b70160x97davkaFixed the type of loop variables
a4591f72efx97davkaReworked modifications
3118e51964x97davkaNew file
7b8d694918x97davkasnapshot
6f63e4a1ccx97davkaPrettierprint
565641ff2fx97davkaMoved Binding here. Added lift_array Some other stuff too
6df2aa4afax97davkaDo some relations and stuff
2aeebd379fx97davka# prettified
a4f16b836ex97davka*** empty log message ***
b3f81d860dx97davkaRemoved mkbinding
71f98950b0x97davkaLots o' changes
69fc156f81x97davkaConvert equations
6f12b03368x97davkaPrettier
2580189122x97davkaIF statements
0860e7ebd5x97davkaBinding moved
9d807295c6x97davkaFixed IF in equations
14440f29cax97davkaMore tokens
2571287f3ex97davkasnapshot
26db41a6d6x97davkasnapshot
1a63d128b6x97davkasnapshot
bfbd36a5e7x97davkasnapshot
34a9c2b6b0x97davkasnapshot
2c2fc399dbx97davkasnapshot. Works, sort of.
913cdd7e90x97davkasnapshot
fdabf67c17x97davkaSnapshot
72864f3294x97davkasnapshot
301ca81e3cx97davkaSnapshot of a significant overhaul
2370bd40b7x97davka*** empty log message ***
f1f35c8812x97davkaFixed for loops and array expressions
602e52971ex97davkaAdded FOR loops
418b83f0b3x97davkaAdded arrays and matrices
c297bfa4ffx97davkaUnroll for loops
0350ef0bf3x97davkaAdded Binding datatype to separate equation and value bindings.
fc6c945ec4x97davkaRenamed mod_assignment to mod_equation
979df2c358x97davkaHandle constant crefs and other stuff
54048fb482x97davkaNew file
4dc252dd10x97davkadoc fix
43709351bcx97davka*** empty log message ***
7a7536934bx97davkaMore on connections
7c0f714667x97davkaFixed component_reference
dbeb3c67edx97davkaDoc fixes
05d3613aa0x97davka*** empty log message ***
fec563b3c1x97davkaRenamed Env.new_frame to Env.open_scope Added documentation here and there Made Exp.ComponentRef a datatype with two constructors
7e32c0f1e6x97davkaFixed dependencies
fd8d77dc31x97davkaWorked on the source annotations.
bc7ecee152x97davkaFixed boxedverbatim TeX magic
58d89787c4x97davkaNew file
2b60a5a3e6x97davka*** empty log message ***
09a824c8c9x97davkaMore on connections and the annotated semantics
e650636a0ex97davkaBuild source files
89ddd20317x97davkaFixed redeclaration
d27bbb8fccx97davkaReordered and fixed documentation
911e0573b2x97davkaNew files
0c4c163be6x97davkaAdded REDECLARATION
108034513ax97davkaFixed documentation
749c61ba1dx97davkaAdded strings and booleans.
bf38a3fafex97davka*** empty log message ***
0e762146fax97davkaEnable use of both kinds of modifications
a29f74f45fx97davkaStore reals in double instead of float.
b03f34a8abx97davkaFixed variable lookup and stuff.
76f7405632x97davkaHandle CAST_TO_REAL
d422ed6bcex97davkaCombined CLASSMOD and EQUALMOD
f90620634ax97davkaFixed package lookup
ff2602fbe4x97davkaFixed lookup relations
6baea3fe75x97davkaAdded print_type
1b314f8793x97davkaMoved lookup relations
952fb67dc0x97davkaAdded test target and lookup.rml file.
7c7fb100b9x97davkaWorked some more static expression analysis.
643deb8806x97davkaFixed static analysis and constant propagation of expressions.
7216d61b72x97davka*** empty log message ***
45ab088140x97davkaMore on restrictions and stuff
5b6d8f08e3x97davkaCheck more restrictions
724cfb4d03x97davkaTreat predefined types separately.
d28e323393x97davkaUse R_PREDEFINED.
e522f77b89x97davkaUpdated with ClassInf
ed5de81840x97davkaRestructured with ClassInf
39573c5854x97davka# dump
3d5e2743acx97davkaKeep a ClassInf.State and check it sometimes
96912c0f94x97davka# cosmetic
45e901d587x97davkaSave the ClassInf.State
d172193d88x97davkaUse ClassInf.print_restr
d35c3e95b8x97davkaNew file
093f47b9c6x97davkaUse ClassInf
3c9ed504c9x97davkaMoved ClassRestricion
d5a8e8ab5ax97davkaAdded classinf.rml
8cc3658c60x97davkaExpanded
0ddb65ad74x97davkaNew file
62146dab3ax97davkaUse new Exp.Subscript definition
5f17f3eff6x97davka# more tokens
4104c9c83ax97davka# cosmetic
cc63b67a90x97davkaAdded ceval
74f6b18192x97davkaAdded -lm to LDFLAGS
b6925521c4x97davka*** empty log message ***
4179ac2d22x97davkaSpecify inner and outer connectors.
af110c1eddx97davkaImplemented outer and inner connectors.
abd5c885ccx97davkaNew stuff about connections
bdc3eff3a9x97davkaNew path to rmlc
f5e2fde46cx97davkaAdded better support for flow variables. Changed to new "fail" style.
64cc01e85dx97davka*** empty log message ***
f863bcfb25x97davkaBuild connection sets.
2354aa7901x97davkaExport dump_list
e66f51b32ex97davkaAdded dump relations
09dc51df43x97davka*** empty log message ***
585de6b68cx97davkaAdded eq_cref
a4112c6db9x97davkaNew file
4e2e6bab8ex97davkaFixed .SUFFIXES finally
76c95d991ax97davkaFirst stab
265f6f82cex97davka*** empty log message ***
0f1637482fx97davkaUpdate according to changes in absyn.rml.
860dd211fbx97davkaFixed include files.
d246490386x97davkaLots of new types.
3fb16f3e29x97davkaKeep track of subscripts.
834c5d5598x97davkaChanged dump a little.
90df105dfax97davkaLots of new stuff and fixes. Now does pseudoconnecting.
2e20d65250x97davkaUse Types.VarAttr.
87f4c647bfx97davkaSubscript and ComponentRef now lives here
cc9d92cb74x97davkaUse Types.VarAttr. Some new lookup relations.
7697bd3c1fx97davkaChange path to component_ref in some places
c11ab8c2e9x97davkaMoved Subscript and ComponentRef to exp.rml
46237f04fax97davka*** empty log message ***
5a801cdec0x97davkaWhy connect() should be a special construct.
8f1a6399ecx97davkaAdded CONNECT
bef5ec9215x97davkaNew RML version
ae392ce9e6x97davkaNew file
8466c4f069x97davkaBuild Types.Type Use lookup_var_local where appropriate
3d9a6f9ab0x97davkaNew relation lookup_var_local Use Types.Type in FrameVar
50fc7a295ax97davkaDump EQ_CONNECT
ef8ef39b37x97davkaUse Explode
4a8c73b4a9x97davkaTreat connect() as a special construct.
831b818982x97davkaBuild if expressions
1f02c12e1dx97davkaAdded mod_assignment
a5ebcae03cx97davka*** empty log message ***
bee8e2d3cdx97davkaShdow assignment equations.
9c03acac8bx97davkaSave assignment modifications in the environment.
e8dec72011x97davkaRemoved
4d4e2088d6x97davka*** empty log message ***
878af371e0x97davkaFixed EXTENDS
c142a1423cx97davkaUse Explode
551a4ad0a3x97davkaUse Explode Started to check "protected". Not done yet.
22117ef797x97davkaDebug message
951868a180x97davkaRemoved explosion code
1d19178ceex97davkaRemoved references to modAST.h
8ebf3fdcdex97davkaNew file
abadfa49f1x97davkaRemoved
5e338bd0adx97davkaRemoved
399836e1c0x97davkaFixed PUBLIC and PROTECTED
8b36183a1cx97davka*** empty log message ***
8c73db3b33x97davkaFixed bug in merge.
61271fb70bx97davkaImproved modification handling
8a735766b1x97davkaTypo
157f00b53fx97davkaAdded dependencies
4d5003f9d6x97davka*** empty log message ***
722b45c565x97davkaUpdated to RML 1.9.0
0cf5e5cca3x97davkadoc fix
af0952cb4ex97davkaRML fixes
5e9d7f9981x97davkaRewrote bigtime. Added dump, build and implemented merge.
b2a672eb30x97davkaUpdated
35f5f13448x97davkaNot used anymore
3ec13e1f2ax97davkaRewrote to not use lform, but put modifications in the environment.
da53f7d62bx97davkaStore modifications together with classes.
b1428e5ec1x97davkaUpdated
d24f2bbce9x97davkaAdded element_spec_name
a7f8b2d333x97davkaFixes
a0a6c25339x97davka*** empty log message ***
80648e9c2dx97davkaRenamed COMPONENTS to COMPONENT Removed dead code.
96a8dac83dx97davkaUse absyn again.
7815e12189x97davkaMoved to other documents.
4d24419863x97davkaUse lform
31221c5242x97davkaPrepare to use lform
6d08e967c2x97davkaUpdated
4915167b8dx97davkaStart using lform.
aaae56163dx97davka*** empty log message ***
6599ba8c3cx97davkaHandle equality modifications.
05fce182afx97davkaLots of small fixes.
8ecce831e0x97davkaNew files
25e7be48dcx97davkaFixed logical expressions.
a4c98b84ccx97davkaAdded some tokens.
e84d4dea4cx97davkaNoted that equality modifications are not yet handled.
a1870459c5x97davkaAdded informational messages.
78e68c6e45x97davka*** empty log message ***
2afa783902x97davkaRenamed prefix_add to prefix_path and added another relation called prefix_add
5706f0623ex97davkaAdded empty_mod
1c7952cea9x97davkaAdded built-in types to builtin.rml Fixed some trace output
48a4272830x97davkaAdded some trace info
d2fd268d0ex97davkaNew file
857ac64f61x97davkaAdded builtin
37f34cfbb8x97davkaExport prefix_add
c32f261149x97davkaCosmetics
8c8a4196d1x97davkaFixed the initial environment
2449db2d7fx97davkaMoved path_string
9bd2b42b1ex97davkaAdded convenient access to element names.
aaec8e9c66x97davkaSplit in submodules
5b98d32ddax97davkaAdded env.rml, mod.rml and prefix.rml
af7f390ab9x97davka*** empty log message ***
c9b53071a0x97davkaFixed a bug in the Modelica spec.
efb15466f0x97davkaDon't use lform, but inst.
90bae87f02x97davkaThis file is no longer used.
6f1e66d021x97davkaRewrote large parts. Don't use LForm.
33fe431e79x97davkaFixed a bug in the Modelica spec
bb892b1600x97davkaAdded inst.rml
7e35a6a58dx97davka*** empty log message ***
1115ee11f4x97davka*** empty log message ***
2cf7ba80b5x97davkaBugfixes
3c3e42ec58x97davkaAdded inst.rml
c629dfcc22x97davkaInstantiate
12c421e29dx97davkaNew file
4b9f3f9210x97davkaUpdated
16396d1d22x97davkaKeep up with changes in Absyn.
53794c302bx97davkaCall Absyn.explode_components.
5b63fd98a6x97davkaExpanded a lot. Now it compiles.
0e70608e1cx97davkaLittle fixes
cc8cabcde4x97davka# cosmetics
05a72ae9b6x97davkaExplode components. Changed some Idents to Paths.
b8d285e296x97davkaNew file
42f662284ex97davkaFixed compilation order
5fdb7baa20x97davka*** empty log message ***
fd2ef28ae7x97davkaRemoved almost everything.
b786c2d69fx97davkaConvert to lform
3149514015x97davkaNew file
ef075a3920x97davkaAdded lform
6a8be3cb53x97davkaAdded mk_box7
82b5a11868x97davkaFixed so it works for most programs.
fa845bbf88x97davkaPrint more
84f1b14d7dx97davkaUpdated.
b223542f4ax97davkaUse a component list in element specs.
f991f8f71cx97davkaFinally managed to build the subdir properly.
99ceb6f1fbx97davkaFixed rule "relation"
1b95bd550dx97davkaAdded relations and logical expressions
baecbcb570x97davkaRewrote subscript handling Fixed element modifications
af86e9554cx97davkaPrettify
8d4feb9c02x97davkaInline type_prefix
781c945036x97davkaDump extends clauese better
cc912fec85x97davkaConstruct constants correctly.
70ae0e4895x97davkaRemoved quotes from string constants at once.
a96c421213x97davkaAdded strings and booleans.
6d9280c93fx97davkaDump more stuff.
f22b68e5cdx97davkaExtended. Now it seems to parse type definitions OK.
4df116e284x97davkaHandle more tokens
1decaa0454x97davkaFixed indentation
e24db13c68x97davkaMore and better rules
1fcdbe64ecx97davkaMoved everything to absyn.rml
529b901306x97davkaMoved everything from class.rml here
13f1c5b869x97davkaAdded some box functions
d52761c458x97davkaFixed horrible typos that made me lose a couple of days
b9cc7447f4x97davkaNew function: sibling_list Other fixes
32e83c95e6x97davkaNow builds a complete AST for a simple program!
b07e4771c8x97davkaUpdated
9c1c07c0e7x97davkaExp.dump had moved
2968c7b8bcx97davkaGet the file name from the command line
9ba385e0c0x97davkaMoved the expression dump relation here
9d5f763acax97davkaMoved dump to dump.rml Added the Path datatype
41276b310cx97davkaExpanded Class.
408dc6db14x97davkaRemoved test.rml
12d4d33eccx97davkaNew file.
2991b90c53x97davkaMoved stuff to attrib.c Fixed tree-building.
f18abb52c2x97davkaRemoved unused code.
584197e69bx97davkaNew files.
82e8b75864x97davkaBetter dependencies.
51113c0c10x97davkaRemove .c.o target.
28742875d4x97davkaBuild an AST. Added some routines for printing an AST.
f6443f89a2x97davkaUse SparcWorks cc Call antlr with -gt -gl
2cf23062c0x97davkaTaken from rml 1.3.6.
d0321e99f1x97davkaCreated a dummy parser that at least uses yacclib.
bd5a3f6d73x97davkaAdded yacclib.
ae63096562x97davkaNew file.
5752276164x97davkaUse the parser.
58695ff1bcx97davkaBugfixes.
cfc94553fex97davkaAlways run make in ast/
914aee3f20x97davkaTried to implement something callable from RML.
fe1300b39cx97davkaNew file
414ca7c0f9x97davkaTry to use Parser.parse.
69edd60dcbx97davkaDon't compile parse.rml
42fa7de893x97davkaRemoved tokens.h
2037553c31x97davkaThis file is now empty.
20ceb8cc4dx97davkaRemoved
2be884896ex97davkaChanged to C. Removed lots of stuff.
2ab12299a5x97davkaI don't think this is actually used anywhere.
1396dea942x97davkaRemoved bool.h
92dcc08effx97davkaCleaned up and changed to use gcc.
5434cb8882x97davkaRemoved some definitions and stuff that I don't use (yet).
687249f72ax97davkaUse an empty main relation.
d3384d336bx97davka# Added a comment
4221d05d49x97davkaHeavily hacked.
4828720e6ex97davkaJust saving
ce613f05a8x97davkaRemoved.
8bf245498fAdrian PopNew repository initialized by cvs2svn.
3c5da6dc4ex97davkaInitial revision

3rdParty changes

Note that the 3rdParty libraries changed: 15ab15257673..ef9a7c880af3

Library Changes

LibraryChange
Buildings_latestFrom version 6.0.0 (revision 20190523-101253~git~master) to 6.0.0 (revision 20190511-064334~git~master)
ModelicaTest_3.2.3From version 3.2.3 (revision 3.2.3+build.2-5-g2556186) to 3.2.3 (revision 3.2.3+build.2-1-g1a65198)
ModelicaTest_trunkFrom version trunk (revision 20190520-223748~git~master-om191) to trunk (revision 20190514-073741~git~master-om188)
Modelica_3.2.3From version 3.2.3 (revision 3.2.3+build.2-5-g2556186-om2) to 3.2.3 (revision 3.2.3+build.2-1-g1a65198-om2)
Modelica_trunkFrom version trunk (revision 20190520-223748~git~master-om1) to trunk (revision 20190514-073741~git~master-om1)
Modelica_trunk_cppFrom version trunk (revision 20190520-223748~git~master-om1) to trunk (revision 20190514-073741~git~master-om1)
ThermoPowerFrom version 3.1 (revision 3.1-20190518-102719~git~master) to 3.1 (revision 3.1-20190222-233358~git~master)

Models Affected

BuildSysProBuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.DynamicTestLightedWall (sim)Failed → Compile
BuildSysProBuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.IlluminanceExample (sim)Failed → Compile
BuildSysProBuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample (sim)Failed → Compile
BuildingSystemsBuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1 (sim)Compile performance 18.41 → 8.28 Simulate performance 0:01:00 → 28.42
BuildingSystemsBuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2 (sim)Compile performance 19.41 → 9.08 Simulate performance 0:04:08 → 0:01:57
BuildingSystemsBuildingSystems.Buildings.Constructions.Examples.SlidingWindow (sim)Failed → Compile
BuildingSystemsBuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT (sim)BackEnd performance 0:02:47 → 0:01:25
BuildingSystemsBuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube (sim)Simulate performance 10.89 → 5.63
BuildingSystemsBuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube (sim)Simulate performance 0:01:47 → 55.83
BuildingSystemsBuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes (sim)Simulate performance 0:01:20 → 45.65
Buildings_5.0.1Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters (sim)
Buildings_5.0.1Buildings.Fluid.Examples.FlowSystem.Simplified1 (sim)
Buildings_5.0.1Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized (sim)FrontEnd → Failed
Buildings_5.0.1Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl (sim)FrontEnd → Failed
Buildings_5.0.1Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow (sim)FrontEnd → Failed
Buildings_5.0.1Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl (sim)FrontEnd → Failed
Buildings_5.0.1Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization (sim)FrontEnd → Failed
Buildings_5.0.1Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases (sim)FrontEnd → Failed
Buildings_latestBuildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SkyTemperature.Examples.BlackBody (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart (sim)Failed → Templates
Buildings_latestBuildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine (sim)Failed → Templates
Buildings_latestBuildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N (sim)Failed → Templates
Buildings_latestBuildings.Electrical.DC.Sources.Examples.PVSimple (sim)Failed → Templates
Buildings_latestBuildings.Electrical.DC.Sources.Examples.PVSimpleOriented (sim)Failed → Templates
Buildings_latestBuildings.Electrical.DC.Sources.Examples.WindTurbine (sim)Failed → Templates
Buildings_latestBuildings.Electrical.Examples.RenewableSources (sim)Failed → Templates
Buildings_latestBuildings.Examples.Tutorial.Boiler.System6 (sim)Failed → Templates
Buildings_latestBuildings.Examples.Tutorial.Boiler.System7 (sim)Failed → Templates
Buildings_latestBuildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters (sim)Failed → FrontEnd
Buildings_latestBuildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase (sim)Failed → Templates
Buildings_latestBuildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT (sim)Failed → Templates
Buildings_latestBuildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall (sim)Failed → FrontEnd
Buildings_latestBuildings.Fluid.Examples.FlowSystem.Basic (sim)BackEnd performance 27.12 → 15.02 Compile performance 28.88 → 16.24
Buildings_latestBuildings.Fluid.Examples.FlowSystem.Simplified1 (sim)Compile performance 28.88 → 16.44
Buildings_latestBuildings.Fluid.Examples.FlowSystem.Simplified2 (sim)BackEnd performance 27.00 → 14.28
Buildings_latestBuildings.Fluid.Examples.FlowSystem.Simplified3 (sim)BackEnd performance 27.82 → 14.01
Buildings_latestBuildings.Fluid.Examples.FlowSystem.Simplified4 (sim)BackEnd performance 25.60 → 12.94
Buildings_latestBuildings.Fluid.Examples.FlowSystem.Simplified5 (sim)BackEnd performance 28.60 → 16.33
Buildings_latestBuildings.Fluid.Examples.SimpleHouse (sim)Failed → Templates
Buildings_latestBuildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT (sim)Templates performance 14.47 → 7.47
Buildings_latestBuildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb (sim)Failed → Templates
Buildings_latestBuildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb (sim)Failed → Templates
Buildings_latestBuildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc (sim)Failed → Templates
Buildings_latestBuildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized (sim)Templates → Failed
Buildings_latestBuildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl (sim)Templates → Failed
Buildings_latestBuildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow (sim)Templates → Failed
Buildings_latestBuildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl (sim)Templates → Failed
Buildings_latestBuildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitialization (sim)Templates → Failed
Buildings_latestBuildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases (sim)Templates → Failed
Buildings_latestBuildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator (sim)Failed → Templates
Buildings_latestBuildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController (sim)Failed → Templates
Buildings_latestBuildings.Fluid.SolarCollectors.Validation.EN12975_Series (sim)Failed → Templates
Buildings_latestBuildings.Fluid.Sources.Examples.Outside_Cp (sim)Failed → Templates
Buildings_latestBuildings.Fluid.Sources.Examples.Outside_CpLowRise (sim)Failed → Templates
Buildings_latestBuildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang (sim)Failed → Templates
Buildings_latestBuildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins (sim)Failed → Templates
Buildings_latestBuildings.HeatTransfer.Windows.Examples.Overhang (sim)Failed → Templates
Buildings_latestBuildings.HeatTransfer.Windows.Examples.SideFins (sim)Failed → Templates
Buildings_latestBuildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements (sim)Failed → FrontEnd
Buildings_latestBuildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement (sim)Failed → FrontEnd
Buildings_latestBuildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements (sim)Failed → FrontEnd
Buildings_latestBuildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements (sim)Failed → FrontEnd
HanserModelicaHanserModelica.SynchronousMachines.SMEE_DOL (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMEE_ShortCircuit1 (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMEE_ShortCircuit2 (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMEE_ShortCircuit3 (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMEE_Synchronization1 (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMEE_Synchronization2 (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMEE_Synchronization3 (sim)Failed → Compile
HanserModelicaHanserModelica.SynchronousMachines.SMR_Inverter (sim)Failed → Compile
IndustrialControlSystemsIndustrialControlSystems.MathOperations.Examples.SetPointGeneration (sim)Failed → Simulate
ModelicaTest_3.2.1ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 (sim)Failed → Verify
ModelicaTest_3.2.1_cppModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 (sim)Failed → SimCode
ModelicaTest_3.2.3ModelicaTest.Tables.CombiTable1D.Test33 (sim)Compile → Verify
ModelicaTest_3.2.3ModelicaTest.Tables.CombiTable1Ds.Test33 (sim)Compile → Verify
ModelicaTest_3.2.3ModelicaTest.Tables.CombiTable2D.Test31 (sim)Compile → Verify
ModelicaTest_3.2.3ModelicaTest.Tables.CombiTable2Dv.Test31 (sim)Compile → Verify
ModelicaTest_3.2.3ModelicaTest.Tables.CombiTimeTable.Test84 (sim)Compile → Verify
ModelicaTest_trunkModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings (sim)
ModelicaTest_trunkModelicaTest.Tables.CombiTable1Ds.Test33 (sim)Compile → Verify
ModelicaTest_trunkModelicaTest.Tables.CombiTable1Dv.Test33 (sim)Compile → Simulate
ModelicaTest_trunkModelicaTest.Tables.CombiTable2Ds.Test31 (sim)Compile → Simulate
ModelicaTest_trunkModelicaTest.Tables.CombiTable2Dv.Test31 (sim)Compile → Verify
ModelicaTest_trunkModelicaTest.Tables.CombiTimeTable.Test84 (sim)Compile → Verify
Modelica_3.1_cppModelica.Electrical.Machines.Examples.SMEE_Generator (sim)Failed → SimCode
Modelica_3.1_cppModelica.Electrical.Machines.Examples.SMPM_Inverter (sim)Failed → SimCode
Modelica_3.1_cppModelica.Fluid.Examples.HeatingSystem (sim)Failed → FrontEnd
Modelica_3.1_cppModelica.Fluid.Examples.Tanks.EmptyTanks (sim)Failed → SimCode
Modelica_3.1_cppModelica.Fluid.Examples.Tanks.TanksWithOverflow (sim)Failed → FrontEnd
Modelica_3.1_cppModelica.Fluid.Examples.Tanks.ThreeTanks (sim)Failed → SimCode
Modelica_3.1_cppModelica.Thermal.HeatTransfer.Examples.ControlledTemperature (sim)Failed → SimCode
Modelica_3.2.2Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL (sim)Failed → Compile
Modelica_3.2.2_cppModelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL (sim)Failed → SimCode
Modelica_3.2.3Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL (sim)Failed → Compile
Modelica_trunkModelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL (sim)Failed → Compile
Modelica_trunk_cppModelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL (sim)Failed → SimCode
OpenHydraulicsOpenHydraulics.Examples.Excavator.DigCycleSimulation (sim)BackEnd performance 17.01 → 7.79 Compile performance 39.70 → 17.30
ScalableTestSuiteScalableTestSuite.Thermal.Advection.ScaledExperiments.SteamPipe_N_1280 (sim)Verify → Templates
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemAC.ScaledExperiments.DistributionSystemLinearIndividual_N_28_M_28 (sim)FrontEnd performance 19.05 → 10.38
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemAC.ScaledExperiments.DistributionSystemLinear_N_28_M_28 (sim)Compile performance 32.48 → 18.20
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_28_M_28 (sim)Compile performance 27.97 → 15.29
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_320_M_5 (sim)Simulate performance 10.58 → 5.43
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_40_M_40 (sim)Compile performance 51.32 → 29.33
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_80_M_20 (sim)Compile performance 51.82 → 29.82
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_28_M_28 (sim)BackEnd performance 17.03 → 9.51 Compile performance 26.37 → 14.95
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_40_M_40 (sim)BackEnd performance 34.00 → 19.88
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_56_M_56 (sim)FrontEnd performance 10.24 → 5.77
ScalableTestSuite_nooptScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_80_M_80 (sim)FrontEnd performance 19.59 → 11.22
ScalableTestSuite_nooptScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_1280 (sim)Templates performance 12.75 → 7.35 Compile performance 35.93 → 19.50
ScalableTestSuite_nooptScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_640 (sim)BackEnd performance 16.76 → 9.47
ScalableTestSuite_nooptScalableTestSuite.Elementary.WhenEvents.ScaledExperiments.ManyEvents_N_1000_M_100 (sim)BackEnd performance 11.68 → 6.54
ScalableTestSuite_nooptScalableTestSuite.Elementary.WhenEvents.ScaledExperiments.ManyEvents_N_1000_M_1000 (sim)BackEnd performance 11.79 → 6.69
ScalableTestSuite_nooptScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_64 (sim)Simulate performance 27.77 → 16.30
ScalableTestSuite_nooptScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_64_M_16 (sim)Simulate performance 10.24 → 5.83
ScalableTestSuite_nooptScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_12800 (sim)Verify → Compile
ThermalSeparationThermalSeparation.Examples.Absorption_CO2_MEA (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_4components (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_EqBalance (sim)FrontEnd → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_FeedStream2 (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_Random (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_Spray (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_Tray (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_IdealGases_cycle_7components (sim)Templates → Failed
ThermalSeparationThermalSeparation.Examples.Absorption_Tray (sim)Templates → Failed
ThermalSeparationThermalSeparation.Examples.ProPen_EQ_SteadyState (sim)Compile → Failed
ThermalSeparationThermalSeparation.Examples.ReactiveAbsorption (sim)FrontEnd → Failed
ThermalSeparationThermalSeparation.Examples.Spr_Ab_cycle_NR_2Feeds_Stream (sim)Templates → Failed
ThermalSeparationThermalSeparation.Examples.Testing.Column.ColumnSimple (sim)FrontEnd → Failed
ThermalSeparationThermalSeparation.Examples.Testing.Complex.CycleComplex (sim)FrontEnd → Failed
ThermoPowerThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency (sim)Failed → Templates
ThermoPowerThermoPower.Test.GasComponents.TestGT (sim)Simulate → Failed